From c1f9c67e3145c2c3958ceaf7298686958e1b2e2a Mon Sep 17 00:00:00 2001 From: Noah Date: Fri, 16 Feb 2024 09:07:39 -0500 Subject: [PATCH] Placeholder - working on frmPrescription --- .../frmPrescription.Designer.cs | 26 ++++++++++++++++++- Louis'-Pharmacy_CNSA212-FP/frmPrescription.cs | 20 ++++++++++++++ .../frmPrescription.resx | 3 +++ 3 files changed, 48 insertions(+), 1 deletion(-) diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPrescription.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmPrescription.Designer.cs index d05881f..b858e48 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPrescription.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPrescription.Designer.cs @@ -29,21 +29,45 @@ namespace Louis__Pharmacy_CNSA212_FP /// private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPrescription)); + this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); + this.dataGridView1 = new System.Windows.Forms.DataGridView(); + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // + // contextMenuStrip1 + // + this.contextMenuStrip1.ImageScalingSize = new System.Drawing.Size(20, 20); + this.contextMenuStrip1.Name = "contextMenuStrip1"; + this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4); + // + // dataGridView1 + // + this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dataGridView1.Location = new System.Drawing.Point(13, 334); + this.dataGridView1.Name = "dataGridView1"; + this.dataGridView1.RowHeadersWidth = 51; + this.dataGridView1.RowTemplate.Height = 24; + this.dataGridView1.Size = new System.Drawing.Size(829, 224); + this.dataGridView1.TabIndex = 2; + // // frmPrescription // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(800, 450); + this.ClientSize = new System.Drawing.Size(981, 570); + this.Controls.Add(this.dataGridView1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmPrescription"; this.Text = "Louis\' Pharmacy - Add / Update Prescription"; + ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); } #endregion + private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; + private System.Windows.Forms.DataGridView dataGridView1; } } \ No newline at end of file diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPrescription.cs b/Louis'-Pharmacy_CNSA212-FP/frmPrescription.cs index 1d8ba7e..7abb09a 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPrescription.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmPrescription.cs @@ -16,5 +16,25 @@ namespace Louis__Pharmacy_CNSA212_FP { InitializeComponent(); } + + private void btnPatientSearch_Click(object sender, EventArgs e) + { + + } + + private void btnPrescriptionSearch_Click(object sender, EventArgs e) + { + + } + + private void btnPhysicianSearch_Click(object sender, EventArgs e) + { + + } + + private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e) + { + + } } } diff --git a/Louis'-Pharmacy_CNSA212-FP/frmPrescription.resx b/Louis'-Pharmacy_CNSA212-FP/frmPrescription.resx index 66296d6..f540c38 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmPrescription.resx +++ b/Louis'-Pharmacy_CNSA212-FP/frmPrescription.resx @@ -117,6 +117,9 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 +