diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs index b234946..46eec61 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs @@ -74,6 +74,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.pHYSICIANTableAdapter = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.PHYSICIANTableAdapter(); this.txtPhysicianFirst = new System.Windows.Forms.TextBox(); this.txtPhysicianLast = new System.Windows.Forms.TextBox(); + this.pHYSICIANBindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.pHYSICIANDataGridView = new System.Windows.Forms.DataGridView(); this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); @@ -109,6 +110,7 @@ namespace Louis__Pharmacy_CNSA212_FP this.splcPhysician.Panel2.SuspendLayout(); this.splcPhysician.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pHYSICIANBindingSource)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pHYSICIANBindingSource1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pHYSICIANDataGridView)).BeginInit(); this.SuspendLayout(); // @@ -212,6 +214,8 @@ namespace Louis__Pharmacy_CNSA212_FP // // pATIENTDataGridView // + this.pATIENTDataGridView.AllowUserToAddRows = false; + this.pATIENTDataGridView.AllowUserToDeleteRows = false; this.pATIENTDataGridView.AutoGenerateColumns = false; this.pATIENTDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.pATIENTDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { @@ -232,6 +236,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.ReadOnly = true; this.pATIENTDataGridView.Size = new System.Drawing.Size(652, 219); this.pATIENTDataGridView.TabIndex = 0; // @@ -240,84 +245,98 @@ namespace Louis__Pharmacy_CNSA212_FP this.dataGridViewTextBoxColumn1.DataPropertyName = "Patient_id"; this.dataGridViewTextBoxColumn1.HeaderText = "Patient_id"; this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + this.dataGridViewTextBoxColumn1.ReadOnly = true; // // dataGridViewTextBoxColumn2 // this.dataGridViewTextBoxColumn2.DataPropertyName = "FirstName"; this.dataGridViewTextBoxColumn2.HeaderText = "FirstName"; this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + this.dataGridViewTextBoxColumn2.ReadOnly = true; // // dataGridViewTextBoxColumn3 // this.dataGridViewTextBoxColumn3.DataPropertyName = "LastName"; this.dataGridViewTextBoxColumn3.HeaderText = "LastName"; this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + this.dataGridViewTextBoxColumn3.ReadOnly = true; // // dataGridViewTextBoxColumn4 // this.dataGridViewTextBoxColumn4.DataPropertyName = "MiddleIntials"; this.dataGridViewTextBoxColumn4.HeaderText = "MiddleIntials"; this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; + this.dataGridViewTextBoxColumn4.ReadOnly = true; // // dataGridViewTextBoxColumn5 // this.dataGridViewTextBoxColumn5.DataPropertyName = "Zip"; this.dataGridViewTextBoxColumn5.HeaderText = "Zip"; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; + this.dataGridViewTextBoxColumn5.ReadOnly = true; // // dataGridViewTextBoxColumn6 // this.dataGridViewTextBoxColumn6.DataPropertyName = "City"; this.dataGridViewTextBoxColumn6.HeaderText = "City"; this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; + this.dataGridViewTextBoxColumn6.ReadOnly = true; // // dataGridViewTextBoxColumn7 // this.dataGridViewTextBoxColumn7.DataPropertyName = "UsState"; this.dataGridViewTextBoxColumn7.HeaderText = "UsState"; this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; + this.dataGridViewTextBoxColumn7.ReadOnly = true; // // dataGridViewTextBoxColumn8 // this.dataGridViewTextBoxColumn8.DataPropertyName = "lbs"; this.dataGridViewTextBoxColumn8.HeaderText = "lbs"; this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; + this.dataGridViewTextBoxColumn8.ReadOnly = true; // // dataGridViewTextBoxColumn9 // this.dataGridViewTextBoxColumn9.DataPropertyName = "Height_feet"; this.dataGridViewTextBoxColumn9.HeaderText = "Height_feet"; this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; + this.dataGridViewTextBoxColumn9.ReadOnly = true; // // dataGridViewTextBoxColumn10 // this.dataGridViewTextBoxColumn10.DataPropertyName = "Height_inches"; this.dataGridViewTextBoxColumn10.HeaderText = "Height_inches"; this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; + this.dataGridViewTextBoxColumn10.ReadOnly = true; // // dataGridViewTextBoxColumn11 // this.dataGridViewTextBoxColumn11.DataPropertyName = "Ailment"; this.dataGridViewTextBoxColumn11.HeaderText = "Ailment"; this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; + this.dataGridViewTextBoxColumn11.ReadOnly = true; // // dataGridViewTextBoxColumn12 // this.dataGridViewTextBoxColumn12.DataPropertyName = "DOB"; this.dataGridViewTextBoxColumn12.HeaderText = "DOB"; this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; + this.dataGridViewTextBoxColumn12.ReadOnly = true; // // dataGridViewTextBoxColumn13 // this.dataGridViewTextBoxColumn13.DataPropertyName = "PhoneNumber"; this.dataGridViewTextBoxColumn13.HeaderText = "PhoneNumber"; this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; + this.dataGridViewTextBoxColumn13.ReadOnly = true; // // dataGridViewTextBoxColumn14 // this.dataGridViewTextBoxColumn14.DataPropertyName = "Gender"; this.dataGridViewTextBoxColumn14.HeaderText = "Gender"; this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; + this.dataGridViewTextBoxColumn14.ReadOnly = true; // // tbpPrescription // @@ -490,8 +509,15 @@ namespace Louis__Pharmacy_CNSA212_FP this.txtPhysicianLast.Size = new System.Drawing.Size(100, 20); this.txtPhysicianLast.TabIndex = 6; // + // pHYSICIANBindingSource1 + // + this.pHYSICIANBindingSource1.DataMember = "PHYSICIAN"; + this.pHYSICIANBindingSource1.DataSource = this.finalProjectOfficialPharmacyDataSet; + // // pHYSICIANDataGridView // + this.pHYSICIANDataGridView.AllowUserToAddRows = false; + this.pHYSICIANDataGridView.AllowUserToDeleteRows = false; this.pHYSICIANDataGridView.AutoGenerateColumns = false; this.pHYSICIANDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.pHYSICIANDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { @@ -509,7 +535,8 @@ namespace Louis__Pharmacy_CNSA212_FP 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.ReadOnly = true; + this.pHYSICIANDataGridView.Size = new System.Drawing.Size(646, 216); this.pHYSICIANDataGridView.TabIndex = 0; // // dataGridViewTextBoxColumn15 @@ -517,66 +544,77 @@ namespace Louis__Pharmacy_CNSA212_FP this.dataGridViewTextBoxColumn15.DataPropertyName = "Physician_id"; this.dataGridViewTextBoxColumn15.HeaderText = "Physician_id"; this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; + this.dataGridViewTextBoxColumn15.ReadOnly = true; // // dataGridViewTextBoxColumn16 // this.dataGridViewTextBoxColumn16.DataPropertyName = "FirstName"; this.dataGridViewTextBoxColumn16.HeaderText = "FirstName"; this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; + this.dataGridViewTextBoxColumn16.ReadOnly = true; // // dataGridViewTextBoxColumn17 // this.dataGridViewTextBoxColumn17.DataPropertyName = "LastName"; this.dataGridViewTextBoxColumn17.HeaderText = "LastName"; this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; + this.dataGridViewTextBoxColumn17.ReadOnly = true; // // dataGridViewTextBoxColumn18 // this.dataGridViewTextBoxColumn18.DataPropertyName = "MiddleIntials"; this.dataGridViewTextBoxColumn18.HeaderText = "MiddleIntials"; this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; + this.dataGridViewTextBoxColumn18.ReadOnly = true; // // dataGridViewTextBoxColumn19 // this.dataGridViewTextBoxColumn19.DataPropertyName = "Zip"; this.dataGridViewTextBoxColumn19.HeaderText = "Zip"; this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19"; + this.dataGridViewTextBoxColumn19.ReadOnly = true; // // dataGridViewTextBoxColumn20 // this.dataGridViewTextBoxColumn20.DataPropertyName = "City"; this.dataGridViewTextBoxColumn20.HeaderText = "City"; this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20"; + this.dataGridViewTextBoxColumn20.ReadOnly = true; // // dataGridViewTextBoxColumn21 // this.dataGridViewTextBoxColumn21.DataPropertyName = "UsState"; this.dataGridViewTextBoxColumn21.HeaderText = "UsState"; this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21"; + this.dataGridViewTextBoxColumn21.ReadOnly = true; // // dataGridViewTextBoxColumn22 // this.dataGridViewTextBoxColumn22.DataPropertyName = "DOB"; this.dataGridViewTextBoxColumn22.HeaderText = "DOB"; this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22"; + this.dataGridViewTextBoxColumn22.ReadOnly = true; // // dataGridViewTextBoxColumn23 // this.dataGridViewTextBoxColumn23.DataPropertyName = "PhoneNumber"; this.dataGridViewTextBoxColumn23.HeaderText = "PhoneNumber"; this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; + this.dataGridViewTextBoxColumn23.ReadOnly = true; // // dataGridViewTextBoxColumn24 // this.dataGridViewTextBoxColumn24.DataPropertyName = "Gender"; this.dataGridViewTextBoxColumn24.HeaderText = "Gender"; this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24"; + this.dataGridViewTextBoxColumn24.ReadOnly = true; // // dataGridViewTextBoxColumn25 // this.dataGridViewTextBoxColumn25.DataPropertyName = "Specialty"; this.dataGridViewTextBoxColumn25.HeaderText = "Specialty"; this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25"; + this.dataGridViewTextBoxColumn25.ReadOnly = true; // // frmInfo // @@ -611,6 +649,7 @@ namespace Louis__Pharmacy_CNSA212_FP ((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit(); this.splcPhysician.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pHYSICIANBindingSource)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pHYSICIANBindingSource1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pHYSICIANDataGridView)).EndInit(); this.ResumeLayout(false); @@ -656,6 +695,7 @@ namespace Louis__Pharmacy_CNSA212_FP private System.Windows.Forms.BindingSource pHYSICIANBindingSource; private System.Windows.Forms.TextBox txtPhysicianLast; private System.Windows.Forms.TextBox txtPhysicianFirst; + private System.Windows.Forms.BindingSource pHYSICIANBindingSource1; private System.Windows.Forms.DataGridView pHYSICIANDataGridView; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16; diff --git a/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx b/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx index 0f0b557..33bfd6d 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx +++ b/Louis'-Pharmacy_CNSA212-FP/frmInfo.resx @@ -147,6 +147,9 @@ 964, 17 + + 1147, 17 + diff --git a/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs b/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs index 1c305ac..efa23d1 100644 --- a/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs +++ b/Louis'-Pharmacy_CNSA212-FP/frmRefill.Designer.cs @@ -31,40 +31,51 @@ namespace Louis__Pharmacy_CNSA212_FP { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmRefill)); this.tabControl1 = new System.Windows.Forms.TabControl(); - this.tabPage1 = new System.Windows.Forms.TabPage(); - this.tabPage2 = new System.Windows.Forms.TabPage(); + this.tbAddRefill = new System.Windows.Forms.TabPage(); + this.tbUpdateRefill = new System.Windows.Forms.TabPage(); + this.tbDeleteRefill = new System.Windows.Forms.TabPage(); this.tabControl1.SuspendLayout(); this.SuspendLayout(); // // tabControl1 // - this.tabControl1.Controls.Add(this.tabPage1); - this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Controls.Add(this.tbAddRefill); + this.tabControl1.Controls.Add(this.tbUpdateRefill); + this.tabControl1.Controls.Add(this.tbDeleteRefill); this.tabControl1.Location = new System.Drawing.Point(12, 12); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedIndex = 0; this.tabControl1.Size = new System.Drawing.Size(576, 342); this.tabControl1.TabIndex = 0; // - // tabPage1 + // tbAddRefill // - this.tabPage1.Location = new System.Drawing.Point(4, 22); - this.tabPage1.Name = "tabPage1"; - this.tabPage1.Padding = new System.Windows.Forms.Padding(3); - this.tabPage1.Size = new System.Drawing.Size(568, 316); - this.tabPage1.TabIndex = 0; - this.tabPage1.Text = "tabPage1"; - this.tabPage1.UseVisualStyleBackColor = true; + this.tbAddRefill.Location = new System.Drawing.Point(4, 22); + this.tbAddRefill.Name = "tbAddRefill"; + this.tbAddRefill.Padding = new System.Windows.Forms.Padding(3); + this.tbAddRefill.Size = new System.Drawing.Size(568, 316); + this.tbAddRefill.TabIndex = 0; + this.tbAddRefill.Text = "Add Refill"; + this.tbAddRefill.UseVisualStyleBackColor = true; // - // tabPage2 + // tbUpdateRefill // - this.tabPage2.Location = new System.Drawing.Point(4, 22); - this.tabPage2.Name = "tabPage2"; - this.tabPage2.Padding = new System.Windows.Forms.Padding(3); - this.tabPage2.Size = new System.Drawing.Size(192, 74); - this.tabPage2.TabIndex = 1; - this.tabPage2.Text = "tabPage2"; - this.tabPage2.UseVisualStyleBackColor = true; + this.tbUpdateRefill.Location = new System.Drawing.Point(4, 22); + this.tbUpdateRefill.Name = "tbUpdateRefill"; + this.tbUpdateRefill.Padding = new System.Windows.Forms.Padding(3); + this.tbUpdateRefill.Size = new System.Drawing.Size(568, 316); + this.tbUpdateRefill.TabIndex = 1; + this.tbUpdateRefill.Text = "Update Refill"; + this.tbUpdateRefill.UseVisualStyleBackColor = true; + // + // tbDeleteRefill + // + this.tbDeleteRefill.Location = new System.Drawing.Point(4, 22); + this.tbDeleteRefill.Name = "tbDeleteRefill"; + this.tbDeleteRefill.Size = new System.Drawing.Size(568, 316); + this.tbDeleteRefill.TabIndex = 2; + this.tbDeleteRefill.Text = "Delete Refill"; + this.tbDeleteRefill.UseVisualStyleBackColor = true; // // frmRefill // @@ -84,7 +95,8 @@ namespace Louis__Pharmacy_CNSA212_FP #endregion private System.Windows.Forms.TabControl tabControl1; - private System.Windows.Forms.TabPage tabPage1; - private System.Windows.Forms.TabPage tabPage2; + private System.Windows.Forms.TabPage tbAddRefill; + private System.Windows.Forms.TabPage tbUpdateRefill; + private System.Windows.Forms.TabPage tbDeleteRefill; } } \ No newline at end of file