From d17d997d3e099f891f9e4968b61442ea8ea321b8 Mon Sep 17 00:00:00 2001 From: Noah Date: Fri, 2 Feb 2024 13:09:48 -0500 Subject: [PATCH] Created welcome form welcome label and add patient/physician button --- .../frmWelcome.Designer.cs | 32 +++++++++++++++++++ Louis'-Pharmacy_CNSA212-FP/frmWelcome.cs | 5 +++ 2 files changed, 37 insertions(+) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs index a627bfd..92028d7 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs @@ -30,13 +30,42 @@ namespace Louis__Pharmacy_CNSA212_FP private void InitializeComponent() { 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.SuspendLayout(); // + // lblWelcome + // + 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(67, 18); + this.lblWelcome.Name = "lblWelcome"; + this.lblWelcome.Size = new System.Drawing.Size(665, 60); + this.lblWelcome.TabIndex = 0; + this.lblWelcome.Text = "Welcome to the Louis\' Pharmacy Admin Portal"; + 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", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btnAddPatientPhysician.ForeColor = System.Drawing.SystemColors.ControlText; + this.btnAddPatientPhysician.Location = new System.Drawing.Point(67, 115); + this.btnAddPatientPhysician.Name = "btnAddPatientPhysician"; + this.btnAddPatientPhysician.Size = new System.Drawing.Size(211, 68); + this.btnAddPatientPhysician.TabIndex = 1; + this.btnAddPatientPhysician.Text = "Add Patient/Physician"; + this.btnAddPatientPhysician.UseVisualStyleBackColor = false; + // // 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.btnAddPatientPhysician); + this.Controls.Add(this.lblWelcome); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmWelcome"; this.Text = "Louis\' Pharmacy - Welcome"; @@ -46,5 +75,8 @@ namespace Louis__Pharmacy_CNSA212_FP } #endregion + + private System.Windows.Forms.Label lblWelcome; + private System.Windows.Forms.Button btnAddPatientPhysician; } } \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/frmWelcome.cs b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.cs index 574b1cf..72187de 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmWelcome.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.cs @@ -21,5 +21,10 @@ namespace Louis__Pharmacy_CNSA212_FP { } + + private void lblWelcome_Click(object sender, EventArgs e) + { + + } } }