|
@@ -28,7 +28,7 @@ namespace SketchAssistant
|
|
|
/// </summary>
|
|
|
private void InitializeComponent()
|
|
|
{
|
|
|
- this.components = new System.ComponentModel.Container();
|
|
|
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
|
this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
|
|
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
|
|
this.pictureBoxRight = new System.Windows.Forms.PictureBox();
|
|
@@ -37,7 +37,7 @@ namespace SketchAssistant
|
|
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.loadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
|
|
- this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
|
|
+ this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
|
|
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
|
|
|
this.toolStripLoadStatus = new System.Windows.Forms.ToolStripStatusLabel();
|
|
|
this.backgroundWorker2 = new System.ComponentModel.BackgroundWorker();
|
|
@@ -80,6 +80,7 @@ namespace SketchAssistant
|
|
|
this.pictureBoxRight.Margin = new System.Windows.Forms.Padding(0);
|
|
|
this.pictureBoxRight.Name = "pictureBoxRight";
|
|
|
this.pictureBoxRight.Size = new System.Drawing.Size(344, 434);
|
|
|
+ this.pictureBoxRight.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
|
|
this.pictureBoxRight.TabIndex = 6;
|
|
|
this.pictureBoxRight.TabStop = false;
|
|
|
this.pictureBoxRight.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBoxRight_MouseDown);
|
|
@@ -130,18 +131,22 @@ namespace SketchAssistant
|
|
|
// toolStrip1
|
|
|
//
|
|
|
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
|
- this.toolStripLabel1});
|
|
|
+ this.toolStripButton1});
|
|
|
this.toolStrip1.Location = new System.Drawing.Point(0, 24);
|
|
|
this.toolStrip1.Name = "toolStrip1";
|
|
|
this.toolStrip1.Size = new System.Drawing.Size(696, 25);
|
|
|
this.toolStrip1.TabIndex = 3;
|
|
|
this.toolStrip1.Text = "toolStrip1";
|
|
|
//
|
|
|
- // toolStripLabel1
|
|
|
+ // toolStripButton1
|
|
|
//
|
|
|
- this.toolStripLabel1.Name = "toolStripLabel1";
|
|
|
- this.toolStripLabel1.Size = new System.Drawing.Size(69, 22);
|
|
|
- this.toolStripLabel1.Text = "Placeholder";
|
|
|
+ this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
|
|
|
+ this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
|
|
+ this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
|
+ this.toolStripButton1.Name = "toolStripButton1";
|
|
|
+ this.toolStripButton1.Size = new System.Drawing.Size(76, 22);
|
|
|
+ this.toolStripButton1.Text = "New Canvas";
|
|
|
+ this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
|
|
//
|
|
|
// statusStrip1
|
|
|
//
|
|
@@ -200,7 +205,9 @@ namespace SketchAssistant
|
|
|
this.Name = "Form1";
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
this.Text = "Sketch Assistant";
|
|
|
+ this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
|
|
|
this.Load += new System.EventHandler(this.Form1_Load);
|
|
|
+ this.SizeChanged += new System.EventHandler(this.Form1_Resize);
|
|
|
this.tableLayoutPanel1.ResumeLayout(false);
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxRight)).EndInit();
|
|
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxLeft)).EndInit();
|
|
@@ -222,7 +229,6 @@ namespace SketchAssistant
|
|
|
private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
|
|
|
private System.Windows.Forms.ToolStripMenuItem loadToolStripMenuItem;
|
|
|
private System.Windows.Forms.ToolStrip toolStrip1;
|
|
|
- private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
|
|
private System.Windows.Forms.StatusStrip statusStrip1;
|
|
|
private System.Windows.Forms.ToolStripStatusLabel toolStripLoadStatus;
|
|
|
private System.ComponentModel.BackgroundWorker backgroundWorker2;
|
|
@@ -232,6 +238,7 @@ namespace SketchAssistant
|
|
|
private System.Windows.Forms.ToolStripMenuItem edittoolStripMenuItem;
|
|
|
private System.Windows.Forms.ToolStripMenuItem painttoolStripMenuItem;
|
|
|
private System.Windows.Forms.Timer timer2;
|
|
|
+ private System.Windows.Forms.ToolStripButton toolStripButton1;
|
|
|
}
|
|
|
}
|
|
|
|