浏览代码

Adding the @lzylinl example.

BDisp 5 年之前
父节点
当前提交
b911403586
共有 1 个文件被更改,包括 5 次插入0 次删除
  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);