private void btnRmMain_Click(object sender, EventArgs e) { using (var rm = new FrmMainRm()) { rm.ShowDialog(); } }