コード例 #1
0
ファイル: frmAddSalaryType.cs プロジェクト: romeobk/HRMS_7Cua
 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
ファイル: frmMain.cs プロジェクト: romeobk/HRMS_7Cua
        private void menuItem4_Click_1(object sender, EventArgs e)
        {
            if (CheckMdiClientDuplicates("frmListTypeSalarys"))
            {
                frmListTypeSalarys frm = new frmListTypeSalarys();
                frm.MdiParent = this;
                frm.Show();

            }
        }