Exemplo n.º 1
0
        private void TSMI_209_Replace_Click(object sender, EventArgs e)
        {
            Form ReplaceForm = new Replace();

            ReplaceForm.Show();
            if (ReplaceForm.DialogResult == System.Windows.Forms.DialogResult.Cancel)
            {
                ReplaceForm.Close();
            }
        }
Exemplo n.º 2
0
 private void replaceToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Replace.instance == null)
     {
         replaceForm = new Replace();
     }
     if (Replace.instance != null)
     {
         replaceForm.Show();
     }
     replaceForm.Focus();
 }