Private
Public Access
Changed design of the preview to be more responsive
This commit is contained in:
1 parent
4124f6d7d6
commit
ae701dfb05
1 file changed
+5
-5
+5
-5
@@ -58,13 +58,11 @@
|
|||||||
//
|
//
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
|
||||||
this.panel1.BackColor = System.Drawing.Color.White;
|
this.panel1.BackColor = System.Drawing.Color.White;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, -1);
|
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(537, 476);
|
this.panel1.Size = new System.Drawing.Size(537, 501);
|
||||||
this.panel1.TabIndex = 2;
|
this.panel1.TabIndex = 2;
|
||||||
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.DrawPreviewPane_Paint);
|
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.DrawPreviewPane_Paint);
|
||||||
//
|
//
|
||||||
@@ -79,6 +77,8 @@
|
|||||||
this.Name = "Draw_Preview";
|
this.Name = "Draw_Preview";
|
||||||
this.Text = "Draw Preview";
|
this.Text = "Draw Preview";
|
||||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.DrawPreview_FormClosed);
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.DrawPreview_FormClosed);
|
||||||
|
this.ResizeEnd += new System.EventHandler(this.DrawPreviewPane_Paint);
|
||||||
|
this.Paint += new System.Windows.Forms.PaintEventHandler(this.DrawPreviewPane_Paint);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user