예제 #1
0
파일: View.cs 프로젝트: m3579/Keyboard-Code
        /// <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 ();
        }
예제 #2
0
파일: View.cs 프로젝트: m3579/Keyboard-Code
        /// <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 ();
        }