diff --git a/cs/bsdx0200GUISourceCode/CGView.cs b/cs/bsdx0200GUISourceCode/CGView.cs index 48eb552..5294501 100644 --- a/cs/bsdx0200GUISourceCode/CGView.cs +++ b/cs/bsdx0200GUISourceCode/CGView.cs @@ -103,6 +103,8 @@ namespace IndianHealthService.ClinicalScheduling private MenuItem ctxPrintScheduleT0; private MenuItem ctxPrintScheduleT1; private MenuItem ctxPrintScheduleT3; + private MenuItem menuItem12; + private MenuItem mnuRefresh; private IContainer components; #region Initialization @@ -215,6 +217,8 @@ namespace IndianHealthService.ClinicalScheduling this.mnu30Minute = new System.Windows.Forms.MenuItem(); this.mnuViewScheduleTree = new System.Windows.Forms.MenuItem(); this.mnuViewRightPanel = new System.Windows.Forms.MenuItem(); + this.menuItem12 = new System.Windows.Forms.MenuItem(); + this.mnuRefresh = new System.Windows.Forms.MenuItem(); this.mnuHelp = new System.Windows.Forms.MenuItem(); this.mnuHelpAbout = new System.Windows.Forms.MenuItem(); this.mnuTest = new System.Windows.Forms.MenuItem(); @@ -502,7 +506,9 @@ namespace IndianHealthService.ClinicalScheduling this.menuItem4, this.mnuTimeScale, this.mnuViewScheduleTree, - this.mnuViewRightPanel}); + this.mnuViewRightPanel, + this.menuItem12, + this.mnuRefresh}); this.mnuCalendar.Text = "&View"; // // mnuDisplayWalkIns @@ -592,6 +598,18 @@ namespace IndianHealthService.ClinicalScheduling this.mnuViewRightPanel.Text = "&Appointment Clipboard"; this.mnuViewRightPanel.Click += new System.EventHandler(this.mnuViewRightPanel_Click); // + // menuItem12 + // + this.menuItem12.Index = 8; + this.menuItem12.Text = "-"; + // + // mnuRefresh + // + this.mnuRefresh.Index = 9; + this.mnuRefresh.Shortcut = System.Windows.Forms.Shortcut.F5; + this.mnuRefresh.Text = "Refresh Data"; + this.mnuRefresh.Click += new System.EventHandler(this.mnuRefresh_Click); + // // mnuHelp // this.mnuHelp.Index = 3; @@ -2111,6 +2129,7 @@ namespace IndianHealthService.ClinicalScheduling foreach (CGAppointment a in this.calendarGrid1.SelectedAppointments.AppointmentTable.Values) { + string msg; //out var bool didweSucceed = Document.AppointmentUndoCheckin(a, out msg); @@ -3421,6 +3440,10 @@ namespace IndianHealthService.ClinicalScheduling } } + private void mnuRefresh_Click(object sender, EventArgs e) + { + ForceRefreshGrid(); + } #endregion events @@ -3470,6 +3493,20 @@ namespace IndianHealthService.ClinicalScheduling this.Document.UpdateAllViews(); } + /// + /// This forces a grid refresh. + /// + void ForceRefreshGrid() + { + if (this.Document.m_sResourcesArray.Count == 0) return; + this.Cursor = Cursors.WaitCursor; + LoadSplash(); + this.Document.RefreshDocument(); + this.UpdateArrays(); + StopSplash(); + this.Cursor = Cursors.Default; + } + LoadingSplash _loadingSplash; // Splash object a data point in class /// @@ -3508,5 +3545,7 @@ namespace IndianHealthService.ClinicalScheduling + + }//End class } diff --git a/cs/bsdx0200GUISourceCode/ClinicalScheduling.suo b/cs/bsdx0200GUISourceCode/ClinicalScheduling.suo index 543d5f1..9978850 100644 Binary files a/cs/bsdx0200GUISourceCode/ClinicalScheduling.suo and b/cs/bsdx0200GUISourceCode/ClinicalScheduling.suo differ diff --git a/cs/bsdx0200GUISourceCode/bin/Release/BMXNet23.dll b/cs/bsdx0200GUISourceCode/bin/Release/BMXNet23.dll index 259c378..20575c0 100644 Binary files a/cs/bsdx0200GUISourceCode/bin/Release/BMXNet23.dll and b/cs/bsdx0200GUISourceCode/bin/Release/BMXNet23.dll differ diff --git a/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.exe b/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.exe index 0b7fff4..246a8b5 100644 Binary files a/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.exe and b/cs/bsdx0200GUISourceCode/bin/Release/ClinicalScheduling.exe differ diff --git a/cs/bsdx0200GUISourceCode/bin/Release/ar/ClinicalScheduling.resources.dll b/cs/bsdx0200GUISourceCode/bin/Release/ar/ClinicalScheduling.resources.dll index 6f59e72..3896e21 100644 Binary files a/cs/bsdx0200GUISourceCode/bin/Release/ar/ClinicalScheduling.resources.dll and b/cs/bsdx0200GUISourceCode/bin/Release/ar/ClinicalScheduling.resources.dll differ