[NUI] Fix NUITizenGallery to run on Ubuntu VS-Code debugging
[platform/core/csapi/tizenfx.git] / test / NUITizenGallery / Examples / Test2 / Test2.cs
1 using System;
2 using Tizen.NUI;
3 using Tizen.NUI.Components;
4
5 namespace NUITizenGallery
6 {
7     internal class Test2 : IExample
8     {
9         Window window;
10         public void Activate()
11         {
12             Console.WriteLine($"@@@ this.GetType().Name={this.GetType().Name}, Activate()");
13
14             window = NUIApplication.GetDefaultWindow();
15             window.GetDefaultNavigator().Push(new Test2Page());
16         }
17         public void Deactivate()
18         {
19             Console.WriteLine($"@@@ this.GetType().Name={this.GetType().Name}, Deactivate()");
20             window.GetDefaultNavigator().Pop();
21         }
22     }
23 }