From d7fc3aa037a6f279eeacdd644cd3cd079a31986b Mon Sep 17 00:00:00 2001 From: Adam McCane Date: Wed, 21 Feb 2024 00:37:37 -0500 Subject: [PATCH] Fixed view refill not being in MDI. --- Louis'-Pharmacy_CNSA212-FP/frmInfo.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs index db0c65b..d809ff5 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.cs @@ -940,8 +940,11 @@ namespace Louis__Pharmacy_CNSA212_FP Int32 rxNum = Int32.Parse(rxNumString); frmRefill refill = new frmRefill(rxNum); - refill.ShowDialog(); - + refill.MdiParent = MdiParent; + refill.StartPosition = FormStartPosition.CenterScreen; + refill.Show(); + refill.Focus(); + } } }