added dual sides to frmPhysician.cs
This commit is contained in:
		| @@ -125,6 +125,9 @@ | |||||||
|     <EmbeddedResource Include="frmPatientPhysician.resx"> |     <EmbeddedResource Include="frmPatientPhysician.resx"> | ||||||
|       <DependentUpon>frmPatientPhysician.cs</DependentUpon> |       <DependentUpon>frmPatientPhysician.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="frmPhysician.resx"> | ||||||
|  |       <DependentUpon>frmPhysician.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|     <EmbeddedResource Include="frmPrescription.resx"> |     <EmbeddedResource Include="frmPrescription.resx"> | ||||||
|       <DependentUpon>frmPrescription.cs</DependentUpon> |       <DependentUpon>frmPrescription.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|   | |||||||
							
								
								
									
										58
									
								
								Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										58
									
								
								Louis'-Pharmacy_CNSA212-FP/frmInfo.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -140,7 +140,7 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             lblPatientFirst.AutoSize = true; |             lblPatientFirst.AutoSize = true; | ||||||
|             lblPatientFirst.Location = new System.Drawing.Point(20, 28); |             lblPatientFirst.Location = new System.Drawing.Point(20, 28); | ||||||
|             lblPatientFirst.Name = "lblPatientFirst"; |             lblPatientFirst.Name = "lblPatientFirst"; | ||||||
|             lblPatientFirst.Size = new System.Drawing.Size(60, 13); |             lblPatientFirst.Size = new System.Drawing.Size(70, 15); | ||||||
|             lblPatientFirst.TabIndex = 4; |             lblPatientFirst.TabIndex = 4; | ||||||
|             lblPatientFirst.Text = "First Name:"; |             lblPatientFirst.Text = "First Name:"; | ||||||
|             //  |             //  | ||||||
| @@ -149,7 +149,7 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             lblPatientLast.AutoSize = true; |             lblPatientLast.AutoSize = true; | ||||||
|             lblPatientLast.Location = new System.Drawing.Point(20, 69); |             lblPatientLast.Location = new System.Drawing.Point(20, 69); | ||||||
|             lblPatientLast.Name = "lblPatientLast"; |             lblPatientLast.Name = "lblPatientLast"; | ||||||
|             lblPatientLast.Size = new System.Drawing.Size(61, 13); |             lblPatientLast.Size = new System.Drawing.Size(70, 15); | ||||||
|             lblPatientLast.TabIndex = 5; |             lblPatientLast.TabIndex = 5; | ||||||
|             lblPatientLast.Text = "Last Name:"; |             lblPatientLast.Text = "Last Name:"; | ||||||
|             //  |             //  | ||||||
| @@ -158,7 +158,7 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             lblPhysicianFirst.AutoSize = true; |             lblPhysicianFirst.AutoSize = true; | ||||||
|             lblPhysicianFirst.Location = new System.Drawing.Point(24, 26); |             lblPhysicianFirst.Location = new System.Drawing.Point(24, 26); | ||||||
|             lblPhysicianFirst.Name = "lblPhysicianFirst"; |             lblPhysicianFirst.Name = "lblPhysicianFirst"; | ||||||
|             lblPhysicianFirst.Size = new System.Drawing.Size(60, 13); |             lblPhysicianFirst.Size = new System.Drawing.Size(70, 15); | ||||||
|             lblPhysicianFirst.TabIndex = 4; |             lblPhysicianFirst.TabIndex = 4; | ||||||
|             lblPhysicianFirst.Text = "First Name:"; |             lblPhysicianFirst.Text = "First Name:"; | ||||||
|             //  |             //  | ||||||
| @@ -167,7 +167,7 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             lblPhysicianLast.AutoSize = true; |             lblPhysicianLast.AutoSize = true; | ||||||
|             lblPhysicianLast.Location = new System.Drawing.Point(23, 70); |             lblPhysicianLast.Location = new System.Drawing.Point(23, 70); | ||||||
|             lblPhysicianLast.Name = "lblPhysicianLast"; |             lblPhysicianLast.Name = "lblPhysicianLast"; | ||||||
|             lblPhysicianLast.Size = new System.Drawing.Size(61, 13); |             lblPhysicianLast.Size = new System.Drawing.Size(70, 15); | ||||||
|             lblPhysicianLast.TabIndex = 5; |             lblPhysicianLast.TabIndex = 5; | ||||||
|             lblPhysicianLast.Text = "Last Name:"; |             lblPhysicianLast.Text = "Last Name:"; | ||||||
|             //  |             //  | ||||||
| @@ -230,7 +230,7 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             this.lblPatientID.AutoSize = true; |             this.lblPatientID.AutoSize = true; | ||||||
|             this.lblPatientID.Location = new System.Drawing.Point(23, 109); |             this.lblPatientID.Location = new System.Drawing.Point(23, 109); | ||||||
|             this.lblPatientID.Name = "lblPatientID"; |             this.lblPatientID.Name = "lblPatientID"; | ||||||
|             this.lblPatientID.Size = new System.Drawing.Size(57, 13); |             this.lblPatientID.Size = new System.Drawing.Size(63, 15); | ||||||
|             this.lblPatientID.TabIndex = 7; |             this.lblPatientID.TabIndex = 7; | ||||||
|             this.lblPatientID.Text = "Patient ID:"; |             this.lblPatientID.Text = "Patient ID:"; | ||||||
|             //  |             //  | ||||||
| @@ -420,26 +420,26 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             this.cmuPatient.ImageScalingSize = new System.Drawing.Size(20, 20); |             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.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuPatientNew, this.cmuPatientEdit, this.cmuPatientDelete }); | ||||||
|             this.cmuPatient.Name = "contextMenuStrip1"; |             this.cmuPatient.Name = "contextMenuStrip1"; | ||||||
|             this.cmuPatient.Size = new System.Drawing.Size(135, 94); |             this.cmuPatient.Size = new System.Drawing.Size(123, 76); | ||||||
|             //  |             //  | ||||||
|             // cmuPatientNew |             // cmuPatientNew | ||||||
|             //  |             //  | ||||||
|             this.cmuPatientNew.Name = "cmuPatientNew"; |             this.cmuPatientNew.Name = "cmuPatientNew"; | ||||||
|             this.cmuPatientNew.Size = new System.Drawing.Size(134, 30); |             this.cmuPatientNew.Size = new System.Drawing.Size(122, 24); | ||||||
|             this.cmuPatientNew.Text = "New"; |             this.cmuPatientNew.Text = "New"; | ||||||
|             this.cmuPatientNew.Click += new System.EventHandler(this.cmuPatientNew_Click); |             this.cmuPatientNew.Click += new System.EventHandler(this.cmuPatientNew_Click); | ||||||
|             //  |             //  | ||||||
|             // cmuPatientEdit |             // cmuPatientEdit | ||||||
|             //  |             //  | ||||||
|             this.cmuPatientEdit.Name = "cmuPatientEdit"; |             this.cmuPatientEdit.Name = "cmuPatientEdit"; | ||||||
|             this.cmuPatientEdit.Size = new System.Drawing.Size(134, 30); |             this.cmuPatientEdit.Size = new System.Drawing.Size(122, 24); | ||||||
|             this.cmuPatientEdit.Text = "Edit"; |             this.cmuPatientEdit.Text = "Edit"; | ||||||
|             this.cmuPatientEdit.Click += new System.EventHandler(this.cmuPatientEdit_Click); |             this.cmuPatientEdit.Click += new System.EventHandler(this.cmuPatientEdit_Click); | ||||||
|             //  |             //  | ||||||
|             // cmuPatientDelete |             // cmuPatientDelete | ||||||
|             //  |             //  | ||||||
|             this.cmuPatientDelete.Name = "cmuPatientDelete"; |             this.cmuPatientDelete.Name = "cmuPatientDelete"; | ||||||
|             this.cmuPatientDelete.Size = new System.Drawing.Size(134, 30); |             this.cmuPatientDelete.Size = new System.Drawing.Size(122, 24); | ||||||
|             this.cmuPatientDelete.Text = "Delete"; |             this.cmuPatientDelete.Text = "Delete"; | ||||||
|             this.cmuPatientDelete.Click += new System.EventHandler(this.cmuPatientDelete_Click); |             this.cmuPatientDelete.Click += new System.EventHandler(this.cmuPatientDelete_Click); | ||||||
|             //  |             //  | ||||||
| @@ -448,7 +448,7 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             this.tbpPrescription.Controls.Add(this.splcPrescription); |             this.tbpPrescription.Controls.Add(this.splcPrescription); | ||||||
|             this.tbpPrescription.Location = new System.Drawing.Point(4, 22); |             this.tbpPrescription.Location = new System.Drawing.Point(4, 22); | ||||||
|             this.tbpPrescription.Name = "tbpPrescription"; |             this.tbpPrescription.Name = "tbpPrescription"; | ||||||
|             this.tbpPrescription.Size = new System.Drawing.Size(658, 415); |             this.tbpPrescription.Size = new System.Drawing.Size(695, 429); | ||||||
|             this.tbpPrescription.TabIndex = 4; |             this.tbpPrescription.TabIndex = 4; | ||||||
|             this.tbpPrescription.Text = "Prescription Info"; |             this.tbpPrescription.Text = "Prescription Info"; | ||||||
|             this.tbpPrescription.UseVisualStyleBackColor = true; |             this.tbpPrescription.UseVisualStyleBackColor = true; | ||||||
| @@ -471,8 +471,8 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             // splcPrescription.Panel2 |             // splcPrescription.Panel2 | ||||||
|             //  |             //  | ||||||
|             this.splcPrescription.Panel2.Controls.Add(this.dgvPrescription); |             this.splcPrescription.Panel2.Controls.Add(this.dgvPrescription); | ||||||
|             this.splcPrescription.Size = new System.Drawing.Size(658, 415); |             this.splcPrescription.Size = new System.Drawing.Size(695, 429); | ||||||
|             this.splcPrescription.SplitterDistance = 208; |             this.splcPrescription.SplitterDistance = 215; | ||||||
|             this.splcPrescription.TabIndex = 0; |             this.splcPrescription.TabIndex = 0; | ||||||
|             //  |             //  | ||||||
|             // btnPrescriptionSearch |             // btnPrescriptionSearch | ||||||
| @@ -504,7 +504,7 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             this.lblPrescriptionPatID.AutoSize = true; |             this.lblPrescriptionPatID.AutoSize = true; | ||||||
|             this.lblPrescriptionPatID.Location = new System.Drawing.Point(61, 74); |             this.lblPrescriptionPatID.Location = new System.Drawing.Point(61, 74); | ||||||
|             this.lblPrescriptionPatID.Name = "lblPrescriptionPatID"; |             this.lblPrescriptionPatID.Name = "lblPrescriptionPatID"; | ||||||
|             this.lblPrescriptionPatID.Size = new System.Drawing.Size(57, 13); |             this.lblPrescriptionPatID.Size = new System.Drawing.Size(63, 15); | ||||||
|             this.lblPrescriptionPatID.TabIndex = 1; |             this.lblPrescriptionPatID.TabIndex = 1; | ||||||
|             this.lblPrescriptionPatID.Text = "Patient ID:"; |             this.lblPrescriptionPatID.Text = "Patient ID:"; | ||||||
|             //  |             //  | ||||||
| @@ -514,7 +514,7 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             this.lblRxNumber.Location = new System.Drawing.Point(61, 25); |             this.lblRxNumber.Location = new System.Drawing.Point(61, 25); | ||||||
|             this.lblRxNumber.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); |             this.lblRxNumber.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); | ||||||
|             this.lblRxNumber.Name = "lblRxNumber"; |             this.lblRxNumber.Name = "lblRxNumber"; | ||||||
|             this.lblRxNumber.Size = new System.Drawing.Size(63, 13); |             this.lblRxNumber.Size = new System.Drawing.Size(73, 15); | ||||||
|             this.lblRxNumber.TabIndex = 0; |             this.lblRxNumber.TabIndex = 0; | ||||||
|             this.lblRxNumber.Text = "Rx Number:"; |             this.lblRxNumber.Text = "Rx Number:"; | ||||||
|             //  |             //  | ||||||
| @@ -592,24 +592,24 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             this.cmuRx.ImageScalingSize = new System.Drawing.Size(20, 20); |             this.cmuRx.ImageScalingSize = new System.Drawing.Size(20, 20); | ||||||
|             this.cmuRx.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuRxNew, this.cmuRxEdit, this.cmuRxDelete }); |             this.cmuRx.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuRxNew, this.cmuRxEdit, this.cmuRxDelete }); | ||||||
|             this.cmuRx.Name = "cmuRx"; |             this.cmuRx.Name = "cmuRx"; | ||||||
|             this.cmuRx.Size = new System.Drawing.Size(135, 94); |             this.cmuRx.Size = new System.Drawing.Size(123, 76); | ||||||
|             //  |             //  | ||||||
|             // cmuRxNew |             // cmuRxNew | ||||||
|             //  |             //  | ||||||
|             this.cmuRxNew.Name = "cmuRxNew"; |             this.cmuRxNew.Name = "cmuRxNew"; | ||||||
|             this.cmuRxNew.Size = new System.Drawing.Size(134, 30); |             this.cmuRxNew.Size = new System.Drawing.Size(122, 24); | ||||||
|             this.cmuRxNew.Text = "New"; |             this.cmuRxNew.Text = "New"; | ||||||
|             //  |             //  | ||||||
|             // cmuRxEdit |             // cmuRxEdit | ||||||
|             //  |             //  | ||||||
|             this.cmuRxEdit.Name = "cmuRxEdit"; |             this.cmuRxEdit.Name = "cmuRxEdit"; | ||||||
|             this.cmuRxEdit.Size = new System.Drawing.Size(134, 30); |             this.cmuRxEdit.Size = new System.Drawing.Size(122, 24); | ||||||
|             this.cmuRxEdit.Text = "Edit"; |             this.cmuRxEdit.Text = "Edit"; | ||||||
|             //  |             //  | ||||||
|             // cmuRxDelete |             // cmuRxDelete | ||||||
|             //  |             //  | ||||||
|             this.cmuRxDelete.Name = "cmuRxDelete"; |             this.cmuRxDelete.Name = "cmuRxDelete"; | ||||||
|             this.cmuRxDelete.Size = new System.Drawing.Size(134, 30); |             this.cmuRxDelete.Size = new System.Drawing.Size(122, 24); | ||||||
|             this.cmuRxDelete.Text = "Delete"; |             this.cmuRxDelete.Text = "Delete"; | ||||||
|             //  |             //  | ||||||
|             // tbpPhysician |             // tbpPhysician | ||||||
| @@ -617,8 +617,8 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             this.tbpPhysician.Controls.Add(this.splcPhysician); |             this.tbpPhysician.Controls.Add(this.splcPhysician); | ||||||
|             this.tbpPhysician.Location = new System.Drawing.Point(4, 22); |             this.tbpPhysician.Location = new System.Drawing.Point(4, 22); | ||||||
|             this.tbpPhysician.Name = "tbpPhysician"; |             this.tbpPhysician.Name = "tbpPhysician"; | ||||||
|             this.tbpPhysician.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); |             this.tbpPhysician.Padding = new System.Windows.Forms.Padding(3); | ||||||
|             this.tbpPhysician.Size = new System.Drawing.Size(658, 415); |             this.tbpPhysician.Size = new System.Drawing.Size(695, 429); | ||||||
|             this.tbpPhysician.TabIndex = 2; |             this.tbpPhysician.TabIndex = 2; | ||||||
|             this.tbpPhysician.Text = "Physician Info"; |             this.tbpPhysician.Text = "Physician Info"; | ||||||
|             this.tbpPhysician.UseVisualStyleBackColor = true; |             this.tbpPhysician.UseVisualStyleBackColor = true; | ||||||
| @@ -646,8 +646,8 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             //  |             //  | ||||||
|             this.splcPhysician.Panel2.AutoScroll = true; |             this.splcPhysician.Panel2.AutoScroll = true; | ||||||
|             this.splcPhysician.Panel2.Controls.Add(this.dgvPhysician); |             this.splcPhysician.Panel2.Controls.Add(this.dgvPhysician); | ||||||
|             this.splcPhysician.Size = new System.Drawing.Size(652, 409); |             this.splcPhysician.Size = new System.Drawing.Size(689, 423); | ||||||
|             this.splcPhysician.SplitterDistance = 181; |             this.splcPhysician.SplitterDistance = 187; | ||||||
|             this.splcPhysician.TabIndex = 0; |             this.splcPhysician.TabIndex = 0; | ||||||
|             //  |             //  | ||||||
|             // txtPhysicianID |             // txtPhysicianID | ||||||
| @@ -662,7 +662,7 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             this.lblPhysicianID.AutoSize = true; |             this.lblPhysicianID.AutoSize = true; | ||||||
|             this.lblPhysicianID.Location = new System.Drawing.Point(24, 111); |             this.lblPhysicianID.Location = new System.Drawing.Point(24, 111); | ||||||
|             this.lblPhysicianID.Name = "lblPhysicianID"; |             this.lblPhysicianID.Name = "lblPhysicianID"; | ||||||
|             this.lblPhysicianID.Size = new System.Drawing.Size(69, 13); |             this.lblPhysicianID.Size = new System.Drawing.Size(77, 15); | ||||||
|             this.lblPhysicianID.TabIndex = 7; |             this.lblPhysicianID.TabIndex = 7; | ||||||
|             this.lblPhysicianID.Text = "Physician ID:"; |             this.lblPhysicianID.Text = "Physician ID:"; | ||||||
|             //  |             //  | ||||||
| @@ -811,24 +811,26 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             this.cmuPhysician.ImageScalingSize = new System.Drawing.Size(20, 20); |             this.cmuPhysician.ImageScalingSize = new System.Drawing.Size(20, 20); | ||||||
|             this.cmuPhysician.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuPhysicianNew, this.cmuPhysicianEdit, this.cmuPhysicianDelete }); |             this.cmuPhysician.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.cmuPhysicianNew, this.cmuPhysicianEdit, this.cmuPhysicianDelete }); | ||||||
|             this.cmuPhysician.Name = "cmuPhysician"; |             this.cmuPhysician.Name = "cmuPhysician"; | ||||||
|             this.cmuPhysician.Size = new System.Drawing.Size(135, 94); |             this.cmuPhysician.Size = new System.Drawing.Size(123, 76); | ||||||
|             //  |             //  | ||||||
|             // cmuPhysicianNew |             // cmuPhysicianNew | ||||||
|             //  |             //  | ||||||
|             this.cmuPhysicianNew.Name = "cmuPhysicianNew"; |             this.cmuPhysicianNew.Name = "cmuPhysicianNew"; | ||||||
|             this.cmuPhysicianNew.Size = new System.Drawing.Size(134, 30); |             this.cmuPhysicianNew.Size = new System.Drawing.Size(122, 24); | ||||||
|             this.cmuPhysicianNew.Text = "New"; |             this.cmuPhysicianNew.Text = "New"; | ||||||
|  |             this.cmuPhysicianNew.Click += new System.EventHandler(this.cmuPhysicianNew_Click); | ||||||
|             //  |             //  | ||||||
|             // cmuPhysicianEdit |             // cmuPhysicianEdit | ||||||
|             //  |             //  | ||||||
|             this.cmuPhysicianEdit.Name = "cmuPhysicianEdit"; |             this.cmuPhysicianEdit.Name = "cmuPhysicianEdit"; | ||||||
|             this.cmuPhysicianEdit.Size = new System.Drawing.Size(134, 30); |             this.cmuPhysicianEdit.Size = new System.Drawing.Size(122, 24); | ||||||
|             this.cmuPhysicianEdit.Text = "Edit"; |             this.cmuPhysicianEdit.Text = "Edit"; | ||||||
|  |             this.cmuPhysicianEdit.Click += new System.EventHandler(this.cmuPhysicianEdit_Click); | ||||||
|             //  |             //  | ||||||
|             // cmuPhysicianDelete |             // cmuPhysicianDelete | ||||||
|             //  |             //  | ||||||
|             this.cmuPhysicianDelete.Name = "cmuPhysicianDelete"; |             this.cmuPhysicianDelete.Name = "cmuPhysicianDelete"; | ||||||
|             this.cmuPhysicianDelete.Size = new System.Drawing.Size(134, 30); |             this.cmuPhysicianDelete.Size = new System.Drawing.Size(122, 24); | ||||||
|             this.cmuPhysicianDelete.Text = "Delete"; |             this.cmuPhysicianDelete.Text = "Delete"; | ||||||
|             //  |             //  | ||||||
|             // frmInfo |             // frmInfo | ||||||
| @@ -838,7 +840,7 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|             this.ClientSize = new System.Drawing.Size(749, 498); |             this.ClientSize = new System.Drawing.Size(749, 498); | ||||||
|             this.Controls.Add(this.tbcInfo); |             this.Controls.Add(this.tbcInfo); | ||||||
|             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |             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.Name = "frmInfo"; | ||||||
|             this.Text = "Louis\' Pharmacy - View Patient / Prescription Info"; |             this.Text = "Louis\' Pharmacy - View Patient / Prescription Info"; | ||||||
|             this.Load += new System.EventHandler(this.frmInfo_Load); |             this.Load += new System.EventHandler(this.frmInfo_Load); | ||||||
|   | |||||||
| @@ -375,5 +375,25 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|  |  | ||||||
|  |  | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         private void cmuPhysicianNew_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |              | ||||||
|  |             frmPhysician physicianAdd = new frmPhysician(this, true); | ||||||
|  |             physicianAdd.MdiParent = MdiParent; | ||||||
|  |             physicianAdd.StartPosition = FormStartPosition.CenterScreen;  | ||||||
|  |             physicianAdd.Show(); | ||||||
|  |             physicianAdd.Focus(); | ||||||
|  |              | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void cmuPhysicianEdit_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             frmPhysician physicianAdd = new frmPhysician(this, false); | ||||||
|  |             physicianAdd.MdiParent = MdiParent; | ||||||
|  |             physicianAdd.StartPosition = FormStartPosition.CenterScreen;  | ||||||
|  |             physicianAdd.Show(); | ||||||
|  |             physicianAdd.Focus(); | ||||||
|  |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -10,10 +10,10 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|  |  | ||||||
|         private frmInfo SourceForm; |         private frmInfo SourceForm; | ||||||
|  |  | ||||||
|         public frmPatient(frmInfo there, bool isNew) |         public frmPatient(frmInfo sourceForm, bool isNew) | ||||||
|         { |         { | ||||||
|  |  | ||||||
|             SourceForm = there; |             SourceForm = sourceForm; | ||||||
|              |              | ||||||
|             isAdd = isNew; |             isAdd = isNew; | ||||||
|             InitializeComponent(); |             InitializeComponent(); | ||||||
|   | |||||||
							
								
								
									
										292
									
								
								Louis'-Pharmacy_CNSA212-FP/frmPhysician.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										292
									
								
								Louis'-Pharmacy_CNSA212-FP/frmPhysician.Designer.cs
									
									
									
										generated
									
									
									
								
							| @@ -31,12 +31,302 @@ namespace Louis__Pharmacy_CNSA212_FP | |||||||
|         /// </summary> |         /// </summary> | ||||||
|         private void InitializeComponent() |         private void InitializeComponent() | ||||||
|         { |         { | ||||||
|             this.components = new System.ComponentModel.Container(); |             this.lblDisPurpose = new System.Windows.Forms.Label(); | ||||||
|  |             this.btnGO = new System.Windows.Forms.Button(); | ||||||
|  |             this.btnClose = new System.Windows.Forms.Button(); | ||||||
|  |             this.label1 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label2 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label3 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label4 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label5 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label6 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label7 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label8 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label9 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label10 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label11 = new System.Windows.Forms.Label(); | ||||||
|  |             this.txtPhyID = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.txtFirstName = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.txtLastName = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.txtMiddleInit = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.txtDOB = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.txtGender = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.txtSpeciality = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.txtCity = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.txtState = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.txtZip = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.txtPhone = new System.Windows.Forms.TextBox(); | ||||||
|  |             this.SuspendLayout(); | ||||||
|  |             //  | ||||||
|  |             // lblDisPurpose | ||||||
|  |             //  | ||||||
|  |             this.lblDisPurpose.Font = new System.Drawing.Font("Microsoft Sans Serif", 28.2F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); | ||||||
|  |             this.lblDisPurpose.Location = new System.Drawing.Point(218, 23); | ||||||
|  |             this.lblDisPurpose.Name = "lblDisPurpose"; | ||||||
|  |             this.lblDisPurpose.Size = new System.Drawing.Size(360, 54); | ||||||
|  |             this.lblDisPurpose.TabIndex = 0; | ||||||
|  |             this.lblDisPurpose.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; | ||||||
|  |             //  | ||||||
|  |             // btnGO | ||||||
|  |             //  | ||||||
|  |             this.btnGO.Location = new System.Drawing.Point(573, 401); | ||||||
|  |             this.btnGO.Name = "btnGO"; | ||||||
|  |             this.btnGO.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btnGO.TabIndex = 1; | ||||||
|  |             this.btnGO.UseVisualStyleBackColor = true; | ||||||
|  |             this.btnGO.Click += new System.EventHandler(this.btnGO_Click); | ||||||
|  |             //  | ||||||
|  |             // btnClose | ||||||
|  |             //  | ||||||
|  |             this.btnClose.Location = new System.Drawing.Point(680, 401); | ||||||
|  |             this.btnClose.Name = "btnClose"; | ||||||
|  |             this.btnClose.Size = new System.Drawing.Size(75, 23); | ||||||
|  |             this.btnClose.TabIndex = 2; | ||||||
|  |             this.btnClose.Text = "Close"; | ||||||
|  |             this.btnClose.UseVisualStyleBackColor = true; | ||||||
|  |             this.btnClose.Click += new System.EventHandler(this.btnClose_Click); | ||||||
|  |             //  | ||||||
|  |             // label1 | ||||||
|  |             //  | ||||||
|  |             this.label1.Location = new System.Drawing.Point(116, 127); | ||||||
|  |             this.label1.Name = "label1"; | ||||||
|  |             this.label1.Size = new System.Drawing.Size(123, 30); | ||||||
|  |             this.label1.TabIndex = 3; | ||||||
|  |             this.label1.Text = "Physician ID:"; | ||||||
|  |             this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; | ||||||
|  |             //  | ||||||
|  |             // label2 | ||||||
|  |             //  | ||||||
|  |             this.label2.Location = new System.Drawing.Point(116, 157); | ||||||
|  |             this.label2.Name = "label2"; | ||||||
|  |             this.label2.Size = new System.Drawing.Size(123, 30); | ||||||
|  |             this.label2.TabIndex = 4; | ||||||
|  |             this.label2.Text = "First Name:"; | ||||||
|  |             this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight; | ||||||
|  |             //  | ||||||
|  |             // label3 | ||||||
|  |             //  | ||||||
|  |             this.label3.Location = new System.Drawing.Point(116, 187); | ||||||
|  |             this.label3.Name = "label3"; | ||||||
|  |             this.label3.Size = new System.Drawing.Size(123, 30); | ||||||
|  |             this.label3.TabIndex = 5; | ||||||
|  |             this.label3.Text = "Last Name:"; | ||||||
|  |             this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; | ||||||
|  |             //  | ||||||
|  |             // label4 | ||||||
|  |             //  | ||||||
|  |             this.label4.Location = new System.Drawing.Point(116, 217); | ||||||
|  |             this.label4.Name = "label4"; | ||||||
|  |             this.label4.Size = new System.Drawing.Size(123, 30); | ||||||
|  |             this.label4.TabIndex = 6; | ||||||
|  |             this.label4.Text = "Middle Initial:"; | ||||||
|  |             this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight; | ||||||
|  |             //  | ||||||
|  |             // label5 | ||||||
|  |             //  | ||||||
|  |             this.label5.Location = new System.Drawing.Point(116, 247); | ||||||
|  |             this.label5.Name = "label5"; | ||||||
|  |             this.label5.Size = new System.Drawing.Size(123, 30); | ||||||
|  |             this.label5.TabIndex = 7; | ||||||
|  |             this.label5.Text = "Date of Birth:"; | ||||||
|  |             this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; | ||||||
|  |             //  | ||||||
|  |             // label6 | ||||||
|  |             //  | ||||||
|  |             this.label6.Location = new System.Drawing.Point(404, 127); | ||||||
|  |             this.label6.Name = "label6"; | ||||||
|  |             this.label6.Size = new System.Drawing.Size(123, 30); | ||||||
|  |             this.label6.TabIndex = 8; | ||||||
|  |             this.label6.Text = "City:"; | ||||||
|  |             this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; | ||||||
|  |             //  | ||||||
|  |             // label7 | ||||||
|  |             //  | ||||||
|  |             this.label7.Location = new System.Drawing.Point(404, 157); | ||||||
|  |             this.label7.Name = "label7"; | ||||||
|  |             this.label7.Size = new System.Drawing.Size(123, 30); | ||||||
|  |             this.label7.TabIndex = 9; | ||||||
|  |             this.label7.Text = "State:"; | ||||||
|  |             this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleRight; | ||||||
|  |             //  | ||||||
|  |             // label8 | ||||||
|  |             //  | ||||||
|  |             this.label8.Location = new System.Drawing.Point(404, 187); | ||||||
|  |             this.label8.Name = "label8"; | ||||||
|  |             this.label8.Size = new System.Drawing.Size(123, 30); | ||||||
|  |             this.label8.TabIndex = 10; | ||||||
|  |             this.label8.Text = "Zip Code:"; | ||||||
|  |             this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight; | ||||||
|  |             //  | ||||||
|  |             // label9 | ||||||
|  |             //  | ||||||
|  |             this.label9.Location = new System.Drawing.Point(116, 277); | ||||||
|  |             this.label9.Name = "label9"; | ||||||
|  |             this.label9.Size = new System.Drawing.Size(123, 30); | ||||||
|  |             this.label9.TabIndex = 11; | ||||||
|  |             this.label9.Text = "Gender (M/F):"; | ||||||
|  |             this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleRight; | ||||||
|  |             //  | ||||||
|  |             // label10 | ||||||
|  |             //  | ||||||
|  |             this.label10.Location = new System.Drawing.Point(404, 217); | ||||||
|  |             this.label10.Name = "label10"; | ||||||
|  |             this.label10.Size = new System.Drawing.Size(123, 30); | ||||||
|  |             this.label10.TabIndex = 12; | ||||||
|  |             this.label10.Text = "Phone Number:"; | ||||||
|  |             this.label10.TextAlign = System.Drawing.ContentAlignment.MiddleRight; | ||||||
|  |             //  | ||||||
|  |             // label11 | ||||||
|  |             //  | ||||||
|  |             this.label11.Location = new System.Drawing.Point(116, 307); | ||||||
|  |             this.label11.Name = "label11"; | ||||||
|  |             this.label11.Size = new System.Drawing.Size(123, 30); | ||||||
|  |             this.label11.TabIndex = 13; | ||||||
|  |             this.label11.Text = "Speciality"; | ||||||
|  |             this.label11.TextAlign = System.Drawing.ContentAlignment.MiddleRight; | ||||||
|  |             //  | ||||||
|  |             // txtPhyID | ||||||
|  |             //  | ||||||
|  |             this.txtPhyID.Location = new System.Drawing.Point(245, 133); | ||||||
|  |             this.txtPhyID.Name = "txtPhyID"; | ||||||
|  |             this.txtPhyID.Size = new System.Drawing.Size(100, 20); | ||||||
|  |             this.txtPhyID.TabIndex = 14; | ||||||
|  |             //  | ||||||
|  |             // txtFirstName | ||||||
|  |             //  | ||||||
|  |             this.txtFirstName.Location = new System.Drawing.Point(245, 163); | ||||||
|  |             this.txtFirstName.Name = "txtFirstName"; | ||||||
|  |             this.txtFirstName.Size = new System.Drawing.Size(100, 20); | ||||||
|  |             this.txtFirstName.TabIndex = 15; | ||||||
|  |             //  | ||||||
|  |             // txtLastName | ||||||
|  |             //  | ||||||
|  |             this.txtLastName.Location = new System.Drawing.Point(245, 193); | ||||||
|  |             this.txtLastName.Name = "txtLastName"; | ||||||
|  |             this.txtLastName.Size = new System.Drawing.Size(100, 20); | ||||||
|  |             this.txtLastName.TabIndex = 16; | ||||||
|  |             //  | ||||||
|  |             // txtMiddleInit | ||||||
|  |             //  | ||||||
|  |             this.txtMiddleInit.Location = new System.Drawing.Point(245, 223); | ||||||
|  |             this.txtMiddleInit.Name = "txtMiddleInit"; | ||||||
|  |             this.txtMiddleInit.Size = new System.Drawing.Size(100, 20); | ||||||
|  |             this.txtMiddleInit.TabIndex = 17; | ||||||
|  |             //  | ||||||
|  |             // txtDOB | ||||||
|  |             //  | ||||||
|  |             this.txtDOB.Location = new System.Drawing.Point(245, 253); | ||||||
|  |             this.txtDOB.Name = "txtDOB"; | ||||||
|  |             this.txtDOB.Size = new System.Drawing.Size(100, 20); | ||||||
|  |             this.txtDOB.TabIndex = 18; | ||||||
|  |             //  | ||||||
|  |             // txtGender | ||||||
|  |             //  | ||||||
|  |             this.txtGender.Location = new System.Drawing.Point(245, 283); | ||||||
|  |             this.txtGender.Name = "txtGender"; | ||||||
|  |             this.txtGender.Size = new System.Drawing.Size(100, 20); | ||||||
|  |             this.txtGender.TabIndex = 19; | ||||||
|  |             //  | ||||||
|  |             // txtSpeciality | ||||||
|  |             //  | ||||||
|  |             this.txtSpeciality.Location = new System.Drawing.Point(245, 313); | ||||||
|  |             this.txtSpeciality.Name = "txtSpeciality"; | ||||||
|  |             this.txtSpeciality.Size = new System.Drawing.Size(100, 20); | ||||||
|  |             this.txtSpeciality.TabIndex = 20; | ||||||
|  |             //  | ||||||
|  |             // txtCity | ||||||
|  |             //  | ||||||
|  |             this.txtCity.Location = new System.Drawing.Point(533, 133); | ||||||
|  |             this.txtCity.Name = "txtCity"; | ||||||
|  |             this.txtCity.Size = new System.Drawing.Size(100, 20); | ||||||
|  |             this.txtCity.TabIndex = 21; | ||||||
|  |             //  | ||||||
|  |             // txtState | ||||||
|  |             //  | ||||||
|  |             this.txtState.Location = new System.Drawing.Point(533, 163); | ||||||
|  |             this.txtState.Name = "txtState"; | ||||||
|  |             this.txtState.Size = new System.Drawing.Size(100, 20); | ||||||
|  |             this.txtState.TabIndex = 22; | ||||||
|  |             //  | ||||||
|  |             // txtZip | ||||||
|  |             //  | ||||||
|  |             this.txtZip.Location = new System.Drawing.Point(533, 193); | ||||||
|  |             this.txtZip.Name = "txtZip"; | ||||||
|  |             this.txtZip.Size = new System.Drawing.Size(100, 20); | ||||||
|  |             this.txtZip.TabIndex = 23; | ||||||
|  |             //  | ||||||
|  |             // txtPhone | ||||||
|  |             //  | ||||||
|  |             this.txtPhone.Location = new System.Drawing.Point(533, 223); | ||||||
|  |             this.txtPhone.Name = "txtPhone"; | ||||||
|  |             this.txtPhone.Size = new System.Drawing.Size(100, 20); | ||||||
|  |             this.txtPhone.TabIndex = 24; | ||||||
|  |             //  | ||||||
|  |             // frmPhysician | ||||||
|  |             //  | ||||||
|  |             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | ||||||
|             this.ClientSize = new System.Drawing.Size(800, 450); |             this.ClientSize = new System.Drawing.Size(800, 450); | ||||||
|  |             this.Controls.Add(this.txtPhone); | ||||||
|  |             this.Controls.Add(this.txtZip); | ||||||
|  |             this.Controls.Add(this.txtState); | ||||||
|  |             this.Controls.Add(this.txtCity); | ||||||
|  |             this.Controls.Add(this.txtSpeciality); | ||||||
|  |             this.Controls.Add(this.txtGender); | ||||||
|  |             this.Controls.Add(this.txtDOB); | ||||||
|  |             this.Controls.Add(this.txtMiddleInit); | ||||||
|  |             this.Controls.Add(this.txtLastName); | ||||||
|  |             this.Controls.Add(this.txtFirstName); | ||||||
|  |             this.Controls.Add(this.txtPhyID); | ||||||
|  |             this.Controls.Add(this.label11); | ||||||
|  |             this.Controls.Add(this.label10); | ||||||
|  |             this.Controls.Add(this.label9); | ||||||
|  |             this.Controls.Add(this.label8); | ||||||
|  |             this.Controls.Add(this.label7); | ||||||
|  |             this.Controls.Add(this.label6); | ||||||
|  |             this.Controls.Add(this.label5); | ||||||
|  |             this.Controls.Add(this.label4); | ||||||
|  |             this.Controls.Add(this.label3); | ||||||
|  |             this.Controls.Add(this.label2); | ||||||
|  |             this.Controls.Add(this.label1); | ||||||
|  |             this.Controls.Add(this.btnClose); | ||||||
|  |             this.Controls.Add(this.btnGO); | ||||||
|  |             this.Controls.Add(this.lblDisPurpose); | ||||||
|  |             this.Name = "frmPhysician"; | ||||||
|             this.Text = "frmPhysician"; |             this.Text = "frmPhysician"; | ||||||
|  |             this.ResumeLayout(false); | ||||||
|  |             this.PerformLayout(); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         private System.Windows.Forms.Label label6; | ||||||
|  |         private System.Windows.Forms.Label label7; | ||||||
|  |         private System.Windows.Forms.Label label8; | ||||||
|  |         private System.Windows.Forms.Label label9; | ||||||
|  |         private System.Windows.Forms.Label label10; | ||||||
|  |         private System.Windows.Forms.Label label11; | ||||||
|  |         private System.Windows.Forms.TextBox txtPhyID; | ||||||
|  |         private System.Windows.Forms.TextBox txtFirstName; | ||||||
|  |         private System.Windows.Forms.TextBox txtLastName; | ||||||
|  |         private System.Windows.Forms.TextBox txtMiddleInit; | ||||||
|  |         private System.Windows.Forms.TextBox txtDOB; | ||||||
|  |         private System.Windows.Forms.TextBox txtGender; | ||||||
|  |         private System.Windows.Forms.TextBox txtSpeciality; | ||||||
|  |         private System.Windows.Forms.TextBox txtCity; | ||||||
|  |         private System.Windows.Forms.TextBox txtState; | ||||||
|  |         private System.Windows.Forms.TextBox txtZip; | ||||||
|  |         private System.Windows.Forms.TextBox txtPhone; | ||||||
|  |  | ||||||
|  |         private System.Windows.Forms.Label label1; | ||||||
|  |         private System.Windows.Forms.Label label2; | ||||||
|  |         private System.Windows.Forms.Label label3; | ||||||
|  |         private System.Windows.Forms.Label label4; | ||||||
|  |         private System.Windows.Forms.Label label5; | ||||||
|  |  | ||||||
|  |         private System.Windows.Forms.Button btnGO; | ||||||
|  |         private System.Windows.Forms.Button btnClose; | ||||||
|  |  | ||||||
|  |         private System.Windows.Forms.Label lblDisPurpose; | ||||||
|  |  | ||||||
|         #endregion |         #endregion | ||||||
|     } |     } | ||||||
| } | } | ||||||
| @@ -1,12 +1,45 @@ | |||||||
| using System.Windows.Forms; | using System; | ||||||
|  | using System.Windows.Forms; | ||||||
|  |  | ||||||
| namespace Louis__Pharmacy_CNSA212_FP | namespace Louis__Pharmacy_CNSA212_FP | ||||||
| { | { | ||||||
|     public partial class frmPhysician : Form |     public partial class frmPhysician : Form | ||||||
|     { |     { | ||||||
|         public frmPhysician() |  | ||||||
|  |         private bool isAdd; | ||||||
|  |         private frmInfo SourceForm; | ||||||
|  |          | ||||||
|  |         public frmPhysician(frmInfo sourceForm, bool isNew) | ||||||
|         { |         { | ||||||
|  |              | ||||||
|  |             SourceForm = sourceForm; | ||||||
|  |              | ||||||
|  |             isAdd = isNew; | ||||||
|             InitializeComponent(); |             InitializeComponent(); | ||||||
|  |  | ||||||
|  |             txtState.MaxLength = 2; | ||||||
|  |  | ||||||
|  |             if (isNew) | ||||||
|  |             { | ||||||
|  |                 lblDisPurpose.Text = @"Add Physician"; | ||||||
|  |                 btnGO.Text = @"Create"; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 lblDisPurpose.Text = @"Edit Physician"; | ||||||
|  |                 btnGO.Text = @"Update"; | ||||||
|  |             } | ||||||
|  |              | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void btnClose_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |          Close();    | ||||||
|  |         } | ||||||
|  |  | ||||||
|  |         private void btnGO_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |              | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| } | } | ||||||
							
								
								
									
										120
									
								
								Louis'-Pharmacy_CNSA212-FP/frmPhysician.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								Louis'-Pharmacy_CNSA212-FP/frmPhysician.resx
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <root> | ||||||
|  |   <!--  | ||||||
|  |     Microsoft ResX Schema  | ||||||
|  |      | ||||||
|  |     Version 2.0 | ||||||
|  |      | ||||||
|  |     The primary goals of this format is to allow a simple XML format  | ||||||
|  |     that is mostly human readable. The generation and parsing of the  | ||||||
|  |     various data types are done through the TypeConverter classes  | ||||||
|  |     associated with the data types. | ||||||
|  |      | ||||||
|  |     Example: | ||||||
|  |      | ||||||
|  |     ... ado.net/XML headers & schema ... | ||||||
|  |     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||||
|  |     <resheader name="version">2.0</resheader> | ||||||
|  |     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||||
|  |     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||||
|  |     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||||
|  |     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||||
|  |     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||||
|  |         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||||
|  |     </data> | ||||||
|  |     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||||
|  |         <comment>This is a comment</comment> | ||||||
|  |     </data> | ||||||
|  |                  | ||||||
|  |     There are any number of "resheader" rows that contain simple  | ||||||
|  |     name/value pairs. | ||||||
|  |      | ||||||
|  |     Each data row contains a name, and value. The row also contains a  | ||||||
|  |     type or mimetype. Type corresponds to a .NET class that support  | ||||||
|  |     text/value conversion through the TypeConverter architecture.  | ||||||
|  |     Classes that don't support this are serialized and stored with the  | ||||||
|  |     mimetype set. | ||||||
|  |      | ||||||
|  |     The mimetype is used for serialized objects, and tells the  | ||||||
|  |     ResXResourceReader how to depersist the object. This is currently not  | ||||||
|  |     extensible. For a given mimetype the value must be set accordingly: | ||||||
|  |      | ||||||
|  |     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||||
|  |     that the ResXResourceWriter will generate, however the reader can  | ||||||
|  |     read any of the formats listed below. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.binary.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.soap.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |  | ||||||
|  |     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||||
|  |     value   : The object must be serialized into a byte array  | ||||||
|  |             : using a System.ComponentModel.TypeConverter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |     --> | ||||||
|  |   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||||
|  |     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||||
|  |     <xsd:element name="root" msdata:IsDataSet="true"> | ||||||
|  |       <xsd:complexType> | ||||||
|  |         <xsd:choice maxOccurs="unbounded"> | ||||||
|  |           <xsd:element name="metadata"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="assembly"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:attribute name="alias" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="data"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="resheader"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |         </xsd:choice> | ||||||
|  |       </xsd:complexType> | ||||||
|  |     </xsd:element> | ||||||
|  |   </xsd:schema> | ||||||
|  |   <resheader name="resmimetype"> | ||||||
|  |     <value>text/microsoft-resx</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="version"> | ||||||
|  |     <value>2.0</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="reader"> | ||||||
|  |     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="writer"> | ||||||
|  |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  | </root> | ||||||
		Reference in New Issue
	
	Block a user