//モード private void txtMode_Leave(object sender, EventArgs e) { if (!_dcMode.ContainsKey(txtMode.Text)) { frmModeSelect fm = new frmModeSelect(_dcMode, txtMode); fm.ShowDialog(); } }
private void cmdMode_Click(object sender, EventArgs e) { frmModeSelect fm = new frmModeSelect(_dcMode, txtMode); fm.ShowDialog(); }