2 using Tizen.Applications;
4 using Tizen.NUI.BaseComponents;
6 namespace FrameComponentDll
9 public class MyFrameComponent3 : NUIFrameComponent
11 private TextLabel text;
13 public override bool OnCreate()
15 Tizen.Log.Error("MYLOG", "MyFrameComponent OnCreate");
17 Window.BackgroundColor = Color.Yellow;
18 text = new TextLabel("dll Frame");
19 text.HorizontalAlignment = HorizontalAlignment.Center;
20 text.VerticalAlignment = VerticalAlignment.Bottom;
21 text.TextColor = Color.Red;
22 text.PointSize = 30.0f;
23 text.HeightResizePolicy = ResizePolicyType.FillToParent;
24 text.WidthResizePolicy = ResizePolicyType.FillToParent;
30 public override void OnDestroy()
32 Tizen.Log.Error("MYLOG", "MyFrameComponent OnDestroy");
36 public override void OnPause()
38 Tizen.Log.Error("MYLOG", "MyFrameComponent OnPause");
41 public override void OnResume()
43 Tizen.Log.Error("MYLOG", "MyFrameComponent OnResume");
46 public override void OnStart(AppControl appControl, bool restarted)
48 Tizen.Log.Error("MYLOG", "MyFrameComponent OnStart");
51 public override void OnStop()
53 Tizen.Log.Error("MYLOG", "MyFrameComponent OnStop");
56 public void ChangeSharedText(string strText)
61 static void Main(string[] args)