change window type from Widget to Window for WatchApplication 63/145063/1
authorSukHyung, Kang <shine.kang@samsung.com>
Mon, 21 Aug 2017 06:07:36 +0000 (15:07 +0900)
committerSukHyung, Kang <shine.kang@samsung.com>
Mon, 21 Aug 2017 06:10:01 +0000 (15:10 +0900)
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
Change-Id: I669acc9d79e4af109cd7ff09ae76e06a9cb41399

src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchApplication.cs
src/Tizen.Applications.WatchApplication/Tizen.Applications/WatchWindow.cs

index f739b47..43cdbca 100755 (executable)
@@ -49,7 +49,7 @@ namespace Tizen.Applications
         /// <summary>
         /// Instance for the window
         /// </summary>
-        protected Widget Window;
+        protected Window Window;
 
         /// <summary>
         /// Occurs whenever the application is resumed.
@@ -103,6 +103,7 @@ namespace Tizen.Applications
 
             Interop.Watch.GetWin(out win);
             Window = new WatchWindow(win);
+            Window.Show();
         }
 
         /// <summary>
index 2d751d5..ef9ac45 100755 (executable)
@@ -19,7 +19,7 @@ using System;
 
 namespace Tizen.Applications
 {
-    internal class WatchWindow : Widget
+    internal class WatchWindow : Window
     {
         private IntPtr _handle;