Ignore:
Timestamp:
Mar 3, 2011, 4:44:18 AM (13 years ago)
Author:
Sam Habiel
Message:

DPatientLookup.cs: Usings Cleanup
DApptSearch: Extensive refactoring. Now uses new algorithm to find appointments. Now outputs CGAvailability
CGView: Appointments checked in now set the Checkin time on the appointment structure; changes to support DApptSearch modified output.
CGSchedLib: Extensive refactoring; only 2 methods remain: CreateAppointmentSchedule and CreateAvailabilitySchedule
CGDocument: SlotsAvailable uses a new algorithm
CGAVView: Uses CalendarGrid.TimesOverlap instead of the removed one in CGSchedLib
CGAVDocument: Uses CalendarGrid.TimesOverlap instead of the removed one in CGSchedLib; CreateAssignedSlotSchedule reassigned to CreateAvailabilitySchedule

File:
1 edited

Legend:

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

    r1068 r1097  
    106106            this.panelRight.Location = new System.Drawing.Point(728, 0);
    107107            this.panelRight.Name = "panelRight";
    108             this.panelRight.Size = new System.Drawing.Size(120, 364);
     108            this.panelRight.Size = new System.Drawing.Size(120, 343);
    109109            this.panelRight.TabIndex = 1;
    110110            //
     
    167167            this.panelBottom.Controls.Add(this.statusBar1);
    168168            this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
    169             this.panelBottom.Location = new System.Drawing.Point(8, 340);
     169            this.panelBottom.Location = new System.Drawing.Point(8, 319);
    170170            this.panelBottom.Name = "panelBottom";
    171171            this.panelBottom.Size = new System.Drawing.Size(720, 24);
     
    195195            this.dateTimePicker1.Dock = System.Windows.Forms.DockStyle.Right;
    196196            this.dateTimePicker1.DropDownAlign = System.Windows.Forms.LeftRightAlignment.Right;
    197             this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
    198             this.dateTimePicker1.Location = new System.Drawing.Point(592, 0);
     197            this.dateTimePicker1.Location = new System.Drawing.Point(517, 0);
    199198            this.dateTimePicker1.Name = "dateTimePicker1";
    200             this.dateTimePicker1.Size = new System.Drawing.Size(128, 20);
     199            this.dateTimePicker1.Size = new System.Drawing.Size(203, 20);
    201200            this.dateTimePicker1.TabIndex = 4;
    202201            this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged);
     
    219218            this.panelCenter.Location = new System.Drawing.Point(8, 24);
    220219            this.panelCenter.Name = "panelCenter";
    221             this.panelCenter.Size = new System.Drawing.Size(712, 316);
     220            this.panelCenter.Size = new System.Drawing.Size(712, 295);
    222221            this.panelCenter.TabIndex = 4;
    223222            //
     
    255254            this.tvSchedules.Location = new System.Drawing.Point(0, 0);
    256255            this.tvSchedules.Name = "tvSchedules";
    257             this.tvSchedules.Size = new System.Drawing.Size(8, 364);
     256            this.tvSchedules.Size = new System.Drawing.Size(8, 343);
    258257            this.tvSchedules.Sorted = true;
    259258            this.tvSchedules.TabIndex = 5;
     
    456455            this.splitter1.Location = new System.Drawing.Point(720, 24);
    457456            this.splitter1.Name = "splitter1";
    458             this.splitter1.Size = new System.Drawing.Size(8, 316);
     457            this.splitter1.Size = new System.Drawing.Size(8, 295);
    459458            this.splitter1.TabIndex = 6;
    460459            this.splitter1.TabStop = false;
     
    486485            this.calendarGrid1.Resources = ((System.Collections.ArrayList)(resources.GetObject("calendarGrid1.Resources")));
    487486            this.calendarGrid1.SelectedAppointment = 0;
    488             this.calendarGrid1.Size = new System.Drawing.Size(712, 316);
     487            this.calendarGrid1.Size = new System.Drawing.Size(712, 295);
    489488            this.calendarGrid1.StartDate = new System.DateTime(2003, 1, 27, 0, 0, 0, 0);
    490489            this.calendarGrid1.TabIndex = 2;
    491490            this.calendarGrid1.TimeScale = 20;
    492             this.calendarGrid1.CGAppointmentAdded += new CalendarGrid.CGAppointmentChangedHandler(this.calendarGrid1_CGAppointmentAdded);
    493             this.calendarGrid1.CGAppointmentChanged += new CalendarGrid.CGAppointmentChangedHandler(this.calendarGrid1_CGAppointmentChanged);
    494             this.calendarGrid1.CGSelectionChanged += new CalendarGrid.CGSelectionChangedHandler(this.calendarGrid1_CGSelectionChanged);
     491            this.calendarGrid1.CGAppointmentChanged += new IndianHealthService.ClinicalScheduling.CalendarGrid.CGAppointmentChangedHandler(this.calendarGrid1_CGAppointmentChanged);
     492            this.calendarGrid1.CGAppointmentAdded += new IndianHealthService.ClinicalScheduling.CalendarGrid.CGAppointmentChangedHandler(this.calendarGrid1_CGAppointmentAdded);
     493            this.calendarGrid1.CGSelectionChanged += new IndianHealthService.ClinicalScheduling.CalendarGrid.CGSelectionChangedHandler(this.calendarGrid1_CGSelectionChanged);
    495494            this.calendarGrid1.DoubleClick += new System.EventHandler(this.calendarGrid1_DoubleClick);
    496495            //
     
    498497            //
    499498            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
    500             this.ClientSize = new System.Drawing.Size(848, 364);
     499            this.ClientSize = new System.Drawing.Size(848, 343);
    501500            this.Controls.Add(this.panelCenter);
    502501            this.Controls.Add(this.splitter1);
     
    727726                                        DateTime sStart2 = a.StartTime;
    728727                                        DateTime sEnd2 = a.EndTime;
    729                                         if (CGSchedLib.TimesOverlap(dStart, dEnd, a.StartTime, a.EndTime))
     728                                        if (CalendarGrid.TimesOverlap(dStart, dEnd, a.StartTime, a.EndTime))
    730729                                        {
    731730                                                MessageBox.Show("Access blocks may not overlap.","Clinical Scheduling", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
Note: See TracChangeset for help on using the changeset viewer.