Changed the existing patient first and last name labels and text boxes to ones taken from the patient table in the view info form. Also added a patient table data view to the bottom half of the split container in the patient info tab.
This commit is contained in:
parent
be82ae4b83
commit
84ac2360c2
191
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
191
Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
generated
@ -30,6 +30,8 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.Label lblPatientFirst;
|
||||
System.Windows.Forms.Label lblPatientLast;
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInfo));
|
||||
this.tbcInfo = new System.Windows.Forms.TabControl();
|
||||
this.tbpPatient = new System.Windows.Forms.TabPage();
|
||||
@ -53,10 +55,30 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.pATIENTBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.pATIENTTableAdapter = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.PATIENTTableAdapter();
|
||||
this.tableAdapterManager = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager();
|
||||
this.txtPatientFirst = new System.Windows.Forms.TextBox();
|
||||
this.txtPatientLast = new System.Windows.Forms.TextBox();
|
||||
this.pATIENTDataGridView = new System.Windows.Forms.DataGridView();
|
||||
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
lblPatientFirst = new System.Windows.Forms.Label();
|
||||
lblPatientLast = new System.Windows.Forms.Label();
|
||||
this.tbcInfo.SuspendLayout();
|
||||
this.tbpPatient.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).BeginInit();
|
||||
this.splcPatient.Panel1.SuspendLayout();
|
||||
this.splcPatient.Panel2.SuspendLayout();
|
||||
this.splcPatient.SuspendLayout();
|
||||
this.tbpPrescription.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).BeginInit();
|
||||
@ -68,6 +90,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.splcPhysician.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pATIENTBindingSource)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tbcInfo
|
||||
@ -100,11 +123,16 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
//
|
||||
// splcPatient.Panel1
|
||||
//
|
||||
this.splcPatient.Panel1.Controls.Add(lblPatientLast);
|
||||
this.splcPatient.Panel1.Controls.Add(this.txtPatientLast);
|
||||
this.splcPatient.Panel1.Controls.Add(lblPatientFirst);
|
||||
this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst);
|
||||
this.splcPatient.Panel1.Controls.Add(this.btnPatientSearch);
|
||||
//
|
||||
// splcPatient.Panel2
|
||||
//
|
||||
this.splcPatient.Panel2.AutoScroll = true;
|
||||
this.splcPatient.Panel2.Controls.Add(this.pATIENTDataGridView);
|
||||
this.splcPatient.Size = new System.Drawing.Size(658, 415);
|
||||
this.splcPatient.SplitterDistance = 186;
|
||||
this.splcPatient.TabIndex = 0;
|
||||
@ -283,6 +311,149 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.tableAdapterManager.REFILLSTableAdapter = null;
|
||||
this.tableAdapterManager.UpdateOrder = Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
|
||||
//
|
||||
// lblPatientFirst
|
||||
//
|
||||
lblPatientFirst.AutoSize = true;
|
||||
lblPatientFirst.Location = new System.Drawing.Point(20, 28);
|
||||
lblPatientFirst.Name = "lblPatientFirst";
|
||||
lblPatientFirst.Size = new System.Drawing.Size(60, 13);
|
||||
lblPatientFirst.TabIndex = 4;
|
||||
lblPatientFirst.Text = "First Name:";
|
||||
//
|
||||
// txtPatientFirst
|
||||
//
|
||||
this.txtPatientFirst.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pATIENTBindingSource, "FirstName", true));
|
||||
this.txtPatientFirst.Location = new System.Drawing.Point(86, 25);
|
||||
this.txtPatientFirst.Name = "txtPatientFirst";
|
||||
this.txtPatientFirst.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPatientFirst.TabIndex = 5;
|
||||
//
|
||||
// lblPatientLast
|
||||
//
|
||||
lblPatientLast.AutoSize = true;
|
||||
lblPatientLast.Location = new System.Drawing.Point(20, 69);
|
||||
lblPatientLast.Name = "lblPatientLast";
|
||||
lblPatientLast.Size = new System.Drawing.Size(61, 13);
|
||||
lblPatientLast.TabIndex = 5;
|
||||
lblPatientLast.Text = "Last Name:";
|
||||
//
|
||||
// txtPatientLast
|
||||
//
|
||||
this.txtPatientLast.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pATIENTBindingSource, "LastName", true));
|
||||
this.txtPatientLast.Location = new System.Drawing.Point(87, 66);
|
||||
this.txtPatientLast.Name = "txtPatientLast";
|
||||
this.txtPatientLast.Size = new System.Drawing.Size(100, 20);
|
||||
this.txtPatientLast.TabIndex = 6;
|
||||
//
|
||||
// pATIENTDataGridView
|
||||
//
|
||||
this.pATIENTDataGridView.AutoGenerateColumns = false;
|
||||
this.pATIENTDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.pATIENTDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.dataGridViewTextBoxColumn1,
|
||||
this.dataGridViewTextBoxColumn2,
|
||||
this.dataGridViewTextBoxColumn3,
|
||||
this.dataGridViewTextBoxColumn4,
|
||||
this.dataGridViewTextBoxColumn5,
|
||||
this.dataGridViewTextBoxColumn6,
|
||||
this.dataGridViewTextBoxColumn7,
|
||||
this.dataGridViewTextBoxColumn8,
|
||||
this.dataGridViewTextBoxColumn9,
|
||||
this.dataGridViewTextBoxColumn10,
|
||||
this.dataGridViewTextBoxColumn11,
|
||||
this.dataGridViewTextBoxColumn12,
|
||||
this.dataGridViewTextBoxColumn13,
|
||||
this.dataGridViewTextBoxColumn14});
|
||||
this.pATIENTDataGridView.DataSource = this.pATIENTBindingSource;
|
||||
this.pATIENTDataGridView.Location = new System.Drawing.Point(3, 3);
|
||||
this.pATIENTDataGridView.Name = "pATIENTDataGridView";
|
||||
this.pATIENTDataGridView.Size = new System.Drawing.Size(635, 219);
|
||||
this.pATIENTDataGridView.TabIndex = 0;
|
||||
//
|
||||
// dataGridViewTextBoxColumn1
|
||||
//
|
||||
this.dataGridViewTextBoxColumn1.DataPropertyName = "Patient_id";
|
||||
this.dataGridViewTextBoxColumn1.HeaderText = "Patient_id";
|
||||
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
|
||||
//
|
||||
// dataGridViewTextBoxColumn2
|
||||
//
|
||||
this.dataGridViewTextBoxColumn2.DataPropertyName = "FirstName";
|
||||
this.dataGridViewTextBoxColumn2.HeaderText = "FirstName";
|
||||
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
|
||||
//
|
||||
// dataGridViewTextBoxColumn3
|
||||
//
|
||||
this.dataGridViewTextBoxColumn3.DataPropertyName = "LastName";
|
||||
this.dataGridViewTextBoxColumn3.HeaderText = "LastName";
|
||||
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
|
||||
//
|
||||
// dataGridViewTextBoxColumn4
|
||||
//
|
||||
this.dataGridViewTextBoxColumn4.DataPropertyName = "MiddleIntials";
|
||||
this.dataGridViewTextBoxColumn4.HeaderText = "MiddleIntials";
|
||||
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
|
||||
//
|
||||
// dataGridViewTextBoxColumn5
|
||||
//
|
||||
this.dataGridViewTextBoxColumn5.DataPropertyName = "Zip";
|
||||
this.dataGridViewTextBoxColumn5.HeaderText = "Zip";
|
||||
this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
|
||||
//
|
||||
// dataGridViewTextBoxColumn6
|
||||
//
|
||||
this.dataGridViewTextBoxColumn6.DataPropertyName = "City";
|
||||
this.dataGridViewTextBoxColumn6.HeaderText = "City";
|
||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||
//
|
||||
// dataGridViewTextBoxColumn7
|
||||
//
|
||||
this.dataGridViewTextBoxColumn7.DataPropertyName = "UsState";
|
||||
this.dataGridViewTextBoxColumn7.HeaderText = "UsState";
|
||||
this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
|
||||
//
|
||||
// dataGridViewTextBoxColumn8
|
||||
//
|
||||
this.dataGridViewTextBoxColumn8.DataPropertyName = "lbs";
|
||||
this.dataGridViewTextBoxColumn8.HeaderText = "lbs";
|
||||
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||
//
|
||||
// dataGridViewTextBoxColumn9
|
||||
//
|
||||
this.dataGridViewTextBoxColumn9.DataPropertyName = "Height_feet";
|
||||
this.dataGridViewTextBoxColumn9.HeaderText = "Height_feet";
|
||||
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
||||
//
|
||||
// dataGridViewTextBoxColumn10
|
||||
//
|
||||
this.dataGridViewTextBoxColumn10.DataPropertyName = "Height_inches";
|
||||
this.dataGridViewTextBoxColumn10.HeaderText = "Height_inches";
|
||||
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
|
||||
//
|
||||
// dataGridViewTextBoxColumn11
|
||||
//
|
||||
this.dataGridViewTextBoxColumn11.DataPropertyName = "Ailment";
|
||||
this.dataGridViewTextBoxColumn11.HeaderText = "Ailment";
|
||||
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
|
||||
//
|
||||
// dataGridViewTextBoxColumn12
|
||||
//
|
||||
this.dataGridViewTextBoxColumn12.DataPropertyName = "DOB";
|
||||
this.dataGridViewTextBoxColumn12.HeaderText = "DOB";
|
||||
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
|
||||
//
|
||||
// dataGridViewTextBoxColumn13
|
||||
//
|
||||
this.dataGridViewTextBoxColumn13.DataPropertyName = "PhoneNumber";
|
||||
this.dataGridViewTextBoxColumn13.HeaderText = "PhoneNumber";
|
||||
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
|
||||
//
|
||||
// dataGridViewTextBoxColumn14
|
||||
//
|
||||
this.dataGridViewTextBoxColumn14.DataPropertyName = "Gender";
|
||||
this.dataGridViewTextBoxColumn14.HeaderText = "Gender";
|
||||
this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
|
||||
//
|
||||
// frmInfo
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
@ -297,6 +468,8 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.tbcInfo.ResumeLayout(false);
|
||||
this.tbpPatient.ResumeLayout(false);
|
||||
this.splcPatient.Panel1.ResumeLayout(false);
|
||||
this.splcPatient.Panel1.PerformLayout();
|
||||
this.splcPatient.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit();
|
||||
this.splcPatient.ResumeLayout(false);
|
||||
this.tbpPrescription.ResumeLayout(false);
|
||||
@ -311,6 +484,7 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
this.splcPhysician.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pATIENTBindingSource)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@ -338,5 +512,22 @@ namespace Louis__Pharmacy_CNSA212_FP
|
||||
private System.Windows.Forms.BindingSource pATIENTBindingSource;
|
||||
private FinalProjectOfficialPharmacyDataSetTableAdapters.PATIENTTableAdapter pATIENTTableAdapter;
|
||||
private FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager tableAdapterManager;
|
||||
private System.Windows.Forms.TextBox txtPatientLast;
|
||||
private System.Windows.Forms.TextBox txtPatientFirst;
|
||||
private System.Windows.Forms.DataGridView pATIENTDataGridView;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
|
||||
}
|
||||
}
|
@ -117,12 +117,18 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<metadata name="finalProjectOfficialPharmacyDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
<metadata name="lblPatientLast.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="pATIENTBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>262, 17</value>
|
||||
</metadata>
|
||||
<metadata name="finalProjectOfficialPharmacyDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="lblPatientFirst.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="pATIENTTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>437, 17</value>
|
||||
</metadata>
|
||||
|
Loading…
Reference in New Issue
Block a user