Exemple #1
0
        private void findButton_Click(object sender, EventArgs e)
        {
            try
            {
                using (UtilityData ut = new UtilityData(true))
                {
                    ut.NameID = NameID;
                    ut.Value  = nameTextBoxX.Text;

                    DataTable ds     = ut.SelectFind();
                    frmSearch frmSub = new frmSearch(ds, this.Text, 1);
                    frmSub.Width = 800;
                    HandleSearch(frmSub);
                }
            }
            catch (Exception ex)
            {
                MessageView.ExceptionError(ex);
            }
        }