Changeset 1097 for Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs
- Timestamp:
- Mar 3, 2011, 4:44:18 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/CGView.cs
r1095 r1097 617 617 this.tvSchedules.Location = new System.Drawing.Point(0, 0); 618 618 this.tvSchedules.Name = "tvSchedules"; 619 this.tvSchedules.Size = new System.Drawing.Size(128, 400);619 this.tvSchedules.Size = new System.Drawing.Size(128, 358); 620 620 this.tvSchedules.Sorted = true; 621 621 this.tvSchedules.TabIndex = 1; … … 664 664 this.panelRight.Location = new System.Drawing.Point(941, 0); 665 665 this.panelRight.Name = "panelRight"; 666 this.panelRight.Size = new System.Drawing.Size(128, 400);666 this.panelRight.Size = new System.Drawing.Size(128, 358); 667 667 this.panelRight.TabIndex = 3; 668 668 this.panelRight.Visible = false; … … 737 737 this.dateTimePicker1.Dock = System.Windows.Forms.DockStyle.Right; 738 738 this.dateTimePicker1.DropDownAlign = System.Windows.Forms.LeftRightAlignment.Right; 739 this.dateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Short; 740 this.dateTimePicker1.Location = new System.Drawing.Point(685, 0); 739 this.dateTimePicker1.Location = new System.Drawing.Point(607, 0); 741 740 this.dateTimePicker1.Name = "dateTimePicker1"; 742 this.dateTimePicker1.Size = new System.Drawing.Size( 128, 20);741 this.dateTimePicker1.Size = new System.Drawing.Size(206, 20); 743 742 this.dateTimePicker1.TabIndex = 1; 744 743 this.dateTimePicker1.CloseUp += new System.EventHandler(this.dateTimePicker1_CloseUp); … … 761 760 this.panelCenter.Location = new System.Drawing.Point(136, 24); 762 761 this.panelCenter.Name = "panelCenter"; 763 this.panelCenter.Size = new System.Drawing.Size(802, 3 52);762 this.panelCenter.Size = new System.Drawing.Size(802, 310); 764 763 this.panelCenter.TabIndex = 7; 765 764 // … … 847 846 this.panelBottom.Controls.Add(this.statusBar1); 848 847 this.panelBottom.Dock = System.Windows.Forms.DockStyle.Bottom; 849 this.panelBottom.Location = new System.Drawing.Point(136, 3 76);848 this.panelBottom.Location = new System.Drawing.Point(136, 334); 850 849 this.panelBottom.Name = "panelBottom"; 851 850 this.panelBottom.Size = new System.Drawing.Size(802, 24); … … 865 864 this.splitter1.Location = new System.Drawing.Point(128, 24); 866 865 this.splitter1.Name = "splitter1"; 867 this.splitter1.Size = new System.Drawing.Size(8, 3 76);866 this.splitter1.Size = new System.Drawing.Size(8, 334); 868 867 this.splitter1.TabIndex = 9; 869 868 this.splitter1.TabStop = false; … … 874 873 this.splitter2.Location = new System.Drawing.Point(938, 24); 875 874 this.splitter2.Name = "splitter2"; 876 this.splitter2.Size = new System.Drawing.Size(3, 3 76);875 this.splitter2.Size = new System.Drawing.Size(3, 334); 877 876 this.splitter2.TabIndex = 10; 878 877 this.splitter2.TabStop = false; … … 902 901 this.calendarGrid1.Resources = ((System.Collections.ArrayList)(resources.GetObject("calendarGrid1.Resources"))); 903 902 this.calendarGrid1.SelectedAppointment = 0; 904 this.calendarGrid1.Size = new System.Drawing.Size(802, 3 52);903 this.calendarGrid1.Size = new System.Drawing.Size(802, 310); 905 904 this.calendarGrid1.StartDate = new System.DateTime(2003, 1, 27, 0, 0, 0, 0); 906 905 this.calendarGrid1.TabIndex = 0; … … 915 914 // 916 915 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); 917 this.ClientSize = new System.Drawing.Size(1069, 400);916 this.ClientSize = new System.Drawing.Size(1069, 358); 918 917 this.Controls.Add(this.panelCenter); 919 918 this.Controls.Add(this.panelBottom); … … 1988 1987 this.Document.CheckInAppointment(nApptID, dtCheckIn); 1989 1988 1990 //Tell appointment that it is checked in --smh cancel that!1991 //a.CheckInTime = DateTime.Now;1989 //Tell appointment that it is checked in 1990 a.CheckInTime = DateTime.Now; 1992 1991 1993 1992 //smh new code … … 1996 1995 // end new code 1997 1996 1998 //redraw grid (would this work???)1997 //redraw grid 1999 1998 this.calendarGrid1.Invalidate(); 2000 1999 } … … 2475 2474 return; 2476 2475 2477 string sResource = dSearch.SelectedResource; 2476 CGAvailability av = dSearch.SelectedAvailability; 2477 2478 2478 ArrayList alResource = new ArrayList(); 2479 alResource.Add( sResource);2480 DateTime sDate = dSearch.SelectedDate;2481 m_sDocName = sResource;2479 alResource.Add(av.ResourceList); 2480 DateTime sDate = av.StartTime; 2481 m_sDocName = av.ResourceList; 2482 2482 OpenSelectedSchedule(alResource, sDate); 2483 2483
Note:
See TracChangeset
for help on using the changeset viewer.