/// <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() { 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.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.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.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); }