Form1.Designer.cs 17 KB

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