| [614] | 1 | using System; | 
|---|
|  | 2 | using System.Drawing; | 
|---|
|  | 3 | using System.Collections; | 
|---|
|  | 4 | using System.ComponentModel; | 
|---|
|  | 5 | using System.Windows.Forms; | 
|---|
|  | 6 | using IndianHealthService.BMXNet; | 
|---|
|  | 7 | using System.Data; | 
|---|
|  | 8 |  | 
|---|
|  | 9 | namespace 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 | } | 
|---|