From 97d9c163a40c991b398a989de5701921c915f17c Mon Sep 17 00:00:00 2001 From: Adam McCane Date: Wed, 7 Feb 2024 10:54:26 -0500 Subject: [PATCH] Created main form and added a menu strip. Also made the main form a container. --- .../Louis'-Pharmacy_CNSA212-FP.csproj | 9 ++ .../frmMain.Designer.cs | 61 +++++++++ Louis'-Pharmacy_CNSA212-FP/frmMain.cs | 20 +++ Louis'-Pharmacy_CNSA212-FP/frmMain.resx | 123 ++++++++++++++++++ 4 files changed, 213 insertions(+) create mode 100644 Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs create mode 100644 Louis'-Pharmacy_CNSA212-FP/frmMain.cs create mode 100644 Louis'-Pharmacy_CNSA212-FP/frmMain.resx diff --git a/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj b/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj index c50916c..0b3d7e0 100644 --- a/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj +++ b/Louis'-Pharmacy_CNSA212-FP/Louis'-Pharmacy_CNSA212-FP.csproj @@ -52,6 +52,12 @@ frmInfo.cs + + Form + + + frmMain.cs + Form @@ -81,6 +87,9 @@ frmInfo.cs + + frmMain.cs + frmPatientPhysician.cs diff --git a/Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs new file mode 100644 index 0000000..0d96275 --- /dev/null +++ b/Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs @@ -0,0 +1,61 @@ +namespace Louis__Pharmacy_CNSA212_FP +{ + partial class frmMain + { + /// + /// 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.menuStrip1 = new System.Windows.Forms.MenuStrip(); + this.SuspendLayout(); + // + // menuStrip1 + // + this.menuStrip1.Location = new System.Drawing.Point(0, 0); + this.menuStrip1.Name = "menuStrip1"; + this.menuStrip1.Size = new System.Drawing.Size(800, 24); + this.menuStrip1.TabIndex = 0; + this.menuStrip1.Text = "menuStrip1"; + // + // frmMain + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(800, 450); + this.Controls.Add(this.menuStrip1); + this.IsMdiContainer = true; + this.MainMenuStrip = this.menuStrip1; + this.Name = "frmMain"; + this.Text = "frmMain"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.MenuStrip menuStrip1; + } +} \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/frmMain.cs b/Louis'-Pharmacy_CNSA212-FP/frmMain.cs new file mode 100644 index 0000000..8c9d377 --- /dev/null +++ b/Louis'-Pharmacy_CNSA212-FP/frmMain.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 frmMain : Form + { + public frmMain() + { + InitializeComponent(); + } + } +} diff --git a/Louis'-Pharmacy_CNSA212-FP/frmMain.resx b/Louis'-Pharmacy_CNSA212-FP/frmMain.resx new file mode 100644 index 0000000..d5494e3 --- /dev/null +++ b/Louis'-Pharmacy_CNSA212-FP/frmMain.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file