Changeset 2006
- Timestamp:
- 06/04/09 17:14:53 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 1 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Common/3.2/HeuristicLab.Hive.Client.Common-3.2.csproj
r1802 r2006 67 67 </PropertyGroup> 68 68 <ItemGroup> 69 <Reference Include="Calendar.DayView, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 70 <SpecificVersion>False</SpecificVersion> 71 <HintPath>.\Calendar.DayView.dll</HintPath> 72 </Reference> 69 73 <Reference Include="System" /> 70 74 <Reference Include="System.Core"> -
trunk/sources/HeuristicLab.Hive.Client.Console/3.2/HeuristicLab.Hive.Client.Console-3.2.csproj
r1930 r2006 68 68 </PropertyGroup> 69 69 <ItemGroup> 70 <Reference Include="Calendar.DayView, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">71 <SpecificVersion>False</SpecificVersion>72 <HintPath>.\Calendar.DayView.dll</HintPath>73 </Reference>74 70 <Reference Include="System" /> 75 71 <Reference Include="System.Core"> … … 164 160 </ItemGroup> 165 161 <ItemGroup> 162 <ProjectReference Include="..\..\HeuristicLab.Hive.Client.Common\3.2\HeuristicLab.Hive.Client.Common-3.2.csproj"> 163 <Project>{89F4BC52-C174-481E-9BD2-3814171020E8}</Project> 164 <Name>HeuristicLab.Hive.Client.Common-3.2</Name> 165 </ProjectReference> 166 166 <ProjectReference Include="..\..\HeuristicLab.Hive.Contracts\3.2\HeuristicLab.Hive.Contracts-3.2.csproj"> 167 167 <Project>{134F93D7-E7C8-4ECD-9923-7F63259A60D8}</Project> -
trunk/sources/HeuristicLab.Hive.Client.Console/3.2/HiveClientConsole.Designer.cs
r1949 r2006 46 46 private void InitializeComponent() { 47 47 this.components = new System.ComponentModel.Container(); 48 Calendar.DrawTool drawTool 2= new Calendar.DrawTool();48 Calendar.DrawTool drawTool1 = new Calendar.DrawTool(); 49 49 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HiveClientConsole)); 50 50 this.dvOnline = new Calendar.DayView(); … … 96 96 this.mcOnline = new System.Windows.Forms.MonthCalendar(); 97 97 this.ilEventLog = new System.Windows.Forms.ImageList(this.components); 98 this.btnSaveCal = new System.Windows.Forms.Button(); 98 99 this.tcClientConsole.SuspendLayout(); 99 100 this.tpConnection.SuspendLayout(); … … 111 112 // dvOnline 112 113 // 113 drawTool 2.DayView = this.dvOnline;114 this.dvOnline.ActiveTool = drawTool 2;114 drawTool1.DayView = this.dvOnline; 115 this.dvOnline.ActiveTool = drawTool1; 115 116 this.dvOnline.AmPmDisplay = false; 116 117 this.dvOnline.AppointmentDuration = Calendar.AppointmentSlotDuration.SixtyMinutes; … … 477 478 // groupBox1 478 479 // 480 this.groupBox1.Controls.Add(this.btnSaveCal); 479 481 this.groupBox1.Controls.Add(this.txttimeTo); 480 482 this.groupBox1.Controls.Add(this.txttimeFrom); … … 532 534 // 533 535 this.chbade.AutoSize = true; 534 this.chbade.Location = new System.Drawing.Point( 72, 71);536 this.chbade.Location = new System.Drawing.Point(135, 70); 535 537 this.chbade.Name = "chbade"; 536 538 this.chbade.Size = new System.Drawing.Size(90, 17); … … 603 605 this.ilEventLog.Images.SetKeyName(1, "Error.png"); 604 606 // 607 // btnSaveCal 608 // 609 this.btnSaveCal.Location = new System.Drawing.Point(8, 66); 610 this.btnSaveCal.Name = "btnSaveCal"; 611 this.btnSaveCal.Size = new System.Drawing.Size(75, 23); 612 this.btnSaveCal.TabIndex = 41; 613 this.btnSaveCal.Text = "scal"; 614 this.btnSaveCal.UseVisualStyleBackColor = true; 615 this.btnSaveCal.Click += new System.EventHandler(this.btnSaveCal_Click); 616 // 605 617 // HiveClientConsole 606 618 // … … 609 621 this.BackColor = System.Drawing.SystemColors.Control; 610 622 this.ClientSize = new System.Drawing.Size(853, 438); 611 this.ControlBox = false;612 623 this.Controls.Add(this.tcClientConsole); 613 624 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; … … 686 697 private System.Windows.Forms.DateTimePicker txttimeFrom; 687 698 private System.Windows.Forms.TextBox txtLog; 699 private System.Windows.Forms.Button btnSaveCal; 688 700 } 689 701 } -
trunk/sources/HeuristicLab.Hive.Client.Console/3.2/HiveClientConsole.cs
r1949 r2006 32 32 using ZedGraph; 33 33 using HeuristicLab.Hive.Contracts; 34 using System.Xml.Serialization; 35 using System.IO; 34 36 35 37 namespace HeuristicLab.Hive.Client.Console … … 58 60 private ListViewColumnSorterDate lvwColumnSorter; 59 61 60 private List<Appointment> onlineTimes = new List<Appointment>(); 62 [XmlArray("Appointments")] 63 [XmlArrayItem("Appointment",typeof(Appointment))] 64 public List<Appointment> onlineTimes = new List<Appointment>(); 61 65 62 66 public OnDialogClosedDelegate dialogClosedDelegate; … … 74 78 InitCalender(); 75 79 InitLogFileReader(); 80 //InitTestCalenderEntries(); 81 } 82 83 private void InitTestCalenderEntries() 84 { 85 DateTime date = DateTime.Now; 86 while (date.Year == 2009) 87 { 88 89 onlineTimes.Add(CreateAppointment(date.AddHours(1), date.AddHours(3), false)); 90 date = date.AddDays(1); 91 } 76 92 } 77 93 … … 584 600 } 585 601 602 603 private void SerializeCalender() { 604 605 XmlSerializer s = new XmlSerializer(typeof(List<Appointment>)); 606 TextWriter w = new StreamWriter(@"c:\temp\apptest.xml"); 607 s.Serialize(w, onlineTimes); 608 w.Close(); 609 } 610 611 private void DeSerializeCalender() 612 { 613 XmlSerializer s = new XmlSerializer(typeof(List<Appointment>)); 614 TextReader r = new StreamReader(@"c:\temp\apptest.xml"); 615 onlineTimes = (List<Appointment>)s.Deserialize(r); 616 onlineTimes.ForEach(a => a.BorderColor = Color.Red); 617 r.Close(); 618 619 } 620 586 621 #endregion 622 623 private void btnSaveCal_Click(object sender, EventArgs e) 624 { 625 DeSerializeCalender(); 626 } 587 627 588 628 } -
trunk/sources/HeuristicLab.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AewB/wInAesB/wInAesB/wInAeYB/wInAeQB/wInAeIB/wEnAUQB5gH/AicBMQH/ 165 lAABEgIBARYBTAE+AScB/wHSAYkBJwH/AeIBnQEnAf8B2QGRAScB/wHXAY4BJwH/AdUBjAEnAf8B4QGb 166 AScB/wHOAYQBJwH/AUcCJwH+GAABEgIBARYCJwFLAf8BJwEtAdMB/wEnAT4B9AH/AicB7AH/AicB6QH/ 167 AScBKAHoAf8BJwFGAfAB/wInAcwB/wFHAicB/qAAAUYCAQF9AycB/wF4AV8BJwH/AYEBeAEnAf8BWQFK 168 AScB/wFHAicB/gEUAgEBGiQAAUYCAQF9AycB/wInAXsB/wInAYEB/wInAVsB/wFHAicB/gEUAgEBGv8A 169 169 kQABQgFNAT4HAAE+AwABKAMAAUADAAEQAwABAQEAAQEFAAGAFwAD/wEAAfwBHwH8AR8EAAHwAQcB8AEH 170 170 BAAB4AEDAeABAwQAAcABAQHAAQEEAAGAAQEBgAEBBAABgAEAAYAFAAGAAQABgAUAAYABAAGABQABgAEA
Note: See TracChangeset
for help on using the changeset viewer.