Replaced the physician first and last name labels and text boxes with ones taken from the database. Added a physician table data view at the bottom of the split container in the physician info tab.

This commit is contained in:
Adam McCane 2024-02-07 14:11:02 -05:00
parent 84ac2360c2
commit ed02dffbc2
3 changed files with 375 additions and 222 deletions

View File

@ -32,31 +32,17 @@ namespace Louis__Pharmacy_CNSA212_FP
this.components = new System.ComponentModel.Container();
System.Windows.Forms.Label lblPatientFirst;
System.Windows.Forms.Label lblPatientLast;
System.Windows.Forms.Label lblPhysicianFirst;
System.Windows.Forms.Label lblPhysicianLast;
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInfo));
this.tbcInfo = new System.Windows.Forms.TabControl();
this.tbpPatient = new System.Windows.Forms.TabPage();
this.splcPatient = new System.Windows.Forms.SplitContainer();
this.btnPatientSearch = new System.Windows.Forms.Button();
this.tbpPrescription = new System.Windows.Forms.TabPage();
this.splcPrescription = new System.Windows.Forms.SplitContainer();
this.btnPrescriptionSearch = new System.Windows.Forms.Button();
this.txtPrescriptionLast = new System.Windows.Forms.TextBox();
this.txtRxNumber = new System.Windows.Forms.TextBox();
this.lblPrescriptionLast = new System.Windows.Forms.Label();
this.lblRxNumber = new System.Windows.Forms.Label();
this.tbpPhysician = new System.Windows.Forms.TabPage();
this.splcPhysician = new System.Windows.Forms.SplitContainer();
this.btnPhysicianSearch = new System.Windows.Forms.Button();
this.txtPhysicianLast = new System.Windows.Forms.TextBox();
this.txtPhysicianFirst = new System.Windows.Forms.TextBox();
this.lblPhysicianLast = new System.Windows.Forms.Label();
this.lblPhysicianFirst = new System.Windows.Forms.Label();
this.finalProjectOfficialPharmacyDataSet = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSet();
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.pATIENTBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.finalProjectOfficialPharmacyDataSet = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSet();
this.txtPatientFirst = new System.Windows.Forms.TextBox();
this.btnPatientSearch = new System.Windows.Forms.Button();
this.pATIENTDataGridView = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@ -72,14 +58,47 @@ namespace Louis__Pharmacy_CNSA212_FP
this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tbpPrescription = new System.Windows.Forms.TabPage();
this.splcPrescription = new System.Windows.Forms.SplitContainer();
this.btnPrescriptionSearch = new System.Windows.Forms.Button();
this.txtPrescriptionLast = new System.Windows.Forms.TextBox();
this.txtRxNumber = new System.Windows.Forms.TextBox();
this.lblPrescriptionLast = new System.Windows.Forms.Label();
this.lblRxNumber = new System.Windows.Forms.Label();
this.tbpPhysician = new System.Windows.Forms.TabPage();
this.splcPhysician = new System.Windows.Forms.SplitContainer();
this.pHYSICIANBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.btnPhysicianSearch = new System.Windows.Forms.Button();
this.pATIENTTableAdapter = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.PATIENTTableAdapter();
this.tableAdapterManager = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager();
this.pHYSICIANTableAdapter = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.PHYSICIANTableAdapter();
this.txtPhysicianFirst = new System.Windows.Forms.TextBox();
this.txtPhysicianLast = new System.Windows.Forms.TextBox();
this.pHYSICIANDataGridView = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
lblPatientFirst = new System.Windows.Forms.Label();
lblPatientLast = new System.Windows.Forms.Label();
lblPhysicianFirst = new System.Windows.Forms.Label();
lblPhysicianLast = 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();
((System.ComponentModel.ISupportInitialize)(this.pATIENTBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).BeginInit();
this.tbpPrescription.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPrescription)).BeginInit();
this.splcPrescription.Panel1.SuspendLayout();
@ -87,12 +106,30 @@ namespace Louis__Pharmacy_CNSA212_FP
this.tbpPhysician.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).BeginInit();
this.splcPhysician.Panel1.SuspendLayout();
this.splcPhysician.Panel2.SuspendLayout();
this.splcPhysician.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pATIENTBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pHYSICIANBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pHYSICIANDataGridView)).BeginInit();
this.SuspendLayout();
//
// 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:";
//
// 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:";
//
// tbcInfo
//
this.tbcInfo.Controls.Add(this.tbpPatient);
@ -137,188 +174,23 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPatient.SplitterDistance = 186;
this.splcPatient.TabIndex = 0;
//
// btnPatientSearch
// txtPatientLast
//
this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent;
this.btnPatientSearch.Location = new System.Drawing.Point(50, 119);
this.btnPatientSearch.Name = "btnPatientSearch";
this.btnPatientSearch.Size = new System.Drawing.Size(75, 23);
this.btnPatientSearch.TabIndex = 4;
this.btnPatientSearch.Text = "Search";
this.btnPatientSearch.UseVisualStyleBackColor = false;
//
// tbpPrescription
//
this.tbpPrescription.Controls.Add(this.splcPrescription);
this.tbpPrescription.Location = new System.Drawing.Point(4, 22);
this.tbpPrescription.Name = "tbpPrescription";
this.tbpPrescription.Size = new System.Drawing.Size(658, 315);
this.tbpPrescription.TabIndex = 4;
this.tbpPrescription.Text = "Prescription Info";
this.tbpPrescription.UseVisualStyleBackColor = true;
//
// splcPrescription
//
this.splcPrescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.splcPrescription.Location = new System.Drawing.Point(0, 0);
this.splcPrescription.Name = "splcPrescription";
this.splcPrescription.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splcPrescription.Panel1
//
this.splcPrescription.Panel1.Controls.Add(this.btnPrescriptionSearch);
this.splcPrescription.Panel1.Controls.Add(this.txtPrescriptionLast);
this.splcPrescription.Panel1.Controls.Add(this.txtRxNumber);
this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionLast);
this.splcPrescription.Panel1.Controls.Add(this.lblRxNumber);
this.splcPrescription.Size = new System.Drawing.Size(658, 315);
this.splcPrescription.SplitterDistance = 159;
this.splcPrescription.TabIndex = 0;
//
// btnPrescriptionSearch
//
this.btnPrescriptionSearch.Location = new System.Drawing.Point(64, 117);
this.btnPrescriptionSearch.Name = "btnPrescriptionSearch";
this.btnPrescriptionSearch.Size = new System.Drawing.Size(75, 23);
this.btnPrescriptionSearch.TabIndex = 4;
this.btnPrescriptionSearch.Text = "Search";
this.btnPrescriptionSearch.UseVisualStyleBackColor = true;
//
// txtPrescriptionLast
//
this.txtPrescriptionLast.Location = new System.Drawing.Point(184, 74);
this.txtPrescriptionLast.Name = "txtPrescriptionLast";
this.txtPrescriptionLast.Size = new System.Drawing.Size(100, 20);
this.txtPrescriptionLast.TabIndex = 3;
//
// txtRxNumber
//
this.txtRxNumber.Location = new System.Drawing.Point(184, 25);
this.txtRxNumber.Name = "txtRxNumber";
this.txtRxNumber.Size = new System.Drawing.Size(100, 20);
this.txtRxNumber.TabIndex = 2;
//
// lblPrescriptionLast
//
this.lblPrescriptionLast.AutoSize = true;
this.lblPrescriptionLast.Location = new System.Drawing.Point(61, 74);
this.lblPrescriptionLast.Name = "lblPrescriptionLast";
this.lblPrescriptionLast.Size = new System.Drawing.Size(61, 13);
this.lblPrescriptionLast.TabIndex = 1;
this.lblPrescriptionLast.Text = "Last Name:";
//
// lblRxNumber
//
this.lblRxNumber.AutoSize = true;
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(63, 13);
this.lblRxNumber.TabIndex = 0;
this.lblRxNumber.Text = "Rx Number:";
//
// tbpPhysician
//
this.tbpPhysician.Controls.Add(this.splcPhysician);
this.tbpPhysician.Location = new System.Drawing.Point(4, 22);
this.tbpPhysician.Name = "tbpPhysician";
this.tbpPhysician.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
this.tbpPhysician.Size = new System.Drawing.Size(658, 315);
this.tbpPhysician.TabIndex = 2;
this.tbpPhysician.Text = "Physician Info";
this.tbpPhysician.UseVisualStyleBackColor = true;
//
// splcPhysician
//
this.splcPhysician.Dock = System.Windows.Forms.DockStyle.Fill;
this.splcPhysician.Location = new System.Drawing.Point(3, 3);
this.splcPhysician.Name = "splcPhysician";
this.splcPhysician.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splcPhysician.Panel1
//
this.splcPhysician.Panel1.Controls.Add(this.btnPhysicianSearch);
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianLast);
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianFirst);
this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianLast);
this.splcPhysician.Panel1.Controls.Add(this.lblPhysicianFirst);
this.splcPhysician.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
this.splcPhysician.Size = new System.Drawing.Size(654, 311);
this.splcPhysician.SplitterDistance = 158;
this.splcPhysician.TabIndex = 0;
//
// btnPhysicianSearch
//
this.btnPhysicianSearch.Location = new System.Drawing.Point(62, 116);
this.btnPhysicianSearch.Name = "btnPhysicianSearch";
this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23);
this.btnPhysicianSearch.TabIndex = 4;
this.btnPhysicianSearch.Text = "Search";
this.btnPhysicianSearch.UseVisualStyleBackColor = true;
//
// txtPhysicianLast
//
this.txtPhysicianLast.Location = new System.Drawing.Point(126, 78);
this.txtPhysicianLast.Name = "txtPhysicianLast";
this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianLast.TabIndex = 3;
//
// txtPhysicianFirst
//
this.txtPhysicianFirst.Location = new System.Drawing.Point(126, 34);
this.txtPhysicianFirst.Name = "txtPhysicianFirst";
this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianFirst.TabIndex = 2;
//
// lblPhysicianLast
//
this.lblPhysicianLast.AutoSize = true;
this.lblPhysicianLast.Location = new System.Drawing.Point(50, 78);
this.lblPhysicianLast.Name = "lblPhysicianLast";
this.lblPhysicianLast.Size = new System.Drawing.Size(61, 13);
this.lblPhysicianLast.TabIndex = 1;
this.lblPhysicianLast.Text = "Last Name:";
//
// lblPhysicianFirst
//
this.lblPhysicianFirst.AutoSize = true;
this.lblPhysicianFirst.Location = new System.Drawing.Point(47, 34);
this.lblPhysicianFirst.Name = "lblPhysicianFirst";
this.lblPhysicianFirst.Size = new System.Drawing.Size(60, 13);
this.lblPhysicianFirst.TabIndex = 0;
this.lblPhysicianFirst.Text = "First Name:";
//
// finalProjectOfficialPharmacyDataSet
//
this.finalProjectOfficialPharmacyDataSet.DataSetName = "FinalProjectOfficialPharmacyDataSet";
this.finalProjectOfficialPharmacyDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
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;
//
// pATIENTBindingSource
//
this.pATIENTBindingSource.DataMember = "PATIENT";
this.pATIENTBindingSource.DataSource = this.finalProjectOfficialPharmacyDataSet;
//
// pATIENTTableAdapter
// finalProjectOfficialPharmacyDataSet
//
this.pATIENTTableAdapter.ClearBeforeFill = true;
//
// tableAdapterManager
//
this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
this.tableAdapterManager.MEDICATIONSTableAdapter = null;
this.tableAdapterManager.PATIENTTableAdapter = this.pATIENTTableAdapter;
this.tableAdapterManager.PHYSICIANTableAdapter = null;
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:";
this.finalProjectOfficialPharmacyDataSet.DataSetName = "FinalProjectOfficialPharmacyDataSet";
this.finalProjectOfficialPharmacyDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// txtPatientFirst
//
@ -328,22 +200,15 @@ namespace Louis__Pharmacy_CNSA212_FP
this.txtPatientFirst.Size = new System.Drawing.Size(100, 20);
this.txtPatientFirst.TabIndex = 5;
//
// lblPatientLast
// btnPatientSearch
//
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;
this.btnPatientSearch.BackColor = System.Drawing.Color.Transparent;
this.btnPatientSearch.Location = new System.Drawing.Point(50, 119);
this.btnPatientSearch.Name = "btnPatientSearch";
this.btnPatientSearch.Size = new System.Drawing.Size(75, 23);
this.btnPatientSearch.TabIndex = 4;
this.btnPatientSearch.Text = "Search";
this.btnPatientSearch.UseVisualStyleBackColor = false;
//
// pATIENTDataGridView
//
@ -367,7 +232,7 @@ namespace Louis__Pharmacy_CNSA212_FP
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.Size = new System.Drawing.Size(652, 219);
this.pATIENTDataGridView.TabIndex = 0;
//
// dataGridViewTextBoxColumn1
@ -454,6 +319,265 @@ namespace Louis__Pharmacy_CNSA212_FP
this.dataGridViewTextBoxColumn14.HeaderText = "Gender";
this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
//
// tbpPrescription
//
this.tbpPrescription.Controls.Add(this.splcPrescription);
this.tbpPrescription.Location = new System.Drawing.Point(4, 22);
this.tbpPrescription.Name = "tbpPrescription";
this.tbpPrescription.Size = new System.Drawing.Size(658, 415);
this.tbpPrescription.TabIndex = 4;
this.tbpPrescription.Text = "Prescription Info";
this.tbpPrescription.UseVisualStyleBackColor = true;
//
// splcPrescription
//
this.splcPrescription.Dock = System.Windows.Forms.DockStyle.Fill;
this.splcPrescription.Location = new System.Drawing.Point(0, 0);
this.splcPrescription.Name = "splcPrescription";
this.splcPrescription.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splcPrescription.Panel1
//
this.splcPrescription.Panel1.Controls.Add(this.btnPrescriptionSearch);
this.splcPrescription.Panel1.Controls.Add(this.txtPrescriptionLast);
this.splcPrescription.Panel1.Controls.Add(this.txtRxNumber);
this.splcPrescription.Panel1.Controls.Add(this.lblPrescriptionLast);
this.splcPrescription.Panel1.Controls.Add(this.lblRxNumber);
this.splcPrescription.Size = new System.Drawing.Size(658, 415);
this.splcPrescription.SplitterDistance = 210;
this.splcPrescription.TabIndex = 0;
//
// btnPrescriptionSearch
//
this.btnPrescriptionSearch.Location = new System.Drawing.Point(64, 117);
this.btnPrescriptionSearch.Name = "btnPrescriptionSearch";
this.btnPrescriptionSearch.Size = new System.Drawing.Size(75, 23);
this.btnPrescriptionSearch.TabIndex = 4;
this.btnPrescriptionSearch.Text = "Search";
this.btnPrescriptionSearch.UseVisualStyleBackColor = true;
//
// txtPrescriptionLast
//
this.txtPrescriptionLast.Location = new System.Drawing.Point(184, 74);
this.txtPrescriptionLast.Name = "txtPrescriptionLast";
this.txtPrescriptionLast.Size = new System.Drawing.Size(100, 20);
this.txtPrescriptionLast.TabIndex = 3;
//
// txtRxNumber
//
this.txtRxNumber.Location = new System.Drawing.Point(184, 25);
this.txtRxNumber.Name = "txtRxNumber";
this.txtRxNumber.Size = new System.Drawing.Size(100, 20);
this.txtRxNumber.TabIndex = 2;
//
// lblPrescriptionLast
//
this.lblPrescriptionLast.AutoSize = true;
this.lblPrescriptionLast.Location = new System.Drawing.Point(61, 74);
this.lblPrescriptionLast.Name = "lblPrescriptionLast";
this.lblPrescriptionLast.Size = new System.Drawing.Size(61, 13);
this.lblPrescriptionLast.TabIndex = 1;
this.lblPrescriptionLast.Text = "Last Name:";
//
// lblRxNumber
//
this.lblRxNumber.AutoSize = true;
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(63, 13);
this.lblRxNumber.TabIndex = 0;
this.lblRxNumber.Text = "Rx Number:";
//
// tbpPhysician
//
this.tbpPhysician.Controls.Add(this.splcPhysician);
this.tbpPhysician.Location = new System.Drawing.Point(4, 22);
this.tbpPhysician.Name = "tbpPhysician";
this.tbpPhysician.Padding = new System.Windows.Forms.Padding(3);
this.tbpPhysician.Size = new System.Drawing.Size(658, 415);
this.tbpPhysician.TabIndex = 2;
this.tbpPhysician.Text = "Physician Info";
this.tbpPhysician.UseVisualStyleBackColor = true;
//
// splcPhysician
//
this.splcPhysician.Dock = System.Windows.Forms.DockStyle.Fill;
this.splcPhysician.Location = new System.Drawing.Point(3, 3);
this.splcPhysician.Name = "splcPhysician";
this.splcPhysician.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splcPhysician.Panel1
//
this.splcPhysician.Panel1.AutoScroll = true;
this.splcPhysician.Panel1.Controls.Add(lblPhysicianLast);
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianLast);
this.splcPhysician.Panel1.Controls.Add(lblPhysicianFirst);
this.splcPhysician.Panel1.Controls.Add(this.txtPhysicianFirst);
this.splcPhysician.Panel1.Controls.Add(this.btnPhysicianSearch);
this.splcPhysician.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
//
// splcPhysician.Panel2
//
this.splcPhysician.Panel2.AutoScroll = true;
this.splcPhysician.Panel2.Controls.Add(this.pHYSICIANDataGridView);
this.splcPhysician.Size = new System.Drawing.Size(652, 409);
this.splcPhysician.SplitterDistance = 183;
this.splcPhysician.TabIndex = 0;
//
// pHYSICIANBindingSource
//
this.pHYSICIANBindingSource.DataMember = "PHYSICIAN";
this.pHYSICIANBindingSource.DataSource = this.finalProjectOfficialPharmacyDataSet;
//
// btnPhysicianSearch
//
this.btnPhysicianSearch.Location = new System.Drawing.Point(62, 116);
this.btnPhysicianSearch.Name = "btnPhysicianSearch";
this.btnPhysicianSearch.Size = new System.Drawing.Size(75, 23);
this.btnPhysicianSearch.TabIndex = 4;
this.btnPhysicianSearch.Text = "Search";
this.btnPhysicianSearch.UseVisualStyleBackColor = true;
//
// pATIENTTableAdapter
//
this.pATIENTTableAdapter.ClearBeforeFill = true;
//
// tableAdapterManager
//
this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
this.tableAdapterManager.MEDICATIONSTableAdapter = null;
this.tableAdapterManager.PATIENTTableAdapter = this.pATIENTTableAdapter;
this.tableAdapterManager.PHYSICIANTableAdapter = this.pHYSICIANTableAdapter;
this.tableAdapterManager.REFILLSTableAdapter = null;
this.tableAdapterManager.UpdateOrder = Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// pHYSICIANTableAdapter
//
this.pHYSICIANTableAdapter.ClearBeforeFill = true;
//
// lblPhysicianFirst
//
lblPhysicianFirst.AutoSize = true;
lblPhysicianFirst.Location = new System.Drawing.Point(24, 26);
lblPhysicianFirst.Name = "lblPhysicianFirst";
lblPhysicianFirst.Size = new System.Drawing.Size(60, 13);
lblPhysicianFirst.TabIndex = 4;
lblPhysicianFirst.Text = "First Name:";
//
// txtPhysicianFirst
//
this.txtPhysicianFirst.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pHYSICIANBindingSource, "FirstName", true));
this.txtPhysicianFirst.Location = new System.Drawing.Point(90, 23);
this.txtPhysicianFirst.Name = "txtPhysicianFirst";
this.txtPhysicianFirst.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianFirst.TabIndex = 5;
//
// lblPhysicianLast
//
lblPhysicianLast.AutoSize = true;
lblPhysicianLast.Location = new System.Drawing.Point(23, 70);
lblPhysicianLast.Name = "lblPhysicianLast";
lblPhysicianLast.Size = new System.Drawing.Size(61, 13);
lblPhysicianLast.TabIndex = 5;
lblPhysicianLast.Text = "Last Name:";
//
// txtPhysicianLast
//
this.txtPhysicianLast.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.pHYSICIANBindingSource, "LastName", true));
this.txtPhysicianLast.Location = new System.Drawing.Point(90, 67);
this.txtPhysicianLast.Name = "txtPhysicianLast";
this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20);
this.txtPhysicianLast.TabIndex = 6;
//
// pHYSICIANDataGridView
//
this.pHYSICIANDataGridView.AutoGenerateColumns = false;
this.pHYSICIANDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.pHYSICIANDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn15,
this.dataGridViewTextBoxColumn16,
this.dataGridViewTextBoxColumn17,
this.dataGridViewTextBoxColumn18,
this.dataGridViewTextBoxColumn19,
this.dataGridViewTextBoxColumn20,
this.dataGridViewTextBoxColumn21,
this.dataGridViewTextBoxColumn22,
this.dataGridViewTextBoxColumn23,
this.dataGridViewTextBoxColumn24,
this.dataGridViewTextBoxColumn25});
this.pHYSICIANDataGridView.DataSource = this.pHYSICIANBindingSource;
this.pHYSICIANDataGridView.Location = new System.Drawing.Point(3, 3);
this.pHYSICIANDataGridView.Name = "pHYSICIANDataGridView";
this.pHYSICIANDataGridView.Size = new System.Drawing.Size(629, 216);
this.pHYSICIANDataGridView.TabIndex = 0;
//
// dataGridViewTextBoxColumn15
//
this.dataGridViewTextBoxColumn15.DataPropertyName = "Physician_id";
this.dataGridViewTextBoxColumn15.HeaderText = "Physician_id";
this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
//
// dataGridViewTextBoxColumn16
//
this.dataGridViewTextBoxColumn16.DataPropertyName = "FirstName";
this.dataGridViewTextBoxColumn16.HeaderText = "FirstName";
this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
//
// dataGridViewTextBoxColumn17
//
this.dataGridViewTextBoxColumn17.DataPropertyName = "LastName";
this.dataGridViewTextBoxColumn17.HeaderText = "LastName";
this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
//
// dataGridViewTextBoxColumn18
//
this.dataGridViewTextBoxColumn18.DataPropertyName = "MiddleIntials";
this.dataGridViewTextBoxColumn18.HeaderText = "MiddleIntials";
this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
//
// dataGridViewTextBoxColumn19
//
this.dataGridViewTextBoxColumn19.DataPropertyName = "Zip";
this.dataGridViewTextBoxColumn19.HeaderText = "Zip";
this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
//
// dataGridViewTextBoxColumn20
//
this.dataGridViewTextBoxColumn20.DataPropertyName = "City";
this.dataGridViewTextBoxColumn20.HeaderText = "City";
this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
//
// dataGridViewTextBoxColumn21
//
this.dataGridViewTextBoxColumn21.DataPropertyName = "UsState";
this.dataGridViewTextBoxColumn21.HeaderText = "UsState";
this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
//
// dataGridViewTextBoxColumn22
//
this.dataGridViewTextBoxColumn22.DataPropertyName = "DOB";
this.dataGridViewTextBoxColumn22.HeaderText = "DOB";
this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
//
// dataGridViewTextBoxColumn23
//
this.dataGridViewTextBoxColumn23.DataPropertyName = "PhoneNumber";
this.dataGridViewTextBoxColumn23.HeaderText = "PhoneNumber";
this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
//
// dataGridViewTextBoxColumn24
//
this.dataGridViewTextBoxColumn24.DataPropertyName = "Gender";
this.dataGridViewTextBoxColumn24.HeaderText = "Gender";
this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
//
// dataGridViewTextBoxColumn25
//
this.dataGridViewTextBoxColumn25.DataPropertyName = "Specialty";
this.dataGridViewTextBoxColumn25.HeaderText = "Specialty";
this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
//
// frmInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -461,7 +585,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.ClientSize = new System.Drawing.Size(737, 465);
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.Margin = new System.Windows.Forms.Padding(2);
this.Name = "frmInfo";
this.Text = "Louis\' Pharmacy - View Patient / Prescription Info";
this.Load += new System.EventHandler(this.frmInfo_Load);
@ -472,6 +596,9 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPatient.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit();
this.splcPatient.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pATIENTBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).EndInit();
this.tbpPrescription.ResumeLayout(false);
this.splcPrescription.Panel1.ResumeLayout(false);
this.splcPrescription.Panel1.PerformLayout();
@ -480,11 +607,11 @@ namespace Louis__Pharmacy_CNSA212_FP
this.tbpPhysician.ResumeLayout(false);
this.splcPhysician.Panel1.ResumeLayout(false);
this.splcPhysician.Panel1.PerformLayout();
this.splcPhysician.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();
this.splcPhysician.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pATIENTBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pATIENTDataGridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pHYSICIANBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pHYSICIANDataGridView)).EndInit();
this.ResumeLayout(false);
}
@ -503,10 +630,6 @@ namespace Louis__Pharmacy_CNSA212_FP
private System.Windows.Forms.Label lblRxNumber;
private System.Windows.Forms.TextBox txtPrescriptionLast;
private System.Windows.Forms.Button btnPrescriptionSearch;
private System.Windows.Forms.TextBox txtPhysicianLast;
private System.Windows.Forms.TextBox txtPhysicianFirst;
private System.Windows.Forms.Label lblPhysicianLast;
private System.Windows.Forms.Label lblPhysicianFirst;
private System.Windows.Forms.Button btnPhysicianSearch;
private FinalProjectOfficialPharmacyDataSet finalProjectOfficialPharmacyDataSet;
private System.Windows.Forms.BindingSource pATIENTBindingSource;
@ -529,5 +652,21 @@ namespace Louis__Pharmacy_CNSA212_FP
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
private FinalProjectOfficialPharmacyDataSetTableAdapters.PHYSICIANTableAdapter pHYSICIANTableAdapter;
private System.Windows.Forms.BindingSource pHYSICIANBindingSource;
private System.Windows.Forms.TextBox txtPhysicianLast;
private System.Windows.Forms.TextBox txtPhysicianFirst;
private System.Windows.Forms.DataGridView pHYSICIANDataGridView;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn25;
}
}

View File

@ -19,6 +19,8 @@ namespace Louis__Pharmacy_CNSA212_FP
private void frmInfo_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'finalProjectOfficialPharmacyDataSet.PHYSICIAN' table. You can move, or remove it, as needed.
this.pHYSICIANTableAdapter.Fill(this.finalProjectOfficialPharmacyDataSet.PHYSICIAN);
// TODO: This line of code loads data into the 'finalProjectOfficialPharmacyDataSet.PATIENT' table. You can move, or remove it, as needed.
this.pATIENTTableAdapter.Fill(this.finalProjectOfficialPharmacyDataSet.PATIENT);
// TODO: This line of code loads data into the 'fPCASDataSet.patientCount' table. You can move, or remove it, as needed.

View File

@ -117,6 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="lblPatientFirst.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="lblPatientLast.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
@ -126,7 +129,13 @@
<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">
<metadata name="lblPhysicianLast.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value>
</metadata>
<metadata name="pHYSICIANBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>773, 17</value>
</metadata>
<metadata name="lblPhysicianFirst.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">
@ -135,6 +144,9 @@
<metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>604, 17</value>
</metadata>
<metadata name="pHYSICIANTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>964, 17</value>
</metadata>
<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">
<value>