Ejemplo n.º 1
0
 public void LoadGrid(int Level, string Code)
 {
     try
     {
         Guid mTimeKeeperTableListID = this.m_TimeKeeperTableListID;
         HRM_TIMEKEEPER_TABLEHOUR hRMTIMEKEEPERTABLEHOUR = new HRM_TIMEKEEPER_TABLEHOUR();
         this.gcList.DataSource = hRMTIMEKEEPERTABLEHOUR.GetList(Level, Code, mTimeKeeperTableListID);
     }
     catch
     {
     }
 }
Ejemplo n.º 2
0
        private void bbeTimeKeeperTableListName_EditValueChanged(object sender, EventArgs e)
        {
            HRM_TIMEKEEPER_TABLELIST hRMTIMEKEEPERTABLELIST = new HRM_TIMEKEEPER_TABLELIST();
            HRM_TIMEKEEPER_TABLEHOUR hRMTIMEKEEPERTABLEHOUR = new HRM_TIMEKEEPER_TABLEHOUR();
            Guid mTimeKeeperTableListID = this.m_TimeKeeperTableListID;

            this.gcList.DataSource = hRMTIMEKEEPERTABLEHOUR.GetList(this.m_Level, this.m_Code, mTimeKeeperTableListID);
            hRMTIMEKEEPERTABLELIST.GetByID(mTimeKeeperTableListID);
            this.m_Month = hRMTIMEKEEPERTABLELIST.Month;
            this.m_Year  = hRMTIMEKEEPERTABLELIST.Year;
            LabelControl labelControl = this.lbTimeKeeperOverTimeName;

            string[] str = new string[] { "Bảng Chấm Công Tháng ", this.m_Month.ToString(), " - ", this.m_Year.ToString(), " (Theo Giờ Công)" };
            labelControl.Text = string.Concat(str);
            this.m_IsLock     = hRMTIMEKEEPERTABLELIST.IsLock;
            this.m_IsFinish   = hRMTIMEKEEPERTABLELIST.IsFinish;
            this.InitInterface();
        }