using GanttChartPoC.GanttChart; namespace GanttChartPoC { partial class SampleForm { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要修改 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SampleForm)); this.MainToolStrip = new System.Windows.Forms.ToolStrip(); this.NewToolStripButton = new System.Windows.Forms.ToolStripButton(); this.MainGanttChart = new GanttChartPoC.GanttChart.SimpleGanttChart(); this.TimelineOffsetTrackBar = new System.Windows.Forms.TrackBar(); this.MainToolStrip.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.TimelineOffsetTrackBar)).BeginInit(); this.SuspendLayout(); // // MainToolStrip // this.MainToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.NewToolStripButton}); this.MainToolStrip.Location = new System.Drawing.Point(0, 0); this.MainToolStrip.Name = "MainToolStrip"; this.MainToolStrip.Size = new System.Drawing.Size(774, 25); this.MainToolStrip.TabIndex = 1; this.MainToolStrip.Text = "toolStrip1"; // // NewToolStripButton // this.NewToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.NewToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("NewToolStripButton.Image"))); this.NewToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.NewToolStripButton.Name = "NewToolStripButton"; this.NewToolStripButton.Size = new System.Drawing.Size(23, 22); this.NewToolStripButton.Text = "新建(&N)"; this.NewToolStripButton.Click += new System.EventHandler(this.NewToolStripButton_Click); // // MainGanttChart // this.MainGanttChart.AutoScroll = true; this.MainGanttChart.Dock = System.Windows.Forms.DockStyle.Fill; this.MainGanttChart.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.MainGanttChart.Location = new System.Drawing.Point(0, 70); this.MainGanttChart.MachineCellWidth = 120F; this.MainGanttChart.Margin = new System.Windows.Forms.Padding(4); this.MainGanttChart.MinRowHeight = 64F; this.MainGanttChart.Name = "MainGanttChart"; this.MainGanttChart.Size = new System.Drawing.Size(774, 373); this.MainGanttChart.TabIndex = 0; this.MainGanttChart.TaskBlockVerticalPadding = 4F; this.MainGanttChart.TimelineDayAdjustHandleWidth = 4F; this.MainGanttChart.TimelineDayWidth = 360F; this.MainGanttChart.TimelineHeight = 64F; this.MainGanttChart.TimelineOffsetHours = 8F; this.MainGanttChart.TimelineTickerFrequencyHour = 4F; this.MainGanttChart.TimelineTickerHeight = 4F; // // TimelineOffsetTrackBar // this.TimelineOffsetTrackBar.Dock = System.Windows.Forms.DockStyle.Top; this.TimelineOffsetTrackBar.Location = new System.Drawing.Point(0, 25); this.TimelineOffsetTrackBar.Maximum = 22; this.TimelineOffsetTrackBar.Name = "TimelineOffsetTrackBar"; this.TimelineOffsetTrackBar.Size = new System.Drawing.Size(774, 45); this.TimelineOffsetTrackBar.TabIndex = 2; this.TimelineOffsetTrackBar.ValueChanged += new System.EventHandler(this.TimelineOffsetTrackBar_ValueChanged); // // SampleForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(774, 443); this.Controls.Add(this.MainGanttChart); this.Controls.Add(this.TimelineOffsetTrackBar); this.Controls.Add(this.MainToolStrip); this.Name = "SampleForm"; this.Text = "Gantt"; this.MainToolStrip.ResumeLayout(false); this.MainToolStrip.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.TimelineOffsetTrackBar)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); } #endregion private GanttChart.SimpleGanttChart MainGanttChart; private System.Windows.Forms.ToolStrip MainToolStrip; private System.Windows.Forms.ToolStripButton NewToolStripButton; private System.Windows.Forms.TrackBar TimelineOffsetTrackBar; } }