diff --git a/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj.user b/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj.user index ffde694..fa81f46 100644 --- a/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj.user +++ b/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj.user @@ -36,7 +36,7 @@ Project - /s=192.168.56.101 /p=9260 /a=shabiel12 /v=catdog.66 + /s=172.16.16.51 /p=9250 /a=s.habiel /v=catdog.55 C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\IEExec.exe diff --git a/cs/bsdx0200GUISourceCode/ClinicalScheduling.sln b/cs/bsdx0200GUISourceCode/ClinicalScheduling.sln index d0ecc6a..d56eac2 100644 --- a/cs/bsdx0200GUISourceCode/ClinicalScheduling.sln +++ b/cs/bsdx0200GUISourceCode/ClinicalScheduling.sln @@ -12,12 +12,12 @@ Global GlobalSection(ProjectConfigurationPlatforms) = postSolution {8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}.Release|Any CPU.Build.0 = Release|Any CPU + {8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {8C05C4F7-FE81-479F-87A0-44E04C7F6E0F}.Release|Any CPU.Build.0 = Debug|Any CPU {DE8E4CC9-4F3A-4E32-8DFE-EE5692E8FC45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {DE8E4CC9-4F3A-4E32-8DFE-EE5692E8FC45}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DE8E4CC9-4F3A-4E32-8DFE-EE5692E8FC45}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DE8E4CC9-4F3A-4E32-8DFE-EE5692E8FC45}.Release|Any CPU.Build.0 = Release|Any CPU + {DE8E4CC9-4F3A-4E32-8DFE-EE5692E8FC45}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {DE8E4CC9-4F3A-4E32-8DFE-EE5692E8FC45}.Release|Any CPU.Build.0 = Debug|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/cs/bsdx0200GUISourceCode/ClinicalScheduling.suo b/cs/bsdx0200GUISourceCode/ClinicalScheduling.suo index 4962895..cca4d52 100644 Binary files a/cs/bsdx0200GUISourceCode/ClinicalScheduling.suo and b/cs/bsdx0200GUISourceCode/ClinicalScheduling.suo differ diff --git a/cs/bsdx0200GUISourceCode/DMassSlotDelete.Designer.cs b/cs/bsdx0200GUISourceCode/DMassSlotDelete.Designer.cs new file mode 100644 index 0000000..2d5d5df --- /dev/null +++ b/cs/bsdx0200GUISourceCode/DMassSlotDelete.Designer.cs @@ -0,0 +1,151 @@ +namespace IndianHealthService.ClinicalScheduling +{ + partial class DMassSlotDelete + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.dtStart = new System.Windows.Forms.DateTimePicker(); + this.dtEnd = new System.Windows.Forms.DateTimePicker(); + this.lblStart = new System.Windows.Forms.Label(); + this.lblEnd = new System.Windows.Forms.Label(); + this.btnOK = new System.Windows.Forms.Button(); + this.btnCancel = new System.Windows.Forms.Button(); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components); + this.tableLayoutPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); + this.SuspendLayout(); + // + // dtStart + // + this.dtStart.Location = new System.Drawing.Point(163, 68); + this.dtStart.Name = "dtStart"; + this.dtStart.Size = new System.Drawing.Size(200, 20); + this.dtStart.TabIndex = 0; + // + // dtEnd + // + this.dtEnd.Location = new System.Drawing.Point(163, 135); + this.dtEnd.Name = "dtEnd"; + this.dtEnd.Size = new System.Drawing.Size(200, 20); + this.dtEnd.TabIndex = 1; + // + // lblStart + // + this.lblStart.AutoSize = true; + this.lblStart.Location = new System.Drawing.Point(24, 68); + this.lblStart.Name = "lblStart"; + this.lblStart.Size = new System.Drawing.Size(57, 13); + this.lblStart.TabIndex = 2; + this.lblStart.Text = "Start Date"; + // + // lblEnd + // + this.lblEnd.AutoSize = true; + this.lblEnd.Location = new System.Drawing.Point(24, 135); + this.lblEnd.Name = "lblEnd"; + this.lblEnd.Size = new System.Drawing.Size(51, 13); + this.lblEnd.TabIndex = 3; + this.lblEnd.Text = "End Date"; + // + // btnOK + // + this.btnOK.Location = new System.Drawing.Point(3, 3); + this.btnOK.Name = "btnOK"; + this.btnOK.Size = new System.Drawing.Size(75, 23); + this.btnOK.TabIndex = 4; + this.btnOK.Text = "OK"; + this.btnOK.UseVisualStyleBackColor = true; + this.btnOK.Click += new System.EventHandler(this.btnOK_Click); + // + // btnCancel + // + this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnCancel.Location = new System.Drawing.Point(94, 3); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(75, 23); + this.btnCancel.TabIndex = 5; + this.btnCancel.Text = "Cancel"; + this.btnCancel.UseVisualStyleBackColor = true; + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.tableLayoutPanel1.ColumnCount = 2; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 49.62406F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50.37594F)); + this.tableLayoutPanel1.Controls.Add(this.btnOK, 0, 0); + this.tableLayoutPanel1.Controls.Add(this.btnCancel, 1, 0); + this.tableLayoutPanel1.Location = new System.Drawing.Point(307, 226); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 1; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(185, 29); + this.tableLayoutPanel1.TabIndex = 6; + // + // errorProvider + // + this.errorProvider.ContainerControl = this; + // + // DMassSlotDelete + // + this.AcceptButton = this.btnOK; + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.btnCancel; + this.ClientSize = new System.Drawing.Size(504, 267); + this.ControlBox = false; + this.Controls.Add(this.tableLayoutPanel1); + this.Controls.Add(this.lblEnd); + this.Controls.Add(this.lblStart); + this.Controls.Add(this.dtEnd); + this.Controls.Add(this.dtStart); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Name = "DMassSlotDelete"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.Text = "Mass Slot Delete"; + this.tableLayoutPanel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.DateTimePicker dtStart; + private System.Windows.Forms.DateTimePicker dtEnd; + private System.Windows.Forms.Label lblStart; + private System.Windows.Forms.Label lblEnd; + private System.Windows.Forms.Button btnOK; + private System.Windows.Forms.Button btnCancel; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private System.Windows.Forms.ErrorProvider errorProvider; + } +} \ No newline at end of file diff --git a/cs/bsdx0200GUISourceCode/DMassSlotDelete.cs b/cs/bsdx0200GUISourceCode/DMassSlotDelete.cs new file mode 100644 index 0000000..0362f00 --- /dev/null +++ b/cs/bsdx0200GUISourceCode/DMassSlotDelete.cs @@ -0,0 +1,35 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Windows.Forms; + +namespace IndianHealthService.ClinicalScheduling +{ + public partial class DMassSlotDelete : Form + { + public DMassSlotDelete() + { + InitializeComponent(); + } + + public DateTime StartDate { get { return this.dtStart.Value; } } + public DateTime EndDate { get { return this.dtEnd.Value; } } + + private void btnOK_Click(object sender, EventArgs e) + { + if (EndDate < StartDate) + { + errorProvider.SetError(dtEnd, "End Date cannot be before Start Date"); + this.DialogResult = DialogResult.None; + return; + } + + this.DialogResult = DialogResult.OK; + } + + } +} diff --git a/cs/bsdx0200GUISourceCode/DMassSlotDelete.resx b/cs/bsdx0200GUISourceCode/DMassSlotDelete.resx new file mode 100644 index 0000000..b94e967 --- /dev/null +++ b/cs/bsdx0200GUISourceCode/DMassSlotDelete.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file