Exemplo n.º 1
0
 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();
     }
 }
Exemplo n.º 2
0
		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();
			}
		}