Changeset 753 for Scheduling/trunk/cs/bsdx0200GUISourceCode/DAppointPage.cs
- Timestamp:
- May 7, 2010, 6:38:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/DAppointPage.cs
r627 r753 35 35 private System.Windows.Forms.Label label13; 36 36 private System.Windows.Forms.TextBox txtPhoneHome; 37 private System.Windows.Forms.GroupBox groupBox1; 38 private System.Windows.Forms.TextBox txtCommunity; 39 private System.Windows.Forms.Label label7; 37 private System.Windows.Forms.GroupBox groupBox1; 40 38 private System.Windows.Forms.Label label6; 41 39 private System.Windows.Forms.TextBox txtSSN; … … 54 52 private System.Windows.Forms.Label label3; 55 53 private System.Windows.Forms.Label label14; 56 57 private System.Windows.Forms.Button cmdViewAppointments;58 private System.Windows.Forms.Button cmdPrintLetter;59 /// <summary> 60 /// Required designer variable. 61 /// </summary> 62 private System.ComponentModel.Container components = null;54 private System.Windows.Forms.TextBox txtHRN; 55 private System.Windows.Forms.Button cmdPrintLetter; 56 private GroupBox groupBox4; 57 private BindingSource dsPatientApptDisplay2BindingSource; 58 private dsPatientApptDisplay2 dsPatientApptDisplay2; 59 private BindingSource patientApptsBindingSource; 60 private IContainer components; 63 61 64 62 public DAppointPage() … … 74 72 private void InitializeComponent() 75 73 { 74 this.components = new System.ComponentModel.Container(); 76 75 this.tabControl1 = new System.Windows.Forms.TabControl(); 77 76 this.tabAppointment = new System.Windows.Forms.TabPage(); … … 88 87 this.label14 = new System.Windows.Forms.Label(); 89 88 this.txtHRN = new System.Windows.Forms.TextBox(); 90 this.txtCommunity = new System.Windows.Forms.TextBox();91 this.label7 = new System.Windows.Forms.Label();92 89 this.label6 = new System.Windows.Forms.Label(); 93 90 this.txtSSN = new System.Windows.Forms.TextBox(); … … 112 109 this.panel1 = new System.Windows.Forms.Panel(); 113 110 this.cmdPrintLetter = new System.Windows.Forms.Button(); 114 this.cmdViewAppointments = new System.Windows.Forms.Button();115 111 this.cmdCancel = new System.Windows.Forms.Button(); 116 112 this.cmdOK = new System.Windows.Forms.Button(); 113 this.groupBox4 = new System.Windows.Forms.GroupBox(); 114 this.patientApptsBindingSource = new System.Windows.Forms.BindingSource(this.components); 115 this.dsPatientApptDisplay2BindingSource = new System.Windows.Forms.BindingSource(this.components); 116 this.dsPatientApptDisplay2 = new IndianHealthService.ClinicalScheduling.dsPatientApptDisplay2(); 117 117 this.tabControl1.SuspendLayout(); 118 118 this.tabAppointment.SuspendLayout(); … … 122 122 this.groupBox2.SuspendLayout(); 123 123 this.panel1.SuspendLayout(); 124 ((System.ComponentModel.ISupportInitialize)(this.patientApptsBindingSource)).BeginInit(); 125 ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2BindingSource)).BeginInit(); 126 ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2)).BeginInit(); 124 127 this.SuspendLayout(); 125 128 // … … 132 135 this.tabControl1.Name = "tabControl1"; 133 136 this.tabControl1.SelectedIndex = 0; 134 this.tabControl1.Size = new System.Drawing.Size(4 63, 374);137 this.tabControl1.Size = new System.Drawing.Size(471, 526); 135 138 this.tabControl1.TabIndex = 0; 136 139 // 137 140 // tabAppointment 138 141 // 142 this.tabAppointment.Controls.Add(this.groupBox4); 139 143 this.tabAppointment.Controls.Add(this.groupBox3); 140 144 this.tabAppointment.Controls.Add(this.groupBox1); 141 145 this.tabAppointment.Location = new System.Drawing.Point(4, 22); 142 146 this.tabAppointment.Name = "tabAppointment"; 143 this.tabAppointment.Size = new System.Drawing.Size(4 55, 348);147 this.tabAppointment.Size = new System.Drawing.Size(463, 500); 144 148 this.tabAppointment.TabIndex = 1; 145 149 this.tabAppointment.Text = "Appointment"; … … 147 151 // groupBox3 148 152 // 153 this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 154 | System.Windows.Forms.AnchorStyles.Right))); 149 155 this.groupBox3.Controls.Add(this.lblClinic); 150 156 this.groupBox3.Controls.Add(this.label15); … … 155 161 this.groupBox3.Controls.Add(this.label4); 156 162 this.groupBox3.Controls.Add(this.label3); 157 this.groupBox3.Location = new System.Drawing.Point(8, 1 36);163 this.groupBox3.Location = new System.Drawing.Point(8, 107); 158 164 this.groupBox3.Name = "groupBox3"; 159 this.groupBox3.Size = new System.Drawing.Size(439, 1 68);165 this.groupBox3.Size = new System.Drawing.Size(439, 141); 160 166 this.groupBox3.TabIndex = 13; 161 167 this.groupBox3.TabStop = false; … … 185 191 this.txtNote.Multiline = true; 186 192 this.txtNote.Name = "txtNote"; 187 this.txtNote.Size = new System.Drawing.Size(353, 88);193 this.txtNote.Size = new System.Drawing.Size(353, 60); 188 194 this.txtNote.TabIndex = 17; 189 195 // … … 235 241 this.groupBox1.Controls.Add(this.label14); 236 242 this.groupBox1.Controls.Add(this.txtHRN); 237 this.groupBox1.Controls.Add(this.txtCommunity);238 this.groupBox1.Controls.Add(this.label7);239 243 this.groupBox1.Controls.Add(this.label6); 240 244 this.groupBox1.Controls.Add(this.txtSSN); … … 245 249 this.groupBox1.Location = new System.Drawing.Point(8, 8); 246 250 this.groupBox1.Name = "groupBox1"; 247 this.groupBox1.Size = new System.Drawing.Size(439, 120);251 this.groupBox1.Size = new System.Drawing.Size(439, 93); 248 252 this.groupBox1.TabIndex = 12; 249 253 this.groupBox1.TabStop = false; … … 267 271 this.txtHRN.TabIndex = 12; 268 272 // 269 // txtCommunity270 //271 this.txtCommunity.Location = new System.Drawing.Point(96, 88);272 this.txtCommunity.Name = "txtCommunity";273 this.txtCommunity.ReadOnly = true;274 this.txtCommunity.Size = new System.Drawing.Size(337, 20);275 this.txtCommunity.TabIndex = 10;276 //277 // label7278 //279 this.label7.Location = new System.Drawing.Point(24, 88);280 this.label7.Name = "label7";281 this.label7.Size = new System.Drawing.Size(72, 16);282 this.label7.TabIndex = 11;283 this.label7.Text = "Community:";284 this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight;285 //286 273 // label6 287 274 // … … 340 327 this.tabPatientInfo.Location = new System.Drawing.Point(4, 22); 341 328 this.tabPatientInfo.Name = "tabPatientInfo"; 342 this.tabPatientInfo.Size = new System.Drawing.Size(4 55, 348);329 this.tabPatientInfo.Size = new System.Drawing.Size(463, 500); 343 330 this.tabPatientInfo.TabIndex = 0; 344 331 this.tabPatientInfo.Text = "Contact Information"; … … 470 457 // 471 458 this.panel1.Controls.Add(this.cmdPrintLetter); 472 this.panel1.Controls.Add(this.cmdViewAppointments);473 459 this.panel1.Controls.Add(this.cmdCancel); 474 460 this.panel1.Controls.Add(this.cmdOK); 475 461 this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; 476 this.panel1.Location = new System.Drawing.Point(0, 334);462 this.panel1.Location = new System.Drawing.Point(0, 486); 477 463 this.panel1.Name = "panel1"; 478 this.panel1.Size = new System.Drawing.Size(4 63, 40);464 this.panel1.Size = new System.Drawing.Size(471, 40); 479 465 this.panel1.TabIndex = 1; 480 466 // … … 482 468 // 483 469 this.cmdPrintLetter.CausesValidation = false; 484 this.cmdPrintLetter.Location = new System.Drawing.Point( 208, 8);470 this.cmdPrintLetter.Location = new System.Drawing.Point(12, 9); 485 471 this.cmdPrintLetter.Name = "cmdPrintLetter"; 486 472 this.cmdPrintLetter.Size = new System.Drawing.Size(68, 24); … … 488 474 this.cmdPrintLetter.Text = "Print Letter"; 489 475 this.cmdPrintLetter.Click += new System.EventHandler(this.cmdPrintLetter_Click); 490 //491 // cmdViewAppointments492 //493 this.cmdViewAppointments.CausesValidation = false;494 this.cmdViewAppointments.Location = new System.Drawing.Point(12, 8);495 this.cmdViewAppointments.Name = "cmdViewAppointments";496 this.cmdViewAppointments.Size = new System.Drawing.Size(112, 24);497 this.cmdViewAppointments.TabIndex = 2;498 this.cmdViewAppointments.Text = "View Appointments";499 this.cmdViewAppointments.Click += new System.EventHandler(this.cmdViewAppointments_Click);500 476 // 501 477 // cmdCancel … … 518 494 this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click); 519 495 // 496 // groupBox4 497 // 498 this.groupBox4.Location = new System.Drawing.Point(8, 254); 499 this.groupBox4.Name = "groupBox4"; 500 this.groupBox4.Size = new System.Drawing.Size(439, 204); 501 this.groupBox4.TabIndex = 14; 502 this.groupBox4.TabStop = false; 503 this.groupBox4.Text = "Other Appointments"; 504 // 505 // patientApptsBindingSource 506 // 507 this.patientApptsBindingSource.DataMember = "PatientAppts"; 508 this.patientApptsBindingSource.DataSource = this.dsPatientApptDisplay2BindingSource; 509 // 510 // dsPatientApptDisplay2BindingSource 511 // 512 this.dsPatientApptDisplay2BindingSource.DataSource = this.dsPatientApptDisplay2; 513 this.dsPatientApptDisplay2BindingSource.Position = 0; 514 // 515 // dsPatientApptDisplay2 516 // 517 this.dsPatientApptDisplay2.DataSetName = "dsPatientApptDisplay2"; 518 this.dsPatientApptDisplay2.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; 519 // 520 520 // DAppointPage 521 521 // … … 523 523 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); 524 524 this.CancelButton = this.cmdCancel; 525 this.ClientSize = new System.Drawing.Size(4 63, 374);525 this.ClientSize = new System.Drawing.Size(471, 526); 526 526 this.Controls.Add(this.panel1); 527 527 this.Controls.Add(this.tabControl1); … … 541 541 this.groupBox2.PerformLayout(); 542 542 this.panel1.ResumeLayout(false); 543 ((System.ComponentModel.ISupportInitialize)(this.patientApptsBindingSource)).EndInit(); 544 ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2BindingSource)).EndInit(); 545 ((System.ComponentModel.ISupportInitialize)(this.dsPatientApptDisplay2)).EndInit(); 543 546 this.ResumeLayout(false); 544 547 … … 607 610 608 611 this.UpdateDialogData(true); 609 } 612 Control UC = new UCPatientAppts(m_DocManager, int.Parse(m_sPatientIEN)); 613 UC.Dock = DockStyle.Fill; 614 groupBox4.Controls.Add(UC); 615 } 610 616 catch(Exception e) 611 617 {
Note:
See TracChangeset
for help on using the changeset viewer.