private void createDatabaseButton_Click(object sender, System.EventArgs args) { var form = new CreateDatabaseForm(wizard, masterDataPath, masterLogPath); if (form.ShowDialog(wizard) == DialogResult.OK) { wizard.SetupState["database"] = form.Database; LoadDatabases(); } wizard.SetFocusToNext(); }
private void createAccountButton_Click(object sender, System.EventArgs args) { CreateAccountForm form; wizard.SetupState["account"] = string.Empty; form = new CreateAccountForm(wizard); if (form.ShowDialog(wizard) == DialogResult.OK) { wizard.SetupState["account"] = form.Account; wizard.SetupState["password"] = form.Password; LoadAccounts(); } wizard.SetFocusToNext(); }