예제 #1
0
 private void 查询ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (fser == null)
     {
         fser = new FrmSerch();
     }
     fser.sertb       = Pathtb;
     fser.Serchstring = "pym";
     fser.Disposed   -= new EventHandler(fser_Disposed);
     fser.Disposed   += new EventHandler(fser_Disposed);
     fser.Onserch    -= new Serch(fser_Onserch);
     fser.Onserch    += new Serch(fser_Onserch);
     fser.ShowDialog();
 }
예제 #2
0
 void fser_Disposed(object sender, EventArgs e)
 {
     fser = null;
 }