Esempio n. 1
0
        public void RecycleInitialScreens()
        {
            if (_logonScreen != null)
            {
                _logonScreen.Recycle();
            }
            _logonScreen = null;

            if (_progressScreen != null)
            {
                _progressScreen.Recycle();
            }
            _progressScreen = null;
        }
Esempio n. 2
0
        void StartApplication(Settings settings)
        {
            Settings = settings;

            Settings.ReadSettings();
            Settings.WriteSettings();

            _logonScreen    = new LogonScreen(_baseActivity, Settings, LoadApplication);
            _progressScreen = new ProgressScreen(_baseActivity, Settings);

            AppContext = new ApplicationContext(_baseActivity, Settings, LoadComplete);
            AppContext.LoadingProgress   += _progressScreen.Progress;
            AppContext.ReturnToStartMenu += OpenStartScreen;

            ExceptionHandler = new ExceptionHandler(Settings, _baseActivity, AppContext);
            HandleLastError(Prepare);
        }
Esempio n. 3
0
    protected override void Start()
    {
        base.Start();

        logonScreen = FindObjectOfType <LogonScreen>();
    }