Ejemplo n.º 1
0
 private void btnSearchStudents_Click(object sender, EventArgs e)
 {
     MyForms.SearchStudent cpss = new MyForms.SearchStudent();
     if (cpss.ShowDialog() == DialogResult.OK)
     {
         tbStudentsNID.Text = cpss.NID;
         Search();
     }
     cpss.Dispose();
 }
        private void btnSearchStudents_Click(object sender, EventArgs e)
        {
            MyForms.SearchStudent cpss = new MyForms.SearchStudent();
            if (cpss.ShowDialog() == DialogResult.OK)
            {
                tbNID.Text = cpss.NID;
                tbNID_Leave(null, null);

                dtDate.Focus();
            }
            cpss.Dispose();
        }