SampleForm.Designer.cs 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. using GanttChartPoC.GanttChart;
  2. namespace GanttChartPoC
  3. {
  4. partial class SampleForm
  5. {
  6. /// <summary>
  7. /// 必需的设计器变量。
  8. /// </summary>
  9. private System.ComponentModel.IContainer components = null;
  10. /// <summary>
  11. /// 清理所有正在使用的资源。
  12. /// </summary>
  13. /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  14. protected override void Dispose(bool disposing)
  15. {
  16. if (disposing && (components != null))
  17. {
  18. components.Dispose();
  19. }
  20. base.Dispose(disposing);
  21. }
  22. #region Windows 窗体设计器生成的代码
  23. /// <summary>
  24. /// 设计器支持所需的方法 - 不要修改
  25. /// 使用代码编辑器修改此方法的内容。
  26. /// </summary>
  27. private void InitializeComponent()
  28. {
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SampleForm));
  30. this.MainToolStrip = new System.Windows.Forms.ToolStrip();
  31. this.NewToolStripButton = new System.Windows.Forms.ToolStripButton();
  32. this.MainGanttChart = new GanttChartPoC.GanttChart.SimpleGanttChart();
  33. this.TimelineOffsetTrackBar = new System.Windows.Forms.TrackBar();
  34. this.MainToolStrip.SuspendLayout();
  35. ((System.ComponentModel.ISupportInitialize)(this.TimelineOffsetTrackBar)).BeginInit();
  36. this.SuspendLayout();
  37. //
  38. // MainToolStrip
  39. //
  40. this.MainToolStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  41. this.NewToolStripButton});
  42. this.MainToolStrip.Location = new System.Drawing.Point(0, 0);
  43. this.MainToolStrip.Name = "MainToolStrip";
  44. this.MainToolStrip.Size = new System.Drawing.Size(774, 25);
  45. this.MainToolStrip.TabIndex = 1;
  46. this.MainToolStrip.Text = "toolStrip1";
  47. //
  48. // NewToolStripButton
  49. //
  50. this.NewToolStripButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
  51. this.NewToolStripButton.Image = ((System.Drawing.Image)(resources.GetObject("NewToolStripButton.Image")));
  52. this.NewToolStripButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  53. this.NewToolStripButton.Name = "NewToolStripButton";
  54. this.NewToolStripButton.Size = new System.Drawing.Size(23, 22);
  55. this.NewToolStripButton.Text = "新建(&N)";
  56. this.NewToolStripButton.Click += new System.EventHandler(this.NewToolStripButton_Click);
  57. //
  58. // MainGanttChart
  59. //
  60. this.MainGanttChart.AutoScroll = true;
  61. this.MainGanttChart.Dock = System.Windows.Forms.DockStyle.Fill;
  62. this.MainGanttChart.Font = new System.Drawing.Font("宋体", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
  63. this.MainGanttChart.Location = new System.Drawing.Point(0, 70);
  64. this.MainGanttChart.MachineCellWidth = 120F;
  65. this.MainGanttChart.Margin = new System.Windows.Forms.Padding(4);
  66. this.MainGanttChart.MinRowHeight = 64F;
  67. this.MainGanttChart.Name = "MainGanttChart";
  68. this.MainGanttChart.Size = new System.Drawing.Size(774, 373);
  69. this.MainGanttChart.TabIndex = 0;
  70. this.MainGanttChart.TaskBlockVerticalPadding = 4F;
  71. this.MainGanttChart.TimelineDayAdjustHandleWidth = 4F;
  72. this.MainGanttChart.TimelineDayWidth = 360F;
  73. this.MainGanttChart.TimelineHeight = 64F;
  74. this.MainGanttChart.TimelineOffsetHours = 8F;
  75. this.MainGanttChart.TimelineTickerFrequencyHour = 4F;
  76. this.MainGanttChart.TimelineTickerHeight = 4F;
  77. //
  78. // TimelineOffsetTrackBar
  79. //
  80. this.TimelineOffsetTrackBar.Dock = System.Windows.Forms.DockStyle.Top;
  81. this.TimelineOffsetTrackBar.Location = new System.Drawing.Point(0, 25);
  82. this.TimelineOffsetTrackBar.Maximum = 22;
  83. this.TimelineOffsetTrackBar.Name = "TimelineOffsetTrackBar";
  84. this.TimelineOffsetTrackBar.Size = new System.Drawing.Size(774, 45);
  85. this.TimelineOffsetTrackBar.TabIndex = 2;
  86. this.TimelineOffsetTrackBar.ValueChanged += new System.EventHandler(this.TimelineOffsetTrackBar_ValueChanged);
  87. //
  88. // SampleForm
  89. //
  90. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  91. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  92. this.ClientSize = new System.Drawing.Size(774, 443);
  93. this.Controls.Add(this.MainGanttChart);
  94. this.Controls.Add(this.TimelineOffsetTrackBar);
  95. this.Controls.Add(this.MainToolStrip);
  96. this.Name = "SampleForm";
  97. this.Text = "Gantt";
  98. this.MainToolStrip.ResumeLayout(false);
  99. this.MainToolStrip.PerformLayout();
  100. ((System.ComponentModel.ISupportInitialize)(this.TimelineOffsetTrackBar)).EndInit();
  101. this.ResumeLayout(false);
  102. this.PerformLayout();
  103. }
  104. #endregion
  105. private GanttChart.SimpleGanttChart MainGanttChart;
  106. private System.Windows.Forms.ToolStrip MainToolStrip;
  107. private System.Windows.Forms.ToolStripButton NewToolStripButton;
  108. private System.Windows.Forms.TrackBar TimelineOffsetTrackBar;
  109. }
  110. }