Fixup test
svn path=/trunk/winforms/; revision=61473
This commit is contained in:
Родитель
3bd0d951c4
Коммит
9d8283159f
|
@ -5,7 +5,7 @@ using System.Windows.Forms;
|
||||||
|
|
||||||
public class ToolWindowTest : Form {
|
public class ToolWindowTest : Form {
|
||||||
|
|
||||||
private bool sizable;
|
private bool sizable = true;
|
||||||
private Button button;
|
private Button button;
|
||||||
|
|
||||||
public ToolWindowTest ()
|
public ToolWindowTest ()
|
||||||
|
@ -25,9 +25,11 @@ public class ToolWindowTest : Form {
|
||||||
form.Text = "tool window";
|
form.Text = "tool window";
|
||||||
if (sizable) {
|
if (sizable) {
|
||||||
form.FormBorderStyle = FormBorderStyle.SizableToolWindow;
|
form.FormBorderStyle = FormBorderStyle.SizableToolWindow;
|
||||||
|
form.Text = "Sizable Tool Window";
|
||||||
button.Text = "Gimme a Fixed Tool Window";
|
button.Text = "Gimme a Fixed Tool Window";
|
||||||
} else {
|
} else {
|
||||||
form.FormBorderStyle = FormBorderStyle.FixedToolWindow;
|
form.FormBorderStyle = FormBorderStyle.FixedToolWindow;
|
||||||
|
form.Text = "Fixed Tool Window";
|
||||||
button.Text = "Gimme a Sizable Tool Window";
|
button.Text = "Gimme a Sizable Tool Window";
|
||||||
}
|
}
|
||||||
sizable = !sizable;
|
sizable = !sizable;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче