private void btnAddConnectionString_Click(object sender, RoutedEventArgs e) { string cString = SelectDatabase(); if (!string.IsNullOrWhiteSpace(cString)) { CString.Add(cString); } }
private void AddConnectionString(string connectionString) { CString.Add(connectionString); }