private void item_13_Click(object sender, System.EventArgs e) { FindDialog dlg = new FindDialog(_find); if (dlg.ShowDialog() == DialogResult.OK) { _find = dlg.Find; _find.Node = ((AsmView)ActiveMdiChild).SelectedNode; ((AsmView)ActiveMdiChild).Find(_find); } }
private void mnuFind_Click(object sender, System.EventArgs e) { FindDialog dlg = new FindDialog(_find); //if (dlg.ShowDialog() == DialogResult.OK) //{ // _find = dlg.Find; // _find.Node = ((AsmView)ActiveMdiChild).SelectedNode; // ((AsmView)ActiveMdiChild).Find(_find); //} }