Ejemplo n.º 1
0
        public frmEmployee()
        {
            InitializeComponent();
            presenter         = new EmployeePresenter();
            presenter.EmpView = this;
            presenter.loadEmployeList();

            GridView gridView = grdconELEmployee.FocusedView as GridView;

            foreach (GridColumn col in gridView.Columns)
            {
                col.OptionsFilter.AutoFilterCondition = AutoFilterCondition.Contains;
            }
            gridView.GroupPanelText = "Thả một tiêu đề ở đây để nhóm thông tin";
            //gridView.Columns["EMP_CODE"].SortOrder = DevExpress.Data.ColumnSortOrder.Descending;
        }
Ejemplo n.º 2
0
 private void frmEmployee_Activated(object sender, EventArgs e)
 {
     table.Rows.Clear();
     presenter.loadEmployeList();
 }