Inheritance: Eto.Platform
コード例 #1
0
ファイル: Program.cs プロジェクト: TinSyner/github_spider
        static void Start()
        {
                        #if DEBUG && !XAMMAC2
            Debug.Listeners.Add(new ConsoleTraceListener());
                        #endif
            AddStyles();

            var generator = new Eto.Mac.Platform();
            var app       = new AltmanApplication(generator);
            app.Run();
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: kevins1022/Altman
		static void Start()
		{
			#if DEBUG && !XAMMAC2
			Debug.Listeners.Add(new ConsoleTraceListener());
			#endif
			AddStyles();

			var generator = new Eto.Mac.Platform();
			var app = new AltmanApplication(generator);
			app.Run();
		}
コード例 #3
0
ファイル: Startup.cs プロジェクト: mhusen/Eto
		static void Main(string[] args)
		{
			AddStyles();

			var platform = new Eto.Mac.Platform();
			
			var app = new TestApplication(platform);
			app.TestAssemblies.Add(typeof(Startup).Assembly);

			// use this to use your own app delegate:
			// ApplicationHandler.Instance.AppDelegate = new MyAppDelegate();

			app.Run();
		}
コード例 #4
0
        static void Main(string[] args)
        {
            AddStyles();

            var platform = new Eto.Mac.Platform();

            var app = new TestApplication(platform);

            app.TestAssemblies.Add(typeof(Startup).Assembly);

            // use this to use your own app delegate:
            // ApplicationHandler.Instance.AppDelegate = new MyAppDelegate();

            app.Run();
        }
コード例 #5
0
ファイル: Startup.cs プロジェクト: gene-l-thomas/Eto
		static void Main (string[] args)
		{
#if DEBUG && !XAMMAC2
			Debug.Listeners.Add (new ConsoleTraceListener ());
#endif
			AddStyles ();
			
			var generator = new Eto.Mac.Platform ();
			
			var app = new TestApplication (generator);

			// use this to use your own app delegate:
			// ApplicationHandler.Instance.AppDelegate = new MyAppDelegate();

			app.Run();
		}
コード例 #6
0
        static void Main(string[] args)
        {
#if DEBUG && !XAMMAC2
            Debug.Listeners.Add(new ConsoleTraceListener());
#endif
            AddStyles();

            var generator = new Eto.Mac.Platform();

            var app = new TestApplication(generator);

            // use this to use your own app delegate:
            // ApplicationHandler.Instance.AppDelegate = new MyAppDelegate();

            app.Run();
        }
コード例 #7
0
ファイル: Startup.cs プロジェクト: philstopford/Eto
        static void Main(string[] args)
        {
            AddStyles();

            var stopwatch = new Stopwatch();

            stopwatch.Start();
            var platform = new Eto.Mac.Platform();

            stopwatch.Stop();

            var app = new TestApplication(platform);

            app.AsyncInvoke(() => Log.Write(null, $"Startup: {stopwatch.Elapsed}"));
            app.TestAssemblies.Add(typeof(Startup).Assembly);

            // use this to use your own app delegate:
            // ApplicationHandler.Instance.AppDelegate = new MyAppDelegate();

            app.Run();
        }