- Timestamp:
- May 5, 2011, 5:11:02 AM (13 years ago)
- Location:
- Scheduling/branches/Radiology-Support/cs/bsdx0200GUISourceCode
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/branches/Radiology-Support/cs/bsdx0200GUISourceCode
-
Property svn:mergeinfo
set to
/Scheduling/trunk/cs/bsdx0200GUISourceCode merged eligible
-
Property svn:mergeinfo
set to
-
Scheduling/branches/Radiology-Support/cs/bsdx0200GUISourceCode/DApptSearch.cs
r1123 r1168 5 5 using System.Data; 6 6 using System.Linq; 7 //using System.Data.OleDb;8 7 9 8 namespace IndianHealthService.ClinicalScheduling … … 114 113 { 115 114 116 this.Text = "Searching for Appointments in: " + string.Join(" | ", alResources.Cast<string>());115 this.Text = "Searching for available slots in: " + string.Join(" | ", alResources.Cast<string>()); 117 116 118 117 this.m_DocManager = docManager; … … 275 274 { 276 275 this.panel1 = new System.Windows.Forms.Panel(); 276 this.lblMessage = new System.Windows.Forms.Label(); 277 277 this.cmdSearch = new System.Windows.Forms.Button(); 278 278 this.cmdCancel = new System.Windows.Forms.Button(); … … 313 313 this.colSlots = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 314 314 this.colAccessType = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); 315 this.lblMessage = new System.Windows.Forms.Label();316 315 this.panel1.SuspendLayout(); 317 316 this.pnlDescription.SuspendLayout(); … … 335 334 this.panel1.TabIndex = 4; 336 335 // 336 // lblMessage 337 // 338 this.lblMessage.AutoSize = true; 339 this.lblMessage.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 340 this.lblMessage.ForeColor = System.Drawing.Color.Red; 341 this.lblMessage.Location = new System.Drawing.Point(337, 16); 342 this.lblMessage.Name = "lblMessage"; 343 this.lblMessage.Size = new System.Drawing.Size(0, 16); 344 this.lblMessage.TabIndex = 3; 345 // 337 346 // cmdSearch 338 347 // … … 390 399 this.lblDescription.Size = new System.Drawing.Size(917, 45); 391 400 this.lblDescription.TabIndex = 1; 392 this.lblDescription.Text = "Search for available appointment times using this panel. You may narrow your sea" +393 " rch by selecting an access type or by selecting specific days of the week or tim" +394 " es ofday.";401 this.lblDescription.Text = "Search for available slots times using this panel. You may narrow your search by" + 402 " selecting an access type or by selecting specific days of the week or times of " + 403 "day."; 395 404 // 396 405 // groupBox1 … … 676 685 this.colAccessType.Text = "Access Type"; 677 686 this.colAccessType.Width = 101; 678 //679 // lblMessage680 //681 this.lblMessage.AutoSize = true;682 this.lblMessage.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));683 this.lblMessage.ForeColor = System.Drawing.Color.Red;684 this.lblMessage.Location = new System.Drawing.Point(337, 16);685 this.lblMessage.Name = "lblMessage";686 this.lblMessage.Size = new System.Drawing.Size(0, 16);687 this.lblMessage.TabIndex = 3;688 687 // 689 688 // DApptSearch … … 899 898 900 899 if (items.Length > 0) lstResults.Items.AddRange(items); // add new data 901 else this.lblMessage.Text = "No available Appointment Slots Found!";900 else this.lblMessage.Text = "No available slots found!"; 902 901 903 902 lstResults.EndUpdate(); // ok done adding items, draw now. … … 944 943 { 945 944 this.DialogResult = DialogResult.None; 946 lblMessage.Text = "No Appointment Slot selected!";945 lblMessage.Text = "No slot selected!"; 947 946 return; 948 947 } 949 948 950 long availabilityKey = long.Parse(lstResults.SelectedItems[0].SubItems[0].Text);949 int availabilityKey = Int32.Parse(lstResults.SelectedItems[0].SubItems[0].Text); 951 950 _selectedAvailability = (from av in lstResultantAvailabilities 952 951 where av.AvailabilityType == availabilityKey
Note:
See TracChangeset
for help on using the changeset viewer.