public override bool PrepareCreateConnectionString() { if (!base.PrepareCreateConnectionString()) return false; using (var sef = new StringEnterForm("Enter new database name:")) { if (sef.ShowDialog() != DialogResult.OK) return false; _csb.InitialCatalog = sef.String; } return true; }
public override bool PrepareCreateConnectionString() { if (!base.PrepareCreateConnectionString()) { return(false); } using (var sef = new StringEnterForm("Enter new database name:")) { if (sef.ShowDialog() != DialogResult.OK) { return(false); } _csb.InitialCatalog = sef.String; } return(true); }