public static NameValueCollection GetParameters(string title, IConnectionPropertyDictionary dict) { DictionaryDialog diag = new DictionaryDialog(dict); diag.Text = title; if (diag.ShowDialog() == DialogResult.OK) { return(diag.GetProperties()); } return(null); }
public static NameValueCollection GetParameters(string title, IConnectionPropertyDictionary dict) { DictionaryDialog diag = new DictionaryDialog(dict); diag.Text = title; if (diag.ShowDialog() == DialogResult.OK) { return diag.GetProperties(); } return null; }