Example #1
0
        /// <summary>
        /// bảng lương theo mức lương
        /// </summary>
        private void createtablesalary1()
        {
            object ob = null;

            ketoan.GetSalary(out ob);
            if (ob != null)
            {
                dtgS.DataSource = (DataTable)ob;
                if (dtgS.Rows.Count - 1 > 0)
                {
                    Mypaint.dtgcolor(dtgS);
                }
                else
                {
                    MessageBox.Show("Bảng lương trống", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error);
                }
            }
            else
            {
                MessageBox.Show("Lỗi không lấy được bảng lương", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
Example #2
0
 private void Salary_Load(object sender, EventArgs e)
 {
     InputInfo();
     createTableSalary();
     Mypaint.dtgcolor(dtgS);
 }
Example #3
0
 private void RAD_Load(object sender, EventArgs e)
 {
     Mypaint.dtgcolor(dtgKTKL);
     Mypaint.dtgcolor(dtgNVKTKL);
     createtableKTKL();
 }