CTCOfficeGUI.MainScreen.MainScreen C# (CSharp) Method

MainScreen() public method

Constructor for the main screen
public MainScreen ( ) : System
return System
        public MainScreen()
        {
            InitializeComponent();

            m_ctcController.Subscribe(trackDisplayPanel.UpdateDisplay);
            m_ctcController.Subscribe(infoPanel.UpdateDisplay);

            #if !DEBUG
            m_login = new LoginChecker();
            m_login.ShowLogin(OnLoginSuccessful, OnExitClicked);
            #endif

            m_simulatorWindow.Show();
        }