private void dataBtn_Click(object sender, EventArgs e) { using (var dlg = new EventActionFilterDataEditor()) { dlg.DataItems = new Dictionary <string, string>(ql.Query.Data); if (dlg.ShowDialog(this) == System.Windows.Forms.DialogResult.OK) { ql.Query.Data = new Dictionary <string, string>(dlg.DataItems); } } }
private void dataBtn_Click(object sender, EventArgs e) { using (var dlg = new EventActionFilterDataEditor()) { dlg.DataItems = new Dictionary<string, string>(ql.Query.Data); if (dlg.ShowDialog(this) == System.Windows.Forms.DialogResult.OK) { ql.Query.Data = new Dictionary<string, string>(dlg.DataItems); } } }