Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Clients.Hive.Administrator/3.3/HiveAppointment.cs @ 8228

Last change on this file since 8228 was 7259, checked in by swagner, 13 years ago

Updated year of copyrights to 2012 (#1716)

File size: 3.6 KB
Line 
1#region License Information
2/* HeuristicLab
3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
4 *
5 * This file is part of HeuristicLab.
6 *
7 * HeuristicLab is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * HeuristicLab is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
19 */
20#endregion
21
22using System;
23using System.Drawing;
24using System.Xml.Serialization;
25
26namespace HeuristicLab.Clients.Hive.Administrator.Views {
27
28  public class HiveAppointment : Calendar.Appointment {
29    private Guid recurringId = Guid.Empty;
30
31    [XmlIgnore]
32    public bool Changed { get; set; }
33
34    public HiveAppointment()
35      : base() {
36      Changed = false;
37    }
38
39    [XmlIgnore]
40    public new int Layer {
41      get { return base.Layer; }
42      set { base.Layer = value; }
43    }
44
45    [XmlIgnore]
46    public new string Group {
47      get { return base.Group; }
48      set { base.Group = value; }
49    }
50
51    [XmlAttribute("Locked")]
52    public new bool Locked {
53      get { return base.Locked; }
54      set { base.Locked = value; }
55    }
56
57    [XmlIgnore]
58    public new Color Color {
59      get { return base.Color; }
60      set { base.Color = value; }
61    }
62
63    [XmlIgnore]
64    public new Color TextColor {
65      get { return base.TextColor; }
66      set { base.TextColor = value; }
67    }
68
69    [XmlIgnore]
70    public new Color BorderColor {
71      get { return base.BorderColor; }
72      set { base.BorderColor = value; }
73    }
74
75    [XmlIgnore]
76    public new bool DrawBorder {
77      get { return base.DrawBorder; }
78      set { base.DrawBorder = value; }
79    }
80
81    [XmlAttribute("AllDayEvent")]
82    public new bool AllDayEvent {
83      get { return base.AllDayEvent; }
84      set { base.AllDayEvent = value; Changed = true; }
85    }
86
87    [XmlAttribute("Recurring")]
88    public new bool Recurring {
89      get { return base.Recurring; }
90      set { base.Recurring = value; Changed = true; }
91    }
92
93    [XmlAttribute("RecurringId")]
94    public Guid RecurringId {
95      get { return recurringId; }
96      set { recurringId = value; Changed = true; }
97    }
98
99    [XmlAttribute("EndDate")]
100    public new DateTime EndDate {
101      get { return base.EndDate; }
102      set { base.EndDate = value; Changed = true; }
103    }
104
105    [XmlAttribute("StartDate")]
106    public new DateTime StartDate {
107      get { return base.StartDate; }
108      set { base.StartDate = value; Changed = true; }
109    }
110
111    [XmlIgnore]
112    public new int AppointmentId {
113      get { return base.AppointmentId; }
114      set { base.AppointmentId = value; }
115    }
116
117    [XmlElement("Subject")]
118    public new string Subject {
119      get { return base.Subject; }
120      set { base.Subject = value; }
121    }
122
123    [XmlIgnore]
124    public new string Location {
125      get { return base.Location; }
126      set { base.Location = value; }
127    }
128
129    [XmlIgnore]
130    public new string Note {
131      get { return base.Note; }
132      set { base.Note = value; }
133    }
134
135    [XmlIgnore]
136    public bool Deleted { get; set; }
137
138    [XmlIgnore]
139    public Guid Id { get; set; }
140  }
141}
Note: See TracBrowser for help on using the repository browser.