示例#1
0
        protected override void Add()
        {
            base.Add();
            HRM_CONTRACT hRMCONTRACT = new HRM_CONTRACT();

            this.txtContractCode.Text = hRMCONTRACT.NewID();
        }
示例#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";
        }
示例#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)
     {
     }
 }