예제 #1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            App app;
            if (Perspex.Application.Current != null)
                app = (App)Perspex.Application.Current;
            else
                app = new App();
           

            MainWindow.RootNamespace = "Perspex.AndroidTestApplication";
            var window = MainWindow.Create();

            window.Show();
            app.Run(window);
        }
예제 #2
0
 public static void Main()
 {
     TestApplication.App app = new TestApplication.App();
     app.InitializeComponent();
     app.Run();
 }
예제 #3
0
 public static void Main() {
     TestApplication.App app = new TestApplication.App();
     app.InitializeComponent();
     app.Run();
 }