Added window organization into the menu strip. Also added tabs to the refill form.

This commit is contained in:
Adam McCane 2024-02-07 12:55:11 -05:00
parent 165b262acf
commit 8ad5a0a2fa
3 changed files with 168 additions and 93 deletions

View File

@ -72,20 +72,18 @@ namespace Louis__Pharmacy_CNSA212_FP
this.tbcInfo.Controls.Add(this.tbpPatient); this.tbcInfo.Controls.Add(this.tbpPatient);
this.tbcInfo.Controls.Add(this.tbpPrescription); this.tbcInfo.Controls.Add(this.tbpPrescription);
this.tbcInfo.Controls.Add(this.tbpPhysician); this.tbcInfo.Controls.Add(this.tbpPhysician);
this.tbcInfo.Location = new System.Drawing.Point(16, 33); this.tbcInfo.Location = new System.Drawing.Point(12, 12);
this.tbcInfo.Margin = new System.Windows.Forms.Padding(4);
this.tbcInfo.Name = "tbcInfo"; this.tbcInfo.Name = "tbcInfo";
this.tbcInfo.SelectedIndex = 0; this.tbcInfo.SelectedIndex = 0;
this.tbcInfo.Size = new System.Drawing.Size(888, 420); this.tbcInfo.Size = new System.Drawing.Size(666, 356);
this.tbcInfo.TabIndex = 1; this.tbcInfo.TabIndex = 1;
// //
// tbpPatient // tbpPatient
// //
this.tbpPatient.Controls.Add(this.splcPatient); this.tbpPatient.Controls.Add(this.splcPatient);
this.tbpPatient.Location = new System.Drawing.Point(4, 25); this.tbpPatient.Location = new System.Drawing.Point(4, 22);
this.tbpPatient.Margin = new System.Windows.Forms.Padding(4);
this.tbpPatient.Name = "tbpPatient"; this.tbpPatient.Name = "tbpPatient";
this.tbpPatient.Size = new System.Drawing.Size(880, 391); this.tbpPatient.Size = new System.Drawing.Size(658, 330);
this.tbpPatient.TabIndex = 3; this.tbpPatient.TabIndex = 3;
this.tbpPatient.Text = "Patient Info"; this.tbpPatient.Text = "Patient Info";
this.tbpPatient.UseVisualStyleBackColor = true; this.tbpPatient.UseVisualStyleBackColor = true;
@ -94,7 +92,6 @@ namespace Louis__Pharmacy_CNSA212_FP
// //
this.splcPatient.Dock = System.Windows.Forms.DockStyle.Fill; this.splcPatient.Dock = System.Windows.Forms.DockStyle.Fill;
this.splcPatient.Location = new System.Drawing.Point(0, 0); this.splcPatient.Location = new System.Drawing.Point(0, 0);
this.splcPatient.Margin = new System.Windows.Forms.Padding(4);
this.splcPatient.Name = "splcPatient"; this.splcPatient.Name = "splcPatient";
this.splcPatient.Orientation = System.Windows.Forms.Orientation.Horizontal; this.splcPatient.Orientation = System.Windows.Forms.Orientation.Horizontal;
// //
@ -105,65 +102,59 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst); this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst);
this.splcPatient.Panel1.Controls.Add(this.lblPatientLast); this.splcPatient.Panel1.Controls.Add(this.lblPatientLast);
this.splcPatient.Panel1.Controls.Add(this.lblPatientFirst); this.splcPatient.Panel1.Controls.Add(this.lblPatientFirst);
this.splcPatient.Size = new System.Drawing.Size(880, 391); this.splcPatient.Size = new System.Drawing.Size(658, 330);
this.splcPatient.SplitterDistance = 197; this.splcPatient.SplitterDistance = 166;
this.splcPatient.SplitterWidth = 5;
this.splcPatient.TabIndex = 0; this.splcPatient.TabIndex = 0;
// //
// btnPatientSearch // btnPatientSearch
// //
this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent; this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent;
this.btnPatientSearch.Location = new System.Drawing.Point(67, 146); this.btnPatientSearch.Location = new System.Drawing.Point(50, 119);
this.btnPatientSearch.Margin = new System.Windows.Forms.Padding(4);
this.btnPatientSearch.Name = "btnPatientSearch"; this.btnPatientSearch.Name = "btnPatientSearch";
this.btnPatientSearch.Size = new System.Drawing.Size(100, 28); this.btnPatientSearch.Size = new System.Drawing.Size(75, 23);
this.btnPatientSearch.TabIndex = 4; this.btnPatientSearch.TabIndex = 4;
this.btnPatientSearch.Text = "Search"; this.btnPatientSearch.Text = "Search";
this.btnPatientSearch.UseVisualStyleBackColor = false; this.btnPatientSearch.UseVisualStyleBackColor = false;
// //
// txtPatientLast // txtPatientLast
// //
this.txtPatientLast.Location = new System.Drawing.Point(188, 82); this.txtPatientLast.Location = new System.Drawing.Point(141, 67);
this.txtPatientLast.Margin = new System.Windows.Forms.Padding(4);
this.txtPatientLast.Name = "txtPatientLast"; this.txtPatientLast.Name = "txtPatientLast";
this.txtPatientLast.Size = new System.Drawing.Size(132, 22); this.txtPatientLast.Size = new System.Drawing.Size(100, 20);
this.txtPatientLast.TabIndex = 3; this.txtPatientLast.TabIndex = 3;
// //
// txtPatientFirst // txtPatientFirst
// //
this.txtPatientFirst.Location = new System.Drawing.Point(188, 41); this.txtPatientFirst.Location = new System.Drawing.Point(141, 33);
this.txtPatientFirst.Margin = new System.Windows.Forms.Padding(4);
this.txtPatientFirst.Name = "txtPatientFirst"; this.txtPatientFirst.Name = "txtPatientFirst";
this.txtPatientFirst.Size = new System.Drawing.Size(132, 22); this.txtPatientFirst.Size = new System.Drawing.Size(100, 20);
this.txtPatientFirst.TabIndex = 2; this.txtPatientFirst.TabIndex = 2;
// //
// lblPatientLast // lblPatientLast
// //
this.lblPatientLast.AutoSize = true; this.lblPatientLast.AutoSize = true;
this.lblPatientLast.Location = new System.Drawing.Point(63, 82); this.lblPatientLast.Location = new System.Drawing.Point(47, 67);
this.lblPatientLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblPatientLast.Name = "lblPatientLast"; this.lblPatientLast.Name = "lblPatientLast";
this.lblPatientLast.Size = new System.Drawing.Size(80, 17); this.lblPatientLast.Size = new System.Drawing.Size(61, 13);
this.lblPatientLast.TabIndex = 1; this.lblPatientLast.TabIndex = 1;
this.lblPatientLast.Text = "Last Name:"; this.lblPatientLast.Text = "Last Name:";
// //
// lblPatientFirst // lblPatientFirst
// //
this.lblPatientFirst.AutoSize = true; this.lblPatientFirst.AutoSize = true;
this.lblPatientFirst.Location = new System.Drawing.Point(59, 41); this.lblPatientFirst.Location = new System.Drawing.Point(44, 33);
this.lblPatientLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblPatientFirst.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblPatientFirst.Name = "lblPatientFirst"; this.lblPatientFirst.Name = "lblPatientFirst";
this.lblPatientFirst.Size = new System.Drawing.Size(80, 17); this.lblPatientFirst.Size = new System.Drawing.Size(60, 13);
this.lblPatientFirst.TabIndex = 0; this.lblPatientFirst.TabIndex = 0;
this.lblPatientFirst.Text = "First Name:"; this.lblPatientFirst.Text = "First Name:";
// //
// tbpPrescription // tbpPrescription
// //
this.tbpPrescription.Controls.Add(this.splcPrescription); this.tbpPrescription.Controls.Add(this.splcPrescription);
this.tbpPrescription.Location = new System.Drawing.Point(4, 25); this.tbpPrescription.Location = new System.Drawing.Point(4, 22);
this.tbpPrescription.Margin = new System.Windows.Forms.Padding(4);
this.tbpPrescription.Name = "tbpPrescription"; this.tbpPrescription.Name = "tbpPrescription";
this.tbpPrescription.Size = new System.Drawing.Size(880, 391); this.tbpPrescription.Size = new System.Drawing.Size(658, 315);
this.tbpPrescription.TabIndex = 4; this.tbpPrescription.TabIndex = 4;
this.tbpPrescription.Text = "Prescription Info"; this.tbpPrescription.Text = "Prescription Info";
this.tbpPrescription.UseVisualStyleBackColor = true; this.tbpPrescription.UseVisualStyleBackColor = true;
@ -172,7 +163,6 @@ namespace Louis__Pharmacy_CNSA212_FP
// //
this.splcPrescription.Dock = System.Windows.Forms.DockStyle.Fill; this.splcPrescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.splcPrescription.Location = new System.Drawing.Point(0, 0); this.splcPrescription.Location = new System.Drawing.Point(0, 0);
this.splcPrescription.Margin = new System.Windows.Forms.Padding(4);
this.splcPrescription.Name = "splcPrescription"; this.splcPrescription.Name = "splcPrescription";
this.splcPrescription.Orientation = System.Windows.Forms.Orientation.Horizontal; this.splcPrescription.Orientation = System.Windows.Forms.Orientation.Horizontal;
// //
@ -183,64 +173,59 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPrescription.Panel1.Controls.Add(this.txtRxNumber); this.splcPrescription.Panel1.Controls.Add(this.txtRxNumber);
this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionLast); this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionLast);
this.splcPrescription.Panel1.Controls.Add(this.lblRxNumber); this.splcPrescription.Panel1.Controls.Add(this.lblRxNumber);
this.splcPrescription.Size = new System.Drawing.Size(880, 391); this.splcPrescription.Size = new System.Drawing.Size(658, 315);
this.splcPrescription.SplitterDistance = 198; this.splcPrescription.SplitterDistance = 159;
this.splcPrescription.SplitterWidth = 5;
this.splcPrescription.TabIndex = 0; this.splcPrescription.TabIndex = 0;
// //
// btnPrescriptionSearch // btnPrescriptionSearch
// //
this.btnPrescriptionSearch.Location = new System.Drawing.Point(85, 144); this.btnPrescriptionSearch.Location = new System.Drawing.Point(64, 117);
this.btnPrescriptionSearch.Margin = new System.Windows.Forms.Padding(4);
this.btnPrescriptionSearch.Name = "btnPrescriptionSearch"; this.btnPrescriptionSearch.Name = "btnPrescriptionSearch";
this.btnPrescriptionSearch.Size = new System.Drawing.Size(100, 28); this.btnPrescriptionSearch.Size = new System.Drawing.Size(75, 23);
this.btnPrescriptionSearch.TabIndex = 4; this.btnPrescriptionSearch.TabIndex = 4;
this.btnPrescriptionSearch.Text = "Search"; this.btnPrescriptionSearch.Text = "Search";
this.btnPrescriptionSearch.UseVisualStyleBackColor = true; this.btnPrescriptionSearch.UseVisualStyleBackColor = true;
// //
// txtPrescriptionLast // txtPrescriptionLast
// //
this.txtPrescriptionLast.Location = new System.Drawing.Point(245, 91); this.txtPrescriptionLast.Location = new System.Drawing.Point(184, 74);
this.txtPrescriptionLast.Margin = new System.Windows.Forms.Padding(4);
this.txtPrescriptionLast.Name = "txtPrescriptionLast"; this.txtPrescriptionLast.Name = "txtPrescriptionLast";
this.txtPrescriptionLast.Size = new System.Drawing.Size(132, 22); this.txtPrescriptionLast.Size = new System.Drawing.Size(100, 20);
this.txtPrescriptionLast.TabIndex = 3; this.txtPrescriptionLast.TabIndex = 3;
// //
// txtRxNumber // txtRxNumber
// //
this.txtRxNumber.Location = new System.Drawing.Point(245, 31); this.txtRxNumber.Location = new System.Drawing.Point(184, 25);
this.txtRxNumber.Margin = new System.Windows.Forms.Padding(4);
this.txtRxNumber.Name = "txtRxNumber"; this.txtRxNumber.Name = "txtRxNumber";
this.txtRxNumber.Size = new System.Drawing.Size(132, 22); this.txtRxNumber.Size = new System.Drawing.Size(100, 20);
this.txtRxNumber.TabIndex = 2; this.txtRxNumber.TabIndex = 2;
// //
// lblPrescriptionLast // lblPrescriptionLast
// //
this.lblPrescriptionLast.AutoSize = true; this.lblPrescriptionLast.AutoSize = true;
this.lblPrescriptionLast.Location = new System.Drawing.Point(81, 91); this.lblPrescriptionLast.Location = new System.Drawing.Point(61, 74);
this.lblPrescriptionLast.Name = "lblPrescriptionLast"; this.lblPrescriptionLast.Name = "lblPrescriptionLast";
this.lblPrescriptionLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblPrescriptionLast.Size = new System.Drawing.Size(61, 13);
this.lblPrescriptionLast.Size = new System.Drawing.Size(80, 17);
this.lblPrescriptionLast.TabIndex = 1; this.lblPrescriptionLast.TabIndex = 1;
this.lblPrescriptionLast.Text = "Last Name:"; this.lblPrescriptionLast.Text = "Last Name:";
// //
// lblRxNumber // lblRxNumber
// //
this.lblRxNumber.AutoSize = true; this.lblRxNumber.AutoSize = true;
this.lblRxNumber.Location = new System.Drawing.Point(81, 31); this.lblRxNumber.Location = new System.Drawing.Point(61, 25);
this.lblRxNumber.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblRxNumber.Name = "lblRxNumber"; this.lblRxNumber.Name = "lblRxNumber";
this.lblRxNumber.Size = new System.Drawing.Size(82, 17); this.lblRxNumber.Size = new System.Drawing.Size(63, 13);
this.lblRxNumber.TabIndex = 0; this.lblRxNumber.TabIndex = 0;
this.lblRxNumber.Text = "Rx Number:"; this.lblRxNumber.Text = "Rx Number:";
// //
// tbpPhysician // tbpPhysician
// //
this.tbpPhysician.Controls.Add(this.splcPhysician); this.tbpPhysician.Controls.Add(this.splcPhysician);
this.tbpPhysician.Location = new System.Drawing.Point(4, 25); this.tbpPhysician.Location = new System.Drawing.Point(4, 22);
this.tbpPhysician.Margin = new System.Windows.Forms.Padding(4);
this.tbpPhysician.Name = "tbpPhysician"; this.tbpPhysician.Name = "tbpPhysician";
this.tbpPhysician.Padding = new System.Windows.Forms.Padding(4); this.tbpPhysician.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
this.tbpPhysician.Size = new System.Drawing.Size(880, 391); this.tbpPhysician.Size = new System.Drawing.Size(658, 315);
this.tbpPhysician.TabIndex = 2; this.tbpPhysician.TabIndex = 2;
this.tbpPhysician.Text = "Physician Info"; this.tbpPhysician.Text = "Physician Info";
this.tbpPhysician.UseVisualStyleBackColor = true; this.tbpPhysician.UseVisualStyleBackColor = true;
@ -248,8 +233,7 @@ namespace Louis__Pharmacy_CNSA212_FP
// splcPhysician // splcPhysician
// //
this.splcPhysician.Dock = System.Windows.Forms.DockStyle.Fill; this.splcPhysician.Dock = System.Windows.Forms.DockStyle.Fill;
this.splcPhysician.Location = new System.Drawing.Point(4, 4); this.splcPhysician.Location = new System.Drawing.Point(3, 3);
this.splcPhysician.Margin = new System.Windows.Forms.Padding(4);
this.splcPhysician.Name = "splcPhysician"; this.splcPhysician.Name = "splcPhysician";
this.splcPhysician.Orientation = System.Windows.Forms.Orientation.Horizontal; this.splcPhysician.Orientation = System.Windows.Forms.Orientation.Horizontal;
// //
@ -261,65 +245,59 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianLast); this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianLast);
this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianFirst); this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianFirst);
this.splcPhysician.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No; this.splcPhysician.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.splcPhysician.Size = new System.Drawing.Size(872, 383); this.splcPhysician.Size = new System.Drawing.Size(654, 311);
this.splcPhysician.SplitterDistance = 195; this.splcPhysician.SplitterDistance = 158;
this.splcPhysician.SplitterWidth = 5;
this.splcPhysician.TabIndex = 0; this.splcPhysician.TabIndex = 0;
// //
// btnPhysicianSearch // btnPhysicianSearch
// //
this.btnPhysicianSearch.Location = new System.Drawing.Point(83, 143); this.btnPhysicianSearch.Location = new System.Drawing.Point(62, 116);
this.btnPhysicianSearch.Margin = new System.Windows.Forms.Padding(4);
this.btnPhysicianSearch.Name = "btnPhysicianSearch"; this.btnPhysicianSearch.Name = "btnPhysicianSearch";
this.btnPhysicianSearch.Size = new System.Drawing.Size(100, 28); this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23);
this.btnPhysicianSearch.TabIndex = 4; this.btnPhysicianSearch.TabIndex = 4;
this.btnPhysicianSearch.Text = "Search"; this.btnPhysicianSearch.Text = "Search";
this.btnPhysicianSearch.UseVisualStyleBackColor = true; this.btnPhysicianSearch.UseVisualStyleBackColor = true;
// //
// txtPhysicianLast // txtPhysicianLast
// //
this.txtPhysicianLast.Location = new System.Drawing.Point(168, 96); this.txtPhysicianLast.Location = new System.Drawing.Point(126, 78);
this.txtPhysicianLast.Margin = new System.Windows.Forms.Padding(4);
this.txtPhysicianLast.Name = "txtPhysicianLast"; this.txtPhysicianLast.Name = "txtPhysicianLast";
this.txtPhysicianLast.Size = new System.Drawing.Size(132, 22); this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianLast.TabIndex = 3; this.txtPhysicianLast.TabIndex = 3;
// //
// txtPhysicianFirst // txtPhysicianFirst
// //
this.txtPhysicianFirst.Location = new System.Drawing.Point(168, 42); this.txtPhysicianFirst.Location = new System.Drawing.Point(126, 34);
this.txtPhysicianFirst.Margin = new System.Windows.Forms.Padding(4);
this.txtPhysicianFirst.Name = "txtPhysicianFirst"; this.txtPhysicianFirst.Name = "txtPhysicianFirst";
this.txtPhysicianFirst.Size = new System.Drawing.Size(132, 22); this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianFirst.TabIndex = 2; this.txtPhysicianFirst.TabIndex = 2;
// //
// lblPhysicianLast // lblPhysicianLast
// //
this.lblPhysicianLast.AutoSize = true; this.lblPhysicianLast.AutoSize = true;
this.lblPhysicianLast.Location = new System.Drawing.Point(67, 96); this.lblPhysicianLast.Location = new System.Drawing.Point(50, 78);
this.lblPhysicianLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblPhysicianLast.Name = "lblPhysicianLast"; this.lblPhysicianLast.Name = "lblPhysicianLast";
this.lblPhysicianLast.Size = new System.Drawing.Size(80, 17); this.lblPhysicianLast.Size = new System.Drawing.Size(61, 13);
this.lblPhysicianLast.TabIndex = 1; this.lblPhysicianLast.TabIndex = 1;
this.lblPhysicianLast.Text = "Last Name:"; this.lblPhysicianLast.Text = "Last Name:";
// //
// lblPhysicianFirst // lblPhysicianFirst
// //
this.lblPhysicianFirst.AutoSize = true; this.lblPhysicianFirst.AutoSize = true;
this.lblPhysicianFirst.Location = new System.Drawing.Point(63, 42); this.lblPhysicianFirst.Location = new System.Drawing.Point(47, 34);
this.lblPhysicianFirst.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
this.lblPhysicianFirst.Name = "lblPhysicianFirst"; this.lblPhysicianFirst.Name = "lblPhysicianFirst";
this.lblPhysicianFirst.Size = new System.Drawing.Size(80, 17); this.lblPhysicianFirst.Size = new System.Drawing.Size(60, 13);
this.lblPhysicianFirst.TabIndex = 0; this.lblPhysicianFirst.TabIndex = 0;
this.lblPhysicianFirst.Text = "First Name:"; this.lblPhysicianFirst.Text = "First Name:";
// //
// frmInfo // frmInfo
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(920, 468); this.ClientSize = new System.Drawing.Size(690, 380);
this.Controls.Add(this.tbcInfo); this.Controls.Add(this.tbcInfo);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "frmInfo"; this.Name = "frmInfo";
this.Text = "Louis\' Pharmacy - View Patient / Prescription Info"; this.Text = "Louis\' Pharmacy - View Patient / Prescription Info";
this.Load += new System.EventHandler(this.frmInfo_Load); this.Load += new System.EventHandler(this.frmInfo_Load);
@ -334,6 +312,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPrescription.Panel1.PerformLayout(); this.splcPrescription.Panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).EndInit();
this.splcPrescription.ResumeLayout(false); this.splcPrescription.ResumeLayout(false);
this.tbpPhysician.ResumeLayout(false);
this.splcPhysician.Panel1.ResumeLayout(false); this.splcPhysician.Panel1.ResumeLayout(false);
this.splcPhysician.Panel1.PerformLayout(); this.splcPhysician.Panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();

View File

@ -30,12 +30,18 @@
{ {
this.menuStrip1 = new System.Windows.Forms.MenuStrip(); this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.mnuNavigation = new System.Windows.Forms.ToolStripMenuItem(); this.mnuNavigation = new System.Windows.Forms.ToolStripMenuItem();
this.mnuHelp = new System.Windows.Forms.ToolStripMenuItem();
this.mnuHelpAbout = new System.Windows.Forms.ToolStripMenuItem();
this.mnuView = new System.Windows.Forms.ToolStripMenuItem(); this.mnuView = new System.Windows.Forms.ToolStripMenuItem();
this.mnuAddUpdatePatientPhysician = new System.Windows.Forms.ToolStripMenuItem(); this.mnuAddUpdatePatientPhysician = new System.Windows.Forms.ToolStripMenuItem();
this.mnuAddUpdatePrescription = new System.Windows.Forms.ToolStripMenuItem(); this.mnuAddUpdatePrescription = new System.Windows.Forms.ToolStripMenuItem();
this.mnuAddUpdateRemoveRefill = new System.Windows.Forms.ToolStripMenuItem(); this.mnuAddUpdateRemoveRefill = new System.Windows.Forms.ToolStripMenuItem();
this.mnuWindow = new System.Windows.Forms.ToolStripMenuItem();
this.mnuHelp = new System.Windows.Forms.ToolStripMenuItem();
this.mnuHelpAbout = new System.Windows.Forms.ToolStripMenuItem();
this.mnuWindowArrangeIcons = new System.Windows.Forms.ToolStripMenuItem();
this.mnuWindowCascade = new System.Windows.Forms.ToolStripMenuItem();
this.mnuWindowHorizontal = new System.Windows.Forms.ToolStripMenuItem();
this.mnuWindowVertical = new System.Windows.Forms.ToolStripMenuItem();
this.mnuWindowCloseAll = new System.Windows.Forms.ToolStripMenuItem();
this.menuStrip1.SuspendLayout(); this.menuStrip1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
@ -43,6 +49,7 @@
// //
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mnuNavigation, this.mnuNavigation,
this.mnuWindow,
this.mnuHelp}); this.mnuHelp});
this.menuStrip1.Location = new System.Drawing.Point(0, 0); this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1"; this.menuStrip1.Name = "menuStrip1";
@ -61,20 +68,6 @@
this.mnuNavigation.Size = new System.Drawing.Size(77, 20); this.mnuNavigation.Size = new System.Drawing.Size(77, 20);
this.mnuNavigation.Text = "Navigation"; this.mnuNavigation.Text = "Navigation";
// //
// mnuHelp
//
this.mnuHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mnuHelpAbout});
this.mnuHelp.Name = "mnuHelp";
this.mnuHelp.Size = new System.Drawing.Size(44, 20);
this.mnuHelp.Text = "Help";
//
// mnuHelpAbout
//
this.mnuHelpAbout.Name = "mnuHelpAbout";
this.mnuHelpAbout.Size = new System.Drawing.Size(180, 22);
this.mnuHelpAbout.Text = "About";
//
// mnuView // mnuView
// //
this.mnuView.Name = "mnuView"; this.mnuView.Name = "mnuView";
@ -99,6 +92,62 @@
this.mnuAddUpdateRemoveRefill.Size = new System.Drawing.Size(286, 22); this.mnuAddUpdateRemoveRefill.Size = new System.Drawing.Size(286, 22);
this.mnuAddUpdateRemoveRefill.Text = "Add/Update/Remove Refill"; this.mnuAddUpdateRemoveRefill.Text = "Add/Update/Remove Refill";
// //
// mnuWindow
//
this.mnuWindow.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mnuWindowArrangeIcons,
this.mnuWindowCascade,
this.mnuWindowHorizontal,
this.mnuWindowVertical,
this.mnuWindowCloseAll});
this.mnuWindow.Name = "mnuWindow";
this.mnuWindow.Size = new System.Drawing.Size(63, 20);
this.mnuWindow.Text = "Window";
//
// mnuHelp
//
this.mnuHelp.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.mnuHelpAbout});
this.mnuHelp.Name = "mnuHelp";
this.mnuHelp.Size = new System.Drawing.Size(44, 20);
this.mnuHelp.Text = "Help";
//
// mnuHelpAbout
//
this.mnuHelpAbout.Name = "mnuHelpAbout";
this.mnuHelpAbout.Size = new System.Drawing.Size(180, 22);
this.mnuHelpAbout.Text = "About";
//
// mnuWindowArrangeIcons
//
this.mnuWindowArrangeIcons.Name = "mnuWindowArrangeIcons";
this.mnuWindowArrangeIcons.Size = new System.Drawing.Size(180, 22);
this.mnuWindowArrangeIcons.Text = "Arrange Icons";
//
// mnuWindowCascade
//
this.mnuWindowCascade.Name = "mnuWindowCascade";
this.mnuWindowCascade.Size = new System.Drawing.Size(180, 22);
this.mnuWindowCascade.Text = "Cascade";
//
// mnuWindowHorizontal
//
this.mnuWindowHorizontal.Name = "mnuWindowHorizontal";
this.mnuWindowHorizontal.Size = new System.Drawing.Size(180, 22);
this.mnuWindowHorizontal.Text = "Horizontal";
//
// mnuWindowVertical
//
this.mnuWindowVertical.Name = "mnuWindowVertical";
this.mnuWindowVertical.Size = new System.Drawing.Size(180, 22);
this.mnuWindowVertical.Text = "Vertical";
//
// mnuWindowCloseAll
//
this.mnuWindowCloseAll.Name = "mnuWindowCloseAll";
this.mnuWindowCloseAll.Size = new System.Drawing.Size(180, 22);
this.mnuWindowCloseAll.Text = "Close All";
//
// frmMain // frmMain
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -120,11 +169,17 @@
private System.Windows.Forms.MenuStrip menuStrip1; private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem mnuNavigation; private System.Windows.Forms.ToolStripMenuItem mnuNavigation;
private System.Windows.Forms.ToolStripMenuItem mnuHelp;
private System.Windows.Forms.ToolStripMenuItem mnuHelpAbout;
private System.Windows.Forms.ToolStripMenuItem mnuView; private System.Windows.Forms.ToolStripMenuItem mnuView;
private System.Windows.Forms.ToolStripMenuItem mnuAddUpdatePatientPhysician; private System.Windows.Forms.ToolStripMenuItem mnuAddUpdatePatientPhysician;
private System.Windows.Forms.ToolStripMenuItem mnuAddUpdatePrescription; private System.Windows.Forms.ToolStripMenuItem mnuAddUpdatePrescription;
private System.Windows.Forms.ToolStripMenuItem mnuAddUpdateRemoveRefill; private System.Windows.Forms.ToolStripMenuItem mnuAddUpdateRemoveRefill;
private System.Windows.Forms.ToolStripMenuItem mnuWindow;
private System.Windows.Forms.ToolStripMenuItem mnuHelp;
private System.Windows.Forms.ToolStripMenuItem mnuHelpAbout;
private System.Windows.Forms.ToolStripMenuItem mnuWindowArrangeIcons;
private System.Windows.Forms.ToolStripMenuItem mnuWindowCascade;
private System.Windows.Forms.ToolStripMenuItem mnuWindowHorizontal;
private System.Windows.Forms.ToolStripMenuItem mnuWindowVertical;
private System.Windows.Forms.ToolStripMenuItem mnuWindowCloseAll;
} }
} }

View File

@ -30,20 +30,61 @@ namespace Louis__Pharmacy_CNSA212_FP
private void InitializeComponent() private void InitializeComponent()
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRefill)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRefill));
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabControl1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// tabControl1
//
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Location = new System.Drawing.Point(12, 12);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(576, 342);
this.tabControl1.TabIndex = 0;
//
// tabPage1
//
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(568, 316);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "tabPage1";
this.tabPage1.UseVisualStyleBackColor = true;
//
// tabPage2
//
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(192, 74);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "tabPage2";
this.tabPage2.UseVisualStyleBackColor = true;
//
// frmRefill // frmRefill
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(800, 450); this.ClientSize = new System.Drawing.Size(600, 366);
this.Controls.Add(this.tabControl1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.Name = "frmRefill"; this.Name = "frmRefill";
this.Text = "Louis\' Pharmacy - Prescription Refill"; this.Text = "Louis\' Pharmacy - Prescription Refill";
this.tabControl1.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
#endregion #endregion
private System.Windows.Forms.TabControl tabControl1;
private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2;
} }
} }