Beispiel #1
0
 private void tsBtnSearch_Click(object sender, EventArgs e)
 {
     if (findfm != null)
     {
         findfm.Focus();
     }
     else
     {
         findfm             = new FindForm(this.folvAnime);
         findfm.FormClosed += FindForm_FormClosed;
         findfm.Show(this);
     }
 }
Beispiel #2
0
 private void FindForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     findfm.FormClosed -= FindForm_FormClosed;
     findfm             = null;
 }