/// <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.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(); this.c1GanttView1 = new C1.Win.C1GanttView.C1GanttView(); this.c1NwindDataSet1 = new DataBinding.C1NwindDataSet(); this.calendarsTableAdapter1 = new DataBinding.C1NwindDataSetTableAdapters.CalendarsTableAdapter(); this.propertiesTableAdapter1 = new DataBinding.C1NwindDataSetTableAdapters.PropertiesTableAdapter(); this.resourcesTableAdapter1 = new DataBinding.C1NwindDataSetTableAdapters.ResourcesTableAdapter(); this.tasksTableAdapter1 = new DataBinding.C1NwindDataSetTableAdapters.TasksTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.CalendarStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.PropertyStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.ResourceStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.TasksStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1NwindDataSet1)).BeginInit(); this.SuspendLayout(); // // c1GanttView1 // this.c1GanttView1.BackColor = System.Drawing.SystemColors.Window; this.c1GanttView1.BarStyles.Add(barStyle1); taskPropertyColumn1.ID = 460962824; taskPropertyColumn1.Property = C1.Win.C1GanttView.TaskProperty.Mode; taskPropertyColumn2.ID = 833503351; taskPropertyColumn2.Property = C1.Win.C1GanttView.TaskProperty.Name; taskPropertyColumn3.ID = 1893399974; taskPropertyColumn3.Property = C1.Win.C1GanttView.TaskProperty.Duration; taskPropertyColumn3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn4.ID = 2088347062; taskPropertyColumn4.Property = C1.Win.C1GanttView.TaskProperty.DurationUnits; taskPropertyColumn5.ID = 1770681967; taskPropertyColumn5.Property = C1.Win.C1GanttView.TaskProperty.Start; taskPropertyColumn6.ID = 1353400856; taskPropertyColumn6.Property = C1.Win.C1GanttView.TaskProperty.Finish; taskPropertyColumn7.ID = 327624968; taskPropertyColumn7.Property = C1.Win.C1GanttView.TaskProperty.PercentComplete; taskPropertyColumn7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn8.ID = 1802186475; taskPropertyColumn8.Property = C1.Win.C1GanttView.TaskProperty.ConstraintType; taskPropertyColumn9.ID = 664387641; taskPropertyColumn9.Property = C1.Win.C1GanttView.TaskProperty.ConstraintDate; taskPropertyColumn10.ID = 1817613588; taskPropertyColumn10.Property = C1.Win.C1GanttView.TaskProperty.Predecessors; taskPropertyColumn11.ID = 1830602282; taskPropertyColumn11.Property = C1.Win.C1GanttView.TaskProperty.Deadline; taskPropertyColumn12.ID = 79646123; taskPropertyColumn12.Property = C1.Win.C1GanttView.TaskProperty.Calendar; taskPropertyColumn13.ID = 1310716901; taskPropertyColumn13.Property = C1.Win.C1GanttView.TaskProperty.ResourceNames; taskPropertyColumn14.ID = 1688300557; taskPropertyColumn14.Property = C1.Win.C1GanttView.TaskProperty.Notes; 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.DataStorage.CalendarStorage.DataMember = "Calendars"; this.c1GanttView1.DataStorage.CalendarStorage.DataSource = this.c1NwindDataSet1; // // // // // // this.c1GanttView1.DataStorage.CalendarStorage.Mappings.CalendarID.MappingName = "CalendarID"; // // // this.c1GanttView1.DataStorage.CalendarStorage.Mappings.Data.MappingName = "Data"; // // // this.c1GanttView1.DataStorage.CalendarStorage.Mappings.IdMapping.MappingName = "Id"; // // // this.c1GanttView1.DataStorage.CalendarStorage.Mappings.Name.MappingName = "Name"; // // // this.c1GanttView1.DataStorage.PropertyStorage.DataMember = "Properties"; this.c1GanttView1.DataStorage.PropertyStorage.DataSource = this.c1NwindDataSet1; // // // this.c1GanttView1.DataStorage.PropertyStorage.Key.MappingName = "Key"; // // // this.c1GanttView1.DataStorage.PropertyStorage.Value.MappingName = "Value"; // // // this.c1GanttView1.DataStorage.ResourceStorage.DataMember = "Resources"; this.c1GanttView1.DataStorage.ResourceStorage.DataSource = this.c1NwindDataSet1; // // // // // // this.c1GanttView1.DataStorage.ResourceStorage.Mappings.Cost.MappingName = "Cost"; // // // this.c1GanttView1.DataStorage.ResourceStorage.Mappings.IdMapping.MappingName = "Id"; // // // this.c1GanttView1.DataStorage.ResourceStorage.Mappings.Name.MappingName = "Name"; // // // this.c1GanttView1.DataStorage.ResourceStorage.Mappings.Notes.MappingName = "Notes"; // // // this.c1GanttView1.DataStorage.ResourceStorage.Mappings.ResourceID.MappingName = "ResourceID"; // // // this.c1GanttView1.DataStorage.ResourceStorage.Mappings.ResourceType.MappingName = "ResourceType"; // // // this.c1GanttView1.DataStorage.ResourceStorage.Mappings.UnitOfMeasure.MappingName = "UnitOfMeasure"; // // // this.c1GanttView1.DataStorage.TasksStorage.DataMember = "Tasks"; this.c1GanttView1.DataStorage.TasksStorage.DataSource = this.c1NwindDataSet1; // // // // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.CalendarID.MappingName = "CalendarID"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Parts.MappingName = "Parts"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.ConstraintDate.MappingName = "ConstraintDate"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.ConstraintType.MappingName = "ConstraintType"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.CustomFields.MappingName = "CustomFields"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Deadline.MappingName = "Deadline"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Duration.MappingName = "Duration"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.DurationUnits.MappingName = "DurationUnits"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Finish.MappingName = "Finish"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.HideBar.MappingName = "HideBar"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.IdMapping.MappingName = "Id"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Initialized.MappingName = "Initialized"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Mode.MappingName = "Mode"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Name.MappingName = "Name"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.NextID.MappingName = "NextID"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Notes.MappingName = "Notes"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.OutlineParentID.MappingName = "OutlineParentID"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.PercentComplete.MappingName = "PercentComplete"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Predecessors.MappingName = "Predecessors"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Resources.MappingName = "Resources"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Start.MappingName = "Start"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.Summary.MappingName = "Summary"; // // // this.c1GanttView1.DataStorage.TasksStorage.Mappings.TaskID.MappingName = "TaskID"; 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.EnablePrinting = true; this.c1GanttView1.GridWidth = 369; this.c1GanttView1.Location = new System.Drawing.Point(0, 0); this.c1GanttView1.Name = "c1GanttView1"; this.c1GanttView1.PrintInfo.LegendTextAreaWidth = 2F; this.c1GanttView1.PrintInfo.PrintType = C1.Win.C1GanttView.Printing.PrintType.General; this.c1GanttView1.PrintInfo.StyleSource = "General.c1d"; task1.ID = 1482860220; task1.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task1.Name = "Project Summary Task"; task1.NextID = 0; this.c1GanttView1.ProjectSummary = task1; resource1.ID = 1065548974; resource1.Name = "Resource 1"; resource1.NextID = 0; resource2.ID = 737702317; resource2.Name = "Resource 2"; resource2.NextID = 0; resource3.ID = 499183821; resource3.Name = "Resource 3"; resource3.NextID = 0; resource4.ID = 622525569; resource4.Name = "Resource 4"; resource4.NextID = 0; this.c1GanttView1.Resources.AddRange(new C1.Win.C1GanttView.Resource[] { resource1, resource2, resource3, resource4 }); this.c1GanttView1.Size = new System.Drawing.Size(924, 456); this.c1GanttView1.StartDate = new System.DateTime(2015, 3, 23, 0, 0, 0, 0); this.c1GanttView1.TabIndex = 0; 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; // // c1NwindDataSet1 // this.c1NwindDataSet1.DataSetName = "C1NwindDataSet"; this.c1NwindDataSet1.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // calendarsTableAdapter1 // this.calendarsTableAdapter1.ClearBeforeFill = true; // // propertiesTableAdapter1 // this.propertiesTableAdapter1.ClearBeforeFill = true; // // resourcesTableAdapter1 // this.resourcesTableAdapter1.ClearBeforeFill = true; // // tasksTableAdapter1 // this.tasksTableAdapter1.ClearBeforeFill = true; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(924, 456); this.Controls.Add(this.c1GanttView1); this.Name = "Form1"; this.Text = "C1GanttView Data Binding Demo"; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing); this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.CalendarStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.PropertyStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.ResourceStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.TasksStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1NwindDataSet1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { C1.Win.C1GanttView.CalendarException calendarException1 = new C1.Win.C1GanttView.CalendarException(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn1 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn2 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn3 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn4 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn5 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn6 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn7 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn8 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn9 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn10 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn11 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn12 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn13 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn14 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.Task task1 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Resource resource1 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource2 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource3 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource4 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource5 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource6 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource7 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource8 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Resource resource9 = new C1.Win.C1GanttView.Resource(); C1.Win.C1GanttView.Task task2 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task3 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task4 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor1 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef1 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef2 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef3 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task5 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor2 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.Task task6 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task7 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor3 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef4 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task8 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor4 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef5 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task9 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor5 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef6 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task10 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor6 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.Task task11 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task12 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor7 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef7 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task13 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor8 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef8 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task14 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor9 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef9 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef10 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task15 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task16 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor10 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.Predecessor predecessor11 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef11 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef12 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task17 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor12 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef13 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task18 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor13 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.Task task19 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor14 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef14 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task20 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task21 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor15 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef15 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task22 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor16 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef16 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task23 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Predecessor predecessor17 = new C1.Win.C1GanttView.Predecessor(); C1.Win.C1GanttView.ResourceRef resourceRef17 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.ResourceRef resourceRef18 = new C1.Win.C1GanttView.ResourceRef(); C1.Win.C1GanttView.Task task24 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task25 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task26 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task27 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task28 = new C1.Win.C1GanttView.Task(); this.c1GanttView1 = new C1.Win.C1GanttView.C1GanttView(); this.btnOutdent = new System.Windows.Forms.Button(); this.btnIndent = new System.Windows.Forms.Button(); this.comboGroupBy = new System.Windows.Forms.ComboBox(); this.chkMaintainHierarchy = new System.Windows.Forms.CheckBox(); this.chkShowProjectSummary = new System.Windows.Forms.CheckBox(); this.summaryGroupBox = new System.Windows.Forms.GroupBox(); this.groupGroupBox = new System.Windows.Forms.GroupBox(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).BeginInit(); this.summaryGroupBox.SuspendLayout(); this.groupGroupBox.SuspendLayout(); this.SuspendLayout(); // // c1GanttView1 // this.c1GanttView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.c1GanttView1.BackColor = System.Drawing.SystemColors.Window; calendarException1.Name = "Vacation"; calendarException1.RecurrencePattern.DayOfMonth = 10; calendarException1.RecurrencePattern.MonthOfYear = 7; calendarException1.StartDate = new System.DateTime(2013, 6, 10, 0, 0, 0, 0); this.c1GanttView1.CalendarExceptions.Add(calendarException1); taskPropertyColumn1.Caption = "Task Mode"; taskPropertyColumn1.ID = 619243840; taskPropertyColumn1.Property = C1.Win.C1GanttView.TaskProperty.Mode; taskPropertyColumn1.Width = 51; taskPropertyColumn2.Caption = "Task Name"; taskPropertyColumn2.ID = 2099866733; taskPropertyColumn2.Property = C1.Win.C1GanttView.TaskProperty.Name; taskPropertyColumn2.Width = 125; taskPropertyColumn3.Caption = "Duration"; taskPropertyColumn3.ID = 1358251825; taskPropertyColumn3.Property = C1.Win.C1GanttView.TaskProperty.Duration; taskPropertyColumn3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn3.Width = 50; taskPropertyColumn4.Caption = "Duration Units"; taskPropertyColumn4.ID = 1827635185; taskPropertyColumn4.Property = C1.Win.C1GanttView.TaskProperty.DurationUnits; taskPropertyColumn4.Width = 59; taskPropertyColumn5.Caption = "Start"; taskPropertyColumn5.ID = 1435981949; taskPropertyColumn5.Property = C1.Win.C1GanttView.TaskProperty.Start; taskPropertyColumn5.Width = 94; taskPropertyColumn6.Caption = "Finish"; taskPropertyColumn6.ID = 1177114106; taskPropertyColumn6.Property = C1.Win.C1GanttView.TaskProperty.Finish; taskPropertyColumn6.Width = 104; taskPropertyColumn7.Caption = "% Complete"; taskPropertyColumn7.ID = 705116663; taskPropertyColumn7.Property = C1.Win.C1GanttView.TaskProperty.PercentComplete; taskPropertyColumn7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn8.Caption = "Constraint Type"; taskPropertyColumn8.ID = 1424686126; taskPropertyColumn8.Property = C1.Win.C1GanttView.TaskProperty.ConstraintType; taskPropertyColumn8.Visible = false; taskPropertyColumn9.Caption = "Constraint Date"; taskPropertyColumn9.ID = 1191399244; taskPropertyColumn9.Property = C1.Win.C1GanttView.TaskProperty.ConstraintDate; taskPropertyColumn9.Visible = false; taskPropertyColumn10.Caption = "Predecessors"; taskPropertyColumn10.ID = 502674747; taskPropertyColumn10.Property = C1.Win.C1GanttView.TaskProperty.Predecessors; taskPropertyColumn10.Visible = false; taskPropertyColumn11.Caption = "Deadline"; taskPropertyColumn11.ID = 166462627; taskPropertyColumn11.Property = C1.Win.C1GanttView.TaskProperty.Deadline; taskPropertyColumn11.Visible = false; taskPropertyColumn12.Caption = "Calendar"; taskPropertyColumn12.ID = 997563278; taskPropertyColumn12.Property = C1.Win.C1GanttView.TaskProperty.Calendar; taskPropertyColumn12.Visible = false; taskPropertyColumn13.Caption = "Resource Names"; taskPropertyColumn13.ID = 1673084976; taskPropertyColumn13.Property = C1.Win.C1GanttView.TaskProperty.ResourceNames; taskPropertyColumn13.Visible = false; taskPropertyColumn14.Caption = "Notes"; taskPropertyColumn14.ID = 1052675343; taskPropertyColumn14.Property = C1.Win.C1GanttView.TaskProperty.Notes; taskPropertyColumn14.Visible = false; this.c1GanttView1.Columns.Add(taskPropertyColumn1); this.c1GanttView1.Columns.Add(taskPropertyColumn2); this.c1GanttView1.Columns.Add(taskPropertyColumn3); this.c1GanttView1.Columns.Add(taskPropertyColumn4); this.c1GanttView1.Columns.Add(taskPropertyColumn5); this.c1GanttView1.Columns.Add(taskPropertyColumn6); this.c1GanttView1.Columns.Add(taskPropertyColumn7); this.c1GanttView1.Columns.Add(taskPropertyColumn8); this.c1GanttView1.Columns.Add(taskPropertyColumn9); this.c1GanttView1.Columns.Add(taskPropertyColumn10); this.c1GanttView1.Columns.Add(taskPropertyColumn11); this.c1GanttView1.Columns.Add(taskPropertyColumn12); this.c1GanttView1.Columns.Add(taskPropertyColumn13); this.c1GanttView1.Columns.Add(taskPropertyColumn14); this.c1GanttView1.DefaultWorkingTimes.Interval_1.Empty = false; this.c1GanttView1.DefaultWorkingTimes.Interval_1.From = new System.DateTime(1, 1, 1, 8, 30, 0, 0); this.c1GanttView1.DefaultWorkingTimes.Interval_1.To = new System.DateTime(1, 1, 1, 12, 0, 0, 0); this.c1GanttView1.DefaultWorkingTimes.Interval_2.Empty = false; this.c1GanttView1.DefaultWorkingTimes.Interval_2.From = new System.DateTime(1, 1, 1, 13, 30, 0, 0); this.c1GanttView1.DefaultWorkingTimes.Interval_2.To = new System.DateTime(1, 1, 1, 18, 0, 0, 0); this.c1GanttView1.FirstMonthOfFY = C1.Win.C1GanttView.FirstMonthOfFY.March; this.c1GanttView1.GridWidth = 323; this.c1GanttView1.GroupDefinition.Items.Add(new C1.Win.C1GanttView.DurationGroup(true)); this.c1GanttView1.Location = new System.Drawing.Point(0, 1); this.c1GanttView1.Name = "c1GanttView1"; this.c1GanttView1.NonworkingTimeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(185)))), ((int)(((byte)(184))))); this.c1GanttView1.ProgressLine.StatusDate = new System.DateTime(2013, 7, 24, 0, 0, 0, 0); this.c1GanttView1.ProgressLine.Visible = true; task1.ID = 1331333418; task1.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task1.Name = "Project Summary Task"; task1.PercentComplete = 0.28244274809160308D; this.c1GanttView1.ProjectSummary = task1; resource1.Cost = new decimal(new int[] { 100, 0, 0, 0 }); resource1.ID = 1640417825; resource1.Name = "Rita Been"; resource1.Notes = "Tester"; resource2.Cost = new decimal(new int[] { 250, 0, 0, 0 }); resource2.ID = 239555279; resource2.Name = "Eric Smith"; resource2.Notes = "Project Manager"; resource3.Cost = new decimal(new int[] { 150, 0, 0, 0 }); resource3.ID = 766290656; resource3.Name = "Daniel Hank"; resource3.Notes = "Analyst"; resource4.Cost = new decimal(new int[] { 300, 0, 0, 0 }); resource4.ID = 2011144056; resource4.Name = "Juan Carlos"; resource4.Notes = "Developer"; resource5.Cost = new decimal(new int[] { 100, 0, 0, 0 }); resource5.ID = 448108000; resource5.Name = "Mike Jones "; resource5.Notes = "Developer"; resource6.Cost = new decimal(new int[] { 400, 0, 0, 0 }); resource6.ID = 1869891731; resource6.Name = "Chris Lee"; resource6.Notes = "Developer"; resource7.Cost = new decimal(new int[] { 250, 0, 0, 0 }); resource7.ID = 556319480; resource7.Name = "Sarah Robert"; resource7.Notes = "Tester"; resource8.Cost = new decimal(new int[] { 200, 0, 0, 0 }); resource8.ID = 1334638351; resource8.Name = "Micheal Owen"; resource8.Notes = "Documentation Maker"; resource9.Cost = new decimal(new int[] { 150, 0, 0, 0 }); resource9.ID = 2101511829; resource9.Name = "Juliet Paul"; resource9.Notes = "Documentation Maker"; this.c1GanttView1.Resources.Add(resource1); this.c1GanttView1.Resources.Add(resource2); this.c1GanttView1.Resources.Add(resource3); this.c1GanttView1.Resources.Add(resource4); this.c1GanttView1.Resources.Add(resource5); this.c1GanttView1.Resources.Add(resource6); this.c1GanttView1.Resources.Add(resource7); this.c1GanttView1.Resources.Add(resource8); this.c1GanttView1.Resources.Add(resource9); this.c1GanttView1.ShowToolbar = false; this.c1GanttView1.Size = new System.Drawing.Size(1114, 555); this.c1GanttView1.StartDate = new System.DateTime(2013, 6, 5, 0, 0, 0, 0); this.c1GanttView1.TabIndex = 0; task2.ID = 939539143; task2.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task2.Name = "Acquisition"; task2.OutlineParentID = 1331333418; task2.PercentComplete = 1D; task3.ConstraintDate = new System.DateTime(2013, 6, 6, 0, 0, 0, 0); task3.ConstraintType = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan; task3.Duration = 0D; task3.ID = 242148085; task3.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task3.Name = "Manuscript received"; task3.OutlineParentID = 939539143; task4.ConstraintDate = new System.DateTime(2013, 6, 6, 0, 0, 0, 0); task4.ConstraintType = C1.Win.C1GanttView.ConstraintType.StartNoEarlierThan; task4.Duration = 25D; task4.ID = 925207044; task4.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task4.Name = "Content edit"; task4.OutlineParentID = 939539143; task4.PercentComplete = 1D; predecessor1.PredecessorTaskID = 242148085; task4.Predecessors.Add(predecessor1); resourceRef1.Amount = 1D; resourceRef1.ResourceID = 766290656; resourceRef2.Amount = 1D; resourceRef2.ResourceID = 239555279; resourceRef3.Amount = 1D; resourceRef3.ResourceID = 2101511829; task4.ResourceRefs.Add(resourceRef1); task4.ResourceRefs.Add(resourceRef2); task4.ResourceRefs.Add(resourceRef3); task5.Finish = new System.DateTime(2013, 7, 12, 8, 30, 0, 0); task5.ID = 362538391; task5.Name = "Handoff to Editorial"; task5.OutlineParentID = 939539143; predecessor2.PredecessorTaskID = 925207044; task5.Predecessors.Add(predecessor2); task5.Start = new System.DateTime(2013, 7, 12, 8, 30, 0, 0); task6.ID = 1807223556; task6.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task6.Name = "Editorial"; task6.OutlineParentID = 1331333418; task6.PercentComplete = 0.033333333333333333D; task7.Finish = new System.DateTime(2013, 7, 19, 8, 30, 0, 0); task7.ID = 1552574403; task7.Name = "Organize manuscript for copyedit"; task7.OutlineParentID = 1807223556; task7.PercentComplete = 0.2D; predecessor3.PredecessorTaskID = 362538391; task7.Predecessors.Add(predecessor3); resourceRef4.Amount = 1D; resourceRef4.ResourceID = 2011144056; task7.ResourceRefs.Add(resourceRef4); task7.Start = new System.DateTime(2013, 7, 12, 8, 30, 0, 0); task8.Finish = new System.DateTime(2013, 8, 16, 8, 30, 0, 0); task8.ID = 1179983348; task8.Name = "Copyedit"; task8.OutlineParentID = 1807223556; predecessor4.PredecessorTaskID = 1552574403; task8.Predecessors.Add(predecessor4); resourceRef5.Amount = 1D; resourceRef5.ResourceID = 448108000; task8.ResourceRefs.Add(resourceRef5); task8.Start = new System.DateTime(2013, 7, 19, 8, 30, 0, 0); task9.Finish = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task9.ID = 2098269195; task9.Name = "Copyedit incorp"; task9.OutlineParentID = 1807223556; predecessor5.PredecessorTaskID = 1179983348; task9.Predecessors.Add(predecessor5); resourceRef6.Amount = 1D; resourceRef6.ResourceID = 2011144056; task9.ResourceRefs.Add(resourceRef6); task9.Start = new System.DateTime(2013, 8, 16, 8, 30, 0, 0); task10.Finish = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task10.ID = 792666599; task10.Name = "Handoff to Production"; task10.OutlineParentID = 1807223556; predecessor6.PredecessorTaskID = 2098269195; task10.Predecessors.Add(predecessor6); task10.Start = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task11.Finish = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task11.ID = 2121238572; task11.Name = "Design and Production"; task11.OutlineParentID = 1331333418; task11.PercentComplete = 0.36666666666666664D; task11.Start = new System.DateTime(2013, 7, 12, 8, 30, 0, 0); task12.Finish = new System.DateTime(2013, 7, 19, 8, 30, 0, 0); task12.ID = 312019882; task12.Name = "Cover design"; task12.OutlineParentID = 2121238572; task12.PercentComplete = 1D; predecessor7.PredecessorTaskID = 1552574403; predecessor7.PredecessorType = C1.Win.C1GanttView.PredecessorType.StartToStart; task12.Predecessors.Add(predecessor7); resourceRef7.Amount = 1D; resourceRef7.ResourceID = 1869891731; task12.ResourceRefs.Add(resourceRef7); task12.Start = new System.DateTime(2013, 7, 12, 8, 30, 0, 0); task13.Finish = new System.DateTime(2013, 8, 2, 8, 30, 0, 0); task13.ID = 2131650479; task13.Name = "Set pages"; task13.OutlineParentID = 2121238572; task13.PercentComplete = 0.6D; predecessor8.PredecessorTaskID = 312019882; task13.Predecessors.Add(predecessor8); resourceRef8.Amount = 1D; resourceRef8.ResourceID = 556319480; task13.ResourceRefs.Add(resourceRef8); task13.Start = new System.DateTime(2013, 7, 19, 8, 30, 0, 0); task14.Finish = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task14.ID = 1600264846; task14.Name = "Interior illustration design"; task14.OutlineParentID = 2121238572; predecessor9.PredecessorTaskID = 2131650479; task14.Predecessors.Add(predecessor9); resourceRef9.Amount = 1D; resourceRef9.ResourceID = 1869891731; resourceRef10.Amount = 1D; resourceRef10.ResourceID = 766290656; task14.ResourceRefs.Add(resourceRef9); task14.ResourceRefs.Add(resourceRef10); task14.Start = new System.DateTime(2013, 8, 2, 8, 30, 0, 0); task15.Finish = new System.DateTime(2013, 9, 20, 8, 30, 0, 0); task15.ID = 185936048; task15.Name = "Pages review"; task15.OutlineParentID = 1331333418; task15.Start = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task16.Finish = new System.DateTime(2013, 9, 6, 8, 30, 0, 0); task16.ID = 1447717244; task16.Name = "Proofread and index"; task16.OutlineParentID = 185936048; predecessor10.PredecessorTaskID = 1600264846; predecessor11.PredecessorTaskID = 792666599; task16.Predecessors.Add(predecessor10); task16.Predecessors.Add(predecessor11); resourceRef11.Amount = 1D; resourceRef11.ResourceID = 1334638351; resourceRef12.Amount = 1D; resourceRef12.ResourceID = 2011144056; task16.ResourceRefs.Add(resourceRef11); task16.ResourceRefs.Add(resourceRef12); task16.Start = new System.DateTime(2013, 8, 23, 8, 30, 0, 0); task17.Finish = new System.DateTime(2013, 9, 13, 8, 30, 0, 0); task17.ID = 1352797036; task17.Name = "Incorporate 1st Pages review"; task17.OutlineParentID = 185936048; predecessor12.PredecessorTaskID = 1447717244; task17.Predecessors.Add(predecessor12); resourceRef13.Amount = 1D; resourceRef13.ResourceID = 2101511829; task17.ResourceRefs.Add(resourceRef13); task17.Start = new System.DateTime(2013, 9, 6, 8, 30, 0, 0); task18.Finish = new System.DateTime(2013, 9, 13, 8, 30, 0, 0); task18.ID = 1301076315; task18.Name = "Send proofed pages to Production"; task18.OutlineParentID = 185936048; predecessor13.PredecessorTaskID = 1352797036; task18.Predecessors.Add(predecessor13); task18.Start = new System.DateTime(2013, 9, 13, 8, 30, 0, 0); task19.Finish = new System.DateTime(2013, 9, 20, 8, 30, 0, 0); task19.ID = 562163695; task19.Name = "Enter page corrections and index"; task19.OutlineParentID = 185936048; predecessor14.PredecessorTaskID = 1301076315; task19.Predecessors.Add(predecessor14); resourceRef14.Amount = 1D; resourceRef14.ResourceID = 556319480; task19.ResourceRefs.Add(resourceRef14); task19.Start = new System.DateTime(2013, 9, 13, 8, 30, 0, 0); task20.Finish = new System.DateTime(2013, 10, 28, 8, 30, 0, 0); task20.ID = 19552401; task20.Name = "Color prep and printing"; task20.OutlineParentID = 1331333418; task20.Start = new System.DateTime(2013, 9, 20, 8, 30, 0, 0); task21.Finish = new System.DateTime(2013, 9, 23, 8, 30, 0, 0); task21.ID = 1597983629; task21.Name = "Send to color house"; task21.OutlineParentID = 19552401; predecessor15.PredecessorTaskID = 562163695; task21.Predecessors.Add(predecessor15); resourceRef15.Amount = 1D; resourceRef15.ResourceID = 1640417825; task21.ResourceRefs.Add(resourceRef15); task21.Start = new System.DateTime(2013, 9, 20, 8, 30, 0, 0); task22.Finish = new System.DateTime(2013, 9, 30, 8, 30, 0, 0); task22.ID = 591786279; task22.Name = "Generate proofs"; task22.OutlineParentID = 19552401; predecessor16.PredecessorTaskID = 1597983629; task22.Predecessors.Add(predecessor16); resourceRef16.Amount = 1D; resourceRef16.ResourceID = 2011144056; task22.ResourceRefs.Add(resourceRef16); task22.Start = new System.DateTime(2013, 9, 23, 8, 30, 0, 0); task23.Finish = new System.DateTime(2013, 10, 28, 8, 30, 0, 0); task23.ID = 816445275; task23.Name = "Print and ship"; task23.OutlineParentID = 19552401; predecessor17.PredecessorTaskID = 591786279; task23.Predecessors.Add(predecessor17); resourceRef17.Amount = 1D; resourceRef17.ResourceID = 1334638351; resourceRef18.Amount = 1D; resourceRef18.ResourceID = 556319480; task23.ResourceRefs.Add(resourceRef17); task23.ResourceRefs.Add(resourceRef18); task23.Start = new System.DateTime(2013, 9, 30, 8, 30, 0, 0); task24.ID = 514161404; task25.ID = 992389273; task26.ID = 246882487; task27.ID = 1546671531; task28.ID = 2076126586; this.c1GanttView1.Tasks.Add(task2); this.c1GanttView1.Tasks.Add(task3); this.c1GanttView1.Tasks.Add(task4); this.c1GanttView1.Tasks.Add(task5); this.c1GanttView1.Tasks.Add(task6); this.c1GanttView1.Tasks.Add(task7); this.c1GanttView1.Tasks.Add(task8); this.c1GanttView1.Tasks.Add(task9); this.c1GanttView1.Tasks.Add(task10); this.c1GanttView1.Tasks.Add(task11); this.c1GanttView1.Tasks.Add(task12); this.c1GanttView1.Tasks.Add(task13); this.c1GanttView1.Tasks.Add(task14); this.c1GanttView1.Tasks.Add(task15); this.c1GanttView1.Tasks.Add(task16); this.c1GanttView1.Tasks.Add(task17); this.c1GanttView1.Tasks.Add(task18); this.c1GanttView1.Tasks.Add(task19); this.c1GanttView1.Tasks.Add(task20); this.c1GanttView1.Tasks.Add(task21); this.c1GanttView1.Tasks.Add(task22); this.c1GanttView1.Tasks.Add(task23); this.c1GanttView1.Tasks.Add(task24); this.c1GanttView1.Tasks.Add(task25); this.c1GanttView1.Tasks.Add(task26); this.c1GanttView1.Tasks.Add(task27); this.c1GanttView1.Tasks.Add(task28); this.c1GanttView1.Timescale.BottomTier.Align = C1.Win.C1GanttView.ScaleLabelAlignment.Center; this.c1GanttView1.Timescale.BottomTier.Format = "w"; this.c1GanttView1.Timescale.BottomTier.Visible = true; this.c1GanttView1.Timescale.MiddleTier.Format = "nnnn d"; this.c1GanttView1.Timescale.MiddleTier.Units = C1.Win.C1GanttView.TimescaleUnits.Weeks; this.c1GanttView1.Timescale.MiddleTier.Visible = true; // // btnOutdent // this.btnOutdent.Location = new System.Drawing.Point(13, 25); this.btnOutdent.Name = "btnOutdent"; this.btnOutdent.Size = new System.Drawing.Size(87, 29); this.btnOutdent.TabIndex = 1; this.btnOutdent.Text = "Outdent"; this.btnOutdent.UseVisualStyleBackColor = true; this.btnOutdent.Click += new System.EventHandler(this.btnOutdent_Click); // // btnIndent // this.btnIndent.Location = new System.Drawing.Point(107, 25); this.btnIndent.Name = "btnIndent"; this.btnIndent.Size = new System.Drawing.Size(87, 29); this.btnIndent.TabIndex = 2; this.btnIndent.Text = "Indent"; this.btnIndent.UseVisualStyleBackColor = true; this.btnIndent.Click += new System.EventHandler(this.btnIndent_Click); // // comboGroupBy // this.comboGroupBy.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboGroupBy.FormattingEnabled = true; this.comboGroupBy.Items.AddRange(new object[] { "No Group", "Task Mode", "Task Complete", "Constraint Type", "Duration", "Milestones", "Resource", "Status", "Advance Group" }); this.comboGroupBy.Location = new System.Drawing.Point(13, 22); this.comboGroupBy.Name = "comboGroupBy"; this.comboGroupBy.Size = new System.Drawing.Size(140, 23); this.comboGroupBy.TabIndex = 4; // // chkMaintainHierarchy // this.chkMaintainHierarchy.AutoSize = true; this.chkMaintainHierarchy.Location = new System.Drawing.Point(13, 59); this.chkMaintainHierarchy.Name = "chkMaintainHierarchy"; this.chkMaintainHierarchy.Size = new System.Drawing.Size(127, 19); this.chkMaintainHierarchy.TabIndex = 5; this.chkMaintainHierarchy.Text = "Maintain Hierarchy"; this.chkMaintainHierarchy.UseVisualStyleBackColor = true; this.chkMaintainHierarchy.CheckedChanged += new System.EventHandler(this.chkMaintainHierarchy_CheckedChanged); // // chkShowProjectSummary // this.chkShowProjectSummary.AutoSize = true; this.chkShowProjectSummary.Location = new System.Drawing.Point(13, 61); this.chkShowProjectSummary.Name = "chkShowProjectSummary"; this.chkShowProjectSummary.Size = new System.Drawing.Size(149, 19); this.chkShowProjectSummary.TabIndex = 5; this.chkShowProjectSummary.Text = "Show Project Summary"; this.chkShowProjectSummary.UseVisualStyleBackColor = true; this.chkShowProjectSummary.CheckedChanged += new System.EventHandler(this.chkShowProjectSummary_CheckedChanged); // // summaryGroupBox // this.summaryGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.summaryGroupBox.Controls.Add(this.btnOutdent); this.summaryGroupBox.Controls.Add(this.chkShowProjectSummary); this.summaryGroupBox.Controls.Add(this.btnIndent); this.summaryGroupBox.Location = new System.Drawing.Point(1139, 1); this.summaryGroupBox.Name = "summaryGroupBox"; this.summaryGroupBox.Size = new System.Drawing.Size(209, 85); this.summaryGroupBox.TabIndex = 6; this.summaryGroupBox.TabStop = false; this.summaryGroupBox.Text = "Summary"; // // groupGroupBox // this.groupGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupGroupBox.Controls.Add(this.comboGroupBy); this.groupGroupBox.Controls.Add(this.chkMaintainHierarchy); this.groupGroupBox.Location = new System.Drawing.Point(1139, 105); this.groupGroupBox.Name = "groupGroupBox"; this.groupGroupBox.Size = new System.Drawing.Size(206, 89); this.groupGroupBox.TabIndex = 7; this.groupGroupBox.TabStop = false; this.groupGroupBox.Text = "Group"; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1362, 558); this.Controls.Add(this.groupGroupBox); this.Controls.Add(this.summaryGroupBox); this.Controls.Add(this.c1GanttView1); this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "Form1"; this.Text = "Group Sample"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).EndInit(); this.summaryGroupBox.ResumeLayout(false); this.summaryGroupBox.PerformLayout(); this.groupGroupBox.ResumeLayout(false); this.groupGroupBox.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); 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.BarStyle barStyle4 = 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.C1Schedule.Printing.PrintStyle printStyle1 = new C1.C1Schedule.Printing.PrintStyle(); C1.C1Schedule.Printing.PrintStyle printStyle2 = new C1.C1Schedule.Printing.PrintStyle(); C1.C1Schedule.Printing.PrintStyle printStyle3 = new C1.C1Schedule.Printing.PrintStyle(); C1.C1Schedule.Printing.PrintStyle printStyle4 = new C1.C1Schedule.Printing.PrintStyle(); C1.C1Schedule.Printing.PrintStyle printStyle5 = new C1.C1Schedule.Printing.PrintStyle(); this.c1GanttView1 = new C1.Win.C1GanttView.C1GanttView(); this.c1Schedule1 = new C1.Win.C1Schedule.C1Schedule(); this.btnRight = new System.Windows.Forms.Button(); this.button1 = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.CalendarStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.PropertyStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.ResourceStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.TasksStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.AppointmentStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.CategoryStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.ContactStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.LabelStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.OwnerStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.ResourceStorage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.StatusStorage)).BeginInit(); 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))); 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; barStyle3.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(63)))), ((int)(((byte)(63))))); barStyle3.BarShape = C1.Win.C1GanttView.BarShape.MiddleBar; barStyle3.BarType = C1.Win.C1GanttView.BarType.Progress; barStyle4.BarColor = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(200)))), ((int)(((byte)(209))))); barStyle4.BarShape = C1.Win.C1GanttView.BarShape.ThickBar; barStyle4.BarType = C1.Win.C1GanttView.BarType.ManualTask; barStyle4.EndShape = 22; barStyle4.StartShape = 21; barStyle4.TopText1_ID = 287759160; this.c1GanttView1.BarStyles.Add(barStyle1); this.c1GanttView1.BarStyles.Add(barStyle2); this.c1GanttView1.BarStyles.Add(barStyle3); this.c1GanttView1.BarStyles.Add(barStyle4); this.c1GanttView1.CellBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(240))))); this.c1GanttView1.ChartViewZoomFactor = 7F; 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; 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(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.FixedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(227)))), ((int)(((byte)(232))))); this.c1GanttView1.FixedCellBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(181)))), ((int)(((byte)(186))))); this.c1GanttView1.FixedForeColor = System.Drawing.Color.Black; this.c1GanttView1.GridWidth = 197; this.c1GanttView1.HighlightBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(183)))), ((int)(((byte)(219)))), ((int)(((byte)(255))))); this.c1GanttView1.HighlightForeColor = System.Drawing.Color.Black; this.c1GanttView1.Location = new System.Drawing.Point(12, 12); this.c1GanttView1.Name = "c1GanttView1"; task1.ID = 1184615291; task1.Mode = C1.Win.C1GanttView.TaskMode.Automatic; task1.Name = "Project Summary Task"; task1.NextID = 0; this.c1GanttView1.ProjectSummary = task1; resource1.Cost = new decimal(new int[] { 20000, 0, 0, 131072 }); resource1.ID = 457479171; resource1.Name = "Adam Miller"; resource1.NextID = 0; resource2.Cost = new decimal(new int[] { 50000, 0, 0, 131072 }); resource2.ID = 574928631; resource2.Name = "Ruth Radelet"; resource2.NextID = 0; resource3.Cost = new decimal(new int[] { 25000, 0, 0, 131072 }); resource3.ID = 1258408175; resource3.Name = "Johnny Jewel"; resource3.NextID = 0; resource4.Cost = new decimal(new int[] { 40000, 0, 0, 131072 }); resource4.ID = 187715318; resource4.Name = "Nat Walker"; resource4.NextID = 0; this.c1GanttView1.Resources.AddRange(new C1.Win.C1GanttView.Resource[] { resource1, resource2, resource3, resource4 }); this.c1GanttView1.Size = new System.Drawing.Size(545, 442); this.c1GanttView1.SplitterColor = System.Drawing.Color.FromArgb(((int)(((byte)(177)))), ((int)(((byte)(181)))), ((int)(((byte)(186))))); this.c1GanttView1.StartDate = new System.DateTime(2015, 6, 1, 0, 0, 0, 0); this.c1GanttView1.TabIndex = 0; 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.ToolbarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(227)))), ((int)(((byte)(232))))); this.c1GanttView1.VisualStyle = C1.Win.C1GanttView.VisualStyle.Office2010Silver; // // c1Schedule1 // this.c1Schedule1.AllowDrop = true; this.c1Schedule1.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.c1Schedule1.BorderStyle = System.Windows.Forms.BorderStyle.None; // // // this.c1Schedule1.CalendarInfo.DateFormatString = "M/d/yyyy"; this.c1Schedule1.CalendarInfo.EndDayTime = System.TimeSpan.Parse("19:00:00"); this.c1Schedule1.CalendarInfo.StartDayTime = System.TimeSpan.Parse("07:00:00"); this.c1Schedule1.CalendarInfo.TimeScale = System.TimeSpan.Parse("00:30:00"); this.c1Schedule1.CalendarInfo.WeekStart = System.DayOfWeek.Sunday; this.c1Schedule1.CalendarInfo.WorkDays.AddRange(new System.DayOfWeek[] { System.DayOfWeek.Monday, System.DayOfWeek.Tuesday, System.DayOfWeek.Wednesday, System.DayOfWeek.Thursday, System.DayOfWeek.Friday }); // // // this.c1Schedule1.GroupPageSize = 2; this.c1Schedule1.Location = new System.Drawing.Point(563, 12); this.c1Schedule1.Name = "c1Schedule1"; printStyle1.Description = "Daily Style"; printStyle1.StyleName = "Daily"; printStyle1.StyleSource = "day.c1d"; printStyle2.Description = "Weekly Style"; printStyle2.StyleName = "Week"; printStyle2.StyleSource = "week.c1d"; printStyle3.Description = "Monthly Style"; printStyle3.StyleName = "Month"; printStyle3.StyleSource = "month.c1d"; printStyle4.Description = "Details Style"; printStyle4.StyleName = "Details"; printStyle4.StyleSource = "details.c1d"; printStyle5.Context = C1.C1Schedule.Printing.PrintContextType.Appointment; printStyle5.Description = "Memo Style"; printStyle5.StyleName = "Memo"; printStyle5.StyleSource = "memo.c1d"; this.c1Schedule1.PrintInfo.PrintStyles.AddRange(new C1.C1Schedule.Printing.PrintStyle[] { printStyle1, printStyle2, printStyle3, printStyle4, printStyle5 }); this.c1Schedule1.Size = new System.Drawing.Size(334, 486); this.c1Schedule1.TabIndex = 1; this.c1Schedule1.TimeLineStyle = C1.Win.C1Schedule.TimeLineStyleEnum.Days; this.c1Schedule1.ViewType = C1.Win.C1Schedule.ScheduleViewEnum.MonthView; this.c1Schedule1.VisualStyle = C1.Win.C1Schedule.UI.VisualStyle.Office2007Silver; // // btnRight // this.btnRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnRight.Location = new System.Drawing.Point(263, 460); this.btnRight.Name = "btnRight"; this.btnRight.Size = new System.Drawing.Size(101, 38); this.btnRight.TabIndex = 2; this.btnRight.Text = "Save"; this.btnRight.UseVisualStyleBackColor = true; this.btnRight.Click += new System.EventHandler(this.btnSave_Click); // // button1 // this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.button1.Location = new System.Drawing.Point(393, 460); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(103, 38); this.button1.TabIndex = 3; this.button1.Text = "Load"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.btnLoad_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(909, 510); this.Controls.Add(this.button1); this.Controls.Add(this.btnRight); this.Controls.Add(this.c1Schedule1); this.Controls.Add(this.c1GanttView1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.CalendarStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.PropertyStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.ResourceStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1.DataStorage.TasksStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.AppointmentStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.CategoryStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.ContactStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.LabelStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.OwnerStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.ResourceStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1.DataStorage.StatusStorage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.c1Schedule1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { C1.Win.C1GanttView.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); }
/// <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 taskPropertyColumn29 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn30 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn31 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn32 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn33 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn34 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn35 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn36 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn37 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn38 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn39 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn40 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn41 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.TaskPropertyColumn taskPropertyColumn42 = new C1.Win.C1GanttView.TaskPropertyColumn(); C1.Win.C1GanttView.Task task121 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task122 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task123 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task124 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task125 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task126 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task127 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task128 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task129 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task130 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task131 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task132 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task133 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task134 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task135 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task136 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task137 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task138 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task139 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task140 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task141 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task142 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task143 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task144 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task145 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task146 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task147 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task148 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task149 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task150 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task151 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task152 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task153 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task154 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task155 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task156 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task157 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task158 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task159 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task160 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task161 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task162 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task163 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task164 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task165 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task166 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task167 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task168 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task169 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task170 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task171 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task172 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task173 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task174 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task175 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task176 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task177 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task178 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task179 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task180 = new C1.Win.C1GanttView.Task(); this.gv = new C1.Win.C1GanttView.C1GanttView(); this.btnSaveXml = new System.Windows.Forms.Button(); this.btnLoadXml = new System.Windows.Forms.Button(); this.btnAddPredecessor = new System.Windows.Forms.Button(); this.btnAddResource = new System.Windows.Forms.Button(); this.btnAddTopLevel = new System.Windows.Forms.Button(); this.btnInsertTask = new System.Windows.Forms.Button(); this.btnMove = new System.Windows.Forms.Button(); this.btnDelete = new System.Windows.Forms.Button(); this.chkShowDuration = new System.Windows.Forms.CheckBox(); this.btnChangeCommonStyle = new System.Windows.Forms.Button(); this.btnChangeTaskStyle = new System.Windows.Forms.Button(); this.btnRemoveTopLevel = new System.Windows.Forms.Button(); ((System.ComponentModel.ISupportInitialize)(this.gv)).BeginInit(); this.SuspendLayout(); // // gv // this.gv.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.gv.BackColor = System.Drawing.SystemColors.Window; this.gv.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; taskPropertyColumn29.Caption = "Task Mode"; taskPropertyColumn29.ID = 1338914816; taskPropertyColumn29.Property = C1.Win.C1GanttView.TaskProperty.Mode; taskPropertyColumn29.Width = 60; taskPropertyColumn30.Caption = "Duration"; taskPropertyColumn30.ID = 1067798397; taskPropertyColumn30.Property = C1.Win.C1GanttView.TaskProperty.Duration; taskPropertyColumn30.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn30.Visible = false; taskPropertyColumn30.Width = 80; taskPropertyColumn31.Caption = "Duration Units"; taskPropertyColumn31.ID = 450148597; taskPropertyColumn31.Property = C1.Win.C1GanttView.TaskProperty.DurationUnits; taskPropertyColumn31.Visible = false; taskPropertyColumn31.Width = 80; taskPropertyColumn32.Caption = "Task Name"; taskPropertyColumn32.ID = 1402250788; taskPropertyColumn32.Property = C1.Win.C1GanttView.TaskProperty.Name; taskPropertyColumn33.Caption = "Start"; taskPropertyColumn33.ID = 1749693173; taskPropertyColumn33.Property = C1.Win.C1GanttView.TaskProperty.Start; taskPropertyColumn33.Visible = false; taskPropertyColumn34.Caption = "Finish"; taskPropertyColumn34.ID = 1714009058; taskPropertyColumn34.Property = C1.Win.C1GanttView.TaskProperty.Finish; taskPropertyColumn34.Visible = false; taskPropertyColumn35.Caption = "% Complete"; taskPropertyColumn35.ID = 1824387074; taskPropertyColumn35.Property = C1.Win.C1GanttView.TaskProperty.PercentComplete; taskPropertyColumn35.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn35.Visible = false; taskPropertyColumn36.Caption = "Constraint Type"; taskPropertyColumn36.ID = 379024893; taskPropertyColumn36.Property = C1.Win.C1GanttView.TaskProperty.ConstraintType; taskPropertyColumn36.Visible = false; taskPropertyColumn37.Caption = "Constraint Date"; taskPropertyColumn37.ID = 1467650619; taskPropertyColumn37.Property = C1.Win.C1GanttView.TaskProperty.ConstraintDate; taskPropertyColumn37.Visible = false; taskPropertyColumn38.Caption = "Predecessors"; taskPropertyColumn38.ID = 282631571; taskPropertyColumn38.Property = C1.Win.C1GanttView.TaskProperty.Predecessors; taskPropertyColumn38.Visible = false; taskPropertyColumn39.Caption = "Deadline"; taskPropertyColumn39.ID = 560666375; taskPropertyColumn39.Property = C1.Win.C1GanttView.TaskProperty.Deadline; taskPropertyColumn39.Visible = false; taskPropertyColumn40.Caption = "Calendar"; taskPropertyColumn40.ID = 1266347778; taskPropertyColumn40.Property = C1.Win.C1GanttView.TaskProperty.Calendar; taskPropertyColumn40.Visible = false; taskPropertyColumn41.Caption = "Resource Names"; taskPropertyColumn41.ID = 1741717386; taskPropertyColumn41.Property = C1.Win.C1GanttView.TaskProperty.ResourceNames; taskPropertyColumn41.Visible = false; taskPropertyColumn42.Caption = "Notes"; taskPropertyColumn42.ID = 1965599610; taskPropertyColumn42.Property = C1.Win.C1GanttView.TaskProperty.Notes; taskPropertyColumn42.Visible = false; this.gv.Columns.Add(taskPropertyColumn29); this.gv.Columns.Add(taskPropertyColumn30); this.gv.Columns.Add(taskPropertyColumn31); this.gv.Columns.Add(taskPropertyColumn32); this.gv.Columns.Add(taskPropertyColumn33); this.gv.Columns.Add(taskPropertyColumn34); this.gv.Columns.Add(taskPropertyColumn35); this.gv.Columns.Add(taskPropertyColumn36); this.gv.Columns.Add(taskPropertyColumn37); this.gv.Columns.Add(taskPropertyColumn38); this.gv.Columns.Add(taskPropertyColumn39); this.gv.Columns.Add(taskPropertyColumn40); this.gv.Columns.Add(taskPropertyColumn41); this.gv.Columns.Add(taskPropertyColumn42); this.gv.DefaultWorkingTimes.Interval_1.Empty = false; this.gv.DefaultWorkingTimes.Interval_1.From = new System.DateTime(1, 1, 1, 9, 0, 0, 0); this.gv.DefaultWorkingTimes.Interval_1.To = new System.DateTime(1, 1, 1, 13, 0, 0, 0); this.gv.DefaultWorkingTimes.Interval_2.Empty = false; this.gv.DefaultWorkingTimes.Interval_2.From = new System.DateTime(1, 1, 1, 14, 0, 0, 0); this.gv.DefaultWorkingTimes.Interval_2.To = new System.DateTime(1, 1, 1, 18, 0, 0, 0); this.gv.GridWidth = 251; this.gv.Location = new System.Drawing.Point(0, 221); this.gv.Name = "gv"; this.gv.ShowToolbar = false; this.gv.Size = new System.Drawing.Size(577, 239); this.gv.StartDate = new System.DateTime(2012, 6, 22, 0, 0, 0, 0); this.gv.TabIndex = 12; task121.ID = 1875278504; task122.Finish = new System.DateTime(2012, 6, 27, 0, 0, 0, 0); task122.ID = 2123019174; task122.Name = "Task 1"; task122.Start = new System.DateTime(2012, 6, 22, 0, 0, 0, 0); task123.ID = 1563852298; task124.Finish = new System.DateTime(2012, 7, 4, 0, 0, 0, 0); task124.ID = 1392388187; task124.Name = "Task 2"; task124.Start = new System.DateTime(2012, 6, 29, 0, 0, 0, 0); task125.ID = 1766243776; task126.Finish = new System.DateTime(2012, 6, 28, 0, 0, 0, 0); task126.ID = 811271005; task126.Name = "Task 3"; task126.Start = new System.DateTime(2012, 6, 25, 0, 0, 0, 0); task127.ID = 1402398586; task128.ID = 637929043; task129.ID = 1162376860; task130.ID = 873077652; task131.ID = 705934655; task132.ID = 673656447; task133.ID = 1909290672; task134.ID = 478117449; task135.ID = 1295753412; task136.ID = 1813997926; task137.ID = 715189223; task138.ID = 761401373; task139.ID = 1242565669; task140.ID = 902046620; task141.ID = 522512529; task142.ID = 2019757516; task143.ID = 649008447; task144.ID = 588260299; task145.ID = 1432923691; task146.ID = 2121956898; task147.ID = 381299225; task148.ID = 326583361; task149.ID = 710738007; task150.ID = 661746266; task151.ID = 1384584261; task152.ID = 858972872; task153.ID = 1087727964; task154.ID = 1980146845; task155.ID = 671000966; task156.ID = 758865659; task157.ID = 1625089522; task158.ID = 1604098748; task159.ID = 2022831006; task160.ID = 360581188; task161.ID = 467972196; task162.ID = 700985774; task163.ID = 239873929; task164.ID = 194720746; task165.ID = 1891697590; task166.ID = 1076036727; task167.ID = 1952202034; task168.ID = 1346269626; task169.ID = 1230755129; task170.ID = 1801136341; task171.ID = 1714925996; task172.ID = 1946748650; task173.ID = 23782110; task174.ID = 839670767; task175.ID = 1443087082; task176.ID = 2003004636; task177.ID = 1474010728; task178.ID = 975592000; task179.ID = 2106948144; task180.ID = 1791770526; this.gv.Tasks.Add(task121); this.gv.Tasks.Add(task122); this.gv.Tasks.Add(task123); this.gv.Tasks.Add(task124); this.gv.Tasks.Add(task125); this.gv.Tasks.Add(task126); this.gv.Tasks.Add(task127); this.gv.Tasks.Add(task128); this.gv.Tasks.Add(task129); this.gv.Tasks.Add(task130); this.gv.Tasks.Add(task131); this.gv.Tasks.Add(task132); this.gv.Tasks.Add(task133); this.gv.Tasks.Add(task134); this.gv.Tasks.Add(task135); this.gv.Tasks.Add(task136); this.gv.Tasks.Add(task137); this.gv.Tasks.Add(task138); this.gv.Tasks.Add(task139); this.gv.Tasks.Add(task140); this.gv.Tasks.Add(task141); this.gv.Tasks.Add(task142); this.gv.Tasks.Add(task143); this.gv.Tasks.Add(task144); this.gv.Tasks.Add(task145); this.gv.Tasks.Add(task146); this.gv.Tasks.Add(task147); this.gv.Tasks.Add(task148); this.gv.Tasks.Add(task149); this.gv.Tasks.Add(task150); this.gv.Tasks.Add(task151); this.gv.Tasks.Add(task152); this.gv.Tasks.Add(task153); this.gv.Tasks.Add(task154); this.gv.Tasks.Add(task155); this.gv.Tasks.Add(task156); this.gv.Tasks.Add(task157); this.gv.Tasks.Add(task158); this.gv.Tasks.Add(task159); this.gv.Tasks.Add(task160); this.gv.Tasks.Add(task161); this.gv.Tasks.Add(task162); this.gv.Tasks.Add(task163); this.gv.Tasks.Add(task164); this.gv.Tasks.Add(task165); this.gv.Tasks.Add(task166); this.gv.Tasks.Add(task167); this.gv.Tasks.Add(task168); this.gv.Tasks.Add(task169); this.gv.Tasks.Add(task170); this.gv.Tasks.Add(task171); this.gv.Tasks.Add(task172); this.gv.Tasks.Add(task173); this.gv.Tasks.Add(task174); this.gv.Tasks.Add(task175); this.gv.Tasks.Add(task176); this.gv.Tasks.Add(task177); this.gv.Tasks.Add(task178); this.gv.Tasks.Add(task179); this.gv.Tasks.Add(task180); this.gv.Timescale.BottomTier.Align = C1.Win.C1GanttView.ScaleLabelAlignment.Center; this.gv.Timescale.BottomTier.Format = "w"; this.gv.Timescale.BottomTier.Visible = true; this.gv.Timescale.MiddleTier.Format = "nnnn d"; this.gv.Timescale.MiddleTier.Units = C1.Win.C1GanttView.TimescaleUnits.Weeks; this.gv.Timescale.MiddleTier.Visible = true; // // btnSaveXml // this.btnSaveXml.Location = new System.Drawing.Point(149, 19); this.btnSaveXml.Name = "btnSaveXml"; this.btnSaveXml.Size = new System.Drawing.Size(110, 49); this.btnSaveXml.TabIndex = 1; this.btnSaveXml.Text = "Save Gantt View To XML"; this.btnSaveXml.UseVisualStyleBackColor = true; this.btnSaveXml.Click += new System.EventHandler(this.btnSaveXml_Click); // // btnLoadXml // this.btnLoadXml.Location = new System.Drawing.Point(30, 19); this.btnLoadXml.Name = "btnLoadXml"; this.btnLoadXml.Size = new System.Drawing.Size(110, 49); this.btnLoadXml.TabIndex = 0; this.btnLoadXml.Text = "Load Gantt View From XML"; this.btnLoadXml.UseVisualStyleBackColor = true; this.btnLoadXml.Click += new System.EventHandler(this.btnLoadXml_Click); // // btnAddPredecessor // this.btnAddPredecessor.Location = new System.Drawing.Point(30, 175); this.btnAddPredecessor.Name = "btnAddPredecessor"; this.btnAddPredecessor.Size = new System.Drawing.Size(229, 23); this.btnAddPredecessor.TabIndex = 5; this.btnAddPredecessor.Text = "Add Predecessor to Task 2"; this.btnAddPredecessor.UseVisualStyleBackColor = true; this.btnAddPredecessor.Click += new System.EventHandler(this.btnAddPredecessor_Click); // // btnAddResource // this.btnAddResource.Location = new System.Drawing.Point(30, 146); this.btnAddResource.Name = "btnAddResource"; this.btnAddResource.Size = new System.Drawing.Size(229, 23); this.btnAddResource.TabIndex = 4; this.btnAddResource.Text = "Add Resource to Task 1"; this.btnAddResource.UseVisualStyleBackColor = true; this.btnAddResource.Click += new System.EventHandler(this.btnAddResource_Click); // // btnAddTopLevel // this.btnAddTopLevel.Location = new System.Drawing.Point(30, 82); this.btnAddTopLevel.Name = "btnAddTopLevel"; this.btnAddTopLevel.Size = new System.Drawing.Size(229, 23); this.btnAddTopLevel.TabIndex = 2; this.btnAddTopLevel.Text = "Add Top Level to Timescale"; this.btnAddTopLevel.UseVisualStyleBackColor = true; this.btnAddTopLevel.Click += new System.EventHandler(this.btnTimescale_Click); // // btnInsertTask // this.btnInsertTask.Location = new System.Drawing.Point(305, 19); this.btnInsertTask.Name = "btnInsertTask"; this.btnInsertTask.Size = new System.Drawing.Size(224, 23); this.btnInsertTask.TabIndex = 6; this.btnInsertTask.Text = "Insert New Task Before Task 2"; this.btnInsertTask.UseVisualStyleBackColor = true; this.btnInsertTask.Click += new System.EventHandler(this.btnInsertTask_Click); // // btnMove // this.btnMove.Enabled = false; this.btnMove.Location = new System.Drawing.Point(305, 48); this.btnMove.Name = "btnMove"; this.btnMove.Size = new System.Drawing.Size(224, 23); this.btnMove.TabIndex = 7; this.btnMove.Text = "Move the New Task to the first row"; this.btnMove.UseVisualStyleBackColor = true; this.btnMove.Click += new System.EventHandler(this.btnMove_Click); // // btnDelete // this.btnDelete.Enabled = false; this.btnDelete.Location = new System.Drawing.Point(305, 77); this.btnDelete.Name = "btnDelete"; this.btnDelete.Size = new System.Drawing.Size(224, 23); this.btnDelete.TabIndex = 8; this.btnDelete.Text = "Delete the New Task"; this.btnDelete.UseVisualStyleBackColor = true; this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); // // chkShowDuration // this.chkShowDuration.AutoSize = true; this.chkShowDuration.Location = new System.Drawing.Point(347, 121); this.chkShowDuration.Name = "chkShowDuration"; this.chkShowDuration.Size = new System.Drawing.Size(182, 19); this.chkShowDuration.TabIndex = 9; this.chkShowDuration.Text = "Show Task Duration Columns"; this.chkShowDuration.UseVisualStyleBackColor = true; this.chkShowDuration.CheckedChanged += new System.EventHandler(this.chkShowDuration_CheckedChanged); // // btnChangeCommonStyle // this.btnChangeCommonStyle.Location = new System.Drawing.Point(305, 146); this.btnChangeCommonStyle.Name = "btnChangeCommonStyle"; this.btnChangeCommonStyle.Size = new System.Drawing.Size(224, 23); this.btnChangeCommonStyle.TabIndex = 10; this.btnChangeCommonStyle.Text = "Change Manual Task Bar Style"; this.btnChangeCommonStyle.UseVisualStyleBackColor = true; this.btnChangeCommonStyle.Click += new System.EventHandler(this.btnChangeBarStyle_Click); // // btnChangeTaskStyle // this.btnChangeTaskStyle.Location = new System.Drawing.Point(305, 175); this.btnChangeTaskStyle.Name = "btnChangeTaskStyle"; this.btnChangeTaskStyle.Size = new System.Drawing.Size(224, 23); this.btnChangeTaskStyle.TabIndex = 11; this.btnChangeTaskStyle.Text = "Change Task 3 Bar Style"; this.btnChangeTaskStyle.UseVisualStyleBackColor = true; this.btnChangeTaskStyle.Click += new System.EventHandler(this.btnChangeTaskStyle_Click); // // btnRemoveTopLevel // this.btnRemoveTopLevel.Enabled = false; this.btnRemoveTopLevel.Location = new System.Drawing.Point(30, 111); this.btnRemoveTopLevel.Name = "btnRemoveTopLevel"; this.btnRemoveTopLevel.Size = new System.Drawing.Size(229, 23); this.btnRemoveTopLevel.TabIndex = 3; this.btnRemoveTopLevel.Text = "Remove Top Level from Timescale"; this.btnRemoveTopLevel.UseVisualStyleBackColor = true; this.btnRemoveTopLevel.Click += new System.EventHandler(this.btnRemoveTopLevel_Click); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(577, 460); this.Controls.Add(this.btnRemoveTopLevel); this.Controls.Add(this.btnChangeTaskStyle); this.Controls.Add(this.btnChangeCommonStyle); this.Controls.Add(this.chkShowDuration); this.Controls.Add(this.btnDelete); this.Controls.Add(this.btnMove); this.Controls.Add(this.btnInsertTask); this.Controls.Add(this.btnAddTopLevel); this.Controls.Add(this.btnAddResource); this.Controls.Add(this.btnAddPredecessor); this.Controls.Add(this.btnLoadXml); this.Controls.Add(this.btnSaveXml); this.Controls.Add(this.gv); this.Font = new System.Drawing.Font("Segoe UI", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.Name = "Form1"; this.Text = "\"How To Do It In Code\" - Click a button to initiate an action"; ((System.ComponentModel.ISupportInitialize)(this.gv)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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); }
/// <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); }
/// <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); }
/// <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.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.Task task5 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task6 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task7 = new C1.Win.C1GanttView.Task(); C1.Win.C1GanttView.Task task8 = new C1.Win.C1GanttView.Task(); 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(); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).BeginInit(); this.SuspendLayout(); // // c1GanttView1 // this.c1GanttView1.BackColor = System.Drawing.SystemColors.Window; taskPropertyColumn1.Caption = "Task Mode"; taskPropertyColumn1.ID = 138363861; taskPropertyColumn1.Property = C1.Win.C1GanttView.TaskProperty.Mode; taskPropertyColumn2.Caption = "Task Name"; taskPropertyColumn2.ID = 1610966694; taskPropertyColumn2.Property = C1.Win.C1GanttView.TaskProperty.Name; taskPropertyColumn3.Caption = "Duration"; taskPropertyColumn3.ID = 596860248; taskPropertyColumn3.Property = C1.Win.C1GanttView.TaskProperty.Duration; taskPropertyColumn3.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn3.Visible = false; taskPropertyColumn4.Caption = "Duration Units"; taskPropertyColumn4.ID = 1322201439; taskPropertyColumn4.Property = C1.Win.C1GanttView.TaskProperty.DurationUnits; taskPropertyColumn4.Visible = false; taskPropertyColumn5.Caption = "Start"; taskPropertyColumn5.ID = 557656400; taskPropertyColumn5.Property = C1.Win.C1GanttView.TaskProperty.Start; taskPropertyColumn5.Visible = false; taskPropertyColumn6.Caption = "Finish"; taskPropertyColumn6.ID = 1693626873; taskPropertyColumn6.Property = C1.Win.C1GanttView.TaskProperty.Finish; taskPropertyColumn6.Visible = false; taskPropertyColumn7.Caption = "% Complete"; taskPropertyColumn7.ID = 1286460094; taskPropertyColumn7.Property = C1.Win.C1GanttView.TaskProperty.PercentComplete; taskPropertyColumn7.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; taskPropertyColumn7.Visible = false; taskPropertyColumn8.Caption = "Constraint Type"; taskPropertyColumn8.ID = 75260408; taskPropertyColumn8.Property = C1.Win.C1GanttView.TaskProperty.ConstraintType; taskPropertyColumn8.Visible = false; taskPropertyColumn9.Caption = "Constraint Date"; taskPropertyColumn9.ID = 1865906439; taskPropertyColumn9.Property = C1.Win.C1GanttView.TaskProperty.ConstraintDate; taskPropertyColumn9.Visible = false; taskPropertyColumn10.Caption = "Predecessors"; taskPropertyColumn10.ID = 1740914904; taskPropertyColumn10.Property = C1.Win.C1GanttView.TaskProperty.Predecessors; taskPropertyColumn10.Visible = false; taskPropertyColumn11.Caption = "Deadline"; taskPropertyColumn11.ID = 1361526201; taskPropertyColumn11.Property = C1.Win.C1GanttView.TaskProperty.Deadline; taskPropertyColumn11.Visible = false; taskPropertyColumn12.Caption = "Calendar"; taskPropertyColumn12.ID = 273762191; taskPropertyColumn12.Property = C1.Win.C1GanttView.TaskProperty.Calendar; taskPropertyColumn12.Visible = false; taskPropertyColumn13.Caption = "Resource Names"; taskPropertyColumn13.ID = 1753264019; taskPropertyColumn13.Property = C1.Win.C1GanttView.TaskProperty.ResourceNames; taskPropertyColumn13.Visible = false; taskPropertyColumn14.Caption = "Notes"; taskPropertyColumn14.ID = 1536890612; 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.FixedBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(235)))), ((int)(((byte)(237))))); this.c1GanttView1.Location = new System.Drawing.Point(0, 0); this.c1GanttView1.Name = "c1GanttView1"; this.c1GanttView1.Size = new System.Drawing.Size(526, 367); this.c1GanttView1.StartDate = new System.DateTime(2012, 6, 19, 0, 0, 0, 0); this.c1GanttView1.TabIndex = 0; task1.ID = 1043157751; task2.ID = 85205305; task3.ID = 1694617920; task4.ID = 2057552532; task5.ID = 1924700933; task6.ID = 620404982; task7.ID = 117809017; task8.ID = 349037338; task9.ID = 1746817701; task10.ID = 562444048; task11.ID = 772200645; task12.ID = 709495941; task13.ID = 1030869519; task14.ID = 1504090170; task15.ID = 882044215; task16.ID = 722138024; task17.ID = 90488149; task18.ID = 2024720520; task19.ID = 1884816981; task20.ID = 999993386; task21.ID = 1557082822; task22.ID = 1111353325; task23.ID = 1491734462; task24.ID = 2113894062; task25.ID = 805673655; task26.ID = 1222656908; task27.ID = 1097534470; task28.ID = 1702553923; task29.ID = 1828829627; task30.ID = 491954284; task31.ID = 1168919790; task32.ID = 1455412781; task33.ID = 2145416648; task34.ID = 909512129; task35.ID = 1349535258; task36.ID = 1934199994; task37.ID = 1758168285; task38.ID = 629380785; task39.ID = 571158496; task40.ID = 1559324083; task41.ID = 2112353178; task42.ID = 1936810171; task43.ID = 2011632641; task44.ID = 34416201; task45.ID = 550000795; task46.ID = 1995644107; task47.ID = 662757355; task48.ID = 1929853572; task49.ID = 1340699841; task50.ID = 1143768416; task51.ID = 1650426756; task52.ID = 1484289329; task53.ID = 536428858; task54.ID = 753270634; task55.ID = 2127291438; task56.ID = 2079288074; task57.ID = 740954491; task58.ID = 1728207506; task59.ID = 1251878878; task60.ID = 702044026; 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 = "nnnn d"; this.c1GanttView1.Timescale.MiddleTier.Units = C1.Win.C1GanttView.TimescaleUnits.Weeks; this.c1GanttView1.Timescale.MiddleTier.Visible = true; this.c1GanttView1.ToolbarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(237)))), ((int)(((byte)(241))))); // // GanttViewDemo // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(526, 367); this.Controls.Add(this.c1GanttView1); this.Name = "GanttViewDemo"; this.Text = "GanttViewDemo"; this.Load += new System.EventHandler(this.GanttViewDemo_Load); ((System.ComponentModel.ISupportInitialize)(this.c1GanttView1)).EndInit(); this.ResumeLayout(false); }