private void btn_control_m_Click(object sender, EventArgs e) { //コントロールマスタ frm_control_m frm_ctrl = new frm_control_m(); frm_ctrl.ShowDialog(this); frm_ctrl.Dispose(); }