Пример #1
0
 private void Form1_Activated(object sender, EventArgs e)
 {
     if (Program.chercher == true)
     {
         Program.chercher = false;
         richTextBox1.Select(
             richTextBox1.Text.IndexOf(Program.chaine),
             Program.chaine.Length);
         Rechercher F3 = new Rechercher();
         F3.ShowDialog();
     }
 }
Пример #2
0
        private void rechercherToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Rechercher P = new Rechercher();

            P.ShowDialog();
        }