Пример #1
0
        void Search()
        {
            try
            {
                Mouse.OverrideCursor = System.Windows.Input.Cursors.Wait;

                string _code = txtCode.Text.ToUpper();
                if (_code == "")
                {
                    _code = CommonData.c_All_Value;
                }

                c_lst = c_Estate_Object_Controller.Estate_Object_Search(_code, cboType.SelectedValue.ToString(), cboStatus.SelectedValue.ToString());


                Mouse.OverrideCursor  = null;
                dgrEstate.ItemsSource = c_lst;
                DataGridHelper.NVSFocus(dgrEstate, 0, 0);
            }
            catch (Exception ex)
            {
                ErrorLog.log.Error(ex.ToString());
            }
        }