4 class ConnectDialog : Window
6 minClientSize = Size { 300, 100 };
7 tabCycle = true, background = activeBorder, hasClose = true, caption = "Connect to server";
11 parent = this, bevel = true, isDefault = true, caption = "OK",
12 size = Size { w = 80 }, anchor = Anchor { horz = -48, bottom = 10 };
14 bool NotifyClicked(Button button, int x, int y, Modifiers mods)
16 ((Chess)master).Connect(address.line.text);
24 parent = this, bevel = true, caption = "Cancel", size = Size { w = 80 }, hotKey = escape;
25 anchor = Anchor { horz = 48, bottom = 10 };
27 bool NotifyClicked(Button button, int x, int y, Modifiers mods)
36 parent = this, textHorzScroll = true, size = Size { w = 200 }, anchor = Anchor { top = 10 },
37 line.text = "localhost"