private void btAdd_Click(object sender, EventArgs e) { FCongifDetail frm = new FCongifDetail(); frm.Owner = this; frm.ShowDialog(this); }
private void btChange_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(this.DrpConfigList.SelectedItemValue.ToString())) { FCongifDetail frm = new FCongifDetail(this.DrpConfigList.SelectedItemValue.ToString()); frm.Owner = this; frm.ShowDialog(this); } }