Beispiel #1
0
        /// <summary>
        /// Starts the app; in other words, displays the user interfaces and sends an
        /// event to the controller to initialize the application
        /// </summary>
        public void Start()
        {
            Application.Init ();

            // The MainWindow class contains the actual user interface code
            window = new MainWindow ();
            window.Start ();

            Application.Run ();
        }
Beispiel #2
0
        /// <summary>
        /// Starts the app; in other words, displays the user interfaces and sends an
        /// event to the controller to initialize the application
        /// </summary>
        public void Start()
        {
            // This line of code needs to be commented out on Linux
            CheckWindowsGtk();
            Application.Init ();

            // The MainWindow class contains the actual user interface code
            window = new MainWindow (controller);
            window.Start ();

            Application.Run ();
        }