From a7d2f4ece7fff7a67bf1a61a33aad71af7cc7e61 Mon Sep 17 00:00:00 2001 From: Noah Date: Wed, 31 Jan 2024 12:11:30 -0500 Subject: [PATCH] Created frmWelcome, frmUpdatePatient, frmAddPatient, frmAddPhysician --- .../Louis'-Pharmacy_CNSA212-FP.csproj | 24 +++++++++-- Louis'-Pharmacy_CNSA212-FP/Program.cs | 2 +- ....Designer.cs => frmAddPatient.Designer.cs} | 2 +- Louis'-Pharmacy_CNSA212-FP/frmAddPatient.cs | 20 ++++++++++ .../frmAddPhysician.Designer.cs | 40 +++++++++++++++++++ Louis'-Pharmacy_CNSA212-FP/frmAddPhysician.cs | 20 ++++++++++ .../frmUpdatePatient.Designer.cs | 40 +++++++++++++++++++ .../frmUpdatePatient.cs | 20 ++++++++++ .../frmWelcome.Designer.cs | 40 +++++++++++++++++++ .../{Form1.cs => frmWelcome.cs} | 4 +- 10 files changed, 205 insertions(+), 7 deletions(-) rename Louis'-Pharmacy_CNSA212-FP/{Form1.Designer.cs => frmAddPatient.Designer.cs} (97%) create mode 100644 Louis'-Pharmacy_CNSA212-FP/frmAddPatient.cs create mode 100644 Louis'-Pharmacy_CNSA212-FP/frmAddPhysician.Designer.cs create mode 100644 Louis'-Pharmacy_CNSA212-FP/frmAddPhysician.cs create mode 100644 Louis'-Pharmacy_CNSA212-FP/frmUpdatePatient.Designer.cs create mode 100644 Louis'-Pharmacy_CNSA212-FP/frmUpdatePatient.cs create mode 100644 Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs rename Louis'-Pharmacy_CNSA212-FP/{Form1.cs => frmWelcome.cs} (82%) diff --git a/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj b/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj index de652e5..8aa27e4 100644 --- a/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj +++ b/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj @@ -46,11 +46,29 @@ - + Form - - Form1.cs + + frmAddPatient.cs + + + Form + + + frmAddPhysician.cs + + + Form + + + frmUpdatePatient.cs + + + Form + + + frmWelcome.cs diff --git a/Louis'-Pharmacy_CNSA212-FP/Program.cs b/Louis'-Pharmacy_CNSA212-FP/Program.cs index 83f9355..72c48c9 100644 --- a/Louis'-Pharmacy_CNSA212-FP/Program.cs +++ b/Louis'-Pharmacy_CNSA212-FP/Program.cs @@ -16,7 +16,7 @@ namespace Louis__Pharmacy_CNSA212_FP { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); - Application.Run(new Form1()); + Application.Run(new frmAddPatient()); } } } diff --git a/Louis'-Pharmacy_CNSA212-FP/Form1.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmAddPatient.Designer.cs similarity index 97% rename from Louis'-Pharmacy_CNSA212-FP/Form1.Designer.cs rename to Louis'-Pharmacy_CNSA212-FP/frmAddPatient.Designer.cs index ae49c4d..cb283ed 100644 --- a/Louis'-Pharmacy_CNSA212-FP/Form1.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmAddPatient.Designer.cs @@ -1,7 +1,7 @@  namespace Louis__Pharmacy_CNSA212_FP { - partial class Form1 + partial class frmAddPatient { /// /// Required designer variable. diff --git a/Louis'-Pharmacy_CNSA212-FP/frmAddPatient.cs b/Louis'-Pharmacy_CNSA212-FP/frmAddPatient.cs new file mode 100644 index 0000000..ebd3bc0 --- /dev/null +++ b/Louis'-Pharmacy_CNSA212-FP/frmAddPatient.cs @@ -0,0 +1,20 @@ +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 frmAddPatient : Form + { + public frmAddPatient() + { + InitializeComponent(); + } + } +} diff --git a/Louis'-Pharmacy_CNSA212-FP/frmAddPhysician.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmAddPhysician.Designer.cs new file mode 100644 index 0000000..6db903f --- /dev/null +++ b/Louis'-Pharmacy_CNSA212-FP/frmAddPhysician.Designer.cs @@ -0,0 +1,40 @@ + +namespace Louis__Pharmacy_CNSA212_FP +{ + partial class frmAddPhysician + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "Form2"; + } + + #endregion + } +} \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/frmAddPhysician.cs b/Louis'-Pharmacy_CNSA212-FP/frmAddPhysician.cs new file mode 100644 index 0000000..7f434b8 --- /dev/null +++ b/Louis'-Pharmacy_CNSA212-FP/frmAddPhysician.cs @@ -0,0 +1,20 @@ +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 frmAddPhysician : Form + { + public frmAddPhysician() + { + InitializeComponent(); + } + } +} diff --git a/Louis'-Pharmacy_CNSA212-FP/frmUpdatePatient.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmUpdatePatient.Designer.cs new file mode 100644 index 0000000..cc40550 --- /dev/null +++ b/Louis'-Pharmacy_CNSA212-FP/frmUpdatePatient.Designer.cs @@ -0,0 +1,40 @@ + +namespace Louis__Pharmacy_CNSA212_FP +{ + partial class frmUpdatePatient + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "frmUpdatePatient"; + } + + #endregion + } +} \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/frmUpdatePatient.cs b/Louis'-Pharmacy_CNSA212-FP/frmUpdatePatient.cs new file mode 100644 index 0000000..b4bd07b --- /dev/null +++ b/Louis'-Pharmacy_CNSA212-FP/frmUpdatePatient.cs @@ -0,0 +1,20 @@ +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(); + } + } +} diff --git a/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs new file mode 100644 index 0000000..b458f5d --- /dev/null +++ b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.Designer.cs @@ -0,0 +1,40 @@ + +namespace Louis__Pharmacy_CNSA212_FP +{ + partial class frmWelcome + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Text = "frmWelcome"; + } + + #endregion + } +} \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/Form1.cs b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.cs similarity index 82% rename from Louis'-Pharmacy_CNSA212-FP/Form1.cs rename to Louis'-Pharmacy_CNSA212-FP/frmWelcome.cs index 407b4b1..7817a4e 100644 --- a/Louis'-Pharmacy_CNSA212-FP/Form1.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmWelcome.cs @@ -10,9 +10,9 @@ using System.Windows.Forms; namespace Louis__Pharmacy_CNSA212_FP { - public partial class Form1 : Form + public partial class frmWelcome : Form { - public Form1() + public frmWelcome() { InitializeComponent(); }