summaryrefslogtreecommitdiff
path: root/tutorial/csharp/hello-gui/src/gui_main.cs
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial/csharp/hello-gui/src/gui_main.cs')
-rw-r--r--tutorial/csharp/hello-gui/src/gui_main.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tutorial/csharp/hello-gui/src/gui_main.cs b/tutorial/csharp/hello-gui/src/gui_main.cs
index 4000c9b..cc6eaa9 100644
--- a/tutorial/csharp/hello-gui/src/gui_main.cs
+++ b/tutorial/csharp/hello-gui/src/gui_main.cs
@@ -38,7 +38,7 @@ public class Example : Efl.Csharp.Application
38 label.SetHintWeight(1.0, 0.9); 38 label.SetHintWeight(1.0, 0.9);
39 label.SetHintAlign(0.5, 0.5); 39 label.SetHintAlign(0.5, 0.5);
40 // Add the text to the box container 40 // Add the text to the box container
41 box.DoPack(label); 41 box.Pack(label);
42 42
43 // Create a button widget 43 // Create a button widget
44 var button = new Efl.Ui.Button(box); 44 var button = new Efl.Ui.Button(box);
@@ -48,7 +48,7 @@ public class Example : Efl.Csharp.Application
48 // Set the method to be called when the button is pressed 48 // Set the method to be called when the button is pressed
49 button.ClickedEvt += (object sender, EventArgs e) => { Efl.App.AppMain.Quit(0); }; 49 button.ClickedEvt += (object sender, EventArgs e) => { Efl.App.AppMain.Quit(0); };
50 // Add the button to the box container 50 // Add the button to the box container
51 box.DoPack(button); 51 box.Pack(button);
52 } 52 }
53 53
54#if WIN32 54#if WIN32