Form1.Designer.cs 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. namespace SketchAssistant
  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. this.components = new System.ComponentModel.Container();
  29. System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
  30. this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
  31. this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
  32. this.pictureBoxRight = new System.Windows.Forms.PictureBox();
  33. this.pictureBoxLeft = new System.Windows.Forms.PictureBox();
  34. this.menuStrip1 = new System.Windows.Forms.MenuStrip();
  35. this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  36. this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  37. this.importToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  38. this.examplePictureToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  39. this.toolStrip1 = new System.Windows.Forms.ToolStrip();
  40. this.canvasButton = new System.Windows.Forms.ToolStripButton();
  41. this.drawButton = new System.Windows.Forms.ToolStripButton();
  42. this.deleteButton = new System.Windows.Forms.ToolStripButton();
  43. this.undoButton = new System.Windows.Forms.ToolStripButton();
  44. this.redoButton = new System.Windows.Forms.ToolStripButton();
  45. this.statusStrip1 = new System.Windows.Forms.StatusStrip();
  46. this.toolStripLoadStatus = new System.Windows.Forms.ToolStripStatusLabel();
  47. this.lastActionTakenLabel = new System.Windows.Forms.ToolStripStatusLabel();
  48. this.backgroundWorker2 = new System.ComponentModel.BackgroundWorker();
  49. this.mouseTimer = new System.Windows.Forms.Timer(this.components);
  50. this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
  51. this.tableLayoutPanel1.SuspendLayout();
  52. ((System.ComponentModel.ISupportInitialize)(this.pictureBoxRight)).BeginInit();
  53. ((System.ComponentModel.ISupportInitialize)(this.pictureBoxLeft)).BeginInit();
  54. this.menuStrip1.SuspendLayout();
  55. this.toolStrip1.SuspendLayout();
  56. this.statusStrip1.SuspendLayout();
  57. this.SuspendLayout();
  58. //
  59. // tableLayoutPanel1
  60. //
  61. this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
  62. | System.Windows.Forms.AnchorStyles.Left)
  63. | System.Windows.Forms.AnchorStyles.Right)));
  64. this.tableLayoutPanel1.BackColor = System.Drawing.SystemColors.InactiveCaption;
  65. this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.OutsetDouble;
  66. this.tableLayoutPanel1.ColumnCount = 2;
  67. this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
  68. this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
  69. this.tableLayoutPanel1.Controls.Add(this.pictureBoxRight, 1, 0);
  70. this.tableLayoutPanel1.Controls.Add(this.pictureBoxLeft, 0, 0);
  71. this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 52);
  72. this.tableLayoutPanel1.Name = "tableLayoutPanel1";
  73. this.tableLayoutPanel1.RowCount = 1;
  74. this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
  75. this.tableLayoutPanel1.Size = new System.Drawing.Size(696, 440);
  76. this.tableLayoutPanel1.TabIndex = 1;
  77. //
  78. // pictureBoxRight
  79. //
  80. this.pictureBoxRight.Dock = System.Windows.Forms.DockStyle.Fill;
  81. this.pictureBoxRight.Location = new System.Drawing.Point(349, 3);
  82. this.pictureBoxRight.Margin = new System.Windows.Forms.Padding(0);
  83. this.pictureBoxRight.Name = "pictureBoxRight";
  84. this.pictureBoxRight.Size = new System.Drawing.Size(344, 434);
  85. this.pictureBoxRight.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  86. this.pictureBoxRight.TabIndex = 6;
  87. this.pictureBoxRight.TabStop = false;
  88. this.pictureBoxRight.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBoxRight_MouseDown);
  89. this.pictureBoxRight.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pictureBoxRight_MouseMove);
  90. this.pictureBoxRight.MouseUp += new System.Windows.Forms.MouseEventHandler(this.pictureBoxRight_MouseUp);
  91. //
  92. // pictureBoxLeft
  93. //
  94. this.pictureBoxLeft.BackColor = System.Drawing.SystemColors.InactiveCaption;
  95. this.pictureBoxLeft.Dock = System.Windows.Forms.DockStyle.Fill;
  96. this.pictureBoxLeft.Location = new System.Drawing.Point(3, 3);
  97. this.pictureBoxLeft.Margin = new System.Windows.Forms.Padding(0);
  98. this.pictureBoxLeft.Name = "pictureBoxLeft";
  99. this.pictureBoxLeft.Size = new System.Drawing.Size(343, 434);
  100. this.pictureBoxLeft.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
  101. this.pictureBoxLeft.TabIndex = 5;
  102. this.pictureBoxLeft.TabStop = false;
  103. //
  104. // menuStrip1
  105. //
  106. this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  107. this.fileToolStripMenuItem});
  108. this.menuStrip1.Location = new System.Drawing.Point(0, 0);
  109. this.menuStrip1.MaximumSize = new System.Drawing.Size(1000, 0);
  110. this.menuStrip1.Name = "menuStrip1";
  111. this.menuStrip1.Size = new System.Drawing.Size(696, 24);
  112. this.menuStrip1.TabIndex = 2;
  113. this.menuStrip1.Text = "menuStrip1";
  114. //
  115. // fileToolStripMenuItem
  116. //
  117. this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  118. this.loadToolStripMenuItem,
  119. this.importToolStripMenuItem,
  120. this.saveToolStripMenuItem});
  121. this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
  122. this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
  123. this.fileToolStripMenuItem.Text = "File";
  124. //
  125. // loadToolStripMenuItem
  126. //
  127. this.loadToolStripMenuItem.Name = "loadToolStripMenuItem";
  128. this.loadToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
  129. this.loadToolStripMenuItem.Text = "Load...";
  130. this.loadToolStripMenuItem.Click += new System.EventHandler(this.loadToolStripMenuItem_Click);
  131. //
  132. // importToolStripMenuItem
  133. //
  134. this.importToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
  135. this.examplePictureToolStripMenuItem});
  136. this.importToolStripMenuItem.Name = "importToolStripMenuItem";
  137. this.importToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
  138. this.importToolStripMenuItem.Text = "Import...";
  139. //
  140. // examplePictureToolStripMenuItem
  141. //
  142. this.examplePictureToolStripMenuItem.Name = "examplePictureToolStripMenuItem";
  143. this.examplePictureToolStripMenuItem.Size = new System.Drawing.Size(158, 22);
  144. this.examplePictureToolStripMenuItem.Text = "Example picture";
  145. this.examplePictureToolStripMenuItem.Click += new System.EventHandler(this.examplePictureToolStripMenuItem_Click);
  146. //
  147. // toolStrip1
  148. //
  149. this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  150. this.canvasButton,
  151. this.drawButton,
  152. this.deleteButton,
  153. this.undoButton,
  154. this.redoButton});
  155. this.toolStrip1.Location = new System.Drawing.Point(0, 24);
  156. this.toolStrip1.Name = "toolStrip1";
  157. this.toolStrip1.Size = new System.Drawing.Size(696, 25);
  158. this.toolStrip1.TabIndex = 3;
  159. this.toolStrip1.Text = "toolStrip1";
  160. //
  161. // canvasButton
  162. //
  163. this.canvasButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  164. this.canvasButton.Image = ((System.Drawing.Image)(resources.GetObject("canvasButton.Image")));
  165. this.canvasButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  166. this.canvasButton.Name = "canvasButton";
  167. this.canvasButton.Size = new System.Drawing.Size(76, 22);
  168. this.canvasButton.Text = "New Canvas";
  169. this.canvasButton.Click += new System.EventHandler(this.canvasButton_Click);
  170. //
  171. // drawButton
  172. //
  173. this.drawButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  174. this.drawButton.Image = ((System.Drawing.Image)(resources.GetObject("drawButton.Image")));
  175. this.drawButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  176. this.drawButton.Name = "drawButton";
  177. this.drawButton.Size = new System.Drawing.Size(38, 22);
  178. this.drawButton.Text = "Draw";
  179. this.drawButton.Click += new System.EventHandler(this.drawButton_Click);
  180. //
  181. // deleteButton
  182. //
  183. this.deleteButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  184. this.deleteButton.Image = ((System.Drawing.Image)(resources.GetObject("deleteButton.Image")));
  185. this.deleteButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  186. this.deleteButton.Name = "deleteButton";
  187. this.deleteButton.Size = new System.Drawing.Size(44, 22);
  188. this.deleteButton.Text = "Delete";
  189. this.deleteButton.Click += new System.EventHandler(this.deleteButton_Click);
  190. //
  191. // undoButton
  192. //
  193. this.undoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  194. this.undoButton.Image = ((System.Drawing.Image)(resources.GetObject("undoButton.Image")));
  195. this.undoButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  196. this.undoButton.Name = "undoButton";
  197. this.undoButton.Size = new System.Drawing.Size(40, 22);
  198. this.undoButton.Text = "Undo";
  199. this.undoButton.Click += new System.EventHandler(this.undoButton_Click);
  200. //
  201. // redoButton
  202. //
  203. this.redoButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
  204. this.redoButton.Image = ((System.Drawing.Image)(resources.GetObject("redoButton.Image")));
  205. this.redoButton.ImageTransparentColor = System.Drawing.Color.Magenta;
  206. this.redoButton.Name = "redoButton";
  207. this.redoButton.Size = new System.Drawing.Size(38, 22);
  208. this.redoButton.Text = "Redo";
  209. this.redoButton.Click += new System.EventHandler(this.redoButton_Click);
  210. //
  211. // statusStrip1
  212. //
  213. this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
  214. this.toolStripLoadStatus,
  215. this.lastActionTakenLabel});
  216. this.statusStrip1.Location = new System.Drawing.Point(0, 491);
  217. this.statusStrip1.Name = "statusStrip1";
  218. this.statusStrip1.Size = new System.Drawing.Size(696, 24);
  219. this.statusStrip1.TabIndex = 4;
  220. this.statusStrip1.Text = "statusStrip1";
  221. //
  222. // toolStripLoadStatus
  223. //
  224. this.toolStripLoadStatus.Name = "toolStripLoadStatus";
  225. this.toolStripLoadStatus.Size = new System.Drawing.Size(40, 19);
  226. this.toolStripLoadStatus.Text = "no file";
  227. //
  228. // lastActionTakenLabel
  229. //
  230. this.lastActionTakenLabel.BorderSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Left;
  231. this.lastActionTakenLabel.Name = "lastActionTakenLabel";
  232. this.lastActionTakenLabel.Size = new System.Drawing.Size(38, 19);
  233. this.lastActionTakenLabel.Text = "none";
  234. this.lastActionTakenLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
  235. //
  236. // mouseTimer
  237. //
  238. this.mouseTimer.Interval = 1;
  239. this.mouseTimer.Tick += new System.EventHandler(this.mouseTimer_Tick);
  240. //
  241. // saveToolStripMenuItem
  242. //
  243. this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
  244. this.saveToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
  245. this.saveToolStripMenuItem.Text = "Save...";
  246. this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click_1);
  247. //
  248. // Form1
  249. //
  250. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  251. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  252. this.BackColor = System.Drawing.SystemColors.MenuBar;
  253. this.ClientSize = new System.Drawing.Size(696, 515);
  254. this.Controls.Add(this.statusStrip1);
  255. this.Controls.Add(this.toolStrip1);
  256. this.Controls.Add(this.tableLayoutPanel1);
  257. this.Controls.Add(this.menuStrip1);
  258. this.KeyPreview = true;
  259. this.MainMenuStrip = this.menuStrip1;
  260. this.Margin = new System.Windows.Forms.Padding(2);
  261. this.Name = "Form1";
  262. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  263. this.Text = "Sketch Assistant";
  264. this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
  265. this.Load += new System.EventHandler(this.Form1_Load);
  266. this.SizeChanged += new System.EventHandler(this.Form1_Resize);
  267. this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
  268. this.tableLayoutPanel1.ResumeLayout(false);
  269. ((System.ComponentModel.ISupportInitialize)(this.pictureBoxRight)).EndInit();
  270. ((System.ComponentModel.ISupportInitialize)(this.pictureBoxLeft)).EndInit();
  271. this.menuStrip1.ResumeLayout(false);
  272. this.menuStrip1.PerformLayout();
  273. this.toolStrip1.ResumeLayout(false);
  274. this.toolStrip1.PerformLayout();
  275. this.statusStrip1.ResumeLayout(false);
  276. this.statusStrip1.PerformLayout();
  277. this.ResumeLayout(false);
  278. this.PerformLayout();
  279. }
  280. #endregion
  281. private System.ComponentModel.BackgroundWorker backgroundWorker1;
  282. private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
  283. private System.Windows.Forms.MenuStrip menuStrip1;
  284. private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
  285. private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
  286. private System.Windows.Forms.ToolStrip toolStrip1;
  287. private System.Windows.Forms.StatusStrip statusStrip1;
  288. private System.Windows.Forms.ToolStripStatusLabel toolStripLoadStatus;
  289. private System.ComponentModel.BackgroundWorker backgroundWorker2;
  290. private System.Windows.Forms.PictureBox pictureBoxRight;
  291. private System.Windows.Forms.PictureBox pictureBoxLeft;
  292. private System.Windows.Forms.Timer mouseTimer;
  293. private System.Windows.Forms.ToolStripButton canvasButton;
  294. private System.Windows.Forms.ToolStripButton drawButton;
  295. private System.Windows.Forms.ToolStripButton deleteButton;
  296. private System.Windows.Forms.ToolStripMenuItem importToolStripMenuItem;
  297. private System.Windows.Forms.ToolStripMenuItem examplePictureToolStripMenuItem;
  298. private System.Windows.Forms.ToolStripStatusLabel lastActionTakenLabel;
  299. private System.Windows.Forms.ToolStripButton undoButton;
  300. private System.Windows.Forms.ToolStripButton redoButton;
  301. private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
  302. }
  303. }