private void mnuToolsOmae_Click(object sender, EventArgs e) { // Only a single instance of Omae can be open, so either find the current instance and focus on it, or create a new one. if (_frmOmae == null) { _frmOmae = new frmOmae(this); _frmOmae.Show(); } else { _frmOmae.Focus(); } }
private void mnuToolsOmae_Click(object sender, EventArgs e) { // Only a single instance of Omae can be open, so either find the current instance and focus on it, or create a new one. if (_frmOmae == null) { frmOmae frmOmaeOnline = new frmOmae(this); _frmOmae = frmOmaeOnline; frmOmaeOnline.Show(); } else { _frmOmae.Focus(); } }