Skip to content

Commit 0430fdc

Browse files
committed
Reverted Generic
1 parent 06fb4da commit 0430fdc

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

UICatalog/Scenarios/Generic.cs

+1-9
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ public override void Main ()
1818
Title = GetQuitKeyAndName (),
1919
};
2020

21-
FrameView frame = new ()
22-
{
23-
Height = Dim.Fill (),
24-
Width = Dim.Fill (),
25-
Title = "Frame"
26-
};
27-
appWindow.Add (frame);
28-
2921
var button = new Button { Id = "button", X = Pos.Center (), Y = 1, Text = "_Press me!" };
3022

3123
button.Accepting += (s, e) =>
@@ -35,7 +27,7 @@ public override void Main ()
3527
MessageBox.ErrorQuery ("Error", "You pressed the button!", "_Ok");
3628
};
3729

38-
frame.Add (button);
30+
appWindow.Add (button);
3931

4032
// Run - Start the application.
4133
Application.Run (appWindow);

0 commit comments

Comments
 (0)