Added context menu to the refill form.
This commit is contained in:
parent
2693444295
commit
02ad8d2c26
38
Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs
generated
38
Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs
generated
@ -29,6 +29,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
|
this.components = new System.ComponentModel.Container();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRefill));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRefill));
|
||||||
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
this.bindingNavigatorAddNewItem = new System.Windows.Forms.ToolStripButton();
|
||||||
@ -49,7 +50,12 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.patientid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.patientid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.medicationid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.medicationid = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.rxnumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.rxnumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
|
this.cmuAdd = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.cmuUpdate = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.cmuDelete = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
|
||||||
|
this.contextMenuStrip1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// bindingNavigatorAddNewItem
|
// bindingNavigatorAddNewItem
|
||||||
@ -160,6 +166,33 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.rxnumber.HeaderText = "Rx Number";
|
this.rxnumber.HeaderText = "Rx Number";
|
||||||
this.rxnumber.Name = "rxnumber";
|
this.rxnumber.Name = "rxnumber";
|
||||||
//
|
//
|
||||||
|
// contextMenuStrip1
|
||||||
|
//
|
||||||
|
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.cmuAdd,
|
||||||
|
this.cmuUpdate,
|
||||||
|
this.cmuDelete});
|
||||||
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||||||
|
this.contextMenuStrip1.Size = new System.Drawing.Size(181, 92);
|
||||||
|
//
|
||||||
|
// cmuAdd
|
||||||
|
//
|
||||||
|
this.cmuAdd.Name = "cmuAdd";
|
||||||
|
this.cmuAdd.Size = new System.Drawing.Size(180, 22);
|
||||||
|
this.cmuAdd.Text = "Add";
|
||||||
|
//
|
||||||
|
// cmuUpdate
|
||||||
|
//
|
||||||
|
this.cmuUpdate.Name = "cmuUpdate";
|
||||||
|
this.cmuUpdate.Size = new System.Drawing.Size(180, 22);
|
||||||
|
this.cmuUpdate.Text = "Update";
|
||||||
|
//
|
||||||
|
// cmuDelete
|
||||||
|
//
|
||||||
|
this.cmuDelete.Name = "cmuDelete";
|
||||||
|
this.cmuDelete.Size = new System.Drawing.Size(180, 22);
|
||||||
|
this.cmuDelete.Text = "Delete";
|
||||||
|
//
|
||||||
// frmRefill
|
// frmRefill
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
@ -172,6 +205,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
this.Text = "Louis\' Pharmacy - Prescription Refill";
|
this.Text = "Louis\' Pharmacy - Prescription Refill";
|
||||||
this.Load += new System.EventHandler(this.frmRefill_Load);
|
this.Load += new System.EventHandler(this.frmRefill_Load);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
|
||||||
|
this.contextMenuStrip1.ResumeLayout(false);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -210,5 +244,9 @@ namespace Louis__Pharmacy_CNSA212_FP
|
|||||||
private System.Windows.Forms.DataGridViewTextBoxColumn patientid;
|
private System.Windows.Forms.DataGridViewTextBoxColumn patientid;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn medicationid;
|
private System.Windows.Forms.DataGridViewTextBoxColumn medicationid;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn rxnumber;
|
private System.Windows.Forms.DataGridViewTextBoxColumn rxnumber;
|
||||||
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuAdd;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuUpdate;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem cmuDelete;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -132,6 +132,9 @@
|
|||||||
<metadata name="rxnumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="rxnumber.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
|
<metadata name="contextMenuStrip1.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" />
|
<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">
|
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
|
Loading…
Reference in New Issue
Block a user