source: Scheduling/trunk/cs/bsdx0200GUISourceCode/dInputText.cs@ 614

Last change on this file since 614 was 614, checked in by Sam Habiel, 14 years ago

Initial committ of scheduling package

File size: 3.7 KB
Line 
1using System;
2using System.Drawing;
3using System.Collections;
4using System.ComponentModel;
5using System.Windows.Forms;
6
7namespace IndianHealthService.ClinicalScheduling
8{
9 /// <summary>
10 /// Summary description for dInputText.
11 /// </summary>
12 public class dInputText : System.Windows.Forms.Form
13 {
14 private System.Windows.Forms.Panel pnlPageBottom;
15 private System.Windows.Forms.Button cmdCancel;
16 private System.Windows.Forms.TextBox txtInput;
17 private System.Windows.Forms.Button cmdOK;
18 /// <summary>
19 /// Required designer variable.
20 /// </summary>
21 private System.ComponentModel.Container components = null;
22
23 public dInputText()
24 {
25 InitializeComponent();
26 }
27
28 public string DialogTitle
29 {
30 get
31 {
32 return this.Text;
33 }
34 set
35 {
36 this.Text = value;
37 }
38 }
39
40 public string TextValue
41 {
42 get
43 {
44 return this.txtInput.Text;
45 }
46 set
47 {
48 this.txtInput.Text = value;
49 }
50 }
51 /// <summary>
52 /// Clean up any resources being used.
53 /// </summary>
54 protected override void Dispose( bool disposing )
55 {
56 if( disposing )
57 {
58 if(components != null)
59 {
60 components.Dispose();
61 }
62 }
63 base.Dispose( disposing );
64 }
65
66 #region Windows Form Designer generated code
67 /// <summary>
68 /// Required method for Designer support - do not modify
69 /// the contents of this method with the code editor.
70 /// </summary>
71 private void InitializeComponent()
72 {
73 this.pnlPageBottom = new System.Windows.Forms.Panel();
74 this.cmdOK = new System.Windows.Forms.Button();
75 this.cmdCancel = new System.Windows.Forms.Button();
76 this.txtInput = new System.Windows.Forms.TextBox();
77 this.pnlPageBottom.SuspendLayout();
78 this.SuspendLayout();
79 //
80 // pnlPageBottom
81 //
82 this.pnlPageBottom.Controls.Add(this.cmdOK);
83 this.pnlPageBottom.Controls.Add(this.cmdCancel);
84 this.pnlPageBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
85 this.pnlPageBottom.Location = new System.Drawing.Point(0, 230);
86 this.pnlPageBottom.Name = "pnlPageBottom";
87 this.pnlPageBottom.Size = new System.Drawing.Size(496, 40);
88 this.pnlPageBottom.TabIndex = 4;
89 //
90 // cmdOK
91 //
92 this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
93 this.cmdOK.Location = new System.Drawing.Point(272, 8);
94 this.cmdOK.Name = "cmdOK";
95 this.cmdOK.Size = new System.Drawing.Size(96, 24);
96 this.cmdOK.TabIndex = 1;
97 this.cmdOK.Text = "OK";
98 //
99 // cmdCancel
100 //
101 this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
102 this.cmdCancel.Location = new System.Drawing.Point(384, 8);
103 this.cmdCancel.Name = "cmdCancel";
104 this.cmdCancel.Size = new System.Drawing.Size(96, 24);
105 this.cmdCancel.TabIndex = 2;
106 this.cmdCancel.Text = "Cancel";
107 //
108 // txtInput
109 //
110 this.txtInput.Dock = System.Windows.Forms.DockStyle.Fill;
111 this.txtInput.Location = new System.Drawing.Point(0, 0);
112 this.txtInput.Multiline = true;
113 this.txtInput.Name = "txtInput";
114 this.txtInput.Size = new System.Drawing.Size(496, 230);
115 this.txtInput.TabIndex = 0;
116 this.txtInput.Text = "";
117 //
118 // dInputText
119 //
120 this.AcceptButton = this.cmdOK;
121 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
122 this.CancelButton = this.cmdCancel;
123 this.ClientSize = new System.Drawing.Size(496, 270);
124 this.Controls.Add(this.txtInput);
125 this.Controls.Add(this.pnlPageBottom);
126 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
127 this.Name = "dInputText";
128 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
129 this.Text = "IHS Clinical Scheduling";
130 this.pnlPageBottom.ResumeLayout(false);
131 this.ResumeLayout(false);
132
133 }
134 #endregion
135 }
136}
Note: See TracBrowser for help on using the repository browser.