private void HandleTimerTick(object sender, EventArgs e) { mTimer.Enabled = false; Hide(); if (string.IsNullOrEmpty(Properties.Settings.Default.Email) || string.IsNullOrEmpty(Properties.Settings.Default.Password)) { var form = new SettingsDialog(); if (form.ShowDialog() == DialogResult.OK) { Logout(); Login(); } } }
private void HandleSettingsClick(object sender, EventArgs e) { var form = new SettingsDialog(); if (form.ShowDialog() == DialogResult.OK) { Logout(); Login(); } }