source: Scheduling/branches/GUI1.2/DSplash.cs@ 1675

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

Removed user-interface references to RPMS.

File size: 4.1 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.lnkMail = new System.Windows.Forms.LinkLabel();
59 this.lblStatus = new System.Windows.Forms.Label();
60 this.SuspendLayout();
61 //
62 // label1
63 //
64 this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
65 this.label1.Location = new System.Drawing.Point(24, 32);
66 this.label1.Name = "label1";
67 this.label1.Size = new System.Drawing.Size(448, 40);
68 this.label1.TabIndex = 0;
69 this.label1.Text = "VistA Clinical Scheduling";
70 this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
71 //
72 // lnkMail
73 //
74 this.lnkMail.Location = new System.Drawing.Point(0, 0);
75 this.lnkMail.Name = "lnkMail";
76 this.lnkMail.Size = new System.Drawing.Size(100, 23);
77 this.lnkMail.TabIndex = 4;
78 //
79 // lblStatus
80 //
81 this.lblStatus.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
82 this.lblStatus.Location = new System.Drawing.Point(88, 160);
83 this.lblStatus.Name = "lblStatus";
84 this.lblStatus.Size = new System.Drawing.Size(328, 16);
85 this.lblStatus.TabIndex = 3;
86 this.lblStatus.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
87 //
88 // DSplash
89 //
90 this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
91 this.ClientSize = new System.Drawing.Size(488, 252);
92 this.ControlBox = false;
93 this.Controls.Add(this.lblStatus);
94 this.Controls.Add(this.lnkMail);
95 this.Controls.Add(this.label1);
96 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
97 this.Name = "DSplash";
98 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
99 this.Text = "Clinical Scheduling";
100 this.Load += new System.EventHandler(this.DSplash_Load);
101 this.ResumeLayout(false);
102
103 }
104 #endregion
105
106 public void SetStatus(string sStatus)
107 {
108 this.Status = sStatus;
109 }
110
111 private void DSplash_Load(object sender, System.EventArgs e)
112 {
113 //this.lblVersion.Text = "Version " + Application.ProductVersion;
114 }
115
116 #region Properties
117 /// <summary>
118 /// Gets or sets the value of the Status displayed on the splash screen
119 /// </summary>
120 public String Status
121 {
122 get
123 {
124 return lblStatus.Text;
125 }
126 set
127 {
128 lblStatus.Text = value;
129 }
130 }
131 #endregion Properties
132 }
133}
Note: See TracBrowser for help on using the repository browser.