Browse Source

Adding the @lzylinl example.

BDisp 5 năm trước cách đây
mục cha
commit
b911403586
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      UICatalog/Scenarios/Clipping.cs

+ 5 - 0
UICatalog/Scenarios/Clipping.cs

@@ -69,6 +69,11 @@ namespace UICatalog {
 				Height = Dim.Fill (3),
 				ColorScheme = Colors.TopLevel
 			};
+			embedded3.Add (new Button (2, 2, "click me") {
+				Clicked = () => {
+					MessageBox.Query (10, 5, "Test", "test message", "Ok");
+				}
+			});
 			embedded2.Add (embedded3);
 
 			scrollView.Add (embedded1);