Beispiel #1
0
        private void repFilter_EditValueChanged(object sender, EventArgs e)
        {
            HRM_CONTRACT hRMCONTRACT;

            if (this.m_Filter == "0")
            {
                hRMCONTRACT            = new HRM_CONTRACT();
                this.gcList.DataSource = hRMCONTRACT.GetList(this.m_Level, this.m_Code);
            }
            else if (this.m_Filter == "1")
            {
                hRMCONTRACT            = new HRM_CONTRACT();
                this.gcList.DataSource = hRMCONTRACT.GetCurrentList(this.m_Level, this.m_Code);
            }
            else if (!(this.m_Filter == "2"))
            {
                hRMCONTRACT            = new HRM_CONTRACT();
                this.gcList.DataSource = hRMCONTRACT.GetListExpiration(this.m_Level, this.m_Code);
            }
            else
            {
                hRMCONTRACT            = new HRM_CONTRACT();
                this.gcList.DataSource = hRMCONTRACT.GetListJustExpiration(this.m_Level, this.m_Code);
            }
        }