示例#1
0
 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();
 }
示例#2
0
        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();
            }
        }