Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 /// <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.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.Resource    resource10    = new C1.Win.C1GanttView.Resource();
     C1.Win.C1GanttView.Resource    resource11    = new C1.Win.C1GanttView.Resource();
     C1.Win.C1GanttView.Resource    resource12    = new C1.Win.C1GanttView.Resource();
     C1.Win.C1GanttView.Resource    resource13    = new C1.Win.C1GanttView.Resource();
     C1.Win.C1GanttView.Resource    resource14    = new C1.Win.C1GanttView.Resource();
     C1.Win.C1GanttView.Resource    resource15    = new C1.Win.C1GanttView.Resource();
     C1.Win.C1GanttView.Resource    resource16    = new C1.Win.C1GanttView.Resource();
     C1.Win.C1GanttView.Resource    resource17    = new C1.Win.C1GanttView.Resource();
     C1.Win.C1GanttView.Resource    resource18    = 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.ResourceRef resourceRef1  = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task4         = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor1  = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.Task        task5         = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor2  = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.ResourceRef resourceRef2  = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task6         = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor3  = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.ResourceRef resourceRef3  = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.ResourceRef resourceRef4  = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task7         = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor4  = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.Task        task8         = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor5  = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.Task        task9         = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.ResourceRef resourceRef5  = new C1.Win.C1GanttView.ResourceRef();
     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.ResourceRef resourceRef7  = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task11        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor7  = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.Task        task12        = 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.ResourceRef resourceRef9  = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task13        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor9  = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.ResourceRef resourceRef10 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.ResourceRef resourceRef11 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task14        = 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 resourceRef12 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.ResourceRef resourceRef13 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task15        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor12 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.ResourceRef resourceRef14 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task16        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor13 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.Task        task17        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task18        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.ResourceRef resourceRef15 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task19        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor14 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.ResourceRef resourceRef16 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.ResourceRef resourceRef17 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task20        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.ResourceRef resourceRef18 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.ResourceRef resourceRef19 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task21        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.ResourceRef resourceRef20 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task22        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor15 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.Task        task23        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor16 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.ResourceRef resourceRef21 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.ResourceRef resourceRef22 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task24        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor17 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.ResourceRef resourceRef23 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.ResourceRef resourceRef24 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task25        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor18 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.Predecessor predecessor19 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.Predecessor predecessor20 = new C1.Win.C1GanttView.Predecessor();
     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();
     C1.Win.C1GanttView.Task        task29        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task30        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task31        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task32        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task33        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task34        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task35        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task36        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task37        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task38        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task39        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task40        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task41        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task42        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task43        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task44        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task45        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task46        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task47        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task48        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task49        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task50        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task51        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task52        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task53        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task54        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task55        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task56        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task57        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task58        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task59        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task60        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task61        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task62        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task63        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task64        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task65        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task66        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task67        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task68        = new C1.Win.C1GanttView.Task();
     this.ganttView            = new C1.Win.C1GanttView.C1GanttView();
     this.btnMissNaming        = new System.Windows.Forms.Button();
     this.btnMissingResource   = new System.Windows.Forms.Button();
     this.btnPerformWithin     = new System.Windows.Forms.Button();
     this.btnHaveNotes         = new System.Windows.Forms.Button();
     this.groupBox1            = new System.Windows.Forms.GroupBox();
     this.btnTobyOrToni        = new System.Windows.Forms.Button();
     this.btnCompletedByCarole = new System.Windows.Forms.Button();
     this.btnLateOn            = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.ganttView)).BeginInit();
     this.groupBox1.SuspendLayout();
     this.SuspendLayout();
     //
     // 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;
     taskPropertyColumn1.Caption   = "Task Mode";
     taskPropertyColumn1.ID        = 281642421;
     taskPropertyColumn1.Property  = C1.Win.C1GanttView.TaskProperty.Mode;
     taskPropertyColumn1.Width     = 71;
     taskPropertyColumn2.Caption   = "Task Name";
     taskPropertyColumn2.ID        = 389283492;
     taskPropertyColumn2.Property  = C1.Win.C1GanttView.TaskProperty.Name;
     taskPropertyColumn2.Width     = 167;
     taskPropertyColumn3.Caption   = "Duration";
     taskPropertyColumn3.ID        = 1193980067;
     taskPropertyColumn3.Property  = C1.Win.C1GanttView.TaskProperty.Duration;
     taskPropertyColumn3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     taskPropertyColumn3.Width     = 55;
     taskPropertyColumn4.Caption   = "Duration Units";
     taskPropertyColumn4.ID        = 1834393658;
     taskPropertyColumn4.Property  = C1.Win.C1GanttView.TaskProperty.DurationUnits;
     taskPropertyColumn5.Caption   = "Start";
     taskPropertyColumn5.ID        = 878770404;
     taskPropertyColumn5.Property  = C1.Win.C1GanttView.TaskProperty.Start;
     taskPropertyColumn5.Visible   = false;
     taskPropertyColumn6.Caption   = "Finish";
     taskPropertyColumn6.ID        = 1347224272;
     taskPropertyColumn6.Property  = C1.Win.C1GanttView.TaskProperty.Finish;
     taskPropertyColumn6.Visible   = false;
     taskPropertyColumn7.Caption   = "% Complete";
     taskPropertyColumn7.ID        = 1303371270;
     taskPropertyColumn7.Property  = C1.Win.C1GanttView.TaskProperty.PercentComplete;
     taskPropertyColumn7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     taskPropertyColumn7.Visible   = false;
     taskPropertyColumn8.Caption   = "Constraint Type";
     taskPropertyColumn8.ID        = 1686029953;
     taskPropertyColumn8.Property  = C1.Win.C1GanttView.TaskProperty.ConstraintType;
     taskPropertyColumn8.Visible   = false;
     taskPropertyColumn9.Caption   = "Constraint Date";
     taskPropertyColumn9.ID        = 1178233289;
     taskPropertyColumn9.Property  = C1.Win.C1GanttView.TaskProperty.ConstraintDate;
     taskPropertyColumn9.Visible   = false;
     taskPropertyColumn10.Caption  = "Predecessors";
     taskPropertyColumn10.ID       = 1777126625;
     taskPropertyColumn10.Property = C1.Win.C1GanttView.TaskProperty.Predecessors;
     taskPropertyColumn11.Caption  = "Deadline";
     taskPropertyColumn11.ID       = 1481072281;
     taskPropertyColumn11.Property = C1.Win.C1GanttView.TaskProperty.Deadline;
     taskPropertyColumn11.Visible  = false;
     taskPropertyColumn12.Caption  = "Calendar";
     taskPropertyColumn12.ID       = 1736156873;
     taskPropertyColumn12.Property = C1.Win.C1GanttView.TaskProperty.Calendar;
     taskPropertyColumn12.Visible  = false;
     taskPropertyColumn13.Caption  = "Resource Names";
     taskPropertyColumn13.ID       = 2017304018;
     taskPropertyColumn13.Property = C1.Win.C1GanttView.TaskProperty.ResourceNames;
     taskPropertyColumn13.Visible  = false;
     taskPropertyColumn14.Caption  = "Notes";
     taskPropertyColumn14.ID       = 1642844192;
     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, 9, 0, 0, 0);
     this.ganttView.DefaultWorkingTimes.Interval_1.To    = new System.DateTime(1, 1, 1, 13, 0, 0, 0);
     this.ganttView.DefaultWorkingTimes.Interval_2.Empty = false;
     this.ganttView.DefaultWorkingTimes.Interval_2.From  = new System.DateTime(1, 1, 1, 14, 0, 0, 0);
     this.ganttView.DefaultWorkingTimes.Interval_2.To    = new System.DateTime(1, 1, 1, 18, 0, 0, 0);
     this.ganttView.GridWidth = 338;
     this.ganttView.Location  = new System.Drawing.Point(0, 0);
     this.ganttView.Name      = "ganttView";
     task1.ID                      = 1513498650;
     task1.Mode                    = C1.Win.C1GanttView.TaskMode.Automatic;
     task1.Name                    = "New Book Launch schedule";
     task1.PercentComplete         = 0.2152058891189326D;
     this.ganttView.ProjectSummary = task1;
     resource1.Cost                = new decimal(new int[] {
         2700,
         0,
         0,
         0
     });
     resource1.ID   = 1310257871;
     resource1.Name = "Toby Nixon";
     resource2.Cost = new decimal(new int[] {
         880,
         0,
         0,
         0
     });
     resource2.ID            = 403942649;
     resource2.Name          = "Vikas Jain";
     resource3.ID            = 900059987;
     resource3.Name          = "Carole Poland";
     resource4.ID            = 775286470;
     resource4.Name          = "Copyeditors";
     resource4.ResourceType  = C1.Win.C1GanttView.ResourceType.Material;
     resource5.ID            = 967675533;
     resource5.Name          = "Dan Jump";
     resource6.ID            = 38886245;
     resource6.Name          = "Hany Morcos";
     resource7.ID            = 237469361;
     resource7.Name          = "Jane Dow";
     resource8.ID            = 443042401;
     resource8.Name          = "John Evans";
     resource9.ID            = 1698044936;
     resource9.Name          = "Jun Cao";
     resource10.ID           = 1476859390;
     resource10.Name         = "Katie Jordan";
     resource11.ID           = 603908635;
     resource11.Name         = "Luis Sousa";
     resource12.ID           = 697558225;
     resource12.Name         = "Printing Service";
     resource12.ResourceType = C1.Win.C1GanttView.ResourceType.Material;
     resource13.ID           = 539828441;
     resource13.Name         = "Robin Wood";
     resource14.ID           = 1310682358;
     resource14.Name         = "Sharon Salavaria";
     resource15.ID           = 372390668;
     resource15.Name         = "Toni Poe";
     resource16.Cost         = new decimal(new int[] {
         8000,
         0,
         0,
         0
     });
     resource16.ID   = 1423358882;
     resource16.Name = "Travel";
     resource17.ID   = 1164843623;
     resource17.Name = "Wiliam Flash";
     resource18.ID   = 260690927;
     resource18.Name = "Zac Woodall";
     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.Resources.Add(resource10);
     this.ganttView.Resources.Add(resource11);
     this.ganttView.Resources.Add(resource12);
     this.ganttView.Resources.Add(resource13);
     this.ganttView.Resources.Add(resource14);
     this.ganttView.Resources.Add(resource15);
     this.ganttView.Resources.Add(resource16);
     this.ganttView.Resources.Add(resource17);
     this.ganttView.Resources.Add(resource18);
     this.ganttView.Size      = new System.Drawing.Size(821, 477);
     this.ganttView.StartDate = new System.DateTime(2014, 2, 25, 0, 0, 0, 0);
     this.ganttView.TabIndex  = 0;
     task2.ID                = 373743850;
     task2.Mode              = C1.Win.C1GanttView.TaskMode.Automatic;
     task2.Name              = "Planning Phase";
     task2.OutlineParentID   = 1513498650;
     task2.PercentComplete   = 0.19047619047619047D;
     task3.Duration          = 1D;
     task3.ID                = 1940039857;
     task3.Mode              = C1.Win.C1GanttView.TaskMode.Automatic;
     task3.Name              = "Assign launch team members";
     task3.OutlineParentID   = 373743850;
     task3.PercentComplete   = 1D;
     resourceRef1.Amount     = 1D;
     resourceRef1.ResourceID = 900059987;
     task3.ResourceRefs.Add(resourceRef1);
     task4.Duration                 = 1D;
     task4.DurationUnits            = C1.Win.C1GanttView.DurationUnits.Weeks;
     task4.ID                       = 1902404950;
     task4.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task4.OutlineParentID          = 373743850;
     task4.PercentComplete          = 0.6D;
     predecessor1.PredecessorTaskID = 1940039857;
     task4.Predecessors.Add(predecessor1);
     task5.Duration                 = 1D;
     task5.DurationUnits            = C1.Win.C1GanttView.DurationUnits.Weeks;
     task5.ID                       = 152489629;
     task5.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task5.Name                     = "Schedule author interviews";
     task5.OutlineParentID          = 373743850;
     predecessor2.PredecessorTaskID = 1940039857;
     task5.Predecessors.Add(predecessor2);
     resourceRef2.Amount     = 1D;
     resourceRef2.ResourceID = 1698044936;
     task5.ResourceRefs.Add(resourceRef2);
     task6.Duration                 = 2D;
     task6.DurationUnits            = C1.Win.C1GanttView.DurationUnits.Weeks;
     task6.ID                       = 2091011055;
     task6.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task6.Name                     = "Design and order marketing material";
     task6.OutlineParentID          = 373743850;
     predecessor3.PredecessorTaskID = 1940039857;
     task6.Predecessors.Add(predecessor3);
     resourceRef3.Amount     = 1D;
     resourceRef3.ResourceID = 1310257871;
     resourceRef4.Amount     = 1D;
     resourceRef4.ResourceID = 260690927;
     task6.ResourceRefs.Add(resourceRef3);
     task6.ResourceRefs.Add(resourceRef4);
     task7.Duration                 = 0D;
     task7.ID                       = 1524170823;
     task7.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task7.Name                     = "Planning complete!";
     task7.OutlineParentID          = 373743850;
     predecessor4.PredecessorTaskID = 2091011055;
     task7.Predecessors.Add(predecessor4);
     task8.ConstraintDate           = new System.DateTime(2014, 3, 3, 0, 0, 0, 0);
     task8.ConstraintType           = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task8.ID                       = 2118603263;
     task8.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task8.OutlineParentID          = 1513498650;
     task8.PercentComplete          = 0.43478260869565216D;
     predecessor5.PredecessorTaskID = 373743850;
     task8.Predecessors.Add(predecessor5);
     task9.ConstraintDate    = new System.DateTime(2014, 3, 12, 0, 0, 0, 0);
     task9.ConstraintType    = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task9.Duration          = 1D;
     task9.ID                = 1266698008;
     task9.Mode              = C1.Win.C1GanttView.TaskMode.Automatic;
     task9.Name              = "Kickoff book launch meeting";
     task9.OutlineParentID   = 2118603263;
     task9.PercentComplete   = 1D;
     resourceRef5.Amount     = 1D;
     resourceRef5.ResourceID = 1310682358;
     resourceRef6.Amount     = 1D;
     resourceRef6.ResourceID = 1310257871;
     task9.ResourceRefs.Add(resourceRef5);
     task9.ResourceRefs.Add(resourceRef6);
     task10.Duration                = 2D;
     task10.ID                      = 1743047809;
     task10.Mode                    = C1.Win.C1GanttView.TaskMode.Automatic;
     task10.OutlineParentID         = 2118603263;
     task10.PercentComplete         = 0.5D;
     predecessor6.PredecessorTaskID = 1266698008;
     task10.Predecessors.Add(predecessor6);
     resourceRef7.Amount     = 1D;
     resourceRef7.ResourceID = 900059987;
     task10.ResourceRefs.Add(resourceRef7);
     task11.Duration                = 6D;
     task11.ID                      = 525875640;
     task11.Mode                    = C1.Win.C1GanttView.TaskMode.Automatic;
     task11.Name                    = "Plan author\'s travel itinerary";
     task11.OutlineParentID         = 2118603263;
     task11.PercentComplete         = 1D;
     predecessor7.PredecessorTaskID = 1266698008;
     task11.Predecessors.Add(predecessor7);
     task12.Duration                = 1D;
     task12.DurationUnits           = C1.Win.C1GanttView.DurationUnits.Weeks;
     task12.ID                      = 132405539;
     task12.Mode                    = C1.Win.C1GanttView.TaskMode.Automatic;
     task12.Name                    = "Channel Sales prep";
     task12.OutlineParentID         = 2118603263;
     predecessor8.PredecessorTaskID = 1266698008;
     task12.Predecessors.Add(predecessor8);
     resourceRef8.Amount     = 1D;
     resourceRef8.ResourceID = 260690927;
     resourceRef9.Amount     = 1D;
     resourceRef9.ResourceID = 38886245;
     task12.ResourceRefs.Add(resourceRef8);
     task12.ResourceRefs.Add(resourceRef9);
     task13.Finish                  = new System.DateTime(2014, 3, 24, 9, 0, 0, 0);
     task13.ID                      = 1353658744;
     task13.Name                    = "Complete book launch form";
     task13.OutlineParentID         = 2118603263;
     task13.PercentComplete         = 1D;
     predecessor9.PredecessorTaskID = 132405539;
     task13.Predecessors.Add(predecessor9);
     resourceRef10.Amount     = 1D;
     resourceRef10.ResourceID = 1310257871;
     resourceRef11.Amount     = 1D;
     resourceRef11.ResourceID = 403942649;
     task13.ResourceRefs.Add(resourceRef10);
     task13.ResourceRefs.Add(resourceRef11);
     task13.Start                    = new System.DateTime(2014, 3, 20, 9, 0, 0, 0);
     task14.DurationUnits            = C1.Win.C1GanttView.DurationUnits.Weeks;
     task14.Finish                   = new System.DateTime(2014, 3, 27, 9, 0, 0, 0);
     task14.ID                       = 1396929467;
     task14.Name                     = "Prepare book sales kit";
     task14.OutlineParentID          = 2118603263;
     predecessor10.PredecessorTaskID = 1266698008;
     predecessor11.PredecessorTaskID = 132405539;
     task14.Predecessors.Add(predecessor10);
     task14.Predecessors.Add(predecessor11);
     resourceRef12.Amount     = 1D;
     resourceRef12.ResourceID = 38886245;
     resourceRef13.Amount     = 1D;
     resourceRef13.ResourceID = 260690927;
     task14.ResourceRefs.Add(resourceRef12);
     task14.ResourceRefs.Add(resourceRef13);
     task14.Start                    = new System.DateTime(2014, 3, 20, 9, 0, 0, 0);
     task15.Duration                 = 2D;
     task15.ID                       = 518118730;
     task15.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task15.Name                     = "Distribute internal marketing material";
     task15.OutlineParentID          = 2118603263;
     predecessor12.PredecessorTaskID = 1396929467;
     task15.Predecessors.Add(predecessor12);
     resourceRef14.Amount     = 1D;
     resourceRef14.ResourceID = 260690927;
     task15.ResourceRefs.Add(resourceRef14);
     task16.ID                       = 1794896915;
     task16.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task16.Name                     = "Public Launch Phase";
     task16.OutlineParentID          = 1513498650;
     predecessor13.PredecessorTaskID = 2118603263;
     task16.Predecessors.Add(predecessor13);
     task17.ID                = 1105961502;
     task17.Mode              = C1.Win.C1GanttView.TaskMode.Automatic;
     task17.Name              = "Author travel and appearances";
     task17.OutlineParentID   = 1794896915;
     task18.ConstraintDate    = new System.DateTime(2014, 3, 31, 0, 0, 0, 0);
     task18.ConstraintType    = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task18.Duration          = 1D;
     task18.ID                = 119033255;
     task18.Mode              = C1.Win.C1GanttView.TaskMode.Automatic;
     task18.Name              = "Author radio interview";
     task18.OutlineParentID   = 1105961502;
     resourceRef15.Amount     = 1D;
     resourceRef15.ResourceID = 372390668;
     task18.ResourceRefs.Add(resourceRef15);
     task19.Duration                 = 1D;
     task19.ID                       = 1383214640;
     task19.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task19.Name                     = "Author reading and signing at book fair";
     task19.OutlineParentID          = 1105961502;
     predecessor14.PredecessorTaskID = 119033255;
     task19.Predecessors.Add(predecessor14);
     resourceRef16.Amount     = 1D;
     resourceRef16.ResourceID = 372390668;
     resourceRef17.Amount     = 1D;
     resourceRef17.ResourceID = 1423358882;
     task19.ResourceRefs.Add(resourceRef16);
     task19.ResourceRefs.Add(resourceRef17);
     task20.ConstraintDate    = new System.DateTime(2014, 3, 31, 0, 0, 0, 0);
     task20.ConstraintType    = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task20.Duration          = 2D;
     task20.ID                = 2061905321;
     task20.Mode              = C1.Win.C1GanttView.TaskMode.Automatic;
     task20.Name              = "Distribute advance copies";
     task20.Notes             = "Get recipient list from publicist";
     task20.OutlineParentID   = 1794896915;
     resourceRef18.Amount     = 1D;
     resourceRef18.ResourceID = 1310257871;
     resourceRef19.Amount     = 1D;
     resourceRef19.ResourceID = 403942649;
     task20.ResourceRefs.Add(resourceRef18);
     task20.ResourceRefs.Add(resourceRef19);
     task21.ConstraintDate    = new System.DateTime(2014, 3, 31, 0, 0, 0, 0);
     task21.ConstraintType    = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task21.Duration          = 2D;
     task21.ID                = 225039161;
     task21.Mode              = C1.Win.C1GanttView.TaskMode.Automatic;
     task21.Name              = "Distribute book sales kit";
     task21.OutlineParentID   = 1794896915;
     resourceRef20.Amount     = 1D;
     resourceRef20.ResourceID = 260690927;
     task21.ResourceRefs.Add(resourceRef20);
     task22.Duration                 = 7D;
     task22.ID                       = 334780400;
     task22.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task22.OutlineParentID          = 1794896915;
     predecessor15.PredecessorTaskID = 225039161;
     task22.Predecessors.Add(predecessor15);
     task23.Duration                 = 1D;
     task23.DurationUnits            = C1.Win.C1GanttView.DurationUnits.Weeks;
     task23.ID                       = 950931069;
     task23.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task23.Name                     = "Launch public Web portal for book";
     task23.OutlineParentID          = 1794896915;
     predecessor16.PredecessorTaskID = 225039161;
     task23.Predecessors.Add(predecessor16);
     resourceRef21.Amount     = 1D;
     resourceRef21.ResourceID = 1310257871;
     resourceRef22.Amount     = 1D;
     resourceRef22.ResourceID = 403942649;
     task23.ResourceRefs.Add(resourceRef21);
     task23.ResourceRefs.Add(resourceRef22);
     task24.Duration                 = 1D;
     task24.DurationUnits            = C1.Win.C1GanttView.DurationUnits.Weeks;
     task24.ID                       = 349527667;
     task24.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task24.Name                     = "Launch social media programs for book";
     task24.OutlineParentID          = 1794896915;
     predecessor17.PredecessorTaskID = 950931069;
     task24.Predecessors.Add(predecessor17);
     resourceRef23.Amount     = 1D;
     resourceRef23.ResourceID = 1310257871;
     resourceRef24.Amount     = 1D;
     resourceRef24.ResourceID = 403942649;
     task24.ResourceRefs.Add(resourceRef23);
     task24.ResourceRefs.Add(resourceRef24);
     task25.Duration                 = 0D;
     task25.ID                       = 1952630353;
     task25.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task25.Name                     = "Launch complete!";
     task25.OutlineParentID          = 1794896915;
     predecessor18.PredecessorTaskID = 334780400;
     predecessor19.PredecessorTaskID = 950931069;
     predecessor20.PredecessorTaskID = 349527667;
     task25.Predecessors.Add(predecessor18);
     task25.Predecessors.Add(predecessor19);
     task25.Predecessors.Add(predecessor20);
     task26.ID = 1907411200;
     task27.ID = 557040271;
     task28.ID = 1772783385;
     task29.ID = 2094903358;
     task30.ID = 626127770;
     task31.ID = 104461576;
     task32.ID = 890975461;
     task33.ID = 1476994843;
     task34.ID = 1242069060;
     task35.ID = 244233220;
     task36.ID = 1890605695;
     task37.ID = 159678678;
     task38.ID = 1710019457;
     task39.ID = 1786831974;
     task40.ID = 35990369;
     task41.ID = 758534052;
     task42.ID = 686492856;
     task43.ID = 1304030759;
     task44.ID = 1321288092;
     task45.ID = 1015939034;
     task46.ID = 216473481;
     task47.ID = 2037590830;
     task48.ID = 1061679727;
     task49.ID = 221841874;
     task50.ID = 1530697032;
     task51.ID = 1995786867;
     task52.ID = 1414865794;
     task53.ID = 647554806;
     task54.ID = 971243530;
     task55.ID = 1919783097;
     task56.ID = 968785459;
     task57.ID = 1515204094;
     task58.ID = 892227204;
     task59.ID = 1766942900;
     task60.ID = 1343996224;
     task61.ID = 516376503;
     task62.ID = 1693906001;
     task63.ID = 1566078940;
     task64.ID = 1276277181;
     task65.ID = 48028054;
     task66.ID = 1200035595;
     task67.ID = 47175981;
     task68.ID = 500978750;
     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.Tasks.Add(task28);
     this.ganttView.Tasks.Add(task29);
     this.ganttView.Tasks.Add(task30);
     this.ganttView.Tasks.Add(task31);
     this.ganttView.Tasks.Add(task32);
     this.ganttView.Tasks.Add(task33);
     this.ganttView.Tasks.Add(task34);
     this.ganttView.Tasks.Add(task35);
     this.ganttView.Tasks.Add(task36);
     this.ganttView.Tasks.Add(task37);
     this.ganttView.Tasks.Add(task38);
     this.ganttView.Tasks.Add(task39);
     this.ganttView.Tasks.Add(task40);
     this.ganttView.Tasks.Add(task41);
     this.ganttView.Tasks.Add(task42);
     this.ganttView.Tasks.Add(task43);
     this.ganttView.Tasks.Add(task44);
     this.ganttView.Tasks.Add(task45);
     this.ganttView.Tasks.Add(task46);
     this.ganttView.Tasks.Add(task47);
     this.ganttView.Tasks.Add(task48);
     this.ganttView.Tasks.Add(task49);
     this.ganttView.Tasks.Add(task50);
     this.ganttView.Tasks.Add(task51);
     this.ganttView.Tasks.Add(task52);
     this.ganttView.Tasks.Add(task53);
     this.ganttView.Tasks.Add(task54);
     this.ganttView.Tasks.Add(task55);
     this.ganttView.Tasks.Add(task56);
     this.ganttView.Tasks.Add(task57);
     this.ganttView.Tasks.Add(task58);
     this.ganttView.Tasks.Add(task59);
     this.ganttView.Tasks.Add(task60);
     this.ganttView.Tasks.Add(task61);
     this.ganttView.Tasks.Add(task62);
     this.ganttView.Tasks.Add(task63);
     this.ganttView.Tasks.Add(task64);
     this.ganttView.Tasks.Add(task65);
     this.ganttView.Tasks.Add(task66);
     this.ganttView.Tasks.Add(task67);
     this.ganttView.Tasks.Add(task68);
     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  = "nnnn d";
     this.ganttView.Timescale.MiddleTier.Units   = C1.Win.C1GanttView.TimescaleUnits.Weeks;
     this.ganttView.Timescale.MiddleTier.Visible = true;
     //
     // btnMissNaming
     //
     this.btnMissNaming.Location = new System.Drawing.Point(40, 22);
     this.btnMissNaming.Name     = "btnMissNaming";
     this.btnMissNaming.Size     = new System.Drawing.Size(178, 25);
     this.btnMissNaming.TabIndex = 1;
     this.btnMissNaming.Text     = "Missing Name Tasks";
     this.btnMissNaming.UseVisualStyleBackColor = true;
     this.btnMissNaming.Click += new System.EventHandler(this.btnMissNaming_Click);
     //
     // btnMissingResource
     //
     this.btnMissingResource.Location = new System.Drawing.Point(40, 53);
     this.btnMissingResource.Name     = "btnMissingResource";
     this.btnMissingResource.Size     = new System.Drawing.Size(178, 25);
     this.btnMissingResource.TabIndex = 1;
     this.btnMissingResource.Text     = "Missing Resource Tasks";
     this.btnMissingResource.UseVisualStyleBackColor = true;
     this.btnMissingResource.Click += new System.EventHandler(this.btnMissingResource_Click);
     //
     // btnPerformWithin
     //
     this.btnPerformWithin.Location = new System.Drawing.Point(40, 84);
     this.btnPerformWithin.Name     = "btnPerformWithin";
     this.btnPerformWithin.Size     = new System.Drawing.Size(178, 50);
     this.btnPerformWithin.TabIndex = 1;
     this.btnPerformWithin.Text     = "Tasks Are Performed Within\nMar 16 - Apr 1";
     this.btnPerformWithin.UseVisualStyleBackColor = true;
     this.btnPerformWithin.Click += new System.EventHandler(this.btnPerformWithin_Click);
     //
     // btnHaveNotes
     //
     this.btnHaveNotes.Location = new System.Drawing.Point(40, 140);
     this.btnHaveNotes.Name     = "btnHaveNotes";
     this.btnHaveNotes.Size     = new System.Drawing.Size(178, 25);
     this.btnHaveNotes.TabIndex = 1;
     this.btnHaveNotes.Text     = "Tasks Have Notes";
     this.btnHaveNotes.UseVisualStyleBackColor = true;
     this.btnHaveNotes.Click += new System.EventHandler(this.btnHaveNotes_Click);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Controls.Add(this.btnTobyOrToni);
     this.groupBox1.Controls.Add(this.btnPerformWithin);
     this.groupBox1.Controls.Add(this.btnCompletedByCarole);
     this.groupBox1.Controls.Add(this.btnLateOn);
     this.groupBox1.Controls.Add(this.btnHaveNotes);
     this.groupBox1.Controls.Add(this.btnMissingResource);
     this.groupBox1.Controls.Add(this.btnMissNaming);
     this.groupBox1.Location = new System.Drawing.Point(828, 14);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(233, 463);
     this.groupBox1.TabIndex = 2;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "Filter";
     //
     // btnTobyOrToni
     //
     this.btnTobyOrToni.Location = new System.Drawing.Point(40, 233);
     this.btnTobyOrToni.Name     = "btnTobyOrToni";
     this.btnTobyOrToni.Size     = new System.Drawing.Size(178, 50);
     this.btnTobyOrToni.TabIndex = 2;
     this.btnTobyOrToni.Text     = "Tasks Perform By Toby Or Toni";
     this.btnTobyOrToni.UseVisualStyleBackColor = true;
     this.btnTobyOrToni.Click += new System.EventHandler(this.btnTobyOrToni_Click);
     //
     // btnCompletedByCarole
     //
     this.btnCompletedByCarole.Location = new System.Drawing.Point(40, 202);
     this.btnCompletedByCarole.Name     = "btnCompletedByCarole";
     this.btnCompletedByCarole.Size     = new System.Drawing.Size(178, 25);
     this.btnCompletedByCarole.TabIndex = 1;
     this.btnCompletedByCarole.Text     = "Completed Tasks By Carole";
     this.btnCompletedByCarole.UseVisualStyleBackColor = true;
     this.btnCompletedByCarole.Click += new System.EventHandler(this.btnCompletedByCarole_Click);
     //
     // btnLateOn
     //
     this.btnLateOn.Location = new System.Drawing.Point(40, 171);
     this.btnLateOn.Name     = "btnLateOn";
     this.btnLateOn.Size     = new System.Drawing.Size(178, 25);
     this.btnLateOn.TabIndex = 1;
     this.btnLateOn.Text     = "Late Tasks On Mar 16";
     this.btnLateOn.UseVisualStyleBackColor = true;
     this.btnLateOn.Click += new System.EventHandler(this.btnLateOn_Click);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1060, 477);
     this.Controls.Add(this.groupBox1);
     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 = "Filter Sample";
     ((System.ComponentModel.ISupportInitialize)(this.ganttView)).EndInit();
     this.groupBox1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Esempio n. 3
0
 /// <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.BarStyle           barStyle1            = new C1.Win.C1GanttView.BarStyle();
     C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn1  = new C1.Win.C1GanttView.TaskPropertyColumn();
     C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn2  = new C1.Win.C1GanttView.TaskPropertyColumn();
     C1.Win.C1GanttView.CustomFieldColumn  customFieldColumn1   = new C1.Win.C1GanttView.CustomFieldColumn();
     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.Task        task1        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task2        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.ResourceRef resourceRef1 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.ResourceRef resourceRef2 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task3        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.ResourceRef resourceRef3 = 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.ResourceRef resourceRef4 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.ResourceRef resourceRef5 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task6        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor1 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.ResourceRef resourceRef6 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task7        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor2 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.ResourceRef resourceRef7 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task8        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.ResourceRef resourceRef8 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task9        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task10       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task11       = new C1.Win.C1GanttView.Task();
     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();
     C1.Win.C1GanttView.Task        task28       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task29       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task30       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task31       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task32       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task33       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task34       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task35       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task36       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task37       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task38       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task39       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task40       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task41       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task42       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task43       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task44       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task45       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task46       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task47       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task48       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task49       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task50       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task51       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task52       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task53       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task54       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task55       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task56       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task57       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task58       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task59       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task60       = new C1.Win.C1GanttView.Task();
     this.c1GanttView1         = new C1.Win.C1GanttView.C1GanttView();
     this.btnZoomSelectedTask  = new System.Windows.Forms.Button();
     this.btnZoomEntireProject = new System.Windows.Forms.Button();
     this.btnZoomIn            = new System.Windows.Forms.Button();
     this.btnZoomOut           = new System.Windows.Forms.Button();
     ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).BeginInit();
     this.SuspendLayout();
     //
     // btnZoomSelectedTask
     //
     this.btnZoomSelectedTask.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnZoomSelectedTask.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnZoomSelectedTask.Location = new System.Drawing.Point(313, 521);
     this.btnZoomSelectedTask.Name     = "btnZoomSelectedTask";
     this.btnZoomSelectedTask.Size     = new System.Drawing.Size(122, 29);
     this.btnZoomSelectedTask.TabIndex = 1;
     this.btnZoomSelectedTask.Text     = "Zoom Selected Task";
     this.btnZoomSelectedTask.UseVisualStyleBackColor = true;
     this.btnZoomSelectedTask.Click += new System.EventHandler(this.btnZoomSelectedTask_Click);
     //
     // btnZoomEntireProject
     //
     this.btnZoomEntireProject.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnZoomEntireProject.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnZoomEntireProject.Location = new System.Drawing.Point(483, 521);
     this.btnZoomEntireProject.Name     = "btnZoomEntireProject";
     this.btnZoomEntireProject.Size     = new System.Drawing.Size(138, 29);
     this.btnZoomEntireProject.TabIndex = 1;
     this.btnZoomEntireProject.Text     = "Zoom To Entire Project";
     this.btnZoomEntireProject.UseVisualStyleBackColor = true;
     this.btnZoomEntireProject.Click += new System.EventHandler(this.btnZoomEntireProject_Click);
     //
     // btnZoomIn
     //
     this.btnZoomIn.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnZoomIn.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnZoomIn.Location = new System.Drawing.Point(683, 521);
     this.btnZoomIn.Name     = "btnZoomIn";
     this.btnZoomIn.Size     = new System.Drawing.Size(75, 29);
     this.btnZoomIn.TabIndex = 1;
     this.btnZoomIn.Text     = "Zoom In";
     this.btnZoomIn.UseVisualStyleBackColor = true;
     this.btnZoomIn.Click += new System.EventHandler(this.btnZoomIn_Click);
     //
     // btnZoomOut
     //
     this.btnZoomOut.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnZoomOut.Font     = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnZoomOut.Location = new System.Drawing.Point(822, 521);
     this.btnZoomOut.Name     = "btnZoomOut";
     this.btnZoomOut.Size     = new System.Drawing.Size(78, 29);
     this.btnZoomOut.TabIndex = 1;
     this.btnZoomOut.Text     = "Zoom Out";
     this.btnZoomOut.UseVisualStyleBackColor = true;
     this.btnZoomOut.Click += new System.EventHandler(this.btnZoomOut_Click);
     //
     // 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;
     barStyle1.BarColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(135)))), ((int)(((byte)(220)))));
     barStyle1.BarShape          = C1.Win.C1GanttView.BarShape.ThickBar;
     barStyle1.BarType           = C1.Win.C1GanttView.BarType.AutoTask;
     barStyle1.TopText1_ID       = 287759160;
     this.c1GanttView1.BarStyles.Add(barStyle1);
     taskPropertyColumn1.Caption   = "Task Mode";
     taskPropertyColumn1.ID        = 1680832599;
     taskPropertyColumn1.Property  = C1.Win.C1GanttView.TaskProperty.Mode;
     taskPropertyColumn1.Visible   = false;
     taskPropertyColumn1.Width     = 61;
     taskPropertyColumn2.Caption   = "Task Name";
     taskPropertyColumn2.ID        = 375059526;
     taskPropertyColumn2.Property  = C1.Win.C1GanttView.TaskProperty.Name;
     taskPropertyColumn2.Width     = 93;
     customFieldColumn1.Caption    = "Actual Cost";
     customFieldColumn1.DataType   = typeof(decimal);
     customFieldColumn1.Format     = "$#0";
     customFieldColumn1.ID         = 79583976;
     customFieldColumn1.Name       = "ActualCost";
     customFieldColumn1.TextAlign  = System.Windows.Forms.HorizontalAlignment.Right;
     customFieldColumn1.Width      = 65;
     taskPropertyColumn3.Caption   = "Duration";
     taskPropertyColumn3.ID        = 1572034233;
     taskPropertyColumn3.Property  = C1.Win.C1GanttView.TaskProperty.Duration;
     taskPropertyColumn3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     taskPropertyColumn3.Width     = 34;
     taskPropertyColumn4.Caption   = "Duration Units";
     taskPropertyColumn4.ID        = 688893641;
     taskPropertyColumn4.Property  = C1.Win.C1GanttView.TaskProperty.DurationUnits;
     taskPropertyColumn4.Width     = 60;
     taskPropertyColumn5.Caption   = "Start";
     taskPropertyColumn5.ID        = 1056085932;
     taskPropertyColumn5.Property  = C1.Win.C1GanttView.TaskProperty.Start;
     taskPropertyColumn5.Visible   = false;
     taskPropertyColumn6.Caption   = "Finish";
     taskPropertyColumn6.ID        = 536482953;
     taskPropertyColumn6.Property  = C1.Win.C1GanttView.TaskProperty.Finish;
     taskPropertyColumn6.Visible   = false;
     taskPropertyColumn7.Caption   = "% Complete";
     taskPropertyColumn7.ID        = 241887850;
     taskPropertyColumn7.Property  = C1.Win.C1GanttView.TaskProperty.PercentComplete;
     taskPropertyColumn7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     taskPropertyColumn7.Visible   = false;
     taskPropertyColumn8.Caption   = "Constraint Type";
     taskPropertyColumn8.ID        = 1492723839;
     taskPropertyColumn8.Property  = C1.Win.C1GanttView.TaskProperty.ConstraintType;
     taskPropertyColumn8.Visible   = false;
     taskPropertyColumn9.Caption   = "Constraint Date";
     taskPropertyColumn9.ID        = 497084593;
     taskPropertyColumn9.Property  = C1.Win.C1GanttView.TaskProperty.ConstraintDate;
     taskPropertyColumn9.Visible   = false;
     taskPropertyColumn10.Caption  = "Predecessors";
     taskPropertyColumn10.ID       = 1887751057;
     taskPropertyColumn10.Property = C1.Win.C1GanttView.TaskProperty.Predecessors;
     taskPropertyColumn10.Visible  = false;
     taskPropertyColumn11.Caption  = "Deadline";
     taskPropertyColumn11.ID       = 1454974103;
     taskPropertyColumn11.Property = C1.Win.C1GanttView.TaskProperty.Deadline;
     taskPropertyColumn11.Visible  = false;
     taskPropertyColumn12.Caption  = "Calendar";
     taskPropertyColumn12.ID       = 365231808;
     taskPropertyColumn12.Property = C1.Win.C1GanttView.TaskProperty.Calendar;
     taskPropertyColumn12.Visible  = false;
     taskPropertyColumn13.Caption  = "Resource Names";
     taskPropertyColumn13.ID       = 287759160;
     taskPropertyColumn13.Property = C1.Win.C1GanttView.TaskProperty.ResourceNames;
     taskPropertyColumn13.Visible  = false;
     taskPropertyColumn14.Caption  = "Notes";
     taskPropertyColumn14.ID       = 1372220778;
     taskPropertyColumn14.Property = C1.Win.C1GanttView.TaskProperty.Notes;
     taskPropertyColumn14.Visible  = false;
     this.c1GanttView1.Columns.Add(taskPropertyColumn1);
     this.c1GanttView1.Columns.Add(taskPropertyColumn2);
     this.c1GanttView1.Columns.Add(customFieldColumn1);
     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, 9, 0, 0, 0);
     this.c1GanttView1.DefaultWorkingTimes.Interval_1.To    = new System.DateTime(1, 1, 1, 13, 0, 0, 0);
     this.c1GanttView1.DefaultWorkingTimes.Interval_2.Empty = false;
     this.c1GanttView1.DefaultWorkingTimes.Interval_2.From  = new System.DateTime(1, 1, 1, 14, 0, 0, 0);
     this.c1GanttView1.DefaultWorkingTimes.Interval_2.To    = new System.DateTime(1, 1, 1, 18, 0, 0, 0);
     this.c1GanttView1.GridWidth = 286;
     this.c1GanttView1.Location  = new System.Drawing.Point(0, 0);
     this.c1GanttView1.Name      = "c1GanttView1";
     resource1.Cost = new decimal(new int[] {
         20000,
         0,
         0,
         131072
     });
     resource1.ID   = 457479171;
     resource1.Name = "Adam Miller";
     resource2.Cost = new decimal(new int[] {
         50000,
         0,
         0,
         131072
     });
     resource2.ID   = 574928631;
     resource2.Name = "Ruth Radelet";
     resource3.Cost = new decimal(new int[] {
         25000,
         0,
         0,
         131072
     });
     resource3.ID   = 1258408175;
     resource3.Name = "Johnny Jewel";
     resource4.Cost = new decimal(new int[] {
         40000,
         0,
         0,
         131072
     });
     resource4.ID   = 187715318;
     resource4.Name = "Nat Walker";
     this.c1GanttView1.Resources.Add(resource1);
     this.c1GanttView1.Resources.Add(resource2);
     this.c1GanttView1.Resources.Add(resource3);
     this.c1GanttView1.Resources.Add(resource4);
     this.c1GanttView1.Size      = new System.Drawing.Size(912, 498);
     this.c1GanttView1.StartDate = new System.DateTime(2012, 6, 22, 0, 0, 0, 0);
     this.c1GanttView1.TabIndex  = 0;
     task1.ID                = 1428331781;
     task2.ConstraintDate    = new System.DateTime(2012, 6, 22, 0, 0, 0, 0);
     task2.ConstraintType    = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task2.Duration          = 1D;
     task2.DurationUnits     = C1.Win.C1GanttView.DurationUnits.Months;
     task2.ID                = 656460240;
     task2.Mode              = C1.Win.C1GanttView.TaskMode.Automatic;
     task2.Name              = "Development";
     resourceRef1.Amount     = 1D;
     resourceRef1.ResourceID = 457479171;
     resourceRef2.ResourceID = 1258408175;
     task2.ResourceRefs.Add(resourceRef1);
     task2.ResourceRefs.Add(resourceRef2);
     task3.ConstraintDate    = new System.DateTime(2012, 6, 26, 0, 0, 0, 0);
     task3.ConstraintType    = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task3.Duration          = 2D;
     task3.DurationUnits     = C1.Win.C1GanttView.DurationUnits.Weeks;
     task3.ID                = 132267904;
     task3.Mode              = C1.Win.C1GanttView.TaskMode.Automatic;
     task3.Name              = "Pre-production";
     resourceRef3.Amount     = 1D;
     resourceRef3.ResourceID = 187715318;
     task3.ResourceRefs.Add(resourceRef3);
     task4.ID                = 704109188;
     task5.ConstraintDate    = new System.DateTime(2012, 6, 28, 0, 0, 0, 0);
     task5.ConstraintType    = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task5.Duration          = 1D;
     task5.DurationUnits     = C1.Win.C1GanttView.DurationUnits.Weeks;
     task5.ID                = 1639616200;
     task5.Mode              = C1.Win.C1GanttView.TaskMode.Automatic;
     task5.Name              = "Production";
     resourceRef4.Amount     = 1D;
     resourceRef4.ResourceID = 187715318;
     resourceRef5.Amount     = 1D;
     resourceRef5.ResourceID = 1258408175;
     task5.ResourceRefs.Add(resourceRef4);
     task5.ResourceRefs.Add(resourceRef5);
     task6.ConstraintDate           = new System.DateTime(2012, 6, 29, 0, 0, 0, 0);
     task6.ConstraintType           = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task6.Duration                 = 3D;
     task6.ID                       = 1784420689;
     task6.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task6.Name                     = "Post-production";
     predecessor1.PredecessorTaskID = 1639616200;
     task6.Predecessors.Add(predecessor1);
     resourceRef6.Amount     = 1D;
     resourceRef6.ResourceID = 574928631;
     task6.ResourceRefs.Add(resourceRef6);
     task7.ConstraintDate           = new System.DateTime(2012, 6, 30, 0, 0, 0, 0);
     task7.ConstraintType           = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task7.Duration                 = 1D;
     task7.ID                       = 1296539678;
     task7.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task7.Name                     = "Distribution";
     predecessor2.PredecessorTaskID = 1784420689;
     task7.Predecessors.Add(predecessor2);
     resourceRef7.Amount     = 1D;
     resourceRef7.ResourceID = 457479171;
     task7.ResourceRefs.Add(resourceRef7);
     task8.DurationUnits     = C1.Win.C1GanttView.DurationUnits.Hours;
     task8.Finish            = new System.DateTime(2012, 7, 11, 14, 0, 0, 0);
     task8.ID                = 1444841716;
     task8.Name              = "Feedback";
     resourceRef8.Amount     = 1D;
     resourceRef8.ResourceID = 574928631;
     task8.ResourceRefs.Add(resourceRef8);
     task8.Start = new System.DateTime(2012, 7, 11, 0, 0, 0, 0);
     task9.ID    = 1292198183;
     task10.ID   = 194872062;
     task11.ID   = 1084382609;
     task12.ID   = 185961251;
     task13.ID   = 393559994;
     task14.ID   = 92150478;
     task15.ID   = 20990948;
     task16.ID   = 1623847046;
     task17.ID   = 1884750761;
     task18.ID   = 1112867871;
     task19.ID   = 43920728;
     task20.ID   = 149186310;
     task21.ID   = 1021263795;
     task22.ID   = 242707790;
     task23.ID   = 1748838715;
     task24.ID   = 506851181;
     task25.ID   = 791484787;
     task26.ID   = 572119585;
     task27.ID   = 2026106759;
     task28.ID   = 39792468;
     task29.ID   = 86367301;
     task30.ID   = 1099725135;
     task31.ID   = 454310966;
     task32.ID   = 604586163;
     task33.ID   = 1249515592;
     task34.ID   = 1587165775;
     task35.ID   = 82220786;
     task36.ID   = 1611700704;
     task37.ID   = 833779805;
     task38.ID   = 77200479;
     task39.ID   = 1549556208;
     task40.ID   = 1589311134;
     task41.ID   = 825958818;
     task42.ID   = 235990884;
     task43.ID   = 1230344991;
     task44.ID   = 1377162172;
     task45.ID   = 1751994680;
     task46.ID   = 870124682;
     task47.ID   = 142922960;
     task48.ID   = 149737373;
     task49.ID   = 1471732892;
     task50.ID   = 1020721195;
     task51.ID   = 3000297;
     task52.ID   = 342106233;
     task53.ID   = 321311081;
     task54.ID   = 138572851;
     task55.ID   = 350956984;
     task56.ID   = 413752451;
     task57.ID   = 530912837;
     task58.ID   = 921480601;
     task59.ID   = 848131414;
     task60.ID   = 1212301105;
     this.c1GanttView1.Tasks.Add(task1);
     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.Tasks.Add(task29);
     this.c1GanttView1.Tasks.Add(task30);
     this.c1GanttView1.Tasks.Add(task31);
     this.c1GanttView1.Tasks.Add(task32);
     this.c1GanttView1.Tasks.Add(task33);
     this.c1GanttView1.Tasks.Add(task34);
     this.c1GanttView1.Tasks.Add(task35);
     this.c1GanttView1.Tasks.Add(task36);
     this.c1GanttView1.Tasks.Add(task37);
     this.c1GanttView1.Tasks.Add(task38);
     this.c1GanttView1.Tasks.Add(task39);
     this.c1GanttView1.Tasks.Add(task40);
     this.c1GanttView1.Tasks.Add(task41);
     this.c1GanttView1.Tasks.Add(task42);
     this.c1GanttView1.Tasks.Add(task43);
     this.c1GanttView1.Tasks.Add(task44);
     this.c1GanttView1.Tasks.Add(task45);
     this.c1GanttView1.Tasks.Add(task46);
     this.c1GanttView1.Tasks.Add(task47);
     this.c1GanttView1.Tasks.Add(task48);
     this.c1GanttView1.Tasks.Add(task49);
     this.c1GanttView1.Tasks.Add(task50);
     this.c1GanttView1.Tasks.Add(task51);
     this.c1GanttView1.Tasks.Add(task52);
     this.c1GanttView1.Tasks.Add(task53);
     this.c1GanttView1.Tasks.Add(task54);
     this.c1GanttView1.Tasks.Add(task55);
     this.c1GanttView1.Tasks.Add(task56);
     this.c1GanttView1.Tasks.Add(task57);
     this.c1GanttView1.Tasks.Add(task58);
     this.c1GanttView1.Tasks.Add(task59);
     this.c1GanttView1.Tasks.Add(task60);
     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   = "nnn d, \\\'yy";
     this.c1GanttView1.Timescale.MiddleTier.MinWidth = 49;
     this.c1GanttView1.Timescale.MiddleTier.Units    = C1.Win.C1GanttView.TimescaleUnits.Weeks;
     this.c1GanttView1.Timescale.MiddleTier.Visible  = true;
     this.c1GanttView1.SelectedIndexChanged         += new System.EventHandler(this.c1GanttView1_SelectedIndexChanged);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(912, 562);
     this.Controls.Add(this.btnZoomOut);
     this.Controls.Add(this.btnZoomIn);
     this.Controls.Add(this.btnZoomEntireProject);
     this.Controls.Add(this.btnZoomSelectedTask);
     this.Controls.Add(this.c1GanttView1);
     this.Name = "Form1";
     this.Text = "Zoom Sample";
     ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 4
0
 /// <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.BarStyle           barStyle1            = new C1.Win.C1GanttView.BarStyle();
     C1.Win.C1GanttView.BarStyle           barStyle2            = new C1.Win.C1GanttView.BarStyle();
     C1.Win.C1GanttView.BarStyle           barStyle3            = new C1.Win.C1GanttView.BarStyle();
     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.Task        task2        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task3        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.ResourceRef resourceRef1 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task4        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.BarStyle    barStyle4    = new C1.Win.C1GanttView.BarStyle();
     C1.Win.C1GanttView.BarStyle    barStyle5    = new C1.Win.C1GanttView.BarStyle();
     C1.Win.C1GanttView.Predecessor predecessor1 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.ResourceRef resourceRef2 = 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.ResourceRef resourceRef3 = new C1.Win.C1GanttView.ResourceRef();
     C1.Win.C1GanttView.Task        task6        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor3 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.Task        task7        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task8        = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Predecessor predecessor4 = new C1.Win.C1GanttView.Predecessor();
     C1.Win.C1GanttView.ResourceRef resourceRef4 = 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 resourceRef5 = 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.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();
     C1.Win.C1GanttView.Task        task28       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task29       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task30       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task31       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task32       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task33       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task34       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task35       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task36       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task37       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task38       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task39       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task40       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task41       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task42       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task43       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task44       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task45       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task46       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task47       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task48       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task49       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task50       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task51       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task52       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task53       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task54       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task55       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task56       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task57       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task58       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task59       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task60       = new C1.Win.C1GanttView.Task();
     C1.Win.C1GanttView.Task        task61       = new C1.Win.C1GanttView.Task();
     this.c1GanttView1 = new C1.Win.C1GanttView.C1GanttView();
     ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).BeginInit();
     this.SuspendLayout();
     //
     // c1GanttView1
     //
     this.c1GanttView1.BackColor = System.Drawing.SystemColors.Window;
     barStyle1.BarColor          = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(135)))), ((int)(((byte)(220)))));
     barStyle1.BarShape          = C1.Win.C1GanttView.BarShape.ThickBar;
     barStyle1.BarType           = C1.Win.C1GanttView.BarType.AutoTask;
     barStyle1.RightText1_ID     = -13;
     barStyle1.TopText1_ID       = 839049373;
     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       = 839049373;
     barStyle3.BarShape          = C1.Win.C1GanttView.BarShape.TopBar;
     barStyle3.BarType           = C1.Win.C1GanttView.BarType.SummaryTask;
     barStyle3.EndShape          = 2;
     barStyle3.StartShape        = 2;
     barStyle3.TopText1_ID       = 839049373;
     this.c1GanttView1.BarStyles.Add(barStyle1);
     this.c1GanttView1.BarStyles.Add(barStyle2);
     this.c1GanttView1.BarStyles.Add(barStyle3);
     taskPropertyColumn1.ID        = 115863021;
     taskPropertyColumn1.Property  = C1.Win.C1GanttView.TaskProperty.Mode;
     taskPropertyColumn2.ID        = 839049373;
     taskPropertyColumn2.Property  = C1.Win.C1GanttView.TaskProperty.Name;
     taskPropertyColumn3.ID        = 1824679307;
     taskPropertyColumn3.Property  = C1.Win.C1GanttView.TaskProperty.Duration;
     taskPropertyColumn3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     taskPropertyColumn4.ID        = 492555211;
     taskPropertyColumn4.Property  = C1.Win.C1GanttView.TaskProperty.DurationUnits;
     taskPropertyColumn5.ID        = 715159541;
     taskPropertyColumn5.Property  = C1.Win.C1GanttView.TaskProperty.Start;
     taskPropertyColumn6.ID        = 142543729;
     taskPropertyColumn6.Property  = C1.Win.C1GanttView.TaskProperty.Finish;
     taskPropertyColumn7.ID        = 189872326;
     taskPropertyColumn7.Property  = C1.Win.C1GanttView.TaskProperty.PercentComplete;
     taskPropertyColumn7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     taskPropertyColumn7.Visible   = false;
     taskPropertyColumn8.ID        = 950914077;
     taskPropertyColumn8.Property  = C1.Win.C1GanttView.TaskProperty.ConstraintType;
     taskPropertyColumn8.Visible   = false;
     taskPropertyColumn9.ID        = 1053593084;
     taskPropertyColumn9.Property  = C1.Win.C1GanttView.TaskProperty.ConstraintDate;
     taskPropertyColumn9.Visible   = false;
     taskPropertyColumn10.ID       = 350181539;
     taskPropertyColumn10.Property = C1.Win.C1GanttView.TaskProperty.Predecessors;
     taskPropertyColumn10.Visible  = false;
     taskPropertyColumn11.ID       = 294597990;
     taskPropertyColumn11.Property = C1.Win.C1GanttView.TaskProperty.Deadline;
     taskPropertyColumn11.Visible  = false;
     taskPropertyColumn12.ID       = 278348232;
     taskPropertyColumn12.Property = C1.Win.C1GanttView.TaskProperty.Calendar;
     taskPropertyColumn12.Visible  = false;
     taskPropertyColumn13.ID       = 366124261;
     taskPropertyColumn13.Property = C1.Win.C1GanttView.TaskProperty.ResourceNames;
     taskPropertyColumn13.Visible  = false;
     taskPropertyColumn14.ID       = 1783824597;
     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, 9, 0, 0, 0);
     this.c1GanttView1.DefaultWorkingTimes.Interval_1.To    = new System.DateTime(1, 1, 1, 13, 0, 0, 0);
     this.c1GanttView1.DefaultWorkingTimes.Interval_2.Empty = false;
     this.c1GanttView1.DefaultWorkingTimes.Interval_2.From  = new System.DateTime(1, 1, 1, 14, 0, 0, 0);
     this.c1GanttView1.DefaultWorkingTimes.Interval_2.To    = new System.DateTime(1, 1, 1, 18, 0, 0, 0);
     this.c1GanttView1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.c1GanttView1.GridWidth = 218;
     this.c1GanttView1.Location  = new System.Drawing.Point(0, 0);
     this.c1GanttView1.Name      = "c1GanttView1";
     task1.ID                         = 970674227;
     task1.Mode                       = C1.Win.C1GanttView.TaskMode.Automatic;
     task1.Name                       = "Project Summary Task";
     task1.PercentComplete            = 0.7083333375D;
     this.c1GanttView1.ProjectSummary = task1;
     resource1.ID                     = 1622083619;
     resource1.Name                   = "Scarlett";
     resource2.ID                     = 1374314959;
     resource2.Name                   = "Thomas";
     resource3.ID                     = 1653216189;
     resource3.Name                   = "Peter";
     resource4.ID                     = 1847509816;
     resource4.Name                   = "Hassan";
     this.c1GanttView1.Resources.Add(resource1);
     this.c1GanttView1.Resources.Add(resource2);
     this.c1GanttView1.Resources.Add(resource3);
     this.c1GanttView1.Resources.Add(resource4);
     this.c1GanttView1.Size      = new System.Drawing.Size(656, 405);
     this.c1GanttView1.StartDate = new System.DateTime(2014, 4, 15, 0, 0, 0, 0);
     this.c1GanttView1.TabIndex  = 0;
     task2.Finish            = new System.DateTime(2014, 4, 8, 9, 0, 0, 0);
     task2.ID                = 1187951112;
     task2.Name              = "Sprint 1";
     task2.OutlineParentID   = 970674227;
     task2.PercentComplete   = 0.60000000999999992D;
     task2.Start             = new System.DateTime(2014, 3, 25, 0, 0, 0, 0);
     task3.Finish            = new System.DateTime(2014, 3, 29, 0, 0, 0, 0);
     task3.ID                = 763953103;
     task3.Name              = "Task 1.1";
     task3.OutlineParentID   = 1187951112;
     task3.PercentComplete   = 1D;
     resourceRef1.Amount     = 1D;
     resourceRef1.ResourceID = 1622083619;
     task3.ResourceRefs.Add(resourceRef1);
     task3.Start             = new System.DateTime(2014, 3, 25, 0, 0, 0, 0);
     barStyle4.BarColor      = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(135)))), ((int)(((byte)(220)))));
     barStyle4.BarShape      = C1.Win.C1GanttView.BarShape.ThickBar;
     barStyle4.BarType       = C1.Win.C1GanttView.BarType.AutoTask;
     barStyle4.RightText1_ID = -13;
     barStyle4.TopText1_ID   = 839049373;
     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   = 839049373;
     task4.BarStyles.Add(barStyle4);
     task4.BarStyles.Add(barStyle5);
     task4.Finish                   = new System.DateTime(2014, 4, 3, 9, 0, 0, 0);
     task4.ID                       = 1511903109;
     task4.Name                     = "Task 1.2";
     task4.OutlineParentID          = 1187951112;
     predecessor1.PredecessorTaskID = 763953103;
     task4.Predecessors.Add(predecessor1);
     resourceRef2.Amount     = 1D;
     resourceRef2.ResourceID = 1653216189;
     task4.ResourceRefs.Add(resourceRef2);
     task4.Start                    = new System.DateTime(2014, 3, 29, 0, 0, 0, 0);
     task5.ConstraintDate           = new System.DateTime(2014, 4, 3, 0, 0, 0, 0);
     task5.ConstraintType           = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task5.Duration                 = 3D;
     task5.ID                       = 1825346952;
     task5.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task5.Name                     = "Task 1.3";
     task5.OutlineParentID          = 1187951112;
     task5.PercentComplete          = 0.6666667D;
     predecessor2.PredecessorTaskID = 1511903109;
     task5.Predecessors.Add(predecessor2);
     resourceRef3.Amount     = 1D;
     resourceRef3.ResourceID = 1847509816;
     task5.ResourceRefs.Add(resourceRef3);
     task6.Finish                   = new System.DateTime(2014, 4, 8, 9, 0, 0, 0);
     task6.ID                       = 1077139004;
     task6.Name                     = "Complete Sprint 1";
     task6.OutlineParentID          = 1187951112;
     predecessor3.PredecessorTaskID = 1825346952;
     task6.Predecessors.Add(predecessor3);
     task6.Start                    = new System.DateTime(2014, 4, 8, 9, 0, 0, 0);
     task7.Finish                   = new System.DateTime(2014, 4, 28, 9, 0, 0, 0);
     task7.ID                       = 1961218391;
     task7.Name                     = "Sprint 2";
     task7.OutlineParentID          = 970674227;
     task7.PercentComplete          = 0.7857142857142857D;
     task7.Start                    = new System.DateTime(2014, 4, 8, 9, 0, 0, 0);
     task8.ConstraintDate           = new System.DateTime(2014, 4, 8, 0, 0, 0, 0);
     task8.ConstraintType           = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan;
     task8.Duration                 = 6D;
     task8.ID                       = 1129365440;
     task8.Mode                     = C1.Win.C1GanttView.TaskMode.Automatic;
     task8.Name                     = "Task 2.1";
     task8.OutlineParentID          = 1961218391;
     task8.PercentComplete          = 0.5D;
     predecessor4.PredecessorTaskID = 1077139004;
     task8.Predecessors.Add(predecessor4);
     resourceRef4.Amount     = 1D;
     resourceRef4.ResourceID = 1374314959;
     task8.ResourceRefs.Add(resourceRef4);
     task9.Finish                   = new System.DateTime(2014, 4, 28, 9, 0, 0, 0);
     task9.ID                       = 675416228;
     task9.Name                     = "Task 2.2";
     task9.OutlineParentID          = 1961218391;
     task9.PercentComplete          = 1D;
     predecessor5.PredecessorTaskID = 1129365440;
     task9.Predecessors.Add(predecessor5);
     resourceRef5.Amount     = 1D;
     resourceRef5.ResourceID = 1653216189;
     task9.ResourceRefs.Add(resourceRef5);
     task9.Start                    = new System.DateTime(2014, 4, 16, 9, 0, 0, 0);
     task10.Finish                  = new System.DateTime(2014, 4, 28, 9, 0, 0, 0);
     task10.ID                      = 63380755;
     task10.Name                    = "Complete Sprint 2";
     task10.OutlineParentID         = 1961218391;
     predecessor6.PredecessorTaskID = 675416228;
     task10.Predecessors.Add(predecessor6);
     task10.Start = new System.DateTime(2014, 4, 28, 9, 0, 0, 0);
     task11.ID    = 1041196519;
     task12.ID    = 1065666771;
     task13.ID    = 1869723603;
     task14.ID    = 1139603790;
     task15.ID    = 1560741278;
     task16.ID    = 1425805567;
     task17.ID    = 723544461;
     task18.ID    = 1625024465;
     task19.ID    = 1598943533;
     task20.ID    = 838099651;
     task21.ID    = 545824578;
     task22.ID    = 1828106548;
     task23.ID    = 1657702805;
     task24.ID    = 1042539893;
     task25.ID    = 984344103;
     task26.ID    = 1966528540;
     task27.ID    = 447284804;
     task28.ID    = 1845355371;
     task29.ID    = 290316068;
     task30.ID    = 998220569;
     task31.ID    = 1718309192;
     task32.ID    = 326036979;
     task33.ID    = 923123043;
     task34.ID    = 1679851278;
     task35.ID    = 188689714;
     task36.ID    = 507148195;
     task37.ID    = 1075624029;
     task38.ID    = 428946472;
     task39.ID    = 1346676234;
     task40.ID    = 1232819273;
     task41.ID    = 1201758702;
     task42.ID    = 2105687059;
     task43.ID    = 1026127421;
     task44.ID    = 775375388;
     task45.ID    = 487608693;
     task46.ID    = 683612193;
     task47.ID    = 795531031;
     task48.ID    = 860459586;
     task49.ID    = 1482982052;
     task50.ID    = 1784935651;
     task51.ID    = 706118151;
     task52.ID    = 1637670175;
     task53.ID    = 2111275435;
     task54.ID    = 490816137;
     task55.ID    = 165670924;
     task56.ID    = 1290051327;
     task57.ID    = 1677731955;
     task58.ID    = 1868896858;
     task59.ID    = 527559007;
     task60.ID    = 2006302060;
     task61.ID    = 629854201;
     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.Tasks.Add(task29);
     this.c1GanttView1.Tasks.Add(task30);
     this.c1GanttView1.Tasks.Add(task31);
     this.c1GanttView1.Tasks.Add(task32);
     this.c1GanttView1.Tasks.Add(task33);
     this.c1GanttView1.Tasks.Add(task34);
     this.c1GanttView1.Tasks.Add(task35);
     this.c1GanttView1.Tasks.Add(task36);
     this.c1GanttView1.Tasks.Add(task37);
     this.c1GanttView1.Tasks.Add(task38);
     this.c1GanttView1.Tasks.Add(task39);
     this.c1GanttView1.Tasks.Add(task40);
     this.c1GanttView1.Tasks.Add(task41);
     this.c1GanttView1.Tasks.Add(task42);
     this.c1GanttView1.Tasks.Add(task43);
     this.c1GanttView1.Tasks.Add(task44);
     this.c1GanttView1.Tasks.Add(task45);
     this.c1GanttView1.Tasks.Add(task46);
     this.c1GanttView1.Tasks.Add(task47);
     this.c1GanttView1.Tasks.Add(task48);
     this.c1GanttView1.Tasks.Add(task49);
     this.c1GanttView1.Tasks.Add(task50);
     this.c1GanttView1.Tasks.Add(task51);
     this.c1GanttView1.Tasks.Add(task52);
     this.c1GanttView1.Tasks.Add(task53);
     this.c1GanttView1.Tasks.Add(task54);
     this.c1GanttView1.Tasks.Add(task55);
     this.c1GanttView1.Tasks.Add(task56);
     this.c1GanttView1.Tasks.Add(task57);
     this.c1GanttView1.Tasks.Add(task58);
     this.c1GanttView1.Tasks.Add(task59);
     this.c1GanttView1.Tasks.Add(task60);
     this.c1GanttView1.Tasks.Add(task61);
     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;
     this.c1GanttView1.ShowDialog += new C1.Win.C1GanttView.ShowDialogEventHandler(this.c1GanttView1_ShowDialog);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(656, 405);
     this.Controls.Add(this.c1GanttView1);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).EndInit();
     this.ResumeLayout(false);
 }
Esempio n. 5
0
 /// <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);
 }