예제 #1
0
 public frmAddSalaryType(int SalaryI,string name,string descript,string ContractNam,decimal basicSalary,frmListTypeSalarys parent)
 {
     InitializeComponent();
     SalaryName = name;
     SalaryDescription = descript;
     ContractName= ContractNam;
     SalaryBasic = basicSalary;
     SalaryID= SalaryI;
     frmParent = parent;
     if (SalaryI == -1)
         btnAdd.Text = "Thêm";
     else
         btnAdd.Text = "Cập Nhật";
 }
예제 #2
0
 public frmAddSalaryType(int SalaryI, string name, string descript, string ContractNam, decimal basicSalary, frmListTypeSalarys parent)
 {
     InitializeComponent();
     SalaryName        = name;
     SalaryDescription = descript;
     ContractName      = ContractNam;
     SalaryBasic       = basicSalary;
     SalaryID          = SalaryI;
     frmParent         = parent;
     if (SalaryI == -1)
     {
         btnAdd.Text = "Thêm";
     }
     else
     {
         btnAdd.Text = "Cập Nhật";
     }
 }
예제 #3
0
        private void menuItem4_Click_1(object sender, EventArgs e)
        {
            if (CheckMdiClientDuplicates("frmListTypeSalarys"))
            {
                frmListTypeSalarys frm = new frmListTypeSalarys();
                frm.MdiParent = this;
                frm.Show();

            }
        }