Explorar el Código

Adding the @lzylinl example.

BDisp hace 5 años
padre
commit
b911403586
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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);