/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { C1.Win.C1GanttView.CalendarException calendarException1 = new C1.Win.C1GanttView.CalendarException(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn1 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn2 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn3 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn4 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn5 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn6 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn7 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn8 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn9 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn10 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn11 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn12 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn13 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn14 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.Task task1 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Resource resource1 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource2 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource3 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource4 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource5 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource6 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource7 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource8 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource9 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Task task2 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task3 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task4 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor1 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef1 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef2 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef3 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task5 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor2 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.Task task6 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task7 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor3 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef4 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task8 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor4 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef5 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task9 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor5 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef6 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task10 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor6 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.Task task11 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task12 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor7 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef7 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task13 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor8 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef8 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task14 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor9 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef9 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef10 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task15 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task16 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor10 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.Predecessor predecessor11 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef11 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef12 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task17 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor12 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef13 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task18 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor13 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.Task task19 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor14 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef14 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task20 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task21 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor15 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef15 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task22 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor16 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef16 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task23 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor17 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef17 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef18 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task24 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task25 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task26 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task27 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task28 = new C1.Win.C1GanttView.Task(); this.c1GanttView1 = new C1.Win.C1GanttView.C1GanttView(); this.btnOutdent = new System.Windows.Forms.Button(); this.btnIndent = new System.Windows.Forms.Button(); this.comboGroupBy = new System.Windows.Forms.ComboBox(); this.chkMaintainHierarchy = new System.Windows.Forms.CheckBox(); this.chkShowProjectSummary = new System.Windows.Forms.CheckBox(); this.summaryGroupBox = new System.Windows.Forms.GroupBox(); this.groupGroupBox = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).BeginInit(); this.summaryGroupBox.SuspendLayout(); this.groupGroupBox.SuspendLayout(); this.SuspendLayout(); // // c1GanttView1 // this.c1GanttView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.c1GanttView1.BackColor = System.Drawing.SystemColors.Window; calendarException1.Name = "Vacation"; calendarException1.RecurrencePattern.DayOfMonth = 10; calendarException1.RecurrencePattern.MonthOfYear = 7; calendarException1.StartDate = new System.DateTime(2013, 6, 10, 0, 0, 0, 0); this.c1GanttView1.CalendarExceptions.Add(calendarException1); taskPropertyColumn1.Caption = "Task Mode"; taskPropertyColumn1.ID = 619243840; taskPropertyColumn1.Property = C1.Win.C1GanttView.TaskProperty.Mode; taskPropertyColumn1.Width = 51; taskPropertyColumn2.Caption = "Task Name"; taskPropertyColumn2.ID = 2099866733; taskPropertyColumn2.Property = C1.Win.C1GanttView.TaskProperty.Name; taskPropertyColumn2.Width = 125; taskPropertyColumn3.Caption = "Duration"; taskPropertyColumn3.ID = 1358251825; taskPropertyColumn3.Property = C1.Win.C1GanttView.TaskProperty.Duration; taskPropertyColumn3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn3.Width = 50; taskPropertyColumn4.Caption = "Duration Units"; taskPropertyColumn4.ID = 1827635185; taskPropertyColumn4.Property = C1.Win.C1GanttView.TaskProperty.DurationUnits; taskPropertyColumn4.Width = 59; taskPropertyColumn5.Caption = "Start"; taskPropertyColumn5.ID = 1435981949; taskPropertyColumn5.Property = C1.Win.C1GanttView.TaskProperty.Start; taskPropertyColumn5.Width = 94; taskPropertyColumn6.Caption = "Finish"; taskPropertyColumn6.ID = 1177114106; taskPropertyColumn6.Property = C1.Win.C1GanttView.TaskProperty.Finish; taskPropertyColumn6.Width = 104; taskPropertyColumn7.Caption = "% Complete"; taskPropertyColumn7.ID = 705116663; taskPropertyColumn7.Property = C1.Win.C1GanttView.TaskProperty.PercentComplete; taskPropertyColumn7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn8.Caption = "Constraint Type"; taskPropertyColumn8.ID = 1424686126; taskPropertyColumn8.Property = C1.Win.C1GanttView.TaskProperty.ConstraintType; taskPropertyColumn8.Visible = false; taskPropertyColumn9.Caption = "Constraint Date"; taskPropertyColumn9.ID = 1191399244; taskPropertyColumn9.Property = C1.Win.C1GanttView.TaskProperty.ConstraintDate; taskPropertyColumn9.Visible = false; taskPropertyColumn10.Caption = "Predecessors"; taskPropertyColumn10.ID = 502674747; taskPropertyColumn10.Property = C1.Win.C1GanttView.TaskProperty.Predecessors; taskPropertyColumn10.Visible = false; taskPropertyColumn11.Caption = "Deadline"; taskPropertyColumn11.ID = 166462627; taskPropertyColumn11.Property = C1.Win.C1GanttView.TaskProperty.Deadline; taskPropertyColumn11.Visible = false; taskPropertyColumn12.Caption = "Calendar"; taskPropertyColumn12.ID = 997563278; taskPropertyColumn12.Property = C1.Win.C1GanttView.TaskProperty.Calendar; taskPropertyColumn12.Visible = false; taskPropertyColumn13.Caption = "Resource Names"; taskPropertyColumn13.ID = 1673084976; taskPropertyColumn13.Property = C1.Win.C1GanttView.TaskProperty.ResourceNames; taskPropertyColumn13.Visible = false; taskPropertyColumn14.Caption = "Notes"; taskPropertyColumn14.ID = 1052675343; taskPropertyColumn14.Property = C1.Win.C1GanttView.TaskProperty.Notes; taskPropertyColumn14.Visible = false; this.c1GanttView1.Columns.Add(taskPropertyColumn1); this.c1GanttView1.Columns.Add(taskPropertyColumn2); this.c1GanttView1.Columns.Add(taskPropertyColumn3); this.c1GanttView1.Columns.Add(taskPropertyColumn4); this.c1GanttView1.Columns.Add(taskPropertyColumn5); this.c1GanttView1.Columns.Add(taskPropertyColumn6); this.c1GanttView1.Columns.Add(taskPropertyColumn7); this.c1GanttView1.Columns.Add(taskPropertyColumn8); this.c1GanttView1.Columns.Add(taskPropertyColumn9); this.c1GanttView1.Columns.Add(taskPropertyColumn10); this.c1GanttView1.Columns.Add(taskPropertyColumn11); this.c1GanttView1.Columns.Add(taskPropertyColumn12); this.c1GanttView1.Columns.Add(taskPropertyColumn13); this.c1GanttView1.Columns.Add(taskPropertyColumn14); this.c1GanttView1.DefaultWorkingTimes.Interval_1.Empty = false; this.c1GanttView1.DefaultWorkingTimes.Interval_1.From = new System.DateTime(1, 1, 1, 8, 30, 0, 0); this.c1GanttView1.DefaultWorkingTimes.Interval_1.To = new System.DateTime(1, 1, 1, 12, 0, 0, 0); this.c1GanttView1.DefaultWorkingTimes.Interval_2.Empty = false; this.c1GanttView1.DefaultWorkingTimes.Interval_2.From = new System.DateTime(1, 1, 1, 13, 30, 0, 0); this.c1GanttView1.DefaultWorkingTimes.Interval_2.To = new System.DateTime(1, 1, 1, 18, 0, 0, 0); this.c1GanttView1.FirstMonthOfFY = C1.Win.C1GanttView.FirstMonthOfFY.March; this.c1GanttView1.GridWidth = 323; this.c1GanttView1.GroupDefinition.Items.Add(new C1.Win.C1GanttView.DurationGroup(true)); this.c1GanttView1.Location = new System.Drawing.Point(0, 1); this.c1GanttView1.Name = "c1GanttView1"; this.c1GanttView1.NonworkingTimeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(185)))), ((int)(((byte)(184))))); this.c1GanttView1.ProgressLine.StatusDate = new System.DateTime(2013, 7, 24, 0, 0, 0, 0); this.c1GanttView1.ProgressLine.Visible = true; task1.ID = 1331333418; task1.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task1.Name = "Project Summary Task"; task1.PercentComplete = 0.28244274809160308D; this.c1GanttView1.ProjectSummary = task1; resource1.Cost = new decimal(new int[] { 100, 0, 0, 0 }); resource1.ID = 1640417825; resource1.Name = "Rita Been"; resource1.Notes = "Tester"; resource2.Cost = new decimal(new int[] { 250, 0, 0, 0 }); resource2.ID = 239555279; resource2.Name = "Eric Smith"; resource2.Notes = "Project Manager"; resource3.Cost = new decimal(new int[] { 150, 0, 0, 0 }); resource3.ID = 766290656; resource3.Name = "Daniel Hank"; resource3.Notes = "Analyst"; resource4.Cost = new decimal(new int[] { 300, 0, 0, 0 }); resource4.ID = 2011144056; resource4.Name = "Juan Carlos"; resource4.Notes = "Developer"; resource5.Cost = new decimal(new int[] { 100, 0, 0, 0 }); resource5.ID = 448108000; resource5.Name = "Mike Jones "; resource5.Notes = "Developer"; resource6.Cost = new decimal(new int[] { 400, 0, 0, 0 }); resource6.ID = 1869891731; resource6.Name = "Chris Lee"; resource6.Notes = "Developer"; resource7.Cost = new decimal(new int[] { 250, 0, 0, 0 }); resource7.ID = 556319480; resource7.Name = "Sarah Robert"; resource7.Notes = "Tester"; resource8.Cost = new decimal(new int[] { 200, 0, 0, 0 }); resource8.ID = 1334638351; resource8.Name = "Micheal Owen"; resource8.Notes = "Documentation Maker"; resource9.Cost = new decimal(new int[] { 150, 0, 0, 0 }); resource9.ID = 2101511829; resource9.Name = "Juliet Paul"; resource9.Notes = "Documentation Maker"; this.c1GanttView1.Resources.Add(resource1); this.c1GanttView1.Resources.Add(resource2); this.c1GanttView1.Resources.Add(resource3); this.c1GanttView1.Resources.Add(resource4); this.c1GanttView1.Resources.Add(resource5); this.c1GanttView1.Resources.Add(resource6); this.c1GanttView1.Resources.Add(resource7); this.c1GanttView1.Resources.Add(resource8); this.c1GanttView1.Resources.Add(resource9); this.c1GanttView1.ShowToolbar = false; this.c1GanttView1.Size = new System.Drawing.Size(1114, 555); this.c1GanttView1.StartDate = new System.DateTime(2013, 6, 5, 0, 0, 0, 0); this.c1GanttView1.TabIndex = 0; task2.ID = 939539143; task2.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task2.Name = "Acquisition"; task2.OutlineParentID = 1331333418; task2.PercentComplete = 1D; task3.ConstraintDate = new System.DateTime(2013, 6, 6, 0, 0, 0, 0); task3.ConstraintType = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan; task3.Duration = 0D; task3.ID = 242148085; task3.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task3.Name = "Manuscript received"; task3.OutlineParentID = 939539143; task4.ConstraintDate = new System.DateTime(2013, 6, 6, 0, 0, 0, 0); task4.ConstraintType = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan; task4.Duration = 25D; task4.ID = 925207044; task4.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task4.Name = "Content edit"; task4.OutlineParentID = 939539143; task4.PercentComplete = 1D; predecessor1.PredecessorTaskID = 242148085; task4.Predecessors.Add(predecessor1); resourceRef1.Amount = 1D; resourceRef1.ResourceID = 766290656; resourceRef2.Amount = 1D; resourceRef2.ResourceID = 239555279; resourceRef3.Amount = 1D; resourceRef3.ResourceID = 2101511829; task4.ResourceRefs.Add(resourceRef1); task4.ResourceRefs.Add(resourceRef2); task4.ResourceRefs.Add(resourceRef3); task5.Finish = new System.DateTime(2013, 7, 12, 8, 30, 0, 0); task5.ID = 362538391; task5.Name = "Handoff to Editorial"; task5.OutlineParentID = 939539143; predecessor2.PredecessorTaskID = 925207044; task5.Predecessors.Add(predecessor2); task5.Start = new System.DateTime(2013, 7, 12, 8, 30, 0, 0); task6.ID = 1807223556; task6.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task6.Name = "Editorial"; task6.OutlineParentID = 1331333418; task6.PercentComplete = 0.033333333333333333D; task7.Finish = new System.DateTime(2013, 7, 19, 8, 30, 0, 0); task7.ID = 1552574403; task7.Name = "Organize manuscript for copyedit"; task7.OutlineParentID = 1807223556; task7.PercentComplete = 0.2D; predecessor3.PredecessorTaskID = 362538391; task7.Predecessors.Add(predecessor3); resourceRef4.Amount = 1D; resourceRef4.ResourceID = 2011144056; task7.ResourceRefs.Add(resourceRef4); task7.Start = new System.DateTime(2013, 7, 12, 8, 30, 0, 0); task8.Finish = new System.DateTime(2013, 8, 16, 8, 30, 0, 0); task8.ID = 1179983348; task8.Name = "Copyedit"; task8.OutlineParentID = 1807223556; predecessor4.PredecessorTaskID = 1552574403; task8.Predecessors.Add(predecessor4); resourceRef5.Amount = 1D; resourceRef5.ResourceID = 448108000; task8.ResourceRefs.Add(resourceRef5); task8.Start = new System.DateTime(2013, 7, 19, 8, 30, 0, 0); task9.Finish = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task9.ID = 2098269195; task9.Name = "Copyedit incorp"; task9.OutlineParentID = 1807223556; predecessor5.PredecessorTaskID = 1179983348; task9.Predecessors.Add(predecessor5); resourceRef6.Amount = 1D; resourceRef6.ResourceID = 2011144056; task9.ResourceRefs.Add(resourceRef6); task9.Start = new System.DateTime(2013, 8, 16, 8, 30, 0, 0); task10.Finish = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task10.ID = 792666599; task10.Name = "Handoff to Production"; task10.OutlineParentID = 1807223556; predecessor6.PredecessorTaskID = 2098269195; task10.Predecessors.Add(predecessor6); task10.Start = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task11.Finish = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task11.ID = 2121238572; task11.Name = "Design and Production"; task11.OutlineParentID = 1331333418; task11.PercentComplete = 0.36666666666666664D; task11.Start = new System.DateTime(2013, 7, 12, 8, 30, 0, 0); task12.Finish = new System.DateTime(2013, 7, 19, 8, 30, 0, 0); task12.ID = 312019882; task12.Name = "Cover design"; task12.OutlineParentID = 2121238572; task12.PercentComplete = 1D; predecessor7.PredecessorTaskID = 1552574403; predecessor7.PredecessorType = C1.Win.C1GanttView.PredecessorType.StartToStart; task12.Predecessors.Add(predecessor7); resourceRef7.Amount = 1D; resourceRef7.ResourceID = 1869891731; task12.ResourceRefs.Add(resourceRef7); task12.Start = new System.DateTime(2013, 7, 12, 8, 30, 0, 0); task13.Finish = new System.DateTime(2013, 8, 2, 8, 30, 0, 0); task13.ID = 2131650479; task13.Name = "Set pages"; task13.OutlineParentID = 2121238572; task13.PercentComplete = 0.6D; predecessor8.PredecessorTaskID = 312019882; task13.Predecessors.Add(predecessor8); resourceRef8.Amount = 1D; resourceRef8.ResourceID = 556319480; task13.ResourceRefs.Add(resourceRef8); task13.Start = new System.DateTime(2013, 7, 19, 8, 30, 0, 0); task14.Finish = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task14.ID = 1600264846; task14.Name = "Interior illustration design"; task14.OutlineParentID = 2121238572; predecessor9.PredecessorTaskID = 2131650479; task14.Predecessors.Add(predecessor9); resourceRef9.Amount = 1D; resourceRef9.ResourceID = 1869891731; resourceRef10.Amount = 1D; resourceRef10.ResourceID = 766290656; task14.ResourceRefs.Add(resourceRef9); task14.ResourceRefs.Add(resourceRef10); task14.Start = new System.DateTime(2013, 8, 2, 8, 30, 0, 0); task15.Finish = new System.DateTime(2013, 9, 20, 8, 30, 0, 0); task15.ID = 185936048; task15.Name = "Pages review"; task15.OutlineParentID = 1331333418; task15.Start = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task16.Finish = new System.DateTime(2013, 9, 6, 8, 30, 0, 0); task16.ID = 1447717244; task16.Name = "Proofread and index"; task16.OutlineParentID = 185936048; predecessor10.PredecessorTaskID = 1600264846; predecessor11.PredecessorTaskID = 792666599; task16.Predecessors.Add(predecessor10); task16.Predecessors.Add(predecessor11); resourceRef11.Amount = 1D; resourceRef11.ResourceID = 1334638351; resourceRef12.Amount = 1D; resourceRef12.ResourceID = 2011144056; task16.ResourceRefs.Add(resourceRef11); task16.ResourceRefs.Add(resourceRef12); task16.Start = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task17.Finish = new System.DateTime(2013, 9, 13, 8, 30, 0, 0); task17.ID = 1352797036; task17.Name = "Incorporate 1st Pages review"; task17.OutlineParentID = 185936048; predecessor12.PredecessorTaskID = 1447717244; task17.Predecessors.Add(predecessor12); resourceRef13.Amount = 1D; resourceRef13.ResourceID = 2101511829; task17.ResourceRefs.Add(resourceRef13); task17.Start = new System.DateTime(2013, 9, 6, 8, 30, 0, 0); task18.Finish = new System.DateTime(2013, 9, 13, 8, 30, 0, 0); task18.ID = 1301076315; task18.Name = "Send proofed pages to Production"; task18.OutlineParentID = 185936048; predecessor13.PredecessorTaskID = 1352797036; task18.Predecessors.Add(predecessor13); task18.Start = new System.DateTime(2013, 9, 13, 8, 30, 0, 0); task19.Finish = new System.DateTime(2013, 9, 20, 8, 30, 0, 0); task19.ID = 562163695; task19.Name = "Enter page corrections and index"; task19.OutlineParentID = 185936048; predecessor14.PredecessorTaskID = 1301076315; task19.Predecessors.Add(predecessor14); resourceRef14.Amount = 1D; resourceRef14.ResourceID = 556319480; task19.ResourceRefs.Add(resourceRef14); task19.Start = new System.DateTime(2013, 9, 13, 8, 30, 0, 0); task20.Finish = new System.DateTime(2013, 10, 28, 8, 30, 0, 0); task20.ID = 19552401; task20.Name = "Color prep and printing"; task20.OutlineParentID = 1331333418; task20.Start = new System.DateTime(2013, 9, 20, 8, 30, 0, 0); task21.Finish = new System.DateTime(2013, 9, 23, 8, 30, 0, 0); task21.ID = 1597983629; task21.Name = "Send to color house"; task21.OutlineParentID = 19552401; predecessor15.PredecessorTaskID = 562163695; task21.Predecessors.Add(predecessor15); resourceRef15.Amount = 1D; resourceRef15.ResourceID = 1640417825; task21.ResourceRefs.Add(resourceRef15); task21.Start = new System.DateTime(2013, 9, 20, 8, 30, 0, 0); task22.Finish = new System.DateTime(2013, 9, 30, 8, 30, 0, 0); task22.ID = 591786279; task22.Name = "Generate proofs"; task22.OutlineParentID = 19552401; predecessor16.PredecessorTaskID = 1597983629; task22.Predecessors.Add(predecessor16); resourceRef16.Amount = 1D; resourceRef16.ResourceID = 2011144056; task22.ResourceRefs.Add(resourceRef16); task22.Start = new System.DateTime(2013, 9, 23, 8, 30, 0, 0); task23.Finish = new System.DateTime(2013, 10, 28, 8, 30, 0, 0); task23.ID = 816445275; task23.Name = "Print and ship"; task23.OutlineParentID = 19552401; predecessor17.PredecessorTaskID = 591786279; task23.Predecessors.Add(predecessor17); resourceRef17.Amount = 1D; resourceRef17.ResourceID = 1334638351; resourceRef18.Amount = 1D; resourceRef18.ResourceID = 556319480; task23.ResourceRefs.Add(resourceRef17); task23.ResourceRefs.Add(resourceRef18); task23.Start = new System.DateTime(2013, 9, 30, 8, 30, 0, 0); task24.ID = 514161404; task25.ID = 992389273; task26.ID = 246882487; task27.ID = 1546671531; task28.ID = 2076126586; this.c1GanttView1.Tasks.Add(task2); this.c1GanttView1.Tasks.Add(task3); this.c1GanttView1.Tasks.Add(task4); this.c1GanttView1.Tasks.Add(task5); this.c1GanttView1.Tasks.Add(task6); this.c1GanttView1.Tasks.Add(task7); this.c1GanttView1.Tasks.Add(task8); this.c1GanttView1.Tasks.Add(task9); this.c1GanttView1.Tasks.Add(task10); this.c1GanttView1.Tasks.Add(task11); this.c1GanttView1.Tasks.Add(task12); this.c1GanttView1.Tasks.Add(task13); this.c1GanttView1.Tasks.Add(task14); this.c1GanttView1.Tasks.Add(task15); this.c1GanttView1.Tasks.Add(task16); this.c1GanttView1.Tasks.Add(task17); this.c1GanttView1.Tasks.Add(task18); this.c1GanttView1.Tasks.Add(task19); this.c1GanttView1.Tasks.Add(task20); this.c1GanttView1.Tasks.Add(task21); this.c1GanttView1.Tasks.Add(task22); this.c1GanttView1.Tasks.Add(task23); this.c1GanttView1.Tasks.Add(task24); this.c1GanttView1.Tasks.Add(task25); this.c1GanttView1.Tasks.Add(task26); this.c1GanttView1.Tasks.Add(task27); this.c1GanttView1.Tasks.Add(task28); this.c1GanttView1.Timescale.BottomTier.Align = C1.Win.C1GanttView.ScaleLabelAlignment.Center; this.c1GanttView1.Timescale.BottomTier.Format = "w"; this.c1GanttView1.Timescale.BottomTier.Visible = true; this.c1GanttView1.Timescale.MiddleTier.Format = "nnnn d"; this.c1GanttView1.Timescale.MiddleTier.Units = C1.Win.C1GanttView.TimescaleUnits.Weeks; this.c1GanttView1.Timescale.MiddleTier.Visible = true; // // btnOutdent // this.btnOutdent.Location = new System.Drawing.Point(13, 25); this.btnOutdent.Name = "btnOutdent"; this.btnOutdent.Size = new System.Drawing.Size(87, 29); this.btnOutdent.TabIndex = 1; this.btnOutdent.Text = "Outdent"; this.btnOutdent.UseVisualStyleBackColor = true; this.btnOutdent.Click += new System.EventHandler(this.btnOutdent_Click); // // btnIndent // this.btnIndent.Location = new System.Drawing.Point(107, 25); this.btnIndent.Name = "btnIndent"; this.btnIndent.Size = new System.Drawing.Size(87, 29); this.btnIndent.TabIndex = 2; this.btnIndent.Text = "Indent"; this.btnIndent.UseVisualStyleBackColor = true; this.btnIndent.Click += new System.EventHandler(this.btnIndent_Click); // // comboGroupBy // this.comboGroupBy.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboGroupBy.FormattingEnabled = true; this.comboGroupBy.Items.AddRange(new object[] { "No Group", "Task Mode", "Task Complete", "Constraint Type", "Duration", "Milestones", "Resource", "Status", "Advance Group" }); this.comboGroupBy.Location = new System.Drawing.Point(13, 22); this.comboGroupBy.Name = "comboGroupBy"; this.comboGroupBy.Size = new System.Drawing.Size(140, 23); this.comboGroupBy.TabIndex = 4; // // chkMaintainHierarchy // this.chkMaintainHierarchy.AutoSize = true; this.chkMaintainHierarchy.Location = new System.Drawing.Point(13, 59); this.chkMaintainHierarchy.Name = "chkMaintainHierarchy"; this.chkMaintainHierarchy.Size = new System.Drawing.Size(127, 19); this.chkMaintainHierarchy.TabIndex = 5; this.chkMaintainHierarchy.Text = "Maintain Hierarchy"; this.chkMaintainHierarchy.UseVisualStyleBackColor = true; this.chkMaintainHierarchy.CheckedChanged += new System.EventHandler(this.chkMaintainHierarchy_CheckedChanged); // // chkShowProjectSummary // this.chkShowProjectSummary.AutoSize = true; this.chkShowProjectSummary.Location = new System.Drawing.Point(13, 61); this.chkShowProjectSummary.Name = "chkShowProjectSummary"; this.chkShowProjectSummary.Size = new System.Drawing.Size(149, 19); this.chkShowProjectSummary.TabIndex = 5; this.chkShowProjectSummary.Text = "Show Project Summary"; this.chkShowProjectSummary.UseVisualStyleBackColor = true; this.chkShowProjectSummary.CheckedChanged += new System.EventHandler(this.chkShowProjectSummary_CheckedChanged); // // summaryGroupBox // this.summaryGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.summaryGroupBox.Controls.Add(this.btnOutdent); this.summaryGroupBox.Controls.Add(this.chkShowProjectSummary); this.summaryGroupBox.Controls.Add(this.btnIndent); this.summaryGroupBox.Location = new System.Drawing.Point(1139, 1); this.summaryGroupBox.Name = "summaryGroupBox"; this.summaryGroupBox.Size = new System.Drawing.Size(209, 85); this.summaryGroupBox.TabIndex = 6; this.summaryGroupBox.TabStop = false; this.summaryGroupBox.Text = "Summary"; // // groupGroupBox // this.groupGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupGroupBox.Controls.Add(this.comboGroupBy); this.groupGroupBox.Controls.Add(this.chkMaintainHierarchy); this.groupGroupBox.Location = new System.Drawing.Point(1139, 105); this.groupGroupBox.Name = "groupGroupBox"; this.groupGroupBox.Size = new System.Drawing.Size(206, 89); this.groupGroupBox.TabIndex = 7; this.groupGroupBox.TabStop = false; this.groupGroupBox.Text = "Group"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1362, 558); this.Controls.Add(this.groupGroupBox); this.Controls.Add(this.summaryGroupBox); this.Controls.Add(this.c1GanttView1); this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "Form1"; this.Text = "Group Sample"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).EndInit(); this.summaryGroupBox.ResumeLayout(false); this.summaryGroupBox.PerformLayout(); this.groupGroupBox.ResumeLayout(false); this.groupGroupBox.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { C1.Win.C1GanttView.CalendarException calendarException1 = new C1.Win.C1GanttView.CalendarException(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn1 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn2 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn3 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn4 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn5 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn6 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn7 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn8 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn9 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn10 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn11 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn12 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn13 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn14 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.Resource resource1 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource2 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource3 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource4 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource5 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource6 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource7 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource8 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource9 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Task task1 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.BarStyle barStyle1 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.ResourceRef resourceRef1 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef2 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef3 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task2 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task3 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.BarStyle barStyle2 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.BarStyle barStyle3 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.BarStyle barStyle4 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.Predecessor predecessor1 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef4 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task4 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task5 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.BarStyle barStyle5 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.BarStyle barStyle6 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.Predecessor predecessor2 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef5 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef6 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task6 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task7 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.BarStyle barStyle7 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.BarStyle barStyle8 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.BarStyle barStyle9 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.Predecessor predecessor3 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef7 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef8 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task8 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task9 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.BarStyle barStyle10 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.BarStyle barStyle11 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.Predecessor predecessor4 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef9 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef10 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task10 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task11 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.BarStyle barStyle12 = new C1.Win.C1GanttView.BarStyle(); C1.Win.C1GanttView.Predecessor predecessor5 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef11 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task12 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task13 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task14 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task15 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task16 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task17 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task18 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task19 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task20 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task21 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task22 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task23 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task24 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task25 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task26 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task27 = new C1.Win.C1GanttView.Task(); this.btnPrint = new System.Windows.Forms.Button(); this.btnPreview = new System.Windows.Forms.Button(); this.ganttView = new C1.Win.C1GanttView.C1GanttView(); ((System.ComponentModel.ISupportInitialize)(this.ganttView)).BeginInit(); this.SuspendLayout(); // // btnPrint // this.btnPrint.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.btnPrint.Location = new System.Drawing.Point(316, 614); this.btnPrint.Name = "btnPrint"; this.btnPrint.Size = new System.Drawing.Size(178, 29); this.btnPrint.TabIndex = 1; this.btnPrint.Text = "Print From Custom Style"; this.btnPrint.UseVisualStyleBackColor = true; this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click); // // btnPreview // this.btnPreview.Anchor = System.Windows.Forms.AnchorStyles.Bottom; this.btnPreview.Location = new System.Drawing.Point(521, 614); this.btnPreview.Name = "btnPreview"; this.btnPreview.Size = new System.Drawing.Size(170, 29); this.btnPreview.TabIndex = 1; this.btnPreview.Text = "Preview From Custom Style"; this.btnPreview.UseVisualStyleBackColor = true; this.btnPreview.Click += new System.EventHandler(this.btnPreview_Click); // // ganttView // this.ganttView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.ganttView.BackColor = System.Drawing.SystemColors.Window; calendarException1.Name = "Vacation"; calendarException1.RecurrencePattern.DayOfMonth = 10; calendarException1.RecurrencePattern.MonthOfYear = 7; calendarException1.StartDate = new System.DateTime(2013, 6, 10, 0, 0, 0, 0); this.ganttView.CalendarExceptions.Add(calendarException1); taskPropertyColumn1.Caption = "Task Mode"; taskPropertyColumn1.ID = 619243840; taskPropertyColumn1.Property = C1.Win.C1GanttView.TaskProperty.Mode; taskPropertyColumn1.Visible = false; taskPropertyColumn1.Width = 46; taskPropertyColumn2.Caption = "Task Name"; taskPropertyColumn2.ID = 2099866733; taskPropertyColumn2.Property = C1.Win.C1GanttView.TaskProperty.Name; taskPropertyColumn2.Width = 69; taskPropertyColumn3.Caption = "Duration"; taskPropertyColumn3.ID = 1358251825; taskPropertyColumn3.Property = C1.Win.C1GanttView.TaskProperty.Duration; taskPropertyColumn3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn3.Width = 30; taskPropertyColumn4.Caption = "Duration Units"; taskPropertyColumn4.ID = 1827635185; taskPropertyColumn4.Property = C1.Win.C1GanttView.TaskProperty.DurationUnits; taskPropertyColumn4.Width = 51; taskPropertyColumn5.Caption = "Start"; taskPropertyColumn5.ID = 1435981949; taskPropertyColumn5.Property = C1.Win.C1GanttView.TaskProperty.Start; taskPropertyColumn5.Visible = false; taskPropertyColumn6.Caption = "Finish"; taskPropertyColumn6.ID = 1177114106; taskPropertyColumn6.Property = C1.Win.C1GanttView.TaskProperty.Finish; taskPropertyColumn6.Visible = false; taskPropertyColumn7.Caption = "% Complete"; taskPropertyColumn7.ID = 705116663; taskPropertyColumn7.Property = C1.Win.C1GanttView.TaskProperty.PercentComplete; taskPropertyColumn7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn7.Visible = false; taskPropertyColumn8.Caption = "Constraint Type"; taskPropertyColumn8.ID = 1424686126; taskPropertyColumn8.Property = C1.Win.C1GanttView.TaskProperty.ConstraintType; taskPropertyColumn8.Visible = false; taskPropertyColumn9.Caption = "Constraint Date"; taskPropertyColumn9.ID = 1191399244; taskPropertyColumn9.Property = C1.Win.C1GanttView.TaskProperty.ConstraintDate; taskPropertyColumn9.Visible = false; taskPropertyColumn10.Caption = "Predecessors"; taskPropertyColumn10.ID = 502674747; taskPropertyColumn10.Property = C1.Win.C1GanttView.TaskProperty.Predecessors; taskPropertyColumn10.Visible = false; taskPropertyColumn11.Caption = "Deadline"; taskPropertyColumn11.ID = 166462627; taskPropertyColumn11.Property = C1.Win.C1GanttView.TaskProperty.Deadline; taskPropertyColumn11.Visible = false; taskPropertyColumn12.Caption = "Calendar"; taskPropertyColumn12.ID = 997563278; taskPropertyColumn12.Property = C1.Win.C1GanttView.TaskProperty.Calendar; taskPropertyColumn12.Visible = false; taskPropertyColumn13.Caption = "Resource Names"; taskPropertyColumn13.ID = 1673084976; taskPropertyColumn13.Property = C1.Win.C1GanttView.TaskProperty.ResourceNames; taskPropertyColumn13.Visible = false; taskPropertyColumn14.Caption = "Notes"; taskPropertyColumn14.ID = 1052675343; taskPropertyColumn14.Property = C1.Win.C1GanttView.TaskProperty.Notes; taskPropertyColumn14.Visible = false; this.ganttView.Columns.Add(taskPropertyColumn1); this.ganttView.Columns.Add(taskPropertyColumn2); this.ganttView.Columns.Add(taskPropertyColumn3); this.ganttView.Columns.Add(taskPropertyColumn4); this.ganttView.Columns.Add(taskPropertyColumn5); this.ganttView.Columns.Add(taskPropertyColumn6); this.ganttView.Columns.Add(taskPropertyColumn7); this.ganttView.Columns.Add(taskPropertyColumn8); this.ganttView.Columns.Add(taskPropertyColumn9); this.ganttView.Columns.Add(taskPropertyColumn10); this.ganttView.Columns.Add(taskPropertyColumn11); this.ganttView.Columns.Add(taskPropertyColumn12); this.ganttView.Columns.Add(taskPropertyColumn13); this.ganttView.Columns.Add(taskPropertyColumn14); this.ganttView.DefaultWorkingTimes.Interval_1.Empty = false; this.ganttView.DefaultWorkingTimes.Interval_1.From = new System.DateTime(1, 1, 1, 8, 30, 0, 0); this.ganttView.DefaultWorkingTimes.Interval_1.To = new System.DateTime(1, 1, 1, 12, 0, 0, 0); this.ganttView.DefaultWorkingTimes.Interval_2.Empty = false; this.ganttView.DefaultWorkingTimes.Interval_2.From = new System.DateTime(1, 1, 1, 13, 30, 0, 0); this.ganttView.DefaultWorkingTimes.Interval_2.To = new System.DateTime(1, 1, 1, 18, 0, 0, 0); this.ganttView.EnablePrinting = true; this.ganttView.FirstMonthOfFY = C1.Win.C1GanttView.FirstMonthOfFY.March; this.ganttView.GridWidth = 188; this.ganttView.Location = new System.Drawing.Point(0, 0); this.ganttView.Name = "ganttView"; this.ganttView.NonworkingTimeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(185)))), ((int)(((byte)(184))))); this.ganttView.PrintInfo.EndDate = new System.DateTime(((long)(0))); this.ganttView.PrintInfo.LegendTextAreaWidth = 2F; this.ganttView.PrintInfo.PrintType = C1.Win.C1GanttView.Printing.PrintType.General; this.ganttView.PrintInfo.StartDate = new System.DateTime(((long)(0))); this.ganttView.PrintInfo.StyleSource = "General.c1d"; this.ganttView.ProgressLine.StatusDate = new System.DateTime(2013, 6, 19, 0, 0, 0, 0); this.ganttView.ProgressLine.Visible = true; resource1.Cost = new decimal(new int[] { 100, 0, 0, 0 }); resource1.ID = 1640417825; resource1.Name = "Rita Been"; resource1.Notes = "Tester"; resource2.Cost = new decimal(new int[] { 250, 0, 0, 0 }); resource2.ID = 239555279; resource2.Name = "Eric Smith"; resource2.Notes = "Project Manager"; resource3.Cost = new decimal(new int[] { 150, 0, 0, 0 }); resource3.ID = 766290656; resource3.Name = "Daniel Hank"; resource3.Notes = "Analyst"; resource4.Cost = new decimal(new int[] { 300, 0, 0, 0 }); resource4.ID = 2011144056; resource4.Name = "Juan Carlos"; resource4.Notes = "Developer"; resource5.Cost = new decimal(new int[] { 100, 0, 0, 0 }); resource5.ID = 448108000; resource5.Name = "Mike Jones "; resource5.Notes = "Developer"; resource6.Cost = new decimal(new int[] { 400, 0, 0, 0 }); resource6.ID = 1869891731; resource6.Name = "Chris Lee"; resource6.Notes = "Developer"; resource7.Cost = new decimal(new int[] { 250, 0, 0, 0 }); resource7.ID = 556319480; resource7.Name = "Sarah Robert"; resource7.Notes = "Tester"; resource8.Cost = new decimal(new int[] { 200, 0, 0, 0 }); resource8.ID = 1334638351; resource8.Name = "Micheal Owen"; resource8.Notes = "Documentation Maker"; resource9.Cost = new decimal(new int[] { 150, 0, 0, 0 }); resource9.ID = 2101511829; resource9.Name = "Juliet Paul"; resource9.Notes = "Documentation Maker"; this.ganttView.Resources.Add(resource1); this.ganttView.Resources.Add(resource2); this.ganttView.Resources.Add(resource3); this.ganttView.Resources.Add(resource4); this.ganttView.Resources.Add(resource5); this.ganttView.Resources.Add(resource6); this.ganttView.Resources.Add(resource7); this.ganttView.Resources.Add(resource8); this.ganttView.Resources.Add(resource9); this.ganttView.Size = new System.Drawing.Size(1064, 607); this.ganttView.StartDate = new System.DateTime(2013, 6, 5, 0, 0, 0, 0); this.ganttView.TabIndex = 0; barStyle1.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(200)))), ((int)(((byte)(209))))); barStyle1.BarShape = C1.Win.C1GanttView.BarShape.ThickBar; barStyle1.BarType = C1.Win.C1GanttView.BarType.ManualTask; barStyle1.EndShape = 22; barStyle1.RightText1_ID = -13; barStyle1.StartShape = 21; barStyle1.TopText1_ID = 2099866733; task1.BarStyles.Add(barStyle1); task1.Finish = new System.DateTime(2013, 6, 7, 0, 0, 0, 0); task1.ID = 362538391; task1.Name = "Planning"; task1.PercentComplete = 1D; resourceRef1.Amount = 1D; resourceRef1.ResourceID = 766290656; resourceRef2.Amount = 1D; resourceRef2.ResourceID = 1334638351; resourceRef3.Amount = 1D; resourceRef3.ResourceID = 239555279; task1.ResourceRefs.Add(resourceRef1); task1.ResourceRefs.Add(resourceRef2); task1.ResourceRefs.Add(resourceRef3); task1.Start = new System.DateTime(2013, 6, 5, 0, 0, 0, 0); task2.ID = 110002178; barStyle2.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(200)))), ((int)(((byte)(209))))); barStyle2.BarShape = C1.Win.C1GanttView.BarShape.ThickBar; barStyle2.BarType = C1.Win.C1GanttView.BarType.ManualTask; barStyle2.EndShape = 22; barStyle2.RightText1_ID = -13; barStyle2.StartShape = 21; barStyle2.TopText1_ID = 2099866733; barStyle3.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(135)))), ((int)(((byte)(220))))); barStyle3.BarShape = C1.Win.C1GanttView.BarShape.ThickBar; barStyle3.BarType = C1.Win.C1GanttView.BarType.AutoTask; barStyle3.RightText1_ID = -13; barStyle3.TopText1_ID = 2099866733; barStyle4.BarType = C1.Win.C1GanttView.BarType.Deadline; barStyle4.StartColor = System.Drawing.Color.Green; barStyle4.StartShape = 12; barStyle4.TopText1_ID = 166462627; task3.BarStyles.Add(barStyle2); task3.BarStyles.Add(barStyle3); task3.BarStyles.Add(barStyle4); task3.ConstraintDate = new System.DateTime(2013, 6, 7, 0, 0, 0, 0); task3.ConstraintType = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan; task3.Deadline = new System.DateTime(2013, 6, 15, 0, 0, 0, 0); task3.Duration = 3D; task3.ID = 1179983348; task3.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task3.Name = "Analysis"; task3.PercentComplete = 1D; predecessor1.PredecessorTaskID = 362538391; task3.Predecessors.Add(predecessor1); resourceRef4.Amount = 1D; resourceRef4.ResourceID = 2011144056; task3.ResourceRefs.Add(resourceRef4); task4.ID = 1427410353; barStyle5.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(200)))), ((int)(((byte)(209))))); barStyle5.BarShape = C1.Win.C1GanttView.BarShape.ThickBar; barStyle5.BarType = C1.Win.C1GanttView.BarType.ManualTask; barStyle5.EndShape = 22; barStyle5.RightText1_ID = -13; barStyle5.StartShape = 21; barStyle5.TopText1_ID = 2099866733; barStyle6.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(63)))), ((int)(((byte)(63))))); barStyle6.BarShape = C1.Win.C1GanttView.BarShape.MiddleBar; barStyle6.BarType = C1.Win.C1GanttView.BarType.Progress; barStyle6.BottomText1_ID = 705116663; task5.BarStyles.Add(barStyle5); task5.BarStyles.Add(barStyle6); task5.Finish = new System.DateTime(2013, 6, 15, 0, 0, 0, 0); task5.ID = 2098269195; task5.Name = "Design"; task5.PercentComplete = 0.5D; predecessor2.PredecessorTaskID = 1179983348; task5.Predecessors.Add(predecessor2); resourceRef5.Amount = 1D; resourceRef5.ResourceID = 2101511829; resourceRef6.Amount = 1D; resourceRef6.ResourceID = 1869891731; task5.ResourceRefs.Add(resourceRef5); task5.ResourceRefs.Add(resourceRef6); task5.Start = new System.DateTime(2013, 6, 13, 8, 30, 0, 0); task6.ID = 1753282054; barStyle7.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(200)))), ((int)(((byte)(209))))); barStyle7.BarShape = C1.Win.C1GanttView.BarShape.ThickBar; barStyle7.BarType = C1.Win.C1GanttView.BarType.ManualTask; barStyle7.EndShape = 22; barStyle7.RightText1_ID = -13; barStyle7.StartShape = 21; barStyle7.TopText1_ID = 2099866733; barStyle8.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(135)))), ((int)(((byte)(220))))); barStyle8.BarShape = C1.Win.C1GanttView.BarShape.ThickBar; barStyle8.BarType = C1.Win.C1GanttView.BarType.AutoTask; barStyle8.LeftText1_ID = 1673084976; barStyle8.TopText1_ID = 2099866733; barStyle9.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(63)))), ((int)(((byte)(63))))); barStyle9.BarShape = C1.Win.C1GanttView.BarShape.MiddleBar; barStyle9.BarType = C1.Win.C1GanttView.BarType.Progress; barStyle9.BottomText1_ID = 705116663; task7.BarStyles.Add(barStyle7); task7.BarStyles.Add(barStyle8); task7.BarStyles.Add(barStyle9); task7.ConstraintDate = new System.DateTime(2013, 6, 17, 0, 0, 0, 0); task7.ConstraintType = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan; task7.Duration = 4D; task7.ID = 792666599; task7.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task7.Name = "Implementation"; task7.PercentComplete = 0.25D; predecessor3.PredecessorTaskID = 2098269195; task7.Predecessors.Add(predecessor3); resourceRef7.Amount = 1D; resourceRef7.ResourceID = 1334638351; resourceRef8.Amount = 1D; resourceRef8.ResourceID = 766290656; task7.ResourceRefs.Add(resourceRef7); task7.ResourceRefs.Add(resourceRef8); task8.ID = 1853855961; barStyle10.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(200)))), ((int)(((byte)(209))))); barStyle10.BarShape = C1.Win.C1GanttView.BarShape.ThickBar; barStyle10.BarType = C1.Win.C1GanttView.BarType.ManualTask; barStyle10.EndShape = 22; barStyle10.LeftText1_ID = 1673084976; barStyle10.StartShape = 21; barStyle10.TopText1_ID = 2099866733; barStyle11.BarType = C1.Win.C1GanttView.BarType.Deadline; barStyle11.BottomText1_ID = 166462627; barStyle11.StartColor = System.Drawing.Color.Green; barStyle11.StartShape = 12; task9.BarStyles.Add(barStyle10); task9.BarStyles.Add(barStyle11); task9.Deadline = new System.DateTime(2013, 6, 26, 0, 0, 0, 0); task9.Finish = new System.DateTime(2013, 6, 24, 18, 0, 0, 0); task9.ID = 2121238572; task9.Name = "Documentation"; predecessor4.PredecessorTaskID = 792666599; task9.Predecessors.Add(predecessor4); resourceRef9.Amount = 1D; resourceRef9.ResourceID = 1640417825; resourceRef10.Amount = 1D; resourceRef10.ResourceID = 556319480; task9.ResourceRefs.Add(resourceRef9); task9.ResourceRefs.Add(resourceRef10); task9.Start = new System.DateTime(2013, 6, 21, 8, 30, 0, 0); task10.ID = 1728214611; barStyle12.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(200)))), ((int)(((byte)(209))))); barStyle12.BarShape = C1.Win.C1GanttView.BarShape.ThickBar; barStyle12.BarType = C1.Win.C1GanttView.BarType.ManualTask; barStyle12.EndShape = 22; barStyle12.LeftText1_ID = 1673084976; barStyle12.StartShape = 21; barStyle12.TopText1_ID = 2099866733; task11.BarStyles.Add(barStyle12); task11.Finish = new System.DateTime(2013, 6, 27, 0, 0, 0, 0); task11.ID = 312019882; task11.Name = "Support"; predecessor5.PredecessorTaskID = 2121238572; task11.Predecessors.Add(predecessor5); resourceRef11.Amount = 1D; resourceRef11.ResourceID = 2011144056; task11.ResourceRefs.Add(resourceRef11); task11.Start = new System.DateTime(2013, 6, 25, 0, 0, 0, 0); task12.ID = 2131650479; task13.ID = 1600264846; task14.ID = 185936048; task15.ID = 1447717244; task16.ID = 1352797036; task17.ID = 1301076315; task18.ID = 562163695; task19.ID = 19552401; task20.ID = 1597983629; task21.ID = 591786279; task22.ID = 816445275; task23.ID = 514161404; task24.ID = 992389273; task25.ID = 246882487; task26.ID = 1546671531; task27.ID = 2076126586; this.ganttView.Tasks.Add(task1); this.ganttView.Tasks.Add(task2); this.ganttView.Tasks.Add(task3); this.ganttView.Tasks.Add(task4); this.ganttView.Tasks.Add(task5); this.ganttView.Tasks.Add(task6); this.ganttView.Tasks.Add(task7); this.ganttView.Tasks.Add(task8); this.ganttView.Tasks.Add(task9); this.ganttView.Tasks.Add(task10); this.ganttView.Tasks.Add(task11); this.ganttView.Tasks.Add(task12); this.ganttView.Tasks.Add(task13); this.ganttView.Tasks.Add(task14); this.ganttView.Tasks.Add(task15); this.ganttView.Tasks.Add(task16); this.ganttView.Tasks.Add(task17); this.ganttView.Tasks.Add(task18); this.ganttView.Tasks.Add(task19); this.ganttView.Tasks.Add(task20); this.ganttView.Tasks.Add(task21); this.ganttView.Tasks.Add(task22); this.ganttView.Tasks.Add(task23); this.ganttView.Tasks.Add(task24); this.ganttView.Tasks.Add(task25); this.ganttView.Tasks.Add(task26); this.ganttView.Tasks.Add(task27); this.ganttView.Timescale.BottomTier.Align = C1.Win.C1GanttView.ScaleLabelAlignment.Center; this.ganttView.Timescale.BottomTier.Format = "w"; this.ganttView.Timescale.BottomTier.Visible = true; this.ganttView.Timescale.MiddleTier.Format = "nnn d, \\\'yy"; this.ganttView.Timescale.MiddleTier.MinWidth = 62; this.ganttView.Timescale.MiddleTier.Units = C1.Win.C1GanttView.TimescaleUnits.Weeks; this.ganttView.Timescale.MiddleTier.Visible = true; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1064, 648); this.Controls.Add(this.btnPreview); this.Controls.Add(this.btnPrint); this.Controls.Add(this.ganttView); this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.ganttView)).EndInit(); this.ResumeLayout(false); }