1 | #region License Information
|
---|
2 | /* HeuristicLab
|
---|
3 | * Copyright (C) 2002-2011 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 |
|
---|
22 | using System;
|
---|
23 | using System.Drawing;
|
---|
24 | using System.Xml.Serialization;
|
---|
25 |
|
---|
26 | namespace HeuristicLab.Clients.Hive.Views.Administration {
|
---|
27 |
|
---|
28 | public class HiveAppointment : Calendar.Appointment {
|
---|
29 | private Guid recurringId = Guid.Empty;
|
---|
30 |
|
---|
31 | [XmlIgnore]
|
---|
32 | public int Layer {
|
---|
33 | get { return base.Layer; }
|
---|
34 | set { base.Layer = value; }
|
---|
35 | }
|
---|
36 |
|
---|
37 | [XmlIgnore]
|
---|
38 | public string Group {
|
---|
39 | get { return base.Group; }
|
---|
40 | set { base.Group = value; }
|
---|
41 | }
|
---|
42 |
|
---|
43 | [XmlAttribute("Locked")]
|
---|
44 | public bool Locked {
|
---|
45 | get { return base.Locked; }
|
---|
46 | set { base.Locked = value; }
|
---|
47 | }
|
---|
48 |
|
---|
49 | [XmlIgnore]
|
---|
50 | public Color Color {
|
---|
51 | get { return base.Color; }
|
---|
52 | set { base.Color = value; }
|
---|
53 | }
|
---|
54 |
|
---|
55 | [XmlIgnore]
|
---|
56 | public Color TextColor {
|
---|
57 | get { return base.TextColor; }
|
---|
58 | set { base.TextColor = value; }
|
---|
59 | }
|
---|
60 |
|
---|
61 | [XmlIgnore]
|
---|
62 | public Color BorderColor {
|
---|
63 | get { return base.BorderColor; }
|
---|
64 | set { base.BorderColor = value; }
|
---|
65 | }
|
---|
66 |
|
---|
67 | [XmlIgnore]
|
---|
68 | public bool DrawBorder {
|
---|
69 | get { return base.DrawBorder; }
|
---|
70 | set { base.DrawBorder = value; }
|
---|
71 | }
|
---|
72 |
|
---|
73 | [XmlAttribute("AllDayEvent")]
|
---|
74 | public bool AllDayEvent {
|
---|
75 | get { return base.AllDayEvent; }
|
---|
76 | set { base.AllDayEvent = value; }
|
---|
77 | }
|
---|
78 |
|
---|
79 | [XmlAttribute("Recurring")]
|
---|
80 | public bool Recurring {
|
---|
81 | get { return base.Recurring; }
|
---|
82 | set { base.Recurring = value; }
|
---|
83 | }
|
---|
84 |
|
---|
85 | [XmlAttribute("RecurringId")]
|
---|
86 | public Guid RecurringId {
|
---|
87 | get { return recurringId; }
|
---|
88 | set { recurringId = value; }
|
---|
89 | }
|
---|
90 |
|
---|
91 | [XmlAttribute("EndDate")]
|
---|
92 | public DateTime EndDate {
|
---|
93 | get { return base.EndDate; }
|
---|
94 | set { base.EndDate = value; }
|
---|
95 | }
|
---|
96 |
|
---|
97 | [XmlIgnore]
|
---|
98 | public int AppointmentId {
|
---|
99 | get { return base.AppointmentId; }
|
---|
100 | set { base.AppointmentId = value; }
|
---|
101 | }
|
---|
102 |
|
---|
103 | [XmlElement("Subject")]
|
---|
104 | public string Subject {
|
---|
105 | get { return base.Subject; }
|
---|
106 | set { base.Subject = value; }
|
---|
107 | }
|
---|
108 |
|
---|
109 | [XmlIgnore]
|
---|
110 | public string Location {
|
---|
111 | get { return base.Location; }
|
---|
112 | set { base.Location = value; }
|
---|
113 | }
|
---|
114 |
|
---|
115 | [XmlIgnore]
|
---|
116 | public string Note {
|
---|
117 | get { return base.Note; }
|
---|
118 | set { base.Note = value; }
|
---|
119 | }
|
---|
120 | }
|
---|
121 | }
|
---|