Exemplo n.º 1
0
        public void OpenLandingWindow()
        {
            Log.Debug("OpenBrowserWindow");
            var landingWindow = new LandingWindow(new Session(User, Preferences));

            landingWindow.Show();
            Destroy();
        }
Exemplo n.º 2
0
        protected void buttonBackClick(object sender, EventArgs e)
        {
            Log.Debug("buttonBackClick");
            var landingWindow = new LandingWindow(new Session(User, Preferences, CurrentAlbumPage));

            landingWindow.Show();
            Destroy();
        }
        private void buttonSaveClick(object sender, EventArgs e)
        {
            Log.Debug("buttonSaveClick");
            var preferences = getModelFromFields();

            FileCache.AppCacheDirectory = preferences.CacheLocation;

            Bootstrapper.ReconfigureLogging(preferences.LogLevel.ToString(), preferences.LogLocation);

            this._presenter.Save(preferences);
            var landingWindow = new LandingWindow(new Session(User, preferences));

            landingWindow.Show();
            Destroy();
        }
 protected void buttonBackClick(object sender, EventArgs e) {
     Log.Debug("buttonBackClick");
     var landingWindow = new LandingWindow(new Session(User, Preferences));
     landingWindow.Show();
     Destroy();
 }
        private void buttonSaveClick(object sender, EventArgs e) {
            Log.Debug("buttonSaveClick");
            var preferences = getModelFromFields();

            FileCache.AppCacheDirectory = preferences.CacheLocation;

            Bootstrapper.ReconfigureLogging(preferences.LogLevel.ToString(), preferences.LogLocation);

            this._presenter.Save(preferences);
            var landingWindow = new LandingWindow(new Session(User, preferences));
            landingWindow.Show();
            Destroy();
        }
 public void OpenLandingWindow() {
     Log.Debug("OpenBrowserWindow");
     var landingWindow = new LandingWindow(new Session(User, Preferences));
     landingWindow.Show();
     Destroy();
 }