source: Scheduling/trunk/cs/bsdx0200GUISourceCode/DSplash.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: 4.6 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 DSplash.
11 /// </summary>
12 public class DSplash : System.Windows.Forms.Form
13 {
14 private System.Windows.Forms.Label label1;
15 //private System.Windows.Forms.Label lblVersion;
16 private System.Windows.Forms.LinkLabel lnkMail;
17 private System.Windows.Forms.Label lblStatus;
18 /// <summary>
19 /// Required designer variable.
20 /// </summary>
21 private System.ComponentModel.Container components = null;
22
23 public DSplash()
24 {
25 //
26 // Required for Windows Form Designer support
27 //
28 InitializeComponent();
29
30 //
31 // TODO: Add any constructor code after InitializeComponent call
32 //
33 }
34
35 /// <summary>
36 /// Clean up any resources being used.
37 /// </summary>
38 protected override void Dispose( bool disposing )
39 {
40 if( disposing )
41 {
42 if(components != null)
43 {
44 components.Dispose();
45 }
46 }
47 base.Dispose( disposing );
48 }
49
50 #region Windows Form Designer generated code
51 /// <summary>
52 /// Required method for Designer support - do not modify
53 /// the contents of this method with the code editor.
54 /// </summary>
55 private void InitializeComponent()
56 {
57 this.label1 = new System.Windows.Forms.Label();
58 //this.lblVersion = new System.Windows.Forms.Label();
59 this.lnkMail = new System.Windows.Forms.LinkLabel();
60 this.lblStatus = new System.Windows.Forms.Label();
61 this.SuspendLayout();
62 //
63 // label1
64 //
65 this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
66 this.label1.Location = new System.Drawing.Point(24, 32);
67 this.label1.Name = "label1";
68 this.label1.Size = new System.Drawing.Size(448, 40);
69 this.label1.TabIndex = 0;
70 this.label1.Text = "IHS Clinical Scheduling";
71 this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
72 //
73 // lblVersion
74 //
75 //this.lblVersion.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
76 //this.lblVersion.Location = new System.Drawing.Point(88, 88);
77 //this.lblVersion.Name = "lblVersion";
78 //this.lblVersion.Size = new System.Drawing.Size(328, 32);
79 //this.lblVersion.TabIndex = 1;
80 //this.lblVersion.Text = "Version ";
81 //this.lblVersion.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
82 //
83 // lnkMail
84 //
85 //this.lnkMail.Location = new System.Drawing.Point(328, 224);
86 //this.lnkMail.Name = "lnkMail";
87 //this.lnkMail.Size = new System.Drawing.Size(144, 16);
88 //this.lnkMail.TabIndex = 2;
89 //this.lnkMail.TabStop = true;
90 //this.lnkMail.Text = "Horace.Whitt@mail.ihs.gov";
91 //
92 // lblStatus
93 //
94 this.lblStatus.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
95 this.lblStatus.Location = new System.Drawing.Point(88, 160);
96 this.lblStatus.Name = "lblStatus";
97 this.lblStatus.Size = new System.Drawing.Size(328, 16);
98 this.lblStatus.TabIndex = 3;
99 this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
100 //
101 // DSplash
102 //
103 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
104 this.ClientSize = new System.Drawing.Size(488, 252);
105 this.ControlBox = false;
106 this.Controls.Add(this.lblStatus);
107 this.Controls.Add(this.lnkMail);
108 //this.Controls.Add(this.lblVersion);
109 this.Controls.Add(this.label1);
110 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
111 this.Name = "DSplash";
112 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
113 this.Text = "IHS Clinical Scheduling";
114 this.Load += new System.EventHandler(this.DSplash_Load);
115 this.ResumeLayout(false);
116
117 }
118 #endregion
119
120 public void SetStatus(string sStatus)
121 {
122 this.Status = sStatus;
123 }
124
125 private void DSplash_Load(object sender, System.EventArgs e)
126 {
127 //this.lblVersion.Text = "Version " + Application.ProductVersion;
128 }
129
130 #region Properties
131 /// <summary>
132 /// Gets or sets the value of the Status displayed on the splash screen
133 /// </summary>
134 public String Status
135 {
136 get
137 {
138 return lblStatus.Text;
139 }
140 set
141 {
142 lblStatus.Text = value;
143 }
144 }
145 #endregion Properties
146 }
147}
Note: See TracBrowser for help on using the repository browser.