protected override void Add() { base.Add(); HRM_CONTRACT hRMCONTRACT = new HRM_CONTRACT(); this.txtContractCode.Text = hRMCONTRACT.NewID(); }
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"; }
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) { } }