private void OpenToolStripMenuItemClick(object sender, EventArgs e) { OpenProjectForm form = new OpenProjectForm(); DialogResult result = form.ShowDialog(); if (result == DialogResult.OK) ReloadProject(); }
private void OpenProject() { string con = Settings.Default.ConnectionString; if (!Project.Open(con)) { OpenProjectForm form = new OpenProjectForm(); DialogResult result = form.ShowDialog(this); if (result != DialogResult.OK) return; } ReloadProject(); }