private void BtnSettings_Click(object sender, EventArgs e) { using (Form frmSetup = new FrmSetup()) { frmSetup.ShowDialog(); } Settings.Reload(); UpdateListbox(); }
private void FrmMain_Load(object sender, EventArgs e) { if (Settings.NumProjects == 0) { using (Form frmSetup = new FrmSetup()) { frmSetup.ShowDialog(); } Settings.Reload(); } UpdateListbox(); }