private void ShowDisconnectDialog(Connection c) { FrmDisconnected frm = new FrmDisconnected(); frm.Connection = c; frm.ShowDialog(this); }