Bunch of screensavers in Windows
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

344 lines
18 KiB

  1. namespace GameOfLife
  2. {
  3. partial class SettingsForm
  4. {
  5. /// <summary>
  6. /// Required designer variable.
  7. /// </summary>
  8. private System.ComponentModel.IContainer components = null;
  9. /// <summary>
  10. /// Clean up any resources being used.
  11. /// </summary>
  12. /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
  13. protected override void Dispose(bool disposing)
  14. {
  15. if (disposing && (components != null))
  16. {
  17. components.Dispose();
  18. }
  19. base.Dispose(disposing);
  20. }
  21. #region Windows Form Designer generated code
  22. /// <summary>
  23. /// Required method for Designer support - do not modify
  24. /// the contents of this method with the code editor.
  25. /// </summary>
  26. private void InitializeComponent()
  27. {
  28. this.ctrlGridSize = new System.Windows.Forms.ComboBox();
  29. this.ctrlSpores = new System.Windows.Forms.NumericUpDown();
  30. this.ctrlInterval = new System.Windows.Forms.TrackBar();
  31. this.ctrlDensity = new System.Windows.Forms.TrackBar();
  32. this.lblSpores = new System.Windows.Forms.Label();
  33. this.lblGridSize = new System.Windows.Forms.Label();
  34. this.grpGridSize = new System.Windows.Forms.GroupBox();
  35. this.grpSpores = new System.Windows.Forms.GroupBox();
  36. this.grpDensity = new System.Windows.Forms.GroupBox();
  37. this.lblDensityValue = new System.Windows.Forms.Label();
  38. this.lblDensity = new System.Windows.Forms.Label();
  39. this.grpInterval = new System.Windows.Forms.GroupBox();
  40. this.lblIntervalValue = new System.Windows.Forms.Label();
  41. this.lblInterval = new System.Windows.Forms.Label();
  42. this.panelMain = new System.Windows.Forms.TableLayoutPanel();
  43. this.panelActions = new System.Windows.Forms.FlowLayoutPanel();
  44. this.btnOK = new System.Windows.Forms.Button();
  45. this.btnCancel = new System.Windows.Forms.Button();
  46. ((System.ComponentModel.ISupportInitialize)(this.ctrlSpores)).BeginInit();
  47. ((System.ComponentModel.ISupportInitialize)(this.ctrlInterval)).BeginInit();
  48. ((System.ComponentModel.ISupportInitialize)(this.ctrlDensity)).BeginInit();
  49. this.grpGridSize.SuspendLayout();
  50. this.grpSpores.SuspendLayout();
  51. this.grpDensity.SuspendLayout();
  52. this.grpInterval.SuspendLayout();
  53. this.panelMain.SuspendLayout();
  54. this.panelActions.SuspendLayout();
  55. this.SuspendLayout();
  56. //
  57. // ctrlGridSize
  58. //
  59. this.ctrlGridSize.Dock = System.Windows.Forms.DockStyle.Top;
  60. this.ctrlGridSize.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
  61. this.ctrlGridSize.FormattingEnabled = true;
  62. this.ctrlGridSize.Items.AddRange(new object[] {
  63. "1",
  64. "2",
  65. "4",
  66. "8"});
  67. this.ctrlGridSize.Location = new System.Drawing.Point(8, 70);
  68. this.ctrlGridSize.Name = "ctrlGridSize";
  69. this.ctrlGridSize.Size = new System.Drawing.Size(177, 23);
  70. this.ctrlGridSize.TabIndex = 1;
  71. //
  72. // ctrlSpores
  73. //
  74. this.ctrlSpores.Dock = System.Windows.Forms.DockStyle.Top;
  75. this.ctrlSpores.Location = new System.Drawing.Point(8, 70);
  76. this.ctrlSpores.Name = "ctrlSpores";
  77. this.ctrlSpores.Size = new System.Drawing.Size(178, 23);
  78. this.ctrlSpores.TabIndex = 2;
  79. //
  80. // ctrlInterval
  81. //
  82. this.ctrlInterval.Dock = System.Windows.Forms.DockStyle.Top;
  83. this.ctrlInterval.Location = new System.Drawing.Point(8, 70);
  84. this.ctrlInterval.Maximum = 3000;
  85. this.ctrlInterval.Minimum = 50;
  86. this.ctrlInterval.Name = "ctrlInterval";
  87. this.ctrlInterval.Size = new System.Drawing.Size(177, 45);
  88. this.ctrlInterval.TabIndex = 3;
  89. this.ctrlInterval.TickFrequency = 250;
  90. this.ctrlInterval.Value = 250;
  91. this.ctrlInterval.Scroll += new System.EventHandler(this.ctrlInterval_Scroll);
  92. //
  93. // ctrlDensity
  94. //
  95. this.ctrlDensity.Dock = System.Windows.Forms.DockStyle.Top;
  96. this.ctrlDensity.Location = new System.Drawing.Point(8, 70);
  97. this.ctrlDensity.Maximum = 100;
  98. this.ctrlDensity.Name = "ctrlDensity";
  99. this.ctrlDensity.Size = new System.Drawing.Size(178, 45);
  100. this.ctrlDensity.TabIndex = 4;
  101. this.ctrlDensity.TickFrequency = 10;
  102. this.ctrlDensity.Value = 50;
  103. this.ctrlDensity.Scroll += new System.EventHandler(this.ctrlDensity_Scroll);
  104. //
  105. // lblSpores
  106. //
  107. this.lblSpores.Dock = System.Windows.Forms.DockStyle.Top;
  108. this.lblSpores.Location = new System.Drawing.Point(8, 24);
  109. this.lblSpores.Name = "lblSpores";
  110. this.lblSpores.Padding = new System.Windows.Forms.Padding(0, 8, 0, 8);
  111. this.lblSpores.Size = new System.Drawing.Size(178, 46);
  112. this.lblSpores.TabIndex = 5;
  113. this.lblSpores.Text = "This sets the count of live cells randomly spawning in the grid.";
  114. //
  115. // lblGridSize
  116. //
  117. this.lblGridSize.Dock = System.Windows.Forms.DockStyle.Top;
  118. this.lblGridSize.Location = new System.Drawing.Point(8, 24);
  119. this.lblGridSize.Name = "lblGridSize";
  120. this.lblGridSize.Padding = new System.Windows.Forms.Padding(0, 8, 0, 8);
  121. this.lblGridSize.Size = new System.Drawing.Size(177, 46);
  122. this.lblGridSize.TabIndex = 6;
  123. this.lblGridSize.Text = "This is the size of each cell in pixels.";
  124. //
  125. // grpGridSize
  126. //
  127. this.grpGridSize.AutoSize = true;
  128. this.grpGridSize.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
  129. this.grpGridSize.Controls.Add(this.ctrlGridSize);
  130. this.grpGridSize.Controls.Add(this.lblGridSize);
  131. this.grpGridSize.Dock = System.Windows.Forms.DockStyle.Fill;
  132. this.grpGridSize.Location = new System.Drawing.Point(8, 8);
  133. this.grpGridSize.Margin = new System.Windows.Forms.Padding(8);
  134. this.grpGridSize.Name = "grpGridSize";
  135. this.grpGridSize.Padding = new System.Windows.Forms.Padding(8);
  136. this.grpGridSize.Size = new System.Drawing.Size(193, 146);
  137. this.grpGridSize.TabIndex = 7;
  138. this.grpGridSize.TabStop = false;
  139. this.grpGridSize.Text = "Grid Size";
  140. //
  141. // grpSpores
  142. //
  143. this.grpSpores.AutoSize = true;
  144. this.grpSpores.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
  145. this.grpSpores.Controls.Add(this.ctrlSpores);
  146. this.grpSpores.Controls.Add(this.lblSpores);
  147. this.grpSpores.Dock = System.Windows.Forms.DockStyle.Fill;
  148. this.grpSpores.Location = new System.Drawing.Point(217, 170);
  149. this.grpSpores.Margin = new System.Windows.Forms.Padding(8);
  150. this.grpSpores.Name = "grpSpores";
  151. this.grpSpores.Padding = new System.Windows.Forms.Padding(8);
  152. this.grpSpores.Size = new System.Drawing.Size(194, 147);
  153. this.grpSpores.TabIndex = 8;
  154. this.grpSpores.TabStop = false;
  155. this.grpSpores.Text = "Spores";
  156. //
  157. // grpDensity
  158. //
  159. this.grpDensity.AutoSize = true;
  160. this.grpDensity.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
  161. this.grpDensity.Controls.Add(this.lblDensityValue);
  162. this.grpDensity.Controls.Add(this.ctrlDensity);
  163. this.grpDensity.Controls.Add(this.lblDensity);
  164. this.grpDensity.Dock = System.Windows.Forms.DockStyle.Fill;
  165. this.grpDensity.Location = new System.Drawing.Point(217, 8);
  166. this.grpDensity.Margin = new System.Windows.Forms.Padding(8);
  167. this.grpDensity.Name = "grpDensity";
  168. this.grpDensity.Padding = new System.Windows.Forms.Padding(8);
  169. this.grpDensity.Size = new System.Drawing.Size(194, 146);
  170. this.grpDensity.TabIndex = 9;
  171. this.grpDensity.TabStop = false;
  172. this.grpDensity.Text = "Density";
  173. //
  174. // lblDensityValue
  175. //
  176. this.lblDensityValue.Dock = System.Windows.Forms.DockStyle.Top;
  177. this.lblDensityValue.Location = new System.Drawing.Point(8, 115);
  178. this.lblDensityValue.Name = "lblDensityValue";
  179. this.lblDensityValue.Size = new System.Drawing.Size(178, 30);
  180. this.lblDensityValue.TabIndex = 6;
  181. this.lblDensityValue.Text = "Current Value: 50%";
  182. this.lblDensityValue.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  183. //
  184. // lblDensity
  185. //
  186. this.lblDensity.Dock = System.Windows.Forms.DockStyle.Top;
  187. this.lblDensity.Location = new System.Drawing.Point(8, 24);
  188. this.lblDensity.Name = "lblDensity";
  189. this.lblDensity.Padding = new System.Windows.Forms.Padding(0, 8, 0, 8);
  190. this.lblDensity.Size = new System.Drawing.Size(178, 46);
  191. this.lblDensity.TabIndex = 5;
  192. this.lblDensity.Text = "This controls the starting density of live cells throughout the grid.";
  193. //
  194. // grpInterval
  195. //
  196. this.grpInterval.AutoSize = true;
  197. this.grpInterval.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
  198. this.grpInterval.Controls.Add(this.lblIntervalValue);
  199. this.grpInterval.Controls.Add(this.ctrlInterval);
  200. this.grpInterval.Controls.Add(this.lblInterval);
  201. this.grpInterval.Dock = System.Windows.Forms.DockStyle.Fill;
  202. this.grpInterval.Location = new System.Drawing.Point(8, 170);
  203. this.grpInterval.Margin = new System.Windows.Forms.Padding(8);
  204. this.grpInterval.Name = "grpInterval";
  205. this.grpInterval.Padding = new System.Windows.Forms.Padding(8);
  206. this.grpInterval.Size = new System.Drawing.Size(193, 147);
  207. this.grpInterval.TabIndex = 10;
  208. this.grpInterval.TabStop = false;
  209. this.grpInterval.Text = "Interval";
  210. //
  211. // lblIntervalValue
  212. //
  213. this.lblIntervalValue.Dock = System.Windows.Forms.DockStyle.Top;
  214. this.lblIntervalValue.Location = new System.Drawing.Point(8, 115);
  215. this.lblIntervalValue.Name = "lblIntervalValue";
  216. this.lblIntervalValue.Size = new System.Drawing.Size(177, 30);
  217. this.lblIntervalValue.TabIndex = 5;
  218. this.lblIntervalValue.Text = "Current Value: 250ms";
  219. this.lblIntervalValue.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  220. //
  221. // lblInterval
  222. //
  223. this.lblInterval.Dock = System.Windows.Forms.DockStyle.Top;
  224. this.lblInterval.Location = new System.Drawing.Point(8, 24);
  225. this.lblInterval.Name = "lblInterval";
  226. this.lblInterval.Padding = new System.Windows.Forms.Padding(0, 8, 0, 8);
  227. this.lblInterval.Size = new System.Drawing.Size(177, 46);
  228. this.lblInterval.TabIndex = 4;
  229. this.lblInterval.Text = "This specifies how often the screen updates.";
  230. //
  231. // panelMain
  232. //
  233. this.panelMain.AutoSize = true;
  234. this.panelMain.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
  235. this.panelMain.ColumnCount = 2;
  236. this.panelMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
  237. this.panelMain.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
  238. this.panelMain.Controls.Add(this.grpDensity, 1, 0);
  239. this.panelMain.Controls.Add(this.grpSpores, 1, 1);
  240. this.panelMain.Controls.Add(this.grpInterval, 0, 1);
  241. this.panelMain.Controls.Add(this.grpGridSize, 0, 0);
  242. this.panelMain.Dock = System.Windows.Forms.DockStyle.Fill;
  243. this.panelMain.Location = new System.Drawing.Point(0, 0);
  244. this.panelMain.Name = "panelMain";
  245. this.panelMain.RowCount = 2;
  246. this.panelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
  247. this.panelMain.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
  248. this.panelMain.Size = new System.Drawing.Size(419, 325);
  249. this.panelMain.TabIndex = 11;
  250. //
  251. // panelActions
  252. //
  253. this.panelActions.AutoSize = true;
  254. this.panelActions.BackColor = System.Drawing.SystemColors.Window;
  255. this.panelActions.Controls.Add(this.btnOK);
  256. this.panelActions.Controls.Add(this.btnCancel);
  257. this.panelActions.Dock = System.Windows.Forms.DockStyle.Bottom;
  258. this.panelActions.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
  259. this.panelActions.Location = new System.Drawing.Point(0, 325);
  260. this.panelActions.Margin = new System.Windows.Forms.Padding(0);
  261. this.panelActions.Name = "panelActions";
  262. this.panelActions.Size = new System.Drawing.Size(419, 39);
  263. this.panelActions.TabIndex = 12;
  264. //
  265. // btnOK
  266. //
  267. this.btnOK.Location = new System.Drawing.Point(340, 8);
  268. this.btnOK.Margin = new System.Windows.Forms.Padding(4, 8, 4, 8);
  269. this.btnOK.Name = "btnOK";
  270. this.btnOK.Size = new System.Drawing.Size(75, 23);
  271. this.btnOK.TabIndex = 0;
  272. this.btnOK.Text = "O&K";
  273. this.btnOK.UseVisualStyleBackColor = true;
  274. this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
  275. //
  276. // btnCancel
  277. //
  278. this.btnCancel.Location = new System.Drawing.Point(257, 8);
  279. this.btnCancel.Margin = new System.Windows.Forms.Padding(4, 8, 4, 8);
  280. this.btnCancel.Name = "btnCancel";
  281. this.btnCancel.Size = new System.Drawing.Size(75, 23);
  282. this.btnCancel.TabIndex = 1;
  283. this.btnCancel.Text = "C&ancel";
  284. this.btnCancel.UseVisualStyleBackColor = true;
  285. this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
  286. //
  287. // SettingsForm
  288. //
  289. this.AcceptButton = this.btnOK;
  290. this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
  291. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  292. this.CancelButton = this.btnCancel;
  293. this.ClientSize = new System.Drawing.Size(419, 364);
  294. this.Controls.Add(this.panelMain);
  295. this.Controls.Add(this.panelActions);
  296. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
  297. this.MaximizeBox = false;
  298. this.MinimizeBox = false;
  299. this.Name = "SettingsForm";
  300. this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
  301. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  302. this.Text = "Game of Life Settings";
  303. ((System.ComponentModel.ISupportInitialize)(this.ctrlSpores)).EndInit();
  304. ((System.ComponentModel.ISupportInitialize)(this.ctrlInterval)).EndInit();
  305. ((System.ComponentModel.ISupportInitialize)(this.ctrlDensity)).EndInit();
  306. this.grpGridSize.ResumeLayout(false);
  307. this.grpSpores.ResumeLayout(false);
  308. this.grpDensity.ResumeLayout(false);
  309. this.grpDensity.PerformLayout();
  310. this.grpInterval.ResumeLayout(false);
  311. this.grpInterval.PerformLayout();
  312. this.panelMain.ResumeLayout(false);
  313. this.panelMain.PerformLayout();
  314. this.panelActions.ResumeLayout(false);
  315. this.ResumeLayout(false);
  316. this.PerformLayout();
  317. }
  318. #endregion
  319. private System.Windows.Forms.ComboBox ctrlGridSize;
  320. private System.Windows.Forms.NumericUpDown ctrlSpores;
  321. private System.Windows.Forms.TrackBar ctrlInterval;
  322. private System.Windows.Forms.TrackBar ctrlDensity;
  323. private System.Windows.Forms.Label lblSpores;
  324. private System.Windows.Forms.Label lblGridSize;
  325. private System.Windows.Forms.GroupBox grpGridSize;
  326. private System.Windows.Forms.GroupBox grpSpores;
  327. private System.Windows.Forms.GroupBox grpDensity;
  328. private System.Windows.Forms.Label lblDensity;
  329. private System.Windows.Forms.GroupBox grpInterval;
  330. private System.Windows.Forms.Label lblInterval;
  331. private System.Windows.Forms.TableLayoutPanel panelMain;
  332. private System.Windows.Forms.Label lblDensityValue;
  333. private System.Windows.Forms.Label lblIntervalValue;
  334. private System.Windows.Forms.FlowLayoutPanel panelActions;
  335. private System.Windows.Forms.Button btnOK;
  336. private System.Windows.Forms.Button btnCancel;
  337. }
  338. }