MainForm.Designer.cs 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. namespace SnapshotWinFormsApp;
  2. partial class MainForm
  3. {
  4. /// <summary>
  5. /// Required designer variable.
  6. /// </summary>
  7. private System.ComponentModel.IContainer components = null;
  8. /// <summary>
  9. /// Clean up any resources being used.
  10. /// </summary>
  11. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  12. protected override void Dispose(bool disposing)
  13. {
  14. if (disposing && (components != null))
  15. {
  16. components.Dispose();
  17. }
  18. base.Dispose(disposing);
  19. }
  20. #region Windows Form Designer generated code
  21. /// <summary>
  22. /// Required method for Designer support - do not modify
  23. /// the contents of this method with the code editor.
  24. /// </summary>
  25. private void InitializeComponent()
  26. {
  27. logTxt = new TextBox();
  28. CancelBtn = new Button();
  29. splitContainer1 = new SplitContainer();
  30. tableLayoutPanel1 = new TableLayoutPanel();
  31. cityNameCbox = new ComboBox();
  32. OkBtn = new Button();
  33. startTimePicker = new DateTimePicker();
  34. endTimePicker = new DateTimePicker();
  35. ((System.ComponentModel.ISupportInitialize)splitContainer1).BeginInit();
  36. splitContainer1.Panel1.SuspendLayout();
  37. splitContainer1.Panel2.SuspendLayout();
  38. splitContainer1.SuspendLayout();
  39. tableLayoutPanel1.SuspendLayout();
  40. SuspendLayout();
  41. //
  42. // logTxt
  43. //
  44. logTxt.BackColor = Color.Black;
  45. logTxt.BorderStyle = BorderStyle.None;
  46. logTxt.Dock = DockStyle.Fill;
  47. logTxt.Font = new Font("Courier New", 12F, FontStyle.Bold, GraphicsUnit.Point);
  48. logTxt.ForeColor = Color.LimeGreen;
  49. logTxt.Location = new Point(0, 0);
  50. logTxt.Multiline = true;
  51. logTxt.Name = "logTxt";
  52. logTxt.ScrollBars = ScrollBars.Vertical;
  53. logTxt.Size = new Size(689, 526);
  54. logTxt.TabIndex = 1;
  55. //
  56. // CancelBtn
  57. //
  58. CancelBtn.Dock = DockStyle.Fill;
  59. CancelBtn.Location = new Point(128, 362);
  60. CancelBtn.Name = "CancelBtn";
  61. CancelBtn.Size = new Size(119, 161);
  62. CancelBtn.TabIndex = 0;
  63. CancelBtn.Text = "停止任务";
  64. CancelBtn.UseVisualStyleBackColor = true;
  65. CancelBtn.Click += CancelBtn_Click;
  66. //
  67. // splitContainer1
  68. //
  69. splitContainer1.Dock = DockStyle.Fill;
  70. splitContainer1.FixedPanel = FixedPanel.Panel1;
  71. splitContainer1.IsSplitterFixed = true;
  72. splitContainer1.Location = new Point(0, 0);
  73. splitContainer1.Name = "splitContainer1";
  74. //
  75. // splitContainer1.Panel1
  76. //
  77. splitContainer1.Panel1.Controls.Add(tableLayoutPanel1);
  78. //
  79. // splitContainer1.Panel2
  80. //
  81. splitContainer1.Panel2.Controls.Add(logTxt);
  82. splitContainer1.Panel2MinSize = 200;
  83. splitContainer1.Size = new Size(943, 526);
  84. splitContainer1.SplitterDistance = 250;
  85. splitContainer1.TabIndex = 2;
  86. //
  87. // tableLayoutPanel1
  88. //
  89. tableLayoutPanel1.ColumnCount = 2;
  90. tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
  91. tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F));
  92. tableLayoutPanel1.Controls.Add(cityNameCbox, 0, 0);
  93. tableLayoutPanel1.Controls.Add(OkBtn, 0, 2);
  94. tableLayoutPanel1.Controls.Add(CancelBtn, 1, 2);
  95. tableLayoutPanel1.Controls.Add(startTimePicker, 0, 1);
  96. tableLayoutPanel1.Controls.Add(endTimePicker, 1, 1);
  97. tableLayoutPanel1.Dock = DockStyle.Fill;
  98. tableLayoutPanel1.Location = new Point(0, 0);
  99. tableLayoutPanel1.Name = "tableLayoutPanel1";
  100. tableLayoutPanel1.RowCount = 3;
  101. tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 42.27848F));
  102. tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 57.72152F));
  103. tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 166F));
  104. tableLayoutPanel1.Size = new Size(250, 526);
  105. tableLayoutPanel1.TabIndex = 1;
  106. //
  107. // cityNameCbox
  108. //
  109. cityNameCbox.Dock = DockStyle.Fill;
  110. cityNameCbox.DropDownStyle = ComboBoxStyle.DropDownList;
  111. cityNameCbox.FormattingEnabled = true;
  112. cityNameCbox.Location = new Point(3, 2);
  113. cityNameCbox.Margin = new Padding(3, 2, 3, 2);
  114. cityNameCbox.Name = "cityNameCbox";
  115. cityNameCbox.Size = new Size(119, 23);
  116. cityNameCbox.TabIndex = 1;
  117. //
  118. // OkBtn
  119. //
  120. OkBtn.Dock = DockStyle.Fill;
  121. OkBtn.Location = new Point(3, 362);
  122. OkBtn.Name = "OkBtn";
  123. OkBtn.Size = new Size(119, 161);
  124. OkBtn.TabIndex = 0;
  125. OkBtn.Text = "开始导入";
  126. OkBtn.UseVisualStyleBackColor = true;
  127. OkBtn.Click += OkBtn_Click;
  128. //
  129. // startTimePicker
  130. //
  131. startTimePicker.Dock = DockStyle.Fill;
  132. startTimePicker.Location = new Point(3, 154);
  133. startTimePicker.Margin = new Padding(3, 2, 3, 2);
  134. startTimePicker.Name = "startTimePicker";
  135. startTimePicker.Size = new Size(119, 23);
  136. startTimePicker.TabIndex = 2;
  137. //
  138. // endTimePicker
  139. //
  140. endTimePicker.Dock = DockStyle.Fill;
  141. endTimePicker.Location = new Point(128, 154);
  142. endTimePicker.Margin = new Padding(3, 2, 3, 2);
  143. endTimePicker.Name = "endTimePicker";
  144. endTimePicker.Size = new Size(119, 23);
  145. endTimePicker.TabIndex = 3;
  146. //
  147. // MainForm
  148. //
  149. AcceptButton = OkBtn;
  150. AutoScaleDimensions = new SizeF(7F, 15F);
  151. AutoScaleMode = AutoScaleMode.Font;
  152. ClientSize = new Size(943, 526);
  153. Controls.Add(splitContainer1);
  154. Name = "MainForm";
  155. StartPosition = FormStartPosition.CenterScreen;
  156. Text = "随手拍数据导入";
  157. splitContainer1.Panel1.ResumeLayout(false);
  158. splitContainer1.Panel2.ResumeLayout(false);
  159. splitContainer1.Panel2.PerformLayout();
  160. ((System.ComponentModel.ISupportInitialize)splitContainer1).EndInit();
  161. splitContainer1.ResumeLayout(false);
  162. tableLayoutPanel1.ResumeLayout(false);
  163. ResumeLayout(false);
  164. }
  165. #endregion
  166. private TextBox logTxt;
  167. private Button CancelBtn;
  168. private SplitContainer splitContainer1;
  169. private TableLayoutPanel tableLayoutPanel1;
  170. private ComboBox cityNameCbox;
  171. private Button OkBtn;
  172. private DateTimePicker startTimePicker;
  173. private DateTimePicker endTimePicker;
  174. }