Form1.Designer.cs 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. namespace RGB2RGBA
  2. {
  3. partial class Form1
  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. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
  29. this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
  30. this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
  31. this.buttonLoadImage = new System.Windows.Forms.Button();
  32. this.buttonLoadMask = new System.Windows.Forms.Button();
  33. this.groupBox1 = new System.Windows.Forms.GroupBox();
  34. this.textBoxOpacityThreshold = new System.Windows.Forms.TextBox();
  35. this.labelOpacityThreshold = new System.Windows.Forms.Label();
  36. this.trackBar1 = new System.Windows.Forms.TrackBar();
  37. this.checkBoxAllowPartialOpacity = new System.Windows.Forms.CheckBox();
  38. this.checkBoxInvertMask = new System.Windows.Forms.CheckBox();
  39. this.checkBoxLoadedImageAsMask = new System.Windows.Forms.CheckBox();
  40. this.ButtonSave = new System.Windows.Forms.Button();
  41. this.pictureBox3 = new System.Windows.Forms.PictureBox();
  42. this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
  43. this.pictureBox2 = new System.Windows.Forms.PictureBox();
  44. this.pictureBox1 = new System.Windows.Forms.PictureBox();
  45. this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
  46. this.saveFileDialog1 = new System.Windows.Forms.SaveFileDialog();
  47. this.buttonSaveMask = new System.Windows.Forms.Button();
  48. this.tableLayoutPanel1.SuspendLayout();
  49. this.tableLayoutPanel2.SuspendLayout();
  50. this.groupBox1.SuspendLayout();
  51. ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
  52. ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
  53. this.tableLayoutPanel3.SuspendLayout();
  54. ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
  55. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
  56. this.SuspendLayout();
  57. //
  58. // tableLayoutPanel1
  59. //
  60. this.tableLayoutPanel1.ColumnCount = 1;
  61. this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
  62. this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 0);
  63. this.tableLayoutPanel1.Controls.Add(this.groupBox1, 0, 2);
  64. this.tableLayoutPanel1.Controls.Add(this.ButtonSave, 0, 4);
  65. this.tableLayoutPanel1.Controls.Add(this.pictureBox3, 0, 3);
  66. this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel3, 0, 1);
  67. this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
  68. this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
  69. this.tableLayoutPanel1.Name = "tableLayoutPanel1";
  70. this.tableLayoutPanel1.RowCount = 5;
  71. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
  72. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
  73. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 80F));
  74. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
  75. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
  76. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
  77. this.tableLayoutPanel1.Size = new System.Drawing.Size(338, 438);
  78. this.tableLayoutPanel1.TabIndex = 0;
  79. //
  80. // tableLayoutPanel2
  81. //
  82. this.tableLayoutPanel2.ColumnCount = 3;
  83. this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
  84. this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
  85. this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
  86. this.tableLayoutPanel2.Controls.Add(this.buttonLoadImage, 0, 0);
  87. this.tableLayoutPanel2.Controls.Add(this.buttonLoadMask, 1, 0);
  88. this.tableLayoutPanel2.Controls.Add(this.buttonSaveMask, 2, 0);
  89. this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
  90. this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0);
  91. this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0);
  92. this.tableLayoutPanel2.Name = "tableLayoutPanel2";
  93. this.tableLayoutPanel2.RowCount = 1;
  94. this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 30F));
  95. this.tableLayoutPanel2.Size = new System.Drawing.Size(338, 30);
  96. this.tableLayoutPanel2.TabIndex = 0;
  97. //
  98. // buttonLoadImage
  99. //
  100. this.buttonLoadImage.Dock = System.Windows.Forms.DockStyle.Fill;
  101. this.buttonLoadImage.Location = new System.Drawing.Point(3, 3);
  102. this.buttonLoadImage.Name = "buttonLoadImage";
  103. this.buttonLoadImage.Size = new System.Drawing.Size(163, 24);
  104. this.buttonLoadImage.TabIndex = 0;
  105. this.buttonLoadImage.Text = "Load Image";
  106. this.buttonLoadImage.UseVisualStyleBackColor = true;
  107. this.buttonLoadImage.Click += new System.EventHandler(this.buttonLoadImage_Click);
  108. //
  109. // buttonLoadMask
  110. //
  111. this.buttonLoadMask.Dock = System.Windows.Forms.DockStyle.Fill;
  112. this.buttonLoadMask.Enabled = false;
  113. this.buttonLoadMask.Location = new System.Drawing.Point(172, 3);
  114. this.buttonLoadMask.Name = "buttonLoadMask";
  115. this.buttonLoadMask.Size = new System.Drawing.Size(78, 24);
  116. this.buttonLoadMask.TabIndex = 1;
  117. this.buttonLoadMask.Text = "Load Mask";
  118. this.buttonLoadMask.UseVisualStyleBackColor = true;
  119. this.buttonLoadMask.Click += new System.EventHandler(this.buttonLoadMask_Click);
  120. //
  121. // groupBox1
  122. //
  123. this.groupBox1.Controls.Add(this.textBoxOpacityThreshold);
  124. this.groupBox1.Controls.Add(this.labelOpacityThreshold);
  125. this.groupBox1.Controls.Add(this.trackBar1);
  126. this.groupBox1.Controls.Add(this.checkBoxAllowPartialOpacity);
  127. this.groupBox1.Controls.Add(this.checkBoxInvertMask);
  128. this.groupBox1.Controls.Add(this.checkBoxLoadedImageAsMask);
  129. this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill;
  130. this.groupBox1.Location = new System.Drawing.Point(3, 182);
  131. this.groupBox1.Name = "groupBox1";
  132. this.groupBox1.Size = new System.Drawing.Size(332, 74);
  133. this.groupBox1.TabIndex = 1;
  134. this.groupBox1.TabStop = false;
  135. //
  136. // textBoxOpacityThreshold
  137. //
  138. this.textBoxOpacityThreshold.BackColor = System.Drawing.SystemColors.Control;
  139. this.textBoxOpacityThreshold.BorderStyle = System.Windows.Forms.BorderStyle.None;
  140. this.textBoxOpacityThreshold.Cursor = System.Windows.Forms.Cursors.Default;
  141. this.textBoxOpacityThreshold.Location = new System.Drawing.Point(163, 51);
  142. this.textBoxOpacityThreshold.Name = "textBoxOpacityThreshold";
  143. this.textBoxOpacityThreshold.ReadOnly = true;
  144. this.textBoxOpacityThreshold.Size = new System.Drawing.Size(100, 13);
  145. this.textBoxOpacityThreshold.TabIndex = 5;
  146. this.textBoxOpacityThreshold.Text = "Opacity Threshold";
  147. //
  148. // labelOpacityThreshold
  149. //
  150. this.labelOpacityThreshold.AutoSize = true;
  151. this.labelOpacityThreshold.ForeColor = System.Drawing.SystemColors.ControlLightLight;
  152. this.labelOpacityThreshold.Location = new System.Drawing.Point(160, 55);
  153. this.labelOpacityThreshold.Name = "labelOpacityThreshold";
  154. this.labelOpacityThreshold.Size = new System.Drawing.Size(0, 13);
  155. this.labelOpacityThreshold.TabIndex = 4;
  156. //
  157. // trackBar1
  158. //
  159. this.trackBar1.LargeChange = 32;
  160. this.trackBar1.Location = new System.Drawing.Point(131, 28);
  161. this.trackBar1.Margin = new System.Windows.Forms.Padding(0);
  162. this.trackBar1.Maximum = 255;
  163. this.trackBar1.Minimum = 1;
  164. this.trackBar1.Name = "trackBar1";
  165. this.trackBar1.Size = new System.Drawing.Size(149, 42);
  166. this.trackBar1.TabIndex = 2;
  167. this.trackBar1.TickFrequency = 32;
  168. this.trackBar1.TickStyle = System.Windows.Forms.TickStyle.None;
  169. this.trackBar1.Value = 128;
  170. this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged);
  171. //
  172. // checkBoxAllowPartialOpacity
  173. //
  174. this.checkBoxAllowPartialOpacity.AutoSize = true;
  175. this.checkBoxAllowPartialOpacity.Location = new System.Drawing.Point(6, 28);
  176. this.checkBoxAllowPartialOpacity.Name = "checkBoxAllowPartialOpacity";
  177. this.checkBoxAllowPartialOpacity.Size = new System.Drawing.Size(122, 17);
  178. this.checkBoxAllowPartialOpacity.TabIndex = 1;
  179. this.checkBoxAllowPartialOpacity.Text = "Allow Partial Opacity";
  180. this.checkBoxAllowPartialOpacity.UseVisualStyleBackColor = true;
  181. this.checkBoxAllowPartialOpacity.CheckedChanged += new System.EventHandler(this.checkBoxPartialOpacity_CheckedChanged);
  182. //
  183. // checkBoxInvertMask
  184. //
  185. this.checkBoxInvertMask.AutoSize = true;
  186. this.checkBoxInvertMask.Checked = true;
  187. this.checkBoxInvertMask.CheckState = System.Windows.Forms.CheckState.Checked;
  188. this.checkBoxInvertMask.Location = new System.Drawing.Point(6, 51);
  189. this.checkBoxInvertMask.Name = "checkBoxInvertMask";
  190. this.checkBoxInvertMask.Size = new System.Drawing.Size(82, 17);
  191. this.checkBoxInvertMask.TabIndex = 3;
  192. this.checkBoxInvertMask.Text = "Invert Mask";
  193. this.checkBoxInvertMask.UseVisualStyleBackColor = true;
  194. this.checkBoxInvertMask.CheckedChanged += new System.EventHandler(this.checkBoxInvertMask_CheckedChanged);
  195. //
  196. // checkBoxLoadedImageAsMask
  197. //
  198. this.checkBoxLoadedImageAsMask.AutoSize = true;
  199. this.checkBoxLoadedImageAsMask.Checked = true;
  200. this.checkBoxLoadedImageAsMask.CheckState = System.Windows.Forms.CheckState.Checked;
  201. this.checkBoxLoadedImageAsMask.Location = new System.Drawing.Point(6, 9);
  202. this.checkBoxLoadedImageAsMask.Name = "checkBoxLoadedImageAsMask";
  203. this.checkBoxLoadedImageAsMask.Size = new System.Drawing.Size(157, 17);
  204. this.checkBoxLoadedImageAsMask.TabIndex = 0;
  205. this.checkBoxLoadedImageAsMask.Text = "Use Loaded image as mask";
  206. this.checkBoxLoadedImageAsMask.UseVisualStyleBackColor = true;
  207. this.checkBoxLoadedImageAsMask.CheckedChanged += new System.EventHandler(this.checkBoxUseLoadedImageAsMask_CheckedChanged);
  208. //
  209. // ButtonSave
  210. //
  211. this.ButtonSave.Dock = System.Windows.Forms.DockStyle.Fill;
  212. this.ButtonSave.Location = new System.Drawing.Point(3, 411);
  213. this.ButtonSave.Name = "ButtonSave";
  214. this.ButtonSave.Size = new System.Drawing.Size(332, 24);
  215. this.ButtonSave.TabIndex = 3;
  216. this.ButtonSave.Text = "Save Image (with Alpha Layer)";
  217. this.ButtonSave.UseVisualStyleBackColor = true;
  218. this.ButtonSave.Click += new System.EventHandler(this.ButtonSave_Click);
  219. //
  220. // pictureBox3
  221. //
  222. this.pictureBox3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictureBox3.BackgroundImage")));
  223. this.pictureBox3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
  224. this.pictureBox3.Dock = System.Windows.Forms.DockStyle.Fill;
  225. this.pictureBox3.Location = new System.Drawing.Point(3, 262);
  226. this.pictureBox3.Name = "pictureBox3";
  227. this.pictureBox3.Size = new System.Drawing.Size(332, 143);
  228. this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  229. this.pictureBox3.TabIndex = 3;
  230. this.pictureBox3.TabStop = false;
  231. //
  232. // tableLayoutPanel3
  233. //
  234. this.tableLayoutPanel3.ColumnCount = 2;
  235. this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
  236. this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
  237. this.tableLayoutPanel3.Controls.Add(this.pictureBox2, 0, 0);
  238. this.tableLayoutPanel3.Controls.Add(this.pictureBox1, 0, 0);
  239. this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
  240. this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 33);
  241. this.tableLayoutPanel3.Name = "tableLayoutPanel3";
  242. this.tableLayoutPanel3.RowCount = 1;
  243. this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
  244. this.tableLayoutPanel3.Size = new System.Drawing.Size(332, 143);
  245. this.tableLayoutPanel3.TabIndex = 4;
  246. //
  247. // pictureBox2
  248. //
  249. this.pictureBox2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
  250. this.pictureBox2.Dock = System.Windows.Forms.DockStyle.Fill;
  251. this.pictureBox2.Location = new System.Drawing.Point(169, 3);
  252. this.pictureBox2.Name = "pictureBox2";
  253. this.pictureBox2.Size = new System.Drawing.Size(160, 137);
  254. this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  255. this.pictureBox2.TabIndex = 4;
  256. this.pictureBox2.TabStop = false;
  257. //
  258. // pictureBox1
  259. //
  260. this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
  261. this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
  262. this.pictureBox1.Location = new System.Drawing.Point(3, 3);
  263. this.pictureBox1.Name = "pictureBox1";
  264. this.pictureBox1.Size = new System.Drawing.Size(160, 137);
  265. this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  266. this.pictureBox1.TabIndex = 2;
  267. this.pictureBox1.TabStop = false;
  268. //
  269. // openFileDialog1
  270. //
  271. this.openFileDialog1.FileName = "openFileDialog1";
  272. this.openFileDialog1.Filter = "Image Files(*.BMP;*.JPG;*.GIF)|*.BMP;*.JPG;*.GIF|All files (*.*)|*.*";
  273. this.openFileDialog1.SupportMultiDottedExtensions = true;
  274. //
  275. // buttonSaveMask
  276. //
  277. this.buttonSaveMask.Location = new System.Drawing.Point(256, 3);
  278. this.buttonSaveMask.Name = "buttonSaveMask";
  279. this.buttonSaveMask.Size = new System.Drawing.Size(75, 23);
  280. this.buttonSaveMask.TabIndex = 2;
  281. this.buttonSaveMask.Text = "Save Mask";
  282. this.buttonSaveMask.UseVisualStyleBackColor = true;
  283. this.buttonSaveMask.Click += new System.EventHandler(this.buttonSaveMask_Click);
  284. //
  285. // Form1
  286. //
  287. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  288. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  289. this.ClientSize = new System.Drawing.Size(338, 438);
  290. this.Controls.Add(this.tableLayoutPanel1);
  291. this.Name = "Form1";
  292. this.Text = "Alpha Mask Editor 1.0";
  293. this.tableLayoutPanel1.ResumeLayout(false);
  294. this.tableLayoutPanel2.ResumeLayout(false);
  295. this.groupBox1.ResumeLayout(false);
  296. this.groupBox1.PerformLayout();
  297. ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
  298. ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
  299. this.tableLayoutPanel3.ResumeLayout(false);
  300. ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
  301. ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
  302. this.ResumeLayout(false);
  303. }
  304. #endregion
  305. private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
  306. private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
  307. private System.Windows.Forms.Button buttonLoadImage;
  308. private System.Windows.Forms.Button buttonLoadMask;
  309. private System.Windows.Forms.GroupBox groupBox1;
  310. private System.Windows.Forms.Button ButtonSave;
  311. private System.Windows.Forms.PictureBox pictureBox3;
  312. private System.Windows.Forms.OpenFileDialog openFileDialog1;
  313. private System.Windows.Forms.SaveFileDialog saveFileDialog1;
  314. private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
  315. private System.Windows.Forms.PictureBox pictureBox1;
  316. private System.Windows.Forms.PictureBox pictureBox2;
  317. private System.Windows.Forms.CheckBox checkBoxLoadedImageAsMask;
  318. private System.Windows.Forms.CheckBox checkBoxInvertMask;
  319. private System.Windows.Forms.CheckBox checkBoxAllowPartialOpacity;
  320. private System.Windows.Forms.TrackBar trackBar1;
  321. private System.Windows.Forms.Label labelOpacityThreshold;
  322. private System.Windows.Forms.TextBox textBoxOpacityThreshold;
  323. private System.Windows.Forms.Button buttonSaveMask;
  324. }
  325. }