Changeset 620 for Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs
- Timestamp:
- Nov 30, 2009, 11:54:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs
r616 r620 1439 1439 catch (Exception ex) 1440 1440 { 1441 MessageBox.Show("Unable to edit availability for " + m_sDocName + " schedule. " + ex.Message, " IHSClinical Scheduling");1441 MessageBox.Show("Unable to edit availability for " + m_sDocName + " schedule. " + ex.Message, "Clinical Scheduling"); 1442 1442 this.m_DocManager.CloseAllViews(doc); 1443 1443 return; … … 1481 1481 catch (Exception ex) 1482 1482 { 1483 MessageBox.Show("Unable to open " + m_sDocName + " schedule. " + ex.Message, " IHSClinical Scheduling");1483 MessageBox.Show("Unable to open " + m_sDocName + " schedule. " + ex.Message, "Clinical Scheduling"); 1484 1484 this.m_DocManager.CloseAllViews(doc); 1485 1485 return; … … 1615 1615 catch (Exception ex) 1616 1616 { 1617 MessageBox.Show("Unable to open " + m_sDocName + " schedule. " + ex.Message, " IHSClinical Scheduling");1617 MessageBox.Show("Unable to open " + m_sDocName + " schedule. " + ex.Message, "Clinical Scheduling"); 1618 1618 this.m_DocManager.CloseAllViews(doc); 1619 1619 return; … … 1688 1688 (a.StartTime.Date > DateTime.Today.Date) 1689 1689 && 1690 (MessageBox.Show(this, "The appointment for " + a.PatientName + " is in the future. Are you sure you want to No-Show?", " IHSWindows Scheduling", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK))1690 (MessageBox.Show(this, "The appointment for " + a.PatientName + " is in the future. Are you sure you want to No-Show?", "Windows Scheduling", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK)) 1691 1691 { 1692 1692 } … … 1702 1702 catch (Exception ex) 1703 1703 { 1704 MessageBox.Show("Unable to mark appointment No Show: " + ex.Message, " IHSClinical Scheduling");1704 MessageBox.Show("Unable to mark appointment No Show: " + ex.Message, "Clinical Scheduling"); 1705 1705 } 1706 1706 if (bRebook == true) … … 1867 1867 catch (Exception ex) 1868 1868 { 1869 MessageBox.Show("Unable to delete appointment. " + ex.Message, " IHSClinical Scheduling");1869 MessageBox.Show("Unable to delete appointment. " + ex.Message, "Clinical Scheduling"); 1870 1870 } 1871 1871 … … 1909 1909 (a.StartTime.Date > DateTime.Today.Date)) 1910 1910 { 1911 MessageBox.Show(this, "It is too early to check in " + a.PatientName, " IHSWindows Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);1911 MessageBox.Show(this, "It is too early to check in " + a.PatientName, "Windows Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 1912 1912 return; 1913 1913 } … … 1991 1991 catch (Exception ex) 1992 1992 { 1993 MessageBox.Show("Error checking in patient: " + ex.Message, " IHSClinical Scheduling");1993 MessageBox.Show("Error checking in patient: " + ex.Message, "Clinical Scheduling"); 1994 1994 } 1995 1995 … … 2033 2033 if (dStart.Date > DateTime.Today.Date) 2034 2034 { 2035 MessageBox.Show(this, "You cannot create a walk-in appointment for a date in the future.\n Select today's date and try again.", " IHSWindows Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);2035 MessageBox.Show(this, "You cannot create a walk-in appointment for a date in the future.\n Select today's date and try again.", "Windows Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 2036 2036 return; 2037 2037 } … … 2047 2047 if (m_nSlots < 1) 2048 2048 { 2049 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", " IHSClinical Scheduling",MessageBoxButtons.YesNo);2049 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", "Clinical Scheduling",MessageBoxButtons.YesNo); 2050 2050 if (dr != DialogResult.Yes) 2051 2051 { … … 2083 2083 if (m_nSlots < 1) 2084 2084 { 2085 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", " IHSClinical Scheduling",MessageBoxButtons.YesNo);2085 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", "Clinical Scheduling",MessageBoxButtons.YesNo); 2086 2086 if (dr != DialogResult.Yes) 2087 2087 { … … 2110 2110 catch (Exception ex) 2111 2111 { 2112 MessageBox.Show("Unable to add walk-in appointment " + ex.Message, " IHSClinical Scheduling");2112 MessageBox.Show("Unable to add walk-in appointment " + ex.Message, "Clinical Scheduling"); 2113 2113 return; 2114 2114 … … 2139 2139 DataRowView drv = dvHoliday[nFind]; 2140 2140 sHoliday = drv["NAME"].ToString(); 2141 if (MessageBox.Show(this, dStart.ToShortDateString() + " is a holiday (" + sHoliday + "). Are you sure you want to make this appointment?"," IHSClinical Scheduling", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK)2141 if (MessageBox.Show(this, dStart.ToShortDateString() + " is a holiday (" + sHoliday + "). Are you sure you want to make this appointment?","Clinical Scheduling", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) != DialogResult.OK) 2142 2142 return; 2143 2143 } … … 2158 2158 if (m_nSlots < 1) 2159 2159 { 2160 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", " IHSClinical Scheduling",MessageBoxButtons.YesNo);2160 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", "Clinical Scheduling",MessageBoxButtons.YesNo); 2161 2161 if (dr != DialogResult.Yes) 2162 2162 { … … 2207 2207 if (m_nSlots < 1) 2208 2208 { 2209 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", " IHSClinical Scheduling",MessageBoxButtons.YesNo);2209 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", "Clinical Scheduling",MessageBoxButtons.YesNo); 2210 2210 if (dr != DialogResult.Yes) 2211 2211 { … … 2219 2219 catch (Exception ex) 2220 2220 { 2221 MessageBox.Show("Unable to add new appointment " + ex.Message, " IHSClinical Scheduling");2221 MessageBox.Show("Unable to add new appointment " + ex.Message, "Clinical Scheduling"); 2222 2222 return; 2223 2223 … … 2243 2243 catch (Exception ex) 2244 2244 { 2245 MessageBox.Show("Unable to refresh document " + ex.Message, " IHSClinical Scheduling");2245 MessageBox.Show("Unable to refresh document " + ex.Message, "Clinical Scheduling"); 2246 2246 } 2247 2247 finally … … 2264 2264 catch (Exception ex) 2265 2265 { 2266 MessageBox.Show("Unable to update arrays " + ex.Message, " IHSClinical Scheduling");2266 MessageBox.Show("Unable to update arrays " + ex.Message, "Clinical Scheduling"); 2267 2267 } 2268 2268 } … … 2309 2309 catch (Exception ex) 2310 2310 { 2311 MessageBox.Show("Scheduling Management Error: " + ex.Message, " IHSClinical Scheduling");2311 MessageBox.Show("Scheduling Management Error: " + ex.Message, "Clinical Scheduling"); 2312 2312 } 2313 2313 } … … 2337 2337 catch (Exception ex) 2338 2338 { 2339 MessageBox.Show(this, ex.Message, " IHSClinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);2339 MessageBox.Show(this, ex.Message, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 2340 2340 } 2341 2341 } … … 2392 2392 catch (Exception ex) 2393 2393 { 2394 MessageBox.Show(this, ex.Message, " IHSClinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);2394 MessageBox.Show(this, ex.Message, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 2395 2395 } 2396 2396 } … … 2666 2666 if (e.Appointment.CheckInTime.Ticks > 0) 2667 2667 { 2668 MessageBox.Show("You cannot change the appointment time because the patient has already checked in.", " IHSClinical Scheduling", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);2668 MessageBox.Show("You cannot change the appointment time because the patient has already checked in.", "Clinical Scheduling", MessageBoxButtons.OKCancel, MessageBoxIcon.Information); 2669 2669 return; 2670 2670 } … … 2675 2675 return; 2676 2676 2677 if (MessageBox.Show("Are you sure you want to move this appointment?", " IHSClinical Scheduling", MessageBoxButtons.YesNo) != DialogResult.Yes)2677 if (MessageBox.Show("Are you sure you want to move this appointment?", "Clinical Scheduling", MessageBoxButtons.YesNo) != DialogResult.Yes) 2678 2678 return; 2679 2679 … … 2708 2708 if (bSlotsAvailable == false) 2709 2709 { 2710 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", " IHSClinical Scheduling",MessageBoxButtons.YesNo);2710 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", "Clinical Scheduling",MessageBoxButtons.YesNo); 2711 2711 if (dr != DialogResult.Yes) 2712 2712 { … … 2731 2731 catch (Exception ex) 2732 2732 { 2733 MessageBox.Show("Unable to change appointment " + ex.Message, " IHSClinical Scheduling");2733 MessageBox.Show("Unable to change appointment " + ex.Message, "Clinical Scheduling"); 2734 2734 this.m_DocManager.UpdateViews(); 2735 2735 return; … … 2784 2784 private void mnuHelpAbout_Click(object sender, System.EventArgs e) 2785 2785 { 2786 MessageBox.Show(" IHS Clinical Scheduling Version " + Application.ProductVersion, "IHSClinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Information);2786 MessageBox.Show("Clinical Scheduling Version " + Application.ProductVersion, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Information); 2787 2787 } 2788 2788 2789 2789 private void ImplementMsg() 2790 2790 { 2791 MessageBox.Show(" IHSClinical Scheduling", "TODO: Implement this function");2791 MessageBox.Show("Clinical Scheduling", "TODO: Implement this function"); 2792 2792 } 2793 2793 … … 2895 2895 if (bSlotsAvailable == false) 2896 2896 { 2897 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", " IHSClinical Scheduling",MessageBoxButtons.YesNo);2897 DialogResult dr = MessageBox.Show(this, "There are no slots available at the selected time. Do you want to overbook this appointment?", "Clinical Scheduling",MessageBoxButtons.YesNo); 2898 2898 if (dr != DialogResult.Yes) 2899 2899 { … … 2910 2910 catch (Exception ex) 2911 2911 { 2912 MessageBox.Show("Unable to add new appointment " + ex.Message, " IHSClinical Scheduling");2912 MessageBox.Show("Unable to add new appointment " + ex.Message, "Clinical Scheduling"); 2913 2913 return; 2914 2914 } … … 2954 2954 catch(Exception ex) 2955 2955 { 2956 MessageBox.Show(this, ex.Message, " IHSClinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);2956 MessageBox.Show(this, ex.Message, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 2957 2957 } 2958 2958 } … … 2980 2980 catch(Exception ex) 2981 2981 { 2982 MessageBox.Show(this, ex.Message, " IHSClinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);2982 MessageBox.Show(this, ex.Message, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 2983 2983 } 2984 2984 … … 3014 3014 catch(Exception ex) 3015 3015 { 3016 MessageBox.Show(this, ex.Message, " IHSClinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);3016 MessageBox.Show(this, ex.Message, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 3017 3017 } 3018 3018 } … … 3074 3074 catch(Exception ex) 3075 3075 { 3076 MessageBox.Show(this, ex.Message, " IHSClinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);3076 MessageBox.Show(this, ex.Message, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 3077 3077 } 3078 3078 … … 3118 3118 catch(Exception ex) 3119 3119 { 3120 MessageBox.Show(this, ex.Message, " IHSClinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);3120 MessageBox.Show(this, ex.Message, "Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); 3121 3121 } 3122 3122 }
Note:
See TracChangeset
for help on using the changeset viewer.