예제 #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;
     }
 }