Removed menu strip from info form. Created main form and made it a MDI container. Added a menu strip with Navigation and Help/Help About.
This commit is contained in:
parent
cfa7a6ee6e
commit
0b859e365f
@ -58,6 +58,12 @@
|
||||
<Compile Include="frmInfo.Designer.cs">
|
||||
<DependentUpon>frmInfo.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmMain.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmMain.Designer.cs">
|
||||
<DependentUpon>frmMain.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmPrescription.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -84,6 +90,9 @@
|
||||
<EmbeddedResource Include="frmInfo.resx">
|
||||
<DependentUpon>frmInfo.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmMain.resx">
|
||||
<DependentUpon>frmMain.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmPrescription.resx">
|
||||
<DependentUpon>frmPrescription.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
235
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
235
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
@ -30,34 +30,28 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInfo));
|
||||
this.mnusNavigation = new System.Windows.Forms.MenuStrip();
|
||||
this.navigationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.addUpdatePatientAndPhysicianToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.refillInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.prescriptionInfoToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tbcInfo = new System.Windows.Forms.TabControl();
|
||||
this.tbpPatient = new System.Windows.Forms.TabPage();
|
||||
this.splcPatient = new System.Windows.Forms.SplitContainer();
|
||||
this.btnPatientSearch = new System.Windows.Forms.Button();
|
||||
this.txtPatientLast = new System.Windows.Forms.TextBox();
|
||||
this.txtPatientFirst = new System.Windows.Forms.TextBox();
|
||||
this.lblPatientLast = new System.Windows.Forms.Label();
|
||||
this.lblPatientFirst = new System.Windows.Forms.Label();
|
||||
this.tbpPrescription = new System.Windows.Forms.TabPage();
|
||||
this.splcPrescription = new System.Windows.Forms.SplitContainer();
|
||||
this.btnPrescriptionSearch = new System.Windows.Forms.Button();
|
||||
this.txtPrescriptionLast = new System.Windows.Forms.TextBox();
|
||||
this.txtRxNumber = new System.Windows.Forms.TextBox();
|
||||
this.lblPrescriptionLast = new System.Windows.Forms.Label();
|
||||
this.lblRxNumber = new System.Windows.Forms.Label();
|
||||
this.tbpPhysician = new System.Windows.Forms.TabPage();
|
||||
this.splcPhysician = new System.Windows.Forms.SplitContainer();
|
||||
this.lblRxNumber = new System.Windows.Forms.Label();
|
||||
this.lblPrescriptionLast = new System.Windows.Forms.Label();
|
||||
this.btnPatientSearch = new System.Windows.Forms.Button();
|
||||
this.txtRxNumber = new System.Windows.Forms.TextBox();
|
||||
this.txtPrescriptionLast = new System.Windows.Forms.TextBox();
|
||||
this.btnPrescriptionSearch = new System.Windows.Forms.Button();
|
||||
this.lblPhysicianFirst = new System.Windows.Forms.Label();
|
||||
this.lblPhysicianLast = new System.Windows.Forms.Label();
|
||||
this.txtPhysicianFirst = new System.Windows.Forms.TextBox();
|
||||
this.txtPhysicianLast = new System.Windows.Forms.TextBox();
|
||||
this.btnPhysicianSearch = new System.Windows.Forms.Button();
|
||||
this.mnusNavigation.SuspendLayout();
|
||||
this.txtPhysicianLast = new System.Windows.Forms.TextBox();
|
||||
this.txtPhysicianFirst = new System.Windows.Forms.TextBox();
|
||||
this.lblPhysicianLast = new System.Windows.Forms.Label();
|
||||
this.lblPhysicianFirst = new System.Windows.Forms.Label();
|
||||
this.tbcInfo.SuspendLayout();
|
||||
this.tbpPatient.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).BeginInit();
|
||||
@ -73,53 +67,15 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.splcPhysician.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// mnusNavigation
|
||||
//
|
||||
this.mnusNavigation.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.navigationToolStripMenuItem});
|
||||
this.mnusNavigation.Location = new System.Drawing.Point(0, 0);
|
||||
this.mnusNavigation.Name = "mnusNavigation";
|
||||
this.mnusNavigation.Size = new System.Drawing.Size(690, 24);
|
||||
this.mnusNavigation.TabIndex = 0;
|
||||
this.mnusNavigation.Text = "Navigation";
|
||||
//
|
||||
// navigationToolStripMenuItem
|
||||
//
|
||||
this.navigationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.addUpdatePatientAndPhysicianToolStripMenuItem,
|
||||
this.refillInfoToolStripMenuItem,
|
||||
this.prescriptionInfoToolStripMenuItem});
|
||||
this.navigationToolStripMenuItem.Name = "navigationToolStripMenuItem";
|
||||
this.navigationToolStripMenuItem.Size = new System.Drawing.Size(77, 20);
|
||||
this.navigationToolStripMenuItem.Text = "Navigation";
|
||||
//
|
||||
// addUpdatePatientAndPhysicianToolStripMenuItem
|
||||
//
|
||||
this.addUpdatePatientAndPhysicianToolStripMenuItem.Name = "addUpdatePatientAndPhysicianToolStripMenuItem";
|
||||
this.addUpdatePatientAndPhysicianToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
|
||||
this.addUpdatePatientAndPhysicianToolStripMenuItem.Text = "Add/Update Patient and Physician";
|
||||
//
|
||||
// refillInfoToolStripMenuItem
|
||||
//
|
||||
this.refillInfoToolStripMenuItem.Name = "refillInfoToolStripMenuItem";
|
||||
this.refillInfoToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
|
||||
this.refillInfoToolStripMenuItem.Text = "Refill Info";
|
||||
//
|
||||
// prescriptionInfoToolStripMenuItem
|
||||
//
|
||||
this.prescriptionInfoToolStripMenuItem.Name = "prescriptionInfoToolStripMenuItem";
|
||||
this.prescriptionInfoToolStripMenuItem.Size = new System.Drawing.Size(255, 22);
|
||||
this.prescriptionInfoToolStripMenuItem.Text = "Prescription Info";
|
||||
//
|
||||
// tbcInfo
|
||||
//
|
||||
this.tbcInfo.Controls.Add(this.tbpPatient);
|
||||
this.tbcInfo.Controls.Add(this.tbpPrescription);
|
||||
this.tbcInfo.Controls.Add(this.tbpPhysician);
|
||||
this.tbcInfo.Location = new System.Drawing.Point(12, 27);
|
||||
this.tbcInfo.Location = new System.Drawing.Point(12, 12);
|
||||
this.tbcInfo.Name = "tbcInfo";
|
||||
this.tbcInfo.SelectedIndex = 0;
|
||||
this.tbcInfo.Size = new System.Drawing.Size(666, 341);
|
||||
this.tbcInfo.Size = new System.Drawing.Size(666, 356);
|
||||
this.tbcInfo.TabIndex = 1;
|
||||
//
|
||||
// tbpPatient
|
||||
@ -127,7 +83,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.tbpPatient.Controls.Add(this.splcPatient);
|
||||
this.tbpPatient.Location = new System.Drawing.Point(4, 22);
|
||||
this.tbpPatient.Name = "tbpPatient";
|
||||
this.tbpPatient.Size = new System.Drawing.Size(658, 315);
|
||||
this.tbpPatient.Size = new System.Drawing.Size(658, 330);
|
||||
this.tbpPatient.TabIndex = 3;
|
||||
this.tbpPatient.Text = "Patient Info";
|
||||
this.tbpPatient.UseVisualStyleBackColor = true;
|
||||
@ -146,10 +102,20 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst);
|
||||
this.splcPatient.Panel1.Controls.Add(this.lblPatientLast);
|
||||
this.splcPatient.Panel1.Controls.Add(this.lblPatientFirst);
|
||||
this.splcPatient.Size = new System.Drawing.Size(658, 315);
|
||||
this.splcPatient.SplitterDistance = 159;
|
||||
this.splcPatient.Size = new System.Drawing.Size(658, 330);
|
||||
this.splcPatient.SplitterDistance = 166;
|
||||
this.splcPatient.TabIndex = 0;
|
||||
//
|
||||
// btnPatientSearch
|
||||
//
|
||||
this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent;
|
||||
this.btnPatientSearch.Location = new System.Drawing.Point(50, 119);
|
||||
this.btnPatientSearch.Name = "btnPatientSearch";
|
||||
this.btnPatientSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPatientSearch.TabIndex = 4;
|
||||
this.btnPatientSearch.Text = "Search";
|
||||
this.btnPatientSearch.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// txtPatientLast
|
||||
//
|
||||
this.txtPatientLast.Location = new System.Drawing.Point(141, 67);
|
||||
@ -210,6 +176,47 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.splcPrescription.SplitterDistance = 160;
|
||||
this.splcPrescription.TabIndex = 0;
|
||||
//
|
||||
// btnPrescriptionSearch
|
||||
//
|
||||
this.btnPrescriptionSearch.Location = new System.Drawing.Point(64, 117);
|
||||
this.btnPrescriptionSearch.Name = "btnPrescriptionSearch";
|
||||
this.btnPrescriptionSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPrescriptionSearch.TabIndex = 4;
|
||||
this.btnPrescriptionSearch.Text = "Search";
|
||||
this.btnPrescriptionSearch.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtPrescriptionLast
|
||||
//
|
||||
this.txtPrescriptionLast.Location = new System.Drawing.Point(184, 74);
|
||||
this.txtPrescriptionLast.Name = "txtPrescriptionLast";
|
||||
this.txtPrescriptionLast.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPrescriptionLast.TabIndex = 3;
|
||||
//
|
||||
// txtRxNumber
|
||||
//
|
||||
this.txtRxNumber.Location = new System.Drawing.Point(184, 25);
|
||||
this.txtRxNumber.Name = "txtRxNumber";
|
||||
this.txtRxNumber.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtRxNumber.TabIndex = 2;
|
||||
//
|
||||
// lblPrescriptionLast
|
||||
//
|
||||
this.lblPrescriptionLast.AutoSize = true;
|
||||
this.lblPrescriptionLast.Location = new System.Drawing.Point(61, 74);
|
||||
this.lblPrescriptionLast.Name = "lblPrescriptionLast";
|
||||
this.lblPrescriptionLast.Size = new System.Drawing.Size(61, 13);
|
||||
this.lblPrescriptionLast.TabIndex = 1;
|
||||
this.lblPrescriptionLast.Text = "Last Name:";
|
||||
//
|
||||
// lblRxNumber
|
||||
//
|
||||
this.lblRxNumber.AutoSize = true;
|
||||
this.lblRxNumber.Location = new System.Drawing.Point(61, 25);
|
||||
this.lblRxNumber.Name = "lblRxNumber";
|
||||
this.lblRxNumber.Size = new System.Drawing.Size(63, 13);
|
||||
this.lblRxNumber.TabIndex = 0;
|
||||
this.lblRxNumber.Text = "Rx Number:";
|
||||
//
|
||||
// tbpPhysician
|
||||
//
|
||||
this.tbpPhysician.Controls.Add(this.splcPhysician);
|
||||
@ -240,65 +247,28 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.splcPhysician.SplitterDistance = 158;
|
||||
this.splcPhysician.TabIndex = 0;
|
||||
//
|
||||
// lblRxNumber
|
||||
// btnPhysicianSearch
|
||||
//
|
||||
this.lblRxNumber.AutoSize = true;
|
||||
this.lblRxNumber.Location = new System.Drawing.Point(61, 25);
|
||||
this.lblRxNumber.Name = "lblRxNumber";
|
||||
this.lblRxNumber.Size = new System.Drawing.Size(63, 13);
|
||||
this.lblRxNumber.TabIndex = 0;
|
||||
this.lblRxNumber.Text = "Rx Number:";
|
||||
this.btnPhysicianSearch.Location = new System.Drawing.Point(62, 116);
|
||||
this.btnPhysicianSearch.Name = "btnPhysicianSearch";
|
||||
this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPhysicianSearch.TabIndex = 4;
|
||||
this.btnPhysicianSearch.Text = "Search";
|
||||
this.btnPhysicianSearch.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblPrescriptionLast
|
||||
// txtPhysicianLast
|
||||
//
|
||||
this.lblPrescriptionLast.AutoSize = true;
|
||||
this.lblPrescriptionLast.Location = new System.Drawing.Point(61, 74);
|
||||
this.lblPrescriptionLast.Name = "lblPrescriptionLast";
|
||||
this.lblPrescriptionLast.Size = new System.Drawing.Size(61, 13);
|
||||
this.lblPrescriptionLast.TabIndex = 1;
|
||||
this.lblPrescriptionLast.Text = "Last Name:";
|
||||
this.txtPhysicianLast.Location = new System.Drawing.Point(126, 78);
|
||||
this.txtPhysicianLast.Name = "txtPhysicianLast";
|
||||
this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPhysicianLast.TabIndex = 3;
|
||||
//
|
||||
// btnPatientSearch
|
||||
// txtPhysicianFirst
|
||||
//
|
||||
this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent;
|
||||
this.btnPatientSearch.Location = new System.Drawing.Point(50, 119);
|
||||
this.btnPatientSearch.Name = "btnPatientSearch";
|
||||
this.btnPatientSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPatientSearch.TabIndex = 4;
|
||||
this.btnPatientSearch.Text = "Search";
|
||||
this.btnPatientSearch.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// txtRxNumber
|
||||
//
|
||||
this.txtRxNumber.Location = new System.Drawing.Point(184, 25);
|
||||
this.txtRxNumber.Name = "txtRxNumber";
|
||||
this.txtRxNumber.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtRxNumber.TabIndex = 2;
|
||||
//
|
||||
// txtPrescriptionLast
|
||||
//
|
||||
this.txtPrescriptionLast.Location = new System.Drawing.Point(184, 74);
|
||||
this.txtPrescriptionLast.Name = "txtPrescriptionLast";
|
||||
this.txtPrescriptionLast.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPrescriptionLast.TabIndex = 3;
|
||||
//
|
||||
// btnPrescriptionSearch
|
||||
//
|
||||
this.btnPrescriptionSearch.Location = new System.Drawing.Point(64, 117);
|
||||
this.btnPrescriptionSearch.Name = "btnPrescriptionSearch";
|
||||
this.btnPrescriptionSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPrescriptionSearch.TabIndex = 4;
|
||||
this.btnPrescriptionSearch.Text = "Search";
|
||||
this.btnPrescriptionSearch.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblPhysicianFirst
|
||||
//
|
||||
this.lblPhysicianFirst.AutoSize = true;
|
||||
this.lblPhysicianFirst.Location = new System.Drawing.Point(47, 34);
|
||||
this.lblPhysicianFirst.Name = "lblPhysicianFirst";
|
||||
this.lblPhysicianFirst.Size = new System.Drawing.Size(60, 13);
|
||||
this.lblPhysicianFirst.TabIndex = 0;
|
||||
this.lblPhysicianFirst.Text = "First Name:";
|
||||
this.txtPhysicianFirst.Location = new System.Drawing.Point(126, 34);
|
||||
this.txtPhysicianFirst.Name = "txtPhysicianFirst";
|
||||
this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPhysicianFirst.TabIndex = 2;
|
||||
//
|
||||
// lblPhysicianLast
|
||||
//
|
||||
@ -309,28 +279,14 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.lblPhysicianLast.TabIndex = 1;
|
||||
this.lblPhysicianLast.Text = "Last Name:";
|
||||
//
|
||||
// txtPhysicianFirst
|
||||
// lblPhysicianFirst
|
||||
//
|
||||
this.txtPhysicianFirst.Location = new System.Drawing.Point(126, 34);
|
||||
this.txtPhysicianFirst.Name = "txtPhysicianFirst";
|
||||
this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPhysicianFirst.TabIndex = 2;
|
||||
//
|
||||
// txtPhysicianLast
|
||||
//
|
||||
this.txtPhysicianLast.Location = new System.Drawing.Point(126, 78);
|
||||
this.txtPhysicianLast.Name = "txtPhysicianLast";
|
||||
this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPhysicianLast.TabIndex = 3;
|
||||
//
|
||||
// btnPhysicianSearch
|
||||
//
|
||||
this.btnPhysicianSearch.Location = new System.Drawing.Point(62, 116);
|
||||
this.btnPhysicianSearch.Name = "btnPhysicianSearch";
|
||||
this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPhysicianSearch.TabIndex = 4;
|
||||
this.btnPhysicianSearch.Text = "Search";
|
||||
this.btnPhysicianSearch.UseVisualStyleBackColor = true;
|
||||
this.lblPhysicianFirst.AutoSize = true;
|
||||
this.lblPhysicianFirst.Location = new System.Drawing.Point(47, 34);
|
||||
this.lblPhysicianFirst.Name = "lblPhysicianFirst";
|
||||
this.lblPhysicianFirst.Size = new System.Drawing.Size(60, 13);
|
||||
this.lblPhysicianFirst.TabIndex = 0;
|
||||
this.lblPhysicianFirst.Text = "First Name:";
|
||||
//
|
||||
// frmInfo
|
||||
//
|
||||
@ -338,15 +294,11 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(690, 380);
|
||||
this.Controls.Add(this.tbcInfo);
|
||||
this.Controls.Add(this.mnusNavigation);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.MainMenuStrip = this.mnusNavigation;
|
||||
this.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.Name = "frmInfo";
|
||||
this.Text = "Louis\' Pharmacy - View Patient / Prescription Info";
|
||||
this.Load += new System.EventHandler(this.frmInfo_Load);
|
||||
this.mnusNavigation.ResumeLayout(false);
|
||||
this.mnusNavigation.PerformLayout();
|
||||
this.tbcInfo.ResumeLayout(false);
|
||||
this.tbpPatient.ResumeLayout(false);
|
||||
this.splcPatient.Panel1.ResumeLayout(false);
|
||||
@ -364,17 +316,10 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();
|
||||
this.splcPhysician.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.MenuStrip mnusNavigation;
|
||||
private System.Windows.Forms.ToolStripMenuItem navigationToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem addUpdatePatientAndPhysicianToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem refillInfoToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem prescriptionInfoToolStripMenuItem;
|
||||
private System.Windows.Forms.TabControl tbcInfo;
|
||||
private System.Windows.Forms.TabPage tbpPhysician;
|
||||
private System.Windows.Forms.SplitContainer splcPhysician;
|
||||
|
@ -117,9 +117,6 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="mnusNavigation.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
|
93
Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs
generated
Normal file
93
Louis'-Pharmacy_CNSA212-FP/frmMain.Designer.cs
generated
Normal file
@ -0,0 +1,93 @@
|
||||
namespace Louis__Pharmacy_CNSA212_FP
|
||||
{
|
||||
partial class frmMain
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||
this.navigationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.menuStrip1.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// menuStrip1
|
||||
//
|
||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.navigationToolStripMenuItem,
|
||||
this.helpToolStripMenuItem});
|
||||
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";
|
||||
//
|
||||
// navigationToolStripMenuItem
|
||||
//
|
||||
this.navigationToolStripMenuItem.Name = "navigationToolStripMenuItem";
|
||||
this.navigationToolStripMenuItem.Size = new System.Drawing.Size(77, 20);
|
||||
this.navigationToolStripMenuItem.Text = "Navigation";
|
||||
//
|
||||
// helpToolStripMenuItem
|
||||
//
|
||||
this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.aboutToolStripMenuItem});
|
||||
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
||||
this.helpToolStripMenuItem.Size = new System.Drawing.Size(44, 20);
|
||||
this.helpToolStripMenuItem.Text = "Help";
|
||||
//
|
||||
// aboutToolStripMenuItem
|
||||
//
|
||||
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.aboutToolStripMenuItem.Text = "About";
|
||||
//
|
||||
// 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.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
||||
private System.Windows.Forms.ToolStripMenuItem navigationToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
||||
}
|
||||
}
|
20
Louis'-Pharmacy_CNSA212-FP/frmMain.cs
Normal file
20
Louis'-Pharmacy_CNSA212-FP/frmMain.cs
Normal file
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
123
Louis'-Pharmacy_CNSA212-FP/frmMain.resx
Normal file
123
Louis'-Pharmacy_CNSA212-FP/frmMain.resx
Normal file
@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user