VistA-Scheduling/cs/bsdx0200GUISourceCode/DPatientApptDisplay.cs

69 lines
1.7 KiB
C#
Raw Normal View History

2009-11-30 03:53:28 -05:00
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using IndianHealthService.BMXNet;
using System.Data;
namespace IndianHealthService.ClinicalScheduling
{
/// <summary>
/// Summary description for DPatientApptDisplay.
/// </summary>
public class DPatientApptDisplay : System.Windows.Forms.Form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.Container components = null;
public void InitializeForm(CGDocumentManager docManager, int nPatientID)
{
2010-05-11 01:24:18 -04:00
Control UC = new UCPatientAppts(docManager, nPatientID);
UC.Dock = DockStyle.Fill;
this.Controls.Add(UC);
}
2009-11-30 03:53:28 -05:00
public DPatientApptDisplay()
{
InitializeComponent();
}
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
2010-05-11 01:24:18 -04:00
2009-11-30 03:53:28 -05:00
private void InitializeComponent()
{
// DPatientApptDisplay
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(664, 478);
this.Name = "DPatientApptDisplay";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Patient Appointments";
this.ResumeLayout(false);
2009-11-30 03:53:28 -05:00
}
#endregion
}
}