renamed frmPatientAdd to frmPatient and added frmPhysican
This commit is contained in:
parent
4bbe8c6e9b
commit
e28c97f743
@ -65,11 +65,11 @@
|
||||
<Compile Include="frmMain.Designer.cs">
|
||||
<DependentUpon>frmMain.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmPatientAdd.cs">
|
||||
<Compile Include="frmPatient.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmPatientAdd.Designer.cs">
|
||||
<DependentUpon>frmPatientAdd.cs</DependentUpon>
|
||||
<Compile Include="frmPatient.Designer.cs">
|
||||
<DependentUpon>frmPatient.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmPatientPhysician.cs">
|
||||
<SubType>Form</SubType>
|
||||
@ -77,6 +77,12 @@
|
||||
<Compile Include="frmPatientPhysician.Designer.cs">
|
||||
<DependentUpon>frmPatientPhysician.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmPhysician.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmPhysician.Designer.cs">
|
||||
<DependentUpon>frmPhysician.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmPrescription.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@ -113,8 +119,8 @@
|
||||
<EmbeddedResource Include="frmMain.resx">
|
||||
<DependentUpon>frmMain.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmPatientAdd.resx">
|
||||
<DependentUpon>frmPatientAdd.cs</DependentUpon>
|
||||
<EmbeddedResource Include="frmPatient.resx">
|
||||
<DependentUpon>frmPatient.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmPatientPhysician.resx">
|
||||
<DependentUpon>frmPatientPhysician.cs</DependentUpon>
|
||||
|
163
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
163
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
@ -138,40 +138,36 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
// lblPatientFirst
|
||||
//
|
||||
lblPatientFirst.AutoSize = true;
|
||||
lblPatientFirst.Location = new System.Drawing.Point(30, 43);
|
||||
lblPatientFirst.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
lblPatientFirst.Location = new System.Drawing.Point(20, 28);
|
||||
lblPatientFirst.Name = "lblPatientFirst";
|
||||
lblPatientFirst.Size = new System.Drawing.Size(90, 20);
|
||||
lblPatientFirst.Size = new System.Drawing.Size(60, 13);
|
||||
lblPatientFirst.TabIndex = 4;
|
||||
lblPatientFirst.Text = "First Name:";
|
||||
//
|
||||
// lblPatientLast
|
||||
//
|
||||
lblPatientLast.AutoSize = true;
|
||||
lblPatientLast.Location = new System.Drawing.Point(30, 106);
|
||||
lblPatientLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
lblPatientLast.Location = new System.Drawing.Point(20, 69);
|
||||
lblPatientLast.Name = "lblPatientLast";
|
||||
lblPatientLast.Size = new System.Drawing.Size(90, 20);
|
||||
lblPatientLast.Size = new System.Drawing.Size(61, 13);
|
||||
lblPatientLast.TabIndex = 5;
|
||||
lblPatientLast.Text = "Last Name:";
|
||||
//
|
||||
// lblPhysicianFirst
|
||||
//
|
||||
lblPhysicianFirst.AutoSize = true;
|
||||
lblPhysicianFirst.Location = new System.Drawing.Point(36, 40);
|
||||
lblPhysicianFirst.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
lblPhysicianFirst.Location = new System.Drawing.Point(24, 26);
|
||||
lblPhysicianFirst.Name = "lblPhysicianFirst";
|
||||
lblPhysicianFirst.Size = new System.Drawing.Size(90, 20);
|
||||
lblPhysicianFirst.Size = new System.Drawing.Size(60, 13);
|
||||
lblPhysicianFirst.TabIndex = 4;
|
||||
lblPhysicianFirst.Text = "First Name:";
|
||||
//
|
||||
// lblPhysicianLast
|
||||
//
|
||||
lblPhysicianLast.AutoSize = true;
|
||||
lblPhysicianLast.Location = new System.Drawing.Point(34, 108);
|
||||
lblPhysicianLast.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
lblPhysicianLast.Location = new System.Drawing.Point(23, 70);
|
||||
lblPhysicianLast.Name = "lblPhysicianLast";
|
||||
lblPhysicianLast.Size = new System.Drawing.Size(90, 20);
|
||||
lblPhysicianLast.Size = new System.Drawing.Size(61, 13);
|
||||
lblPhysicianLast.TabIndex = 5;
|
||||
lblPhysicianLast.Text = "Last Name:";
|
||||
//
|
||||
@ -180,20 +176,18 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
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(18, 18);
|
||||
this.tbcInfo.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.tbcInfo.Location = new System.Drawing.Point(12, 12);
|
||||
this.tbcInfo.Name = "tbcInfo";
|
||||
this.tbcInfo.SelectedIndex = 0;
|
||||
this.tbcInfo.Size = new System.Drawing.Size(999, 678);
|
||||
this.tbcInfo.Size = new System.Drawing.Size(703, 455);
|
||||
this.tbcInfo.TabIndex = 1;
|
||||
//
|
||||
// tbpPatient
|
||||
//
|
||||
this.tbpPatient.Controls.Add(this.splcPatient);
|
||||
this.tbpPatient.Location = new System.Drawing.Point(4, 29);
|
||||
this.tbpPatient.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.tbpPatient.Location = new System.Drawing.Point(4, 22);
|
||||
this.tbpPatient.Name = "tbpPatient";
|
||||
this.tbpPatient.Size = new System.Drawing.Size(991, 645);
|
||||
this.tbpPatient.Size = new System.Drawing.Size(695, 429);
|
||||
this.tbpPatient.TabIndex = 3;
|
||||
this.tbpPatient.Text = "Patient Info";
|
||||
this.tbpPatient.UseVisualStyleBackColor = true;
|
||||
@ -202,7 +196,6 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
//
|
||||
this.splcPatient.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splcPatient.Location = new System.Drawing.Point(0, 0);
|
||||
this.splcPatient.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.splcPatient.Name = "splcPatient";
|
||||
this.splcPatient.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
@ -221,52 +214,46 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
//
|
||||
this.splcPatient.Panel2.AutoScroll = true;
|
||||
this.splcPatient.Panel2.Controls.Add(this.dgvPatient);
|
||||
this.splcPatient.Size = new System.Drawing.Size(991, 645);
|
||||
this.splcPatient.SplitterDistance = 285;
|
||||
this.splcPatient.SplitterWidth = 6;
|
||||
this.splcPatient.Size = new System.Drawing.Size(695, 429);
|
||||
this.splcPatient.SplitterDistance = 189;
|
||||
this.splcPatient.TabIndex = 0;
|
||||
//
|
||||
// txtPatientID
|
||||
//
|
||||
this.txtPatientID.Location = new System.Drawing.Point(129, 168);
|
||||
this.txtPatientID.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtPatientID.Location = new System.Drawing.Point(86, 109);
|
||||
this.txtPatientID.Name = "txtPatientID";
|
||||
this.txtPatientID.Size = new System.Drawing.Size(148, 26);
|
||||
this.txtPatientID.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPatientID.TabIndex = 8;
|
||||
//
|
||||
// lblPatientID
|
||||
//
|
||||
this.lblPatientID.AutoSize = true;
|
||||
this.lblPatientID.Location = new System.Drawing.Point(34, 168);
|
||||
this.lblPatientID.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lblPatientID.Location = new System.Drawing.Point(23, 109);
|
||||
this.lblPatientID.Name = "lblPatientID";
|
||||
this.lblPatientID.Size = new System.Drawing.Size(84, 20);
|
||||
this.lblPatientID.Size = new System.Drawing.Size(57, 13);
|
||||
this.lblPatientID.TabIndex = 7;
|
||||
this.lblPatientID.Text = "Patient ID:";
|
||||
//
|
||||
// txtPatientLast
|
||||
//
|
||||
this.txtPatientLast.Location = new System.Drawing.Point(130, 102);
|
||||
this.txtPatientLast.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtPatientLast.Location = new System.Drawing.Point(87, 66);
|
||||
this.txtPatientLast.Name = "txtPatientLast";
|
||||
this.txtPatientLast.Size = new System.Drawing.Size(148, 26);
|
||||
this.txtPatientLast.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPatientLast.TabIndex = 6;
|
||||
//
|
||||
// txtPatientFirst
|
||||
//
|
||||
this.txtPatientFirst.Location = new System.Drawing.Point(129, 38);
|
||||
this.txtPatientFirst.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtPatientFirst.Location = new System.Drawing.Point(86, 25);
|
||||
this.txtPatientFirst.Name = "txtPatientFirst";
|
||||
this.txtPatientFirst.Size = new System.Drawing.Size(148, 26);
|
||||
this.txtPatientFirst.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPatientFirst.TabIndex = 5;
|
||||
//
|
||||
// btnPatientSearch
|
||||
//
|
||||
this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent;
|
||||
this.btnPatientSearch.Location = new System.Drawing.Point(34, 231);
|
||||
this.btnPatientSearch.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.btnPatientSearch.Location = new System.Drawing.Point(23, 150);
|
||||
this.btnPatientSearch.Name = "btnPatientSearch";
|
||||
this.btnPatientSearch.Size = new System.Drawing.Size(112, 35);
|
||||
this.btnPatientSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPatientSearch.TabIndex = 4;
|
||||
this.btnPatientSearch.Text = "Search";
|
||||
this.btnPatientSearch.UseVisualStyleBackColor = false;
|
||||
@ -281,13 +268,12 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.dgvPatient.ContextMenuStrip = this.cmuPatient;
|
||||
this.dgvPatient.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;
|
||||
this.dgvPatient.Location = new System.Drawing.Point(0, 0);
|
||||
this.dgvPatient.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.dgvPatient.MultiSelect = false;
|
||||
this.dgvPatient.Name = "dgvPatient";
|
||||
this.dgvPatient.ReadOnly = true;
|
||||
this.dgvPatient.RowHeadersWidth = 51;
|
||||
this.dgvPatient.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
|
||||
this.dgvPatient.Size = new System.Drawing.Size(991, 354);
|
||||
this.dgvPatient.Size = new System.Drawing.Size(661, 230);
|
||||
this.dgvPatient.TabIndex = 0;
|
||||
this.dgvPatient.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvPatient_CellContentClick);
|
||||
//
|
||||
@ -434,36 +420,35 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.cmuPatient.ImageScalingSize = new System.Drawing.Size(20, 20);
|
||||
this.cmuPatient.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuPatientNew, this.cmuPatientEdit, this.cmuPatientDelete });
|
||||
this.cmuPatient.Name = "contextMenuStrip1";
|
||||
this.cmuPatient.Size = new System.Drawing.Size(153, 116);
|
||||
this.cmuPatient.Size = new System.Drawing.Size(135, 94);
|
||||
//
|
||||
// cmuPatientNew
|
||||
//
|
||||
this.cmuPatientNew.Name = "cmuPatientNew";
|
||||
this.cmuPatientNew.Size = new System.Drawing.Size(152, 30);
|
||||
this.cmuPatientNew.Size = new System.Drawing.Size(134, 30);
|
||||
this.cmuPatientNew.Text = "New";
|
||||
this.cmuPatientNew.Click += new System.EventHandler(this.cmuPatientNew_Click);
|
||||
//
|
||||
// cmuPatientEdit
|
||||
//
|
||||
this.cmuPatientEdit.Name = "cmuPatientEdit";
|
||||
this.cmuPatientEdit.Size = new System.Drawing.Size(152, 30);
|
||||
this.cmuPatientEdit.Size = new System.Drawing.Size(134, 30);
|
||||
this.cmuPatientEdit.Text = "Edit";
|
||||
this.cmuPatientEdit.Click += new System.EventHandler(this.cmuPatientEdit_Click);
|
||||
//
|
||||
// cmuPatientDelete
|
||||
//
|
||||
this.cmuPatientDelete.Name = "cmuPatientDelete";
|
||||
this.cmuPatientDelete.Size = new System.Drawing.Size(152, 30);
|
||||
this.cmuPatientDelete.Size = new System.Drawing.Size(134, 30);
|
||||
this.cmuPatientDelete.Text = "Delete";
|
||||
this.cmuPatientDelete.Click += new System.EventHandler(this.cmuPatientDelete_Click);
|
||||
//
|
||||
// tbpPrescription
|
||||
//
|
||||
this.tbpPrescription.Controls.Add(this.splcPrescription);
|
||||
this.tbpPrescription.Location = new System.Drawing.Point(4, 29);
|
||||
this.tbpPrescription.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.tbpPrescription.Location = new System.Drawing.Point(4, 22);
|
||||
this.tbpPrescription.Name = "tbpPrescription";
|
||||
this.tbpPrescription.Size = new System.Drawing.Size(991, 645);
|
||||
this.tbpPrescription.Size = new System.Drawing.Size(658, 415);
|
||||
this.tbpPrescription.TabIndex = 4;
|
||||
this.tbpPrescription.Text = "Prescription Info";
|
||||
this.tbpPrescription.UseVisualStyleBackColor = true;
|
||||
@ -472,7 +457,6 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
//
|
||||
this.splcPrescription.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splcPrescription.Location = new System.Drawing.Point(0, 0);
|
||||
this.splcPrescription.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.splcPrescription.Name = "splcPrescription";
|
||||
this.splcPrescription.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
@ -487,17 +471,15 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
// splcPrescription.Panel2
|
||||
//
|
||||
this.splcPrescription.Panel2.Controls.Add(this.dgvPrescription);
|
||||
this.splcPrescription.Size = new System.Drawing.Size(991, 645);
|
||||
this.splcPrescription.SplitterDistance = 324;
|
||||
this.splcPrescription.SplitterWidth = 6;
|
||||
this.splcPrescription.Size = new System.Drawing.Size(658, 415);
|
||||
this.splcPrescription.SplitterDistance = 208;
|
||||
this.splcPrescription.TabIndex = 0;
|
||||
//
|
||||
// btnPrescriptionSearch
|
||||
//
|
||||
this.btnPrescriptionSearch.Location = new System.Drawing.Point(96, 180);
|
||||
this.btnPrescriptionSearch.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.btnPrescriptionSearch.Location = new System.Drawing.Point(64, 117);
|
||||
this.btnPrescriptionSearch.Name = "btnPrescriptionSearch";
|
||||
this.btnPrescriptionSearch.Size = new System.Drawing.Size(112, 35);
|
||||
this.btnPrescriptionSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPrescriptionSearch.TabIndex = 4;
|
||||
this.btnPrescriptionSearch.Text = "Search";
|
||||
this.btnPrescriptionSearch.UseVisualStyleBackColor = true;
|
||||
@ -505,36 +487,34 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
//
|
||||
// txtPrescriptionPatID
|
||||
//
|
||||
this.txtPrescriptionPatID.Location = new System.Drawing.Point(276, 114);
|
||||
this.txtPrescriptionPatID.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtPrescriptionPatID.Location = new System.Drawing.Point(184, 74);
|
||||
this.txtPrescriptionPatID.Name = "txtPrescriptionPatID";
|
||||
this.txtPrescriptionPatID.Size = new System.Drawing.Size(148, 26);
|
||||
this.txtPrescriptionPatID.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPrescriptionPatID.TabIndex = 3;
|
||||
//
|
||||
// txtRxNumber
|
||||
//
|
||||
this.txtRxNumber.Location = new System.Drawing.Point(276, 38);
|
||||
this.txtRxNumber.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtRxNumber.Location = new System.Drawing.Point(184, 25);
|
||||
this.txtRxNumber.Name = "txtRxNumber";
|
||||
this.txtRxNumber.Size = new System.Drawing.Size(148, 26);
|
||||
this.txtRxNumber.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtRxNumber.TabIndex = 2;
|
||||
//
|
||||
// lblPrescriptionPatID
|
||||
//
|
||||
this.lblPrescriptionPatID.AutoSize = true;
|
||||
this.lblPrescriptionPatID.Location = new System.Drawing.Point(92, 114);
|
||||
this.lblPrescriptionPatID.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lblPrescriptionPatID.Location = new System.Drawing.Point(61, 74);
|
||||
this.lblPrescriptionPatID.Name = "lblPrescriptionPatID";
|
||||
this.lblPrescriptionPatID.Size = new System.Drawing.Size(84, 20);
|
||||
this.lblPrescriptionPatID.Size = new System.Drawing.Size(57, 13);
|
||||
this.lblPrescriptionPatID.TabIndex = 1;
|
||||
this.lblPrescriptionPatID.Text = "Patient ID:";
|
||||
//
|
||||
// lblRxNumber
|
||||
//
|
||||
this.lblRxNumber.AutoSize = true;
|
||||
this.lblRxNumber.Location = new System.Drawing.Point(92, 38);
|
||||
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.Size = new System.Drawing.Size(92, 20);
|
||||
this.lblRxNumber.Size = new System.Drawing.Size(63, 13);
|
||||
this.lblRxNumber.TabIndex = 0;
|
||||
this.lblRxNumber.Text = "Rx Number:";
|
||||
//
|
||||
@ -545,11 +525,10 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.dgvPrescription.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvPrescription.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.RxNum_id, this.numRefills, this.pastNumRefills, this.PrescribedBy, this.Physician_id, this.Medication_id, this.Patient_id });
|
||||
this.dgvPrescription.ContextMenuStrip = this.cmuRx;
|
||||
this.dgvPrescription.Location = new System.Drawing.Point(4, 5);
|
||||
this.dgvPrescription.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.dgvPrescription.Location = new System.Drawing.Point(3, 3);
|
||||
this.dgvPrescription.Name = "dgvPrescription";
|
||||
this.dgvPrescription.RowHeadersWidth = 51;
|
||||
this.dgvPrescription.Size = new System.Drawing.Size(978, 300);
|
||||
this.dgvPrescription.Size = new System.Drawing.Size(652, 195);
|
||||
this.dgvPrescription.TabIndex = 0;
|
||||
//
|
||||
// RxNum_id
|
||||
@ -636,11 +615,10 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
// tbpPhysician
|
||||
//
|
||||
this.tbpPhysician.Controls.Add(this.splcPhysician);
|
||||
this.tbpPhysician.Location = new System.Drawing.Point(4, 29);
|
||||
this.tbpPhysician.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.tbpPhysician.Location = new System.Drawing.Point(4, 22);
|
||||
this.tbpPhysician.Name = "tbpPhysician";
|
||||
this.tbpPhysician.Padding = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.tbpPhysician.Size = new System.Drawing.Size(991, 645);
|
||||
this.tbpPhysician.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
|
||||
this.tbpPhysician.Size = new System.Drawing.Size(658, 415);
|
||||
this.tbpPhysician.TabIndex = 2;
|
||||
this.tbpPhysician.Text = "Physician Info";
|
||||
this.tbpPhysician.UseVisualStyleBackColor = true;
|
||||
@ -648,8 +626,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
// splcPhysician
|
||||
//
|
||||
this.splcPhysician.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splcPhysician.Location = new System.Drawing.Point(4, 5);
|
||||
this.splcPhysician.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.splcPhysician.Location = new System.Drawing.Point(3, 3);
|
||||
this.splcPhysician.Name = "splcPhysician";
|
||||
this.splcPhysician.Orientation = System.Windows.Forms.Orientation.Horizontal;
|
||||
//
|
||||
@ -669,51 +646,45 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
//
|
||||
this.splcPhysician.Panel2.AutoScroll = true;
|
||||
this.splcPhysician.Panel2.Controls.Add(this.dgvPhysician);
|
||||
this.splcPhysician.Size = new System.Drawing.Size(983, 635);
|
||||
this.splcPhysician.SplitterDistance = 282;
|
||||
this.splcPhysician.SplitterWidth = 6;
|
||||
this.splcPhysician.Size = new System.Drawing.Size(652, 409);
|
||||
this.splcPhysician.SplitterDistance = 181;
|
||||
this.splcPhysician.TabIndex = 0;
|
||||
//
|
||||
// txtPhysicianID
|
||||
//
|
||||
this.txtPhysicianID.Location = new System.Drawing.Point(148, 171);
|
||||
this.txtPhysicianID.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtPhysicianID.Location = new System.Drawing.Point(99, 111);
|
||||
this.txtPhysicianID.Name = "txtPhysicianID";
|
||||
this.txtPhysicianID.Size = new System.Drawing.Size(148, 26);
|
||||
this.txtPhysicianID.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPhysicianID.TabIndex = 8;
|
||||
//
|
||||
// lblPhysicianID
|
||||
//
|
||||
this.lblPhysicianID.AutoSize = true;
|
||||
this.lblPhysicianID.Location = new System.Drawing.Point(36, 171);
|
||||
this.lblPhysicianID.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.lblPhysicianID.Location = new System.Drawing.Point(24, 111);
|
||||
this.lblPhysicianID.Name = "lblPhysicianID";
|
||||
this.lblPhysicianID.Size = new System.Drawing.Size(100, 20);
|
||||
this.lblPhysicianID.Size = new System.Drawing.Size(69, 13);
|
||||
this.lblPhysicianID.TabIndex = 7;
|
||||
this.lblPhysicianID.Text = "Physician ID:";
|
||||
//
|
||||
// txtPhysicianLast
|
||||
//
|
||||
this.txtPhysicianLast.Location = new System.Drawing.Point(148, 103);
|
||||
this.txtPhysicianLast.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtPhysicianLast.Location = new System.Drawing.Point(99, 67);
|
||||
this.txtPhysicianLast.Name = "txtPhysicianLast";
|
||||
this.txtPhysicianLast.Size = new System.Drawing.Size(148, 26);
|
||||
this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPhysicianLast.TabIndex = 6;
|
||||
//
|
||||
// txtPhysicianFirst
|
||||
//
|
||||
this.txtPhysicianFirst.Location = new System.Drawing.Point(148, 35);
|
||||
this.txtPhysicianFirst.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.txtPhysicianFirst.Location = new System.Drawing.Point(99, 23);
|
||||
this.txtPhysicianFirst.Name = "txtPhysicianFirst";
|
||||
this.txtPhysicianFirst.Size = new System.Drawing.Size(148, 26);
|
||||
this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPhysicianFirst.TabIndex = 5;
|
||||
//
|
||||
// btnPhysicianSearch
|
||||
//
|
||||
this.btnPhysicianSearch.Location = new System.Drawing.Point(68, 225);
|
||||
this.btnPhysicianSearch.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.btnPhysicianSearch.Location = new System.Drawing.Point(45, 146);
|
||||
this.btnPhysicianSearch.Name = "btnPhysicianSearch";
|
||||
this.btnPhysicianSearch.Size = new System.Drawing.Size(112, 35);
|
||||
this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnPhysicianSearch.TabIndex = 4;
|
||||
this.btnPhysicianSearch.Text = "Search";
|
||||
this.btnPhysicianSearch.UseVisualStyleBackColor = true;
|
||||
@ -726,12 +697,11 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.dgvPhysician.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvPhysician.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Phys_id, this.namefirst, this.namelast, this.initialsmiddle, this.cit, this.state, this.zipp, this.dobb, this.numberphone, this.gennder, this.Specialty });
|
||||
this.dgvPhysician.ContextMenuStrip = this.cmuPhysician;
|
||||
this.dgvPhysician.Location = new System.Drawing.Point(4, 5);
|
||||
this.dgvPhysician.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.dgvPhysician.Location = new System.Drawing.Point(3, 3);
|
||||
this.dgvPhysician.Name = "dgvPhysician";
|
||||
this.dgvPhysician.ReadOnly = true;
|
||||
this.dgvPhysician.RowHeadersWidth = 51;
|
||||
this.dgvPhysician.Size = new System.Drawing.Size(969, 332);
|
||||
this.dgvPhysician.Size = new System.Drawing.Size(646, 216);
|
||||
this.dgvPhysician.TabIndex = 0;
|
||||
//
|
||||
// Phys_id
|
||||
@ -863,11 +833,12 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
//
|
||||
// frmInfo
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1124, 766);
|
||||
this.ClientSize = new System.Drawing.Size(749, 498);
|
||||
this.Controls.Add(this.tbcInfo);
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.Name = "frmInfo";
|
||||
this.Text = "Louis\' Pharmacy - View Patient / Prescription Info";
|
||||
this.Load += new System.EventHandler(this.frmInfo_Load);
|
||||
|
@ -316,7 +316,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
private void cmuPatientNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
frmPatientAdd PatientAdd = new frmPatientAdd(this, true);
|
||||
frmPatient PatientAdd = new frmPatient(this, true);
|
||||
PatientAdd.MdiParent = MdiParent;
|
||||
PatientAdd.StartPosition = FormStartPosition.CenterScreen;
|
||||
PatientAdd.Show();
|
||||
@ -336,7 +336,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
row = dgvPatient.SelectedRows[0];
|
||||
string patid = "";
|
||||
patid = (row.Cells[4].Value).ToString();
|
||||
frmPatientAdd PatientAdd = new frmPatientAdd(this, false);
|
||||
frmPatient PatientAdd = new frmPatient(this, false);
|
||||
PatientAdd.MdiParent = MdiParent;
|
||||
PatientAdd.StartPosition = FormStartPosition.CenterScreen;
|
||||
PatientAdd.Show();
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace Louis__Pharmacy_CNSA212_FP
|
||||
{
|
||||
partial class frmPatientAdd
|
||||
partial class frmPatient
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
@ -364,7 +364,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
|
||||
this.Name = "frmPatientAdd";
|
||||
this.Name = "frmPatient";
|
||||
this.Text = "frmPatientAdd";
|
||||
this.Load += new System.EventHandler(this.frmPatientAdd_Load);
|
||||
this.ResumeLayout(false);
|
@ -4,13 +4,13 @@ using System.Windows.Forms;
|
||||
|
||||
namespace Louis__Pharmacy_CNSA212_FP
|
||||
{
|
||||
public partial class frmPatientAdd : Form
|
||||
public partial class frmPatient : Form
|
||||
{
|
||||
private static bool isAdd;
|
||||
|
||||
private frmInfo SourceForm;
|
||||
|
||||
public frmPatientAdd(frmInfo there, bool isNew)
|
||||
public frmPatient(frmInfo there, bool isNew)
|
||||
{
|
||||
|
||||
SourceForm = there;
|
42
Louis'-Pharmacy_CNSA212-FP/frmPhysician.Designer.cs
generated
Normal file
42
Louis'-Pharmacy_CNSA212-FP/frmPhysician.Designer.cs
generated
Normal file
@ -0,0 +1,42 @@
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Louis__Pharmacy_CNSA212_FP
|
||||
{
|
||||
partial class frmPhysician
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private 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.components = new System.ComponentModel.Container();
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(800, 450);
|
||||
this.Text = "frmPhysician";
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
12
Louis'-Pharmacy_CNSA212-FP/frmPhysician.cs
Normal file
12
Louis'-Pharmacy_CNSA212-FP/frmPhysician.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace Louis__Pharmacy_CNSA212_FP
|
||||
{
|
||||
public partial class frmPhysician : Form
|
||||
{
|
||||
public frmPhysician()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user