Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/25/10 19:57:44 (15 years ago)
Author:
kgrading
Message:

improved the DAL further, changed minor details for the presentation (#830)

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  
    2424    /// </summary>
    2525    private void InitializeComponent() {
    26       Calendar.DrawTool drawTool2 = new Calendar.DrawTool();
     26      Calendar.DrawTool drawTool1 = new Calendar.DrawTool();
    2727      this.dvOnline = new Calendar.DayView();
    2828      this.btnSaveCal = new System.Windows.Forms.Button();
     
    4646      // dvOnline
    4747      //
    48       drawTool2.DayView = this.dvOnline;
    49       this.dvOnline.ActiveTool = drawTool2;
     48      drawTool1.DayView = this.dvOnline;
     49      this.dvOnline.ActiveTool = drawTool1;
    5050      this.dvOnline.AmPmDisplay = false;
    5151      this.dvOnline.AppointmentDuration = Calendar.AppointmentSlotDuration.SixtyMinutes;
     
    6767      this.dvOnline.StartDate = new System.DateTime(((long)(0)));
    6868      this.dvOnline.TabIndex = 42;
     69      this.dvOnline.OnSelectionChanged += new System.EventHandler<System.EventArgs>(this.dvOnline_OnSelectionChanged);
    6970      //
    7071      // btnSaveCal
     
    231232      this.Controls.Add(this.dvOnline);
    232233      this.Name = "CgCalendar";
    233       this.Text = "Calendar";
    234234      this.groupBox1.ResumeLayout(false);
    235235      this.groupBox1.PerformLayout();
  • trunk/sources/HeuristicLab.Hive.Server.Console/3.2/CgCalendar.cs

    r3203 r3220  
    2828
    2929    public Guid ResourceId { get; set; }
     30    public string Name { get; set; }
    3031
    3132    [XmlArray("Appointments")]
     
    3334    public List<Appointment> onlineTimes = new List<Appointment>();
    3435
    35     public CgCalendar(Guid resourceId) {
     36    public CgCalendar(Guid resourceId, String name) {     
     37      Name = name;
    3638      ResourceId = resourceId;
     39      this.Text = Name + "(" + ResourceId + ")";
    3740      InitializeComponent();
    3841      InitCalender();
  • trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.cs

    r3022 r3220  
    131131      menuItemOpenCalendar.Click += (s, e) => {
    132132                                      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);                                       
    134134                                        cal.Show();
    135135                                      }
Note: See TracChangeset for help on using the changeset viewer.