Changeset 1143 for Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs
- Timestamp:
- Apr 14, 2011, 8:33:14 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs
r1131 r1143 428 428 // 429 429 this.mnuNewAppointment.Index = 0; 430 this.mnuNewAppointment.Shortcut = System.Windows.Forms.Shortcut.Ins; 430 431 this.mnuNewAppointment.Text = "&New Appointment"; 431 432 this.mnuNewAppointment.Click += new System.EventHandler(this.mnuNewAppointment_Click); … … 434 435 // 435 436 this.mnuEditAppointment.Index = 1; 437 this.mnuEditAppointment.Shortcut = System.Windows.Forms.Shortcut.F2; 436 438 this.mnuEditAppointment.Text = "&Edit Appointment"; 437 439 this.mnuEditAppointment.Click += new System.EventHandler(this.mnuEditAppointment_Click); … … 440 442 // 441 443 this.mnuDeleteAppointment.Index = 2; 444 this.mnuDeleteAppointment.Shortcut = System.Windows.Forms.Shortcut.Del; 442 445 this.mnuDeleteAppointment.Text = "Cance&l Appointment"; 443 446 this.mnuDeleteAppointment.Click += new System.EventHandler(this.mnuDeleteAppointment_Click); … … 481 484 this.mnuFindAppt.Index = 9; 482 485 this.mnuFindAppt.Shortcut = System.Windows.Forms.Shortcut.CtrlF; 483 this.mnuFindAppt.Text = "&Find Available Appointment";486 this.mnuFindAppt.Text = "&Find Empty Slots"; 484 487 this.mnuFindAppt.Click += new System.EventHandler(this.mnuFindAppt_Click); 485 488 // … … 647 650 this.tvSchedules.Location = new System.Drawing.Point(0, 0); 648 651 this.tvSchedules.Name = "tvSchedules"; 649 this.tvSchedules.Size = new System.Drawing.Size(128, 3 59);652 this.tvSchedules.Size = new System.Drawing.Size(128, 317); 650 653 this.tvSchedules.Sorted = true; 651 654 this.tvSchedules.TabIndex = 1; … … 689 692 // 690 693 this.ctxFindAppt.Index = 3; 691 this.ctxFindAppt.Text = "&Find Available Appointment";694 this.ctxFindAppt.Text = "&Find Empty Slots"; 692 695 this.ctxFindAppt.Click += new System.EventHandler(this.ctxFindAppt_Click); 693 696 // … … 716 719 this.panelRight.Location = new System.Drawing.Point(996, 0); 717 720 this.panelRight.Name = "panelRight"; 718 this.panelRight.Size = new System.Drawing.Size(128, 3 59);721 this.panelRight.Size = new System.Drawing.Size(128, 317); 719 722 this.panelRight.TabIndex = 3; 720 723 this.panelRight.Visible = false; … … 812 815 this.panelCenter.Location = new System.Drawing.Point(136, 24); 813 816 this.panelCenter.Name = "panelCenter"; 814 this.panelCenter.Size = new System.Drawing.Size(857, 311);817 this.panelCenter.Size = new System.Drawing.Size(857, 269); 815 818 this.panelCenter.TabIndex = 7; 816 819 // … … 905 908 this.panelBottom.Controls.Add(this.statusBar1); 906 909 this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom; 907 this.panelBottom.Location = new System.Drawing.Point(136, 335);910 this.panelBottom.Location = new System.Drawing.Point(136, 293); 908 911 this.panelBottom.Name = "panelBottom"; 909 912 this.panelBottom.Size = new System.Drawing.Size(857, 24); … … 923 926 this.splitter1.Location = new System.Drawing.Point(128, 24); 924 927 this.splitter1.Name = "splitter1"; 925 this.splitter1.Size = new System.Drawing.Size(8, 335);928 this.splitter1.Size = new System.Drawing.Size(8, 293); 926 929 this.splitter1.TabIndex = 9; 927 930 this.splitter1.TabStop = false; … … 932 935 this.splitter2.Location = new System.Drawing.Point(993, 24); 933 936 this.splitter2.Name = "splitter2"; 934 this.splitter2.Size = new System.Drawing.Size(3, 335);937 this.splitter2.Size = new System.Drawing.Size(3, 293); 935 938 this.splitter2.TabIndex = 10; 936 939 this.splitter2.TabStop = false; … … 955 958 this.calendarGrid1.Resources = ((System.Collections.ArrayList)(resources.GetObject("calendarGrid1.Resources"))); 956 959 this.calendarGrid1.SelectedAppointment = 0; 957 this.calendarGrid1.Size = new System.Drawing.Size(857, 311);960 this.calendarGrid1.Size = new System.Drawing.Size(857, 269); 958 961 this.calendarGrid1.StartDate = new System.DateTime(2003, 1, 27, 0, 0, 0, 0); 959 962 this.calendarGrid1.TabIndex = 0; … … 968 971 // 969 972 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); 970 this.ClientSize = new System.Drawing.Size(1124, 3 59);973 this.ClientSize = new System.Drawing.Size(1124, 317); 971 974 this.Controls.Add(this.panelCenter); 972 975 this.Controls.Add(this.panelBottom); … … 1817 1820 this.Document.EditAppointment(a, sNote); 1818 1821 1822 if (dAppt.PrintAppointmentSlip) 1823 { 1824 PrintAppointmentSlip(a); 1825 } 1826 1827 //Redraw appointments 1828 this.UpdateArrays(); 1829 1830 //Then tell RPMS that we are updated 1831 RaiseRPMSEvent("BSDX SCHEDULE", a.Resource); 1819 1832 } 1820 1833 catch (Exception ex) … … 2684 2697 this.calendarGrid1.Columns = 5; 2685 2698 this.Document.m_nColumnCount = 5; // MJL 1/17/2007 2686 //this.Document.UpdateAllViews();2687 //TODO: Is there a way to just reuse the existing arrays? How far in the future do they go?2688 2699 RequestRefreshGrid(); 2689 2700 } … … 2693 2704 this.calendarGrid1.Columns = 7; 2694 2705 this.Document.m_nColumnCount = 7; // MJL 1/17/2007 2695 //TODO: Is there a way to just reuse the existing arrays? How far in the future do they go?2696 2706 RequestRefreshGrid(); 2697 2707 } … … 2953 2963 appt.HealthRecordNumber = e.Appointment.HealthRecordNumber; 2954 2964 appt.AccessTypeID = e.AccessTypeID; 2965 appt.Patient = e.Appointment.Patient; 2966 2955 2967 this.Document.CreateAppointment(appt); 2956 2968 … … 3508 3520 } 3509 3521 3510 LoadingSplash _loadingSplash; // Splash object a data point in class 3522 //private delegate DialogResult dLoadingSplash(IWin32Window owner); 3523 string _tempStatusBartext; 3511 3524 3512 3525 /// <summary> 3513 /// Loads a splash that says "Loading" 3526 /// Loads a splash that says "Loading" -- removed it april 13 2010 3514 3527 /// </summary> 3515 3528 private void LoadSplash() 3516 3529 { 3517 _loadingSplash = new LoadingSplash(); 3518 _loadingSplash.StartPosition = FormStartPosition.CenterScreen; //XXX: Don't like this, but will do for now. 3519 _loadingSplash.UseWaitCursor = true; // tell user we are working 3520 Thread threadSplash = new Thread(new ThreadStart(() => _loadingSplash.ShowDialog())); // lambda 3521 threadSplash.IsBackground = true; //expendable thread -- exit even if still running. 3522 threadSplash.Name = "Loading Thread"; 3523 threadSplash.Start(); 3530 _tempStatusBartext = this.statusBar1.Text; 3531 this.statusBar1.Text = "Refreshing Schedule..."; 3532 //_loadingSplash = new LoadingSplash(); 3533 //_loadingSplash.StartPosition = FormStartPosition.CenterScreen; //XXX: Don't like this, but will do for now. 3534 //_loadingSplash.UseWaitCursor = true; // tell user we are working 3535 //_loadingSplash.Show(this); 3536 //Thread threadSplash = new Thread(tstart); 3537 //threadSplash.IsBackground = true; 3538 //threadSplash.Name = "Loading Thread"; 3539 //threadSplash.Start(this); 3540 3541 //Thread threadSplash = new Thread(new ThreadStart(() => _loadingSplash.ShowDialog())); // lambda 3542 //threadSplash.IsBackground = true; //expendable thread -- exit even if still running. 3543 //threadSplash.Name = "Loading Thread"; 3544 //threadSplash.Start(); 3524 3545 } 3525 3546 3526 3547 private void StopSplash() 3527 3548 { 3528 _loadingSplash.RemoteClose();3549 this.statusBar1.Text = _tempStatusBartext; 3529 3550 } 3530 3551
Note:
See TracChangeset
for help on using the changeset viewer.