private void btnQuickConnect_Click(object sender, System.EventArgs e) { QuickConnect frm = new QuickConnect(((FrmMain)this.Owner).Config); frm.ShowDialog(this.Owner); this.Close(); }
private void mnuConnect_Click(object sender, EventArgs e) { QuickConnect frm = new QuickConnect(config); frm.ShowDialog(this); }