private void MFind2_Click(object sender, EventArgs e) { if (this.FmFind == null) { this.FmFind = new fmFind(); this.FmFind.isAllowClose = false; this.FmFind.FmNote = this; this.FmFind.TopMost = true; } this.FmFind.Show(); }
private void MFind_Click(object sender, EventArgs e) { fmFind fm = new fmFind(); fm.isAllowClose = true; if (fm.ShowDialog() == DialogResult.OK) { this.FindString = fm.FindString; this.isUpper = fm.isUpper; this.isDown = fm.isDown; Search(); } }