private void FindToolStripMenuItem_Click(object sender, EventArgs e) { try { var f = new frmFind(rtbDoc) { Owner = FindForm() }; f.Show(); } catch (Exception ex) { MessageBox.Show(ex.Message, "Error"); } }
private void tbrFind_Click(object sender, EventArgs e) { var f = new frmFind(rtbDoc); f.Show(); }