Ejemplo n.º 1
0
 void miSettings_Click(object sender, EventArgs e)
 {
     SettingsForm settingsForm = new SettingsForm();
     settingsForm.ShowDialog();
 }
Ejemplo n.º 2
0
        void MainForm_Load(object sender, EventArgs e)
        {
            this.loadingIndicator.Start();
            this.postView.StartTransit();

            if (Settings.Email == null)
            {
                SettingsForm settingsForm = new SettingsForm();
                settingsForm.ShowDialog();
            }

            if (Settings.Email != null)
            {
                this.posts.Clear();
                this.currentView = 0;
                FetchDashboard();
            }
        }