private void btnDocUpdates_Click(object sender, EventArgs e) { if (NewDocumentationForm.DocUpdateAvailable()) { NewDocumentationForm form = new NewDocumentationForm(); form.ShowDialog(); } else { MessageBox.Show("No documentation updates currently available"); } }
private void CheckForDocumentation() { if (EveMarketMonitorApp.Properties.Settings.Default.DoDocCheck) { if (NewDocumentationForm.DocUpdateAvailable()) { NewDocumentationForm form = new NewDocumentationForm(); form.TopMost = true; form.ShowDialog(); } } }