示例#1
0
        private void fnd_Click_1(object sender, EventArgs e)
        {
            if (fnd.Text == "&Find")
            {
                FINDform find = new FINDform();
                find.ShowDialog();

                findRecord(Program.FindType, Program.FindString);
                return;
            }
            else if (fnd.Text == "&Cancel")
            {
                SetButton();
                FillText();
                LockUnLockMe(true);
            }
        }
示例#2
0
 private void fnd_Click(object sender, EventArgs e)
 {
     if (fnd.Text == "&Find")
     {
         FINDform find = new FINDform();
         find.ShowDialog();
         if (Program.FindType != null && Program.FindString != null)
         {
             findRecord(Program.FindType, Program.FindString);
         }
         return;
     }
     else if (fnd.Text == "&Cancel")
     {
         SetButton();
         FillText();
         LockUnLockMe(true);
         textBox1.ReadOnly = true;
     }
 }