/// <summary> /// The main entrance of the application /// </summary> /// <param name="args"> The string arguments. </param> static void Main(string[] args) { try { // start inputmethod InputMethodEditor.Run(Create, Terminate, Show, Hide); var app = new IMESample("", WindowMode.Opaque, WindowType.Ime); app.Run(args); } catch (Exception e) { Log.Info("IMESample", "Inputmethod Run error : Caught Exception " + e.ToString()); } }
/// <summary> /// The main entrance of the application. /// </summary> /// <param name="args"> The string arguments. </param> static void Main(string[] args) { try { // Set the necessary callback functions RegisterCallback(); // start inputmethod InputMethodEditor.Run(Create, Terminate, Show, Hide); app = new Program(); global::Xamarin.Forms.Platform.Tizen.Forms.Init(app); app.Run(args); } catch (Exception e) { Log.Info("IMESample", "Inputmethod Run error : Caught Exception " + e.ToString()); } }
/// <summary> /// The main entrance of the application. /// </summary> /// <param name="args"> The string arguments. </param> static void Main(string[] args) { try { // Set the necessary callback functions RegisterCallback(); // start inputmethod InputMethodEditor.Run(Create, Terminate, Show, Hide); app = new Program(); // If there is no code below, the IME's window will be circular. Xamarin.Forms.Platform.Tizen.Forms.SetFlags("LightweightPlatform_Experimental"); global::Xamarin.Forms.Platform.Tizen.Forms.Init(app); app.Run(args); } catch (Exception e) { Log.Info("IMESample", "Inputmethod Run error : Caught Exception " + e.ToString()); } }