Ignore:
Timestamp:
Jun 6, 2010, 8:59:53 PM (14 years ago)
Author:
Sam Habiel
Message:

Provided framework for Rebook letters; but they don't work.
Added the appointment dates to the printed letters.
Made more shortcuts on the main menu.
Changed version to 1.1, to be more congruous with the state of the software.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs

    r788 r789  
    266266            this.lblResource = new System.Windows.Forms.Label();
    267267            this.panelCenter = new System.Windows.Forms.Panel();
    268             this.calendarGrid1 = new IndianHealthService.ClinicalScheduling.CalendarGrid();
    269268            this.ctxCalendarGrid = new System.Windows.Forms.ContextMenu();
    270269            this.ctxCalGridAdd = new System.Windows.Forms.MenuItem();
     
    281280            this.splitter1 = new System.Windows.Forms.Splitter();
    282281            this.splitter2 = new System.Windows.Forms.Splitter();
     282            this.calendarGrid1 = new IndianHealthService.ClinicalScheduling.CalendarGrid();
    283283            this.panelRight.SuspendLayout();
    284284            this.panelClip.SuspendLayout();
     
    404404            //
    405405            this.mnuPrintPatientLetter.Index = 13;
     406            this.mnuPrintPatientLetter.Shortcut = System.Windows.Forms.Shortcut.CtrlL;
    406407            this.mnuPrintPatientLetter.Text = "Print Patient Le&tter";
    407408            this.mnuPrintPatientLetter.Click += new System.EventHandler(this.mnuPrintPatientLetter_Click);
     
    415416            //
    416417            this.mnuClose.Index = 15;
     418            this.mnuClose.Shortcut = System.Windows.Forms.Shortcut.CtrlW;
    417419            this.mnuClose.Text = "&Close Schedule";
    418420            this.mnuClose.Click += new System.EventHandler(this.mnuClose_Click);
     
    633635            this.tvSchedules.Location = new System.Drawing.Point(0, 0);
    634636            this.tvSchedules.Name = "tvSchedules";
    635             this.tvSchedules.Size = new System.Drawing.Size(128, 473);
     637            this.tvSchedules.Size = new System.Drawing.Size(128, 410);
    636638            this.tvSchedules.Sorted = true;
    637639            this.tvSchedules.TabIndex = 1;
     
    681683            this.panelRight.Location = new System.Drawing.Point(676, 0);
    682684            this.panelRight.Name = "panelRight";
    683             this.panelRight.Size = new System.Drawing.Size(128, 473);
     685            this.panelRight.Size = new System.Drawing.Size(128, 410);
    684686            this.panelRight.TabIndex = 3;
    685687            this.panelRight.Visible = false;
     
    777779            this.panelCenter.Location = new System.Drawing.Point(136, 24);
    778780            this.panelCenter.Name = "panelCenter";
    779             this.panelCenter.Size = new System.Drawing.Size(537, 425);
     781            this.panelCenter.Size = new System.Drawing.Size(537, 362);
    780782            this.panelCenter.TabIndex = 7;
     783            //
     784            // ctxCalendarGrid
     785            //
     786            this.ctxCalendarGrid.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
     787            this.ctxCalGridAdd,
     788            this.ctxCalGridEdit,
     789            this.ctxCalGridDelete,
     790            this.ctxCalGridCheckIn,
     791            this.menuItem2,
     792            this.ctxCalGridNoShow,
     793            this.ctxCalGridNoShowUndo,
     794            this.menuItem9,
     795            this.ctxCalGridWalkin});
     796            this.ctxCalendarGrid.Popup += new System.EventHandler(this.ctxCalendarGrid_Popup);
     797            //
     798            // ctxCalGridAdd
     799            //
     800            this.ctxCalGridAdd.Index = 0;
     801            this.ctxCalGridAdd.Text = "Add Appointment";
     802            this.ctxCalGridAdd.Click += new System.EventHandler(this.ctxCalGridAdd_Click);
     803            //
     804            // ctxCalGridEdit
     805            //
     806            this.ctxCalGridEdit.Index = 1;
     807            this.ctxCalGridEdit.Text = "Edit Appointment";
     808            this.ctxCalGridEdit.Click += new System.EventHandler(this.ctxCalGridEdit_Click);
     809            //
     810            // ctxCalGridDelete
     811            //
     812            this.ctxCalGridDelete.Index = 2;
     813            this.ctxCalGridDelete.Text = "Cancel Appointment";
     814            this.ctxCalGridDelete.Click += new System.EventHandler(this.ctxCalGridDelete_Click);
     815            //
     816            // ctxCalGridCheckIn
     817            //
     818            this.ctxCalGridCheckIn.Index = 3;
     819            this.ctxCalGridCheckIn.Text = "Check In Patient";
     820            this.ctxCalGridCheckIn.Click += new System.EventHandler(this.ctxCalGridCheckIn_Click);
     821            //
     822            // menuItem2
     823            //
     824            this.menuItem2.Index = 4;
     825            this.menuItem2.Text = "-";
     826            //
     827            // ctxCalGridNoShow
     828            //
     829            this.ctxCalGridNoShow.Index = 5;
     830            this.ctxCalGridNoShow.Text = "Mark as No Show";
     831            this.ctxCalGridNoShow.Click += new System.EventHandler(this.ctxCalGridNoShow_Click);
     832            //
     833            // ctxCalGridNoShowUndo
     834            //
     835            this.ctxCalGridNoShowUndo.Index = 6;
     836            this.ctxCalGridNoShowUndo.Text = "Undo NoShow";
     837            this.ctxCalGridNoShowUndo.Click += new System.EventHandler(this.ctxCalGridNoShowUndo_Click);
     838            //
     839            // menuItem9
     840            //
     841            this.menuItem9.Index = 7;
     842            this.menuItem9.Text = "-";
     843            //
     844            // ctxCalGridWalkin
     845            //
     846            this.ctxCalGridWalkin.Index = 8;
     847            this.ctxCalGridWalkin.Text = "Create Wal&k-In Appointment";
     848            this.ctxCalGridWalkin.Click += new System.EventHandler(this.ctxCalGridWalkin_Click);
     849            //
     850            // panelBottom
     851            //
     852            this.panelBottom.Controls.Add(this.statusBar1);
     853            this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
     854            this.panelBottom.Location = new System.Drawing.Point(136, 386);
     855            this.panelBottom.Name = "panelBottom";
     856            this.panelBottom.Size = new System.Drawing.Size(537, 24);
     857            this.panelBottom.TabIndex = 8;
     858            //
     859            // statusBar1
     860            //
     861            this.statusBar1.Dock = System.Windows.Forms.DockStyle.Fill;
     862            this.statusBar1.Location = new System.Drawing.Point(0, 0);
     863            this.statusBar1.Name = "statusBar1";
     864            this.statusBar1.Size = new System.Drawing.Size(537, 24);
     865            this.statusBar1.SizingGrip = false;
     866            this.statusBar1.TabIndex = 0;
     867            //
     868            // splitter1
     869            //
     870            this.splitter1.Location = new System.Drawing.Point(128, 24);
     871            this.splitter1.Name = "splitter1";
     872            this.splitter1.Size = new System.Drawing.Size(8, 386);
     873            this.splitter1.TabIndex = 9;
     874            this.splitter1.TabStop = false;
     875            //
     876            // splitter2
     877            //
     878            this.splitter2.Dock = System.Windows.Forms.DockStyle.Right;
     879            this.splitter2.Location = new System.Drawing.Point(673, 24);
     880            this.splitter2.Name = "splitter2";
     881            this.splitter2.Size = new System.Drawing.Size(3, 386);
     882            this.splitter2.TabIndex = 10;
     883            this.splitter2.TabStop = false;
    781884            //
    782885            // calendarGrid1
     
    799902            this.calendarGrid1.Resources = ((System.Collections.ArrayList)(resources.GetObject("calendarGrid1.Resources")));
    800903            this.calendarGrid1.SelectedAppointment = 0;
    801             this.calendarGrid1.Size = new System.Drawing.Size(537, 425);
     904            this.calendarGrid1.Size = new System.Drawing.Size(537, 362);
    802905            this.calendarGrid1.StartDate = new System.DateTime(2003, 1, 27, 0, 0, 0, 0);
    803906            this.calendarGrid1.TabIndex = 0;
     
    808911            this.calendarGrid1.CGAppointmentAdded += new IndianHealthService.ClinicalScheduling.CGAppointmentChangedHandler(this.calendarGrid1_CGAppointmentAdded);
    809912            //
    810             // ctxCalendarGrid
    811             //
    812             this.ctxCalendarGrid.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
    813             this.ctxCalGridAdd,
    814             this.ctxCalGridEdit,
    815             this.ctxCalGridDelete,
    816             this.ctxCalGridCheckIn,
    817             this.menuItem2,
    818             this.ctxCalGridNoShow,
    819             this.ctxCalGridNoShowUndo,
    820             this.menuItem9,
    821             this.ctxCalGridWalkin});
    822             this.ctxCalendarGrid.Popup += new System.EventHandler(this.ctxCalendarGrid_Popup);
    823             //
    824             // ctxCalGridAdd
    825             //
    826             this.ctxCalGridAdd.Index = 0;
    827             this.ctxCalGridAdd.Text = "Add Appointment";
    828             this.ctxCalGridAdd.Click += new System.EventHandler(this.ctxCalGridAdd_Click);
    829             //
    830             // ctxCalGridEdit
    831             //
    832             this.ctxCalGridEdit.Index = 1;
    833             this.ctxCalGridEdit.Text = "Edit Appointment";
    834             this.ctxCalGridEdit.Click += new System.EventHandler(this.ctxCalGridEdit_Click);
    835             //
    836             // ctxCalGridDelete
    837             //
    838             this.ctxCalGridDelete.Index = 2;
    839             this.ctxCalGridDelete.Text = "Cancel Appointment";
    840             this.ctxCalGridDelete.Click += new System.EventHandler(this.ctxCalGridDelete_Click);
    841             //
    842             // ctxCalGridCheckIn
    843             //
    844             this.ctxCalGridCheckIn.Index = 3;
    845             this.ctxCalGridCheckIn.Text = "Check In Patient";
    846             this.ctxCalGridCheckIn.Click += new System.EventHandler(this.ctxCalGridCheckIn_Click);
    847             //
    848             // menuItem2
    849             //
    850             this.menuItem2.Index = 4;
    851             this.menuItem2.Text = "-";
    852             //
    853             // ctxCalGridNoShow
    854             //
    855             this.ctxCalGridNoShow.Index = 5;
    856             this.ctxCalGridNoShow.Text = "Mark as No Show";
    857             this.ctxCalGridNoShow.Click += new System.EventHandler(this.ctxCalGridNoShow_Click);
    858             //
    859             // ctxCalGridNoShowUndo
    860             //
    861             this.ctxCalGridNoShowUndo.Index = 6;
    862             this.ctxCalGridNoShowUndo.Text = "Undo NoShow";
    863             this.ctxCalGridNoShowUndo.Click += new System.EventHandler(this.ctxCalGridNoShowUndo_Click);
    864             //
    865             // menuItem9
    866             //
    867             this.menuItem9.Index = 7;
    868             this.menuItem9.Text = "-";
    869             //
    870             // ctxCalGridWalkin
    871             //
    872             this.ctxCalGridWalkin.Index = 8;
    873             this.ctxCalGridWalkin.Text = "Create Wal&k-In Appointment";
    874             this.ctxCalGridWalkin.Click += new System.EventHandler(this.ctxCalGridWalkin_Click);
    875             //
    876             // panelBottom
    877             //
    878             this.panelBottom.Controls.Add(this.statusBar1);
    879             this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
    880             this.panelBottom.Location = new System.Drawing.Point(136, 449);
    881             this.panelBottom.Name = "panelBottom";
    882             this.panelBottom.Size = new System.Drawing.Size(537, 24);
    883             this.panelBottom.TabIndex = 8;
    884             //
    885             // statusBar1
    886             //
    887             this.statusBar1.Dock = System.Windows.Forms.DockStyle.Fill;
    888             this.statusBar1.Location = new System.Drawing.Point(0, 0);
    889             this.statusBar1.Name = "statusBar1";
    890             this.statusBar1.Size = new System.Drawing.Size(537, 24);
    891             this.statusBar1.SizingGrip = false;
    892             this.statusBar1.TabIndex = 0;
    893             //
    894             // splitter1
    895             //
    896             this.splitter1.Location = new System.Drawing.Point(128, 24);
    897             this.splitter1.Name = "splitter1";
    898             this.splitter1.Size = new System.Drawing.Size(8, 449);
    899             this.splitter1.TabIndex = 9;
    900             this.splitter1.TabStop = false;
    901             //
    902             // splitter2
    903             //
    904             this.splitter2.Dock = System.Windows.Forms.DockStyle.Right;
    905             this.splitter2.Location = new System.Drawing.Point(673, 24);
    906             this.splitter2.Name = "splitter2";
    907             this.splitter2.Size = new System.Drawing.Size(3, 449);
    908             this.splitter2.TabIndex = 10;
    909             this.splitter2.TabStop = false;
    910             //
    911913            // CGView
    912914            //
    913915            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    914             this.ClientSize = new System.Drawing.Size(804, 473);
     916            this.ClientSize = new System.Drawing.Size(804, 410);
    915917            this.Controls.Add(this.panelCenter);
    916918            this.Controls.Add(this.panelBottom);
     
    17841786                                                a.Add(appt.Resource);
    17851787                                }
    1786                                 //Call rebook letters RPC to get datatable
     1788
     1789                // Print rebooks
    17871790                                string sClinicList = "";
    17881791                                foreach (string sRes in a)
Note: See TracChangeset for help on using the changeset viewer.