- Timestamp:
- 12/07/11 12:49:11 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ScheduleView.cs
r6976 r7146 243 243 244 244 private void dvOnline_OnSelectionChanged(object sender, EventArgs e) { 245 //btCreate.Enabled = true;246 245 if (dvOnline.Selection == SelectionType.DateRange) { 247 246 dtpFrom.Text = dvOnline.SelectionStart.ToShortDateString(); … … 249 248 txttimeFrom.Text = dvOnline.SelectionStart.ToShortTimeString(); 250 249 txttimeTo.Text = dvOnline.SelectionEnd.ToShortTimeString(); 251 252 btCreate.Text = "Save"; 250 btCreate.Text = "Create Appointment"; 253 251 } 254 252 255 253 if (dvOnline.Selection == SelectionType.Appointment) { 256 257 254 dtpFrom.Text = dvOnline.SelectedAppointment.StartDate.ToShortDateString(); 258 255 dtpTo.Text = dvOnline.SelectedAppointment.EndDate.ToShortDateString(); … … 261 258 262 259 if (dvOnline.SelectedAppointment.Recurring) 263 //btCreate.Enabled = false;264 260 //also change the caption of the save button 265 261 btCreate.Text = "Save changes"; 266 262 } 267 268 263 if (dvOnline.Selection == SelectionType.None) { 269 264 //also change the caption of the save button 270 btCreate.Text = " Save";265 btCreate.Text = "Create Appointment"; 271 266 } 272 267 }
Note: See TracChangeset
for help on using the changeset viewer.