//Database Name contructor = 1 public dataBase(databases Database, string DatabaseName) { this.Database = Database; this.DatabaseName = DatabaseName; SelectedDatabase = Database.ToString(); }
//Full data constructor = 0 public dataBase(databases Database, string DatabaseName, string UserName, string Password, string Host) { this.Database = Database; this.DatabaseName = DatabaseName; this.Host = Host; this.UserName = UserName; this.Password = Password; SelectedDatabase = Database.ToString(); }