From 9d8283159f4e9c187dcf029c51f236e6ffae8a16 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 5 Jun 2006 23:36:06 +0000 Subject: [PATCH] Fixup test svn path=/trunk/winforms/; revision=61473 --- toolwindows/swf-toolwindows.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/toolwindows/swf-toolwindows.cs b/toolwindows/swf-toolwindows.cs index f81ae30..0fdb617 100644 --- a/toolwindows/swf-toolwindows.cs +++ b/toolwindows/swf-toolwindows.cs @@ -5,7 +5,7 @@ using System.Windows.Forms; public class ToolWindowTest : Form { - private bool sizable; + private bool sizable = true; private Button button; public ToolWindowTest () @@ -25,9 +25,11 @@ public class ToolWindowTest : Form { 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;