Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixup test

svn path=/trunk/winforms/; revision=61473
  • Loading branch information...
commit 9d8283159f4e9c187dcf029c51f236e6ffae8a16 1 parent 3bd0d95
Jackson Harper authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 toolwindows/swf-toolwindows.cs
View
4 toolwindows/swf-toolwindows.cs
@@ -5,7 +5,7 @@
public class ToolWindowTest : Form {
- private bool sizable;
+ private bool sizable = true;
private Button button;
public ToolWindowTest ()
@@ -25,9 +25,11 @@ public void ClickHandler (object sender, EventArgs e)
form.Text = "tool window";
if (sizable) {
form.FormBorderStyle = FormBorderStyle.SizableToolWindow;
+ form.Text = "Sizable Tool Window";
button.Text = "Gimme a Fixed Tool Window";
} else {
form.FormBorderStyle = FormBorderStyle.FixedToolWindow;
+ form.Text = "Fixed Tool Window";
button.Text = "Gimme a Sizable Tool Window";
}
sizable = !sizable;
Please sign in to comment.
Something went wrong with that request. Please try again.