Updated frmWelcome to work with MDI:

-removed buttons
-added "navigate using the tabs above" label
-readjusted object placement
This commit is contained in:
Noah 2024-02-07 10:53:38 -05:00
parent 2189627140
commit 1367b6d0cc

View File

@ -31,11 +31,8 @@ namespace Louis__Pharmacy_CNSA212_FP
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmWelcome));
this.lblWelcome = new System.Windows.Forms.Label();
this.btnAddPatientPhysician = new System.Windows.Forms.Button();
this.btnViewInfo = new System.Windows.Forms.Button();
this.btnPrescription = new System.Windows.Forms.Button();
this.btnRefill = new System.Windows.Forms.Button();
this.lblConfidential = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// lblWelcome
@ -43,7 +40,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.lblWelcome.BackColor = System.Drawing.SystemColors.ControlLight;
this.lblWelcome.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lblWelcome.Font = new System.Drawing.Font("Microsoft Sans Serif", 16.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblWelcome.Location = new System.Drawing.Point(98, 19);
this.lblWelcome.Location = new System.Drawing.Point(98, 130);
this.lblWelcome.Name = "lblWelcome";
this.lblWelcome.Size = new System.Drawing.Size(605, 60);
this.lblWelcome.TabIndex = 0;
@ -51,56 +48,9 @@ namespace Louis__Pharmacy_CNSA212_FP
this.lblWelcome.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.lblWelcome.Click += new System.EventHandler(this.lblWelcome_Click);
//
// btnAddPatientPhysician
//
this.btnAddPatientPhysician.BackColor = System.Drawing.SystemColors.ButtonFace;
this.btnAddPatientPhysician.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnAddPatientPhysician.ForeColor = System.Drawing.SystemColors.ControlText;
this.btnAddPatientPhysician.Location = new System.Drawing.Point(98, 115);
this.btnAddPatientPhysician.Name = "btnAddPatientPhysician";
this.btnAddPatientPhysician.Size = new System.Drawing.Size(253, 68);
this.btnAddPatientPhysician.TabIndex = 1;
this.btnAddPatientPhysician.Text = "Add / Update Person";
this.btnAddPatientPhysician.UseVisualStyleBackColor = false;
//
// btnViewInfo
//
this.btnViewInfo.BackColor = System.Drawing.SystemColors.ButtonFace;
this.btnViewInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnViewInfo.ForeColor = System.Drawing.SystemColors.ControlText;
this.btnViewInfo.Location = new System.Drawing.Point(98, 205);
this.btnViewInfo.Name = "btnViewInfo";
this.btnViewInfo.Size = new System.Drawing.Size(253, 68);
this.btnViewInfo.TabIndex = 3;
this.btnViewInfo.Text = "View Info";
this.btnViewInfo.UseVisualStyleBackColor = false;
//
// btnPrescription
//
this.btnPrescription.BackColor = System.Drawing.SystemColors.ButtonFace;
this.btnPrescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnPrescription.ForeColor = System.Drawing.SystemColors.ControlText;
this.btnPrescription.Location = new System.Drawing.Point(450, 115);
this.btnPrescription.Name = "btnPrescription";
this.btnPrescription.Size = new System.Drawing.Size(253, 68);
this.btnPrescription.TabIndex = 4;
this.btnPrescription.Text = "Add / Update Prescription";
this.btnPrescription.UseVisualStyleBackColor = false;
//
// btnRefill
//
this.btnRefill.BackColor = System.Drawing.SystemColors.ButtonFace;
this.btnRefill.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnRefill.ForeColor = System.Drawing.SystemColors.ControlText;
this.btnRefill.Location = new System.Drawing.Point(450, 205);
this.btnRefill.Name = "btnRefill";
this.btnRefill.Size = new System.Drawing.Size(253, 68);
this.btnRefill.TabIndex = 5;
this.btnRefill.Text = "Add / Update Refills";
this.btnRefill.UseVisualStyleBackColor = false;
//
// lblConfidential
//
this.lblConfidential.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblConfidential.ForeColor = System.Drawing.Color.Red;
this.lblConfidential.Location = new System.Drawing.Point(98, 394);
this.lblConfidential.Name = "lblConfidential";
@ -110,16 +60,24 @@ namespace Louis__Pharmacy_CNSA212_FP
"DENTIAL.";
this.lblConfidential.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// label1
//
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.Black;
this.label1.Location = new System.Drawing.Point(98, 218);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(605, 36);
this.label1.TabIndex = 7;
this.label1.Text = "- Navigate using the tabs above -";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// frmWelcome
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.label1);
this.Controls.Add(this.lblConfidential);
this.Controls.Add(this.btnRefill);
this.Controls.Add(this.btnPrescription);
this.Controls.Add(this.btnViewInfo);
this.Controls.Add(this.btnAddPatientPhysician);
this.Controls.Add(this.lblWelcome);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmWelcome";
@ -132,10 +90,7 @@ namespace Louis__Pharmacy_CNSA212_FP
#endregion
private System.Windows.Forms.Label lblWelcome;
private System.Windows.Forms.Button btnAddPatientPhysician;
private System.Windows.Forms.Button btnViewInfo;
private System.Windows.Forms.Button btnPrescription;
private System.Windows.Forms.Button btnRefill;
private System.Windows.Forms.Label lblConfidential;
private System.Windows.Forms.Label label1;
}
}