Deleted frmUpdatePatient (combining with formAddPatientPhyscian), removed Update User button from frmWelcome (combined into Add/Update user button), removed exit button on frmWelcome

This commit is contained in:
Noah 2024-02-02 14:56:26 -05:00
parent e6919ba7e3
commit 6c1c7ba112
5 changed files with 2 additions and 1363 deletions

View File

@ -70,12 +70,6 @@
<Compile Include="frmRefill.Designer.cs">
<DependentUpon>frmRefill.cs</DependentUpon>
</Compile>
<Compile Include="frmUpdatePatient.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmUpdatePatient.Designer.cs">
<DependentUpon>frmUpdatePatient.cs</DependentUpon>
</Compile>
<Compile Include="frmWelcome.cs">
<SubType>Form</SubType>
</Compile>
@ -96,9 +90,6 @@
<EmbeddedResource Include="frmRefill.resx">
<DependentUpon>frmRefill.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmUpdatePatient.resx">
<DependentUpon>frmUpdatePatient.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmWelcome.resx">
<DependentUpon>frmWelcome.cs</DependentUpon>
</EmbeddedResource>

View File

@ -1,49 +0,0 @@

namespace Louis__Pharmacy_CNSA212_FP
{
partial class frmUpdatePatient
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmUpdatePatient));
this.SuspendLayout();
//
// frmUpdatePatient
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmUpdatePatient";
this.Text = "Louis\' Pharmacy - Update Patient";
this.ResumeLayout(false);
}
#endregion
}
}

View File

@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Louis__Pharmacy_CNSA212_FP
{
public partial class frmUpdatePatient : Form
{
public frmUpdatePatient()
{
InitializeComponent();
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -32,11 +32,9 @@ 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.btnUpdatePatient = 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.btnExit = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lblWelcome
@ -61,27 +59,15 @@ namespace Louis__Pharmacy_CNSA212_FP
this.btnAddPatientPhysician.Name = "btnAddPatientPhysician";
this.btnAddPatientPhysician.Size = new System.Drawing.Size(253, 68);
this.btnAddPatientPhysician.TabIndex = 1;
this.btnAddPatientPhysician.Text = "Add Patient / Physician";
this.btnAddPatientPhysician.Text = "Add / Update User";
this.btnAddPatientPhysician.UseVisualStyleBackColor = false;
//
// btnUpdatePatient
//
this.btnUpdatePatient.BackColor = System.Drawing.SystemColors.ButtonFace;
this.btnUpdatePatient.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnUpdatePatient.ForeColor = System.Drawing.SystemColors.ControlText;
this.btnUpdatePatient.Location = new System.Drawing.Point(98, 205);
this.btnUpdatePatient.Name = "btnUpdatePatient";
this.btnUpdatePatient.Size = new System.Drawing.Size(253, 68);
this.btnUpdatePatient.TabIndex = 2;
this.btnUpdatePatient.Text = "Update Patient";
this.btnUpdatePatient.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, 303);
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;
@ -112,28 +98,14 @@ namespace Louis__Pharmacy_CNSA212_FP
this.btnRefill.Text = "Add / Update Refills";
this.btnRefill.UseVisualStyleBackColor = false;
//
// btnExit
//
this.btnExit.BackColor = System.Drawing.Color.LightCoral;
this.btnExit.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnExit.ForeColor = System.Drawing.SystemColors.ControlText;
this.btnExit.Location = new System.Drawing.Point(636, 404);
this.btnExit.Name = "btnExit";
this.btnExit.Size = new System.Drawing.Size(142, 34);
this.btnExit.TabIndex = 7;
this.btnExit.Text = "Exit";
this.btnExit.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.btnExit);
this.Controls.Add(this.btnRefill);
this.Controls.Add(this.btnPrescription);
this.Controls.Add(this.btnViewInfo);
this.Controls.Add(this.btnUpdatePatient);
this.Controls.Add(this.btnAddPatientPhysician);
this.Controls.Add(this.lblWelcome);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
@ -148,10 +120,8 @@ namespace Louis__Pharmacy_CNSA212_FP
private System.Windows.Forms.Label lblWelcome;
private System.Windows.Forms.Button btnAddPatientPhysician;
private System.Windows.Forms.Button btnUpdatePatient;
private System.Windows.Forms.Button btnViewInfo;
private System.Windows.Forms.Button btnPrescription;
private System.Windows.Forms.Button btnRefill;
private System.Windows.Forms.Button btnExit;
}
}