Changeset 3220 for trunk/sources/HeuristicLab.Hive.Server.Console
- Timestamp:
- 03/25/10 19:57:44 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Server.Console/3.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/CgCalendar.Designer.cs
r3203 r3220 24 24 /// </summary> 25 25 private void InitializeComponent() { 26 Calendar.DrawTool drawTool 2= new Calendar.DrawTool();26 Calendar.DrawTool drawTool1 = new Calendar.DrawTool(); 27 27 this.dvOnline = new Calendar.DayView(); 28 28 this.btnSaveCal = new System.Windows.Forms.Button(); … … 46 46 // dvOnline 47 47 // 48 drawTool 2.DayView = this.dvOnline;49 this.dvOnline.ActiveTool = drawTool 2;48 drawTool1.DayView = this.dvOnline; 49 this.dvOnline.ActiveTool = drawTool1; 50 50 this.dvOnline.AmPmDisplay = false; 51 51 this.dvOnline.AppointmentDuration = Calendar.AppointmentSlotDuration.SixtyMinutes; … … 67 67 this.dvOnline.StartDate = new System.DateTime(((long)(0))); 68 68 this.dvOnline.TabIndex = 42; 69 this.dvOnline.OnSelectionChanged += new System.EventHandler<System.EventArgs>(this.dvOnline_OnSelectionChanged); 69 70 // 70 71 // btnSaveCal … … 231 232 this.Controls.Add(this.dvOnline); 232 233 this.Name = "CgCalendar"; 233 this.Text = "Calendar";234 234 this.groupBox1.ResumeLayout(false); 235 235 this.groupBox1.PerformLayout(); -
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/CgCalendar.cs
r3203 r3220 28 28 29 29 public Guid ResourceId { get; set; } 30 public string Name { get; set; } 30 31 31 32 [XmlArray("Appointments")] … … 33 34 public List<Appointment> onlineTimes = new List<Appointment>(); 34 35 35 public CgCalendar(Guid resourceId) { 36 public CgCalendar(Guid resourceId, String name) { 37 Name = name; 36 38 ResourceId = resourceId; 39 this.Text = Name + "(" + ResourceId + ")"; 37 40 InitializeComponent(); 38 41 InitCalender(); -
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.cs
r3022 r3220 131 131 menuItemOpenCalendar.Click += (s, e) => { 132 132 if (tvClientControl.SelectedNode != null) { 133 CgCalendar cal = new CgCalendar(((ClientGroupDto)tvClientControl.SelectedNode.Tag).Id );133 CgCalendar cal = new CgCalendar(((ClientGroupDto)tvClientControl.SelectedNode.Tag).Id, ((ClientGroupDto)tvClientControl.SelectedNode.Tag).Name); 134 134 cal.Show(); 135 135 }
Note: See TracChangeset
for help on using the changeset viewer.