Esempio n. 1
0
        protected override void Add()
        {
            base.Add();
            HRM_CONTRACT hRMCONTRACT = new HRM_CONTRACT();

            this.txtContractCode.Text = hRMCONTRACT.NewID();
        }
Esempio n. 2
0
        public xfmContractAdd(Actions Action)
        {
            this.InitializeComponent();
            this.Init();
            this.ucAdd.Status = Action;
            HRM_CONTRACT hRMCONTRACT = new HRM_CONTRACT();

            this.ucAdd.SetData(hRMCONTRACT.NewID());
            this.Text = "Thêm";
        }
Esempio n. 3
0
 public xfmContractAdd(Actions Action, string EmployeeCode)
 {
     this.InitializeComponent();
     this.Init();
     this.ucAdd.Status = Action;
     if (Action == Actions.Add)
     {
         HRM_CONTRACT hRMCONTRACT = new HRM_CONTRACT();
         this.ucAdd.SetDefaultAdd(EmployeeCode);
         this.ucAdd.SetData(hRMCONTRACT.NewID());
         this.Text = "Thêm";
     }
     else if (Action == Actions.Delete)
     {
     }
 }