source: Scheduling/trunk/cs/bsdx0200GUISourceCode/DPatientApptDisplay.cs@ 1639

Last change on this file since 1639 was 755, checked in by Sam Habiel, 15 years ago

Better printing in UCPatientAppts.

File size: 1.7 KB
RevLine 
[614]1using System;
2using System.Drawing;
3using System.Collections;
4using System.ComponentModel;
5using System.Windows.Forms;
6using IndianHealthService.BMXNet;
7using System.Data;
8
9namespace IndianHealthService.ClinicalScheduling
10{
11 /// <summary>
12 /// Summary description for DPatientApptDisplay.
13 /// </summary>
14 public class DPatientApptDisplay : System.Windows.Forms.Form
15 {
16 /// <summary>
17 /// Required designer variable.
18 /// </summary>
19 private System.ComponentModel.Container components = null;
20
21 public void InitializeForm(CGDocumentManager docManager, int nPatientID)
22 {
[755]23 Control UC = new UCPatientAppts(docManager, nPatientID);
24 UC.Dock = DockStyle.Fill;
25 this.Controls.Add(UC);
26 }
[614]27
28 public DPatientApptDisplay()
29 {
30 InitializeComponent();
31 }
32
33 /// <summary>
34 /// Clean up any resources being used.
35 /// </summary>
36 protected override void Dispose( bool disposing )
37 {
38 if( disposing )
39 {
40 if(components != null)
41 {
42 components.Dispose();
43 }
44 }
45 base.Dispose( disposing );
46 }
47
48 #region Windows Form Designer generated code
49 /// <summary>
50 /// Required method for Designer support - do not modify
51 /// the contents of this method with the code editor.
52 /// </summary>
[755]53
[614]54 private void InitializeComponent()
55 {
[753]56 // DPatientApptDisplay
57 //
58 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
59 this.ClientSize = new System.Drawing.Size(664, 478);
60 this.Name = "DPatientApptDisplay";
61 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
62 this.Text = "Patient Appointments";
63 this.ResumeLayout(false);
[614]64
65 }
66 #endregion
67 }
68}
Note: See TracBrowser for help on using the repository browser.