예제 #1
0
        protected override void Add()
        {
            base.Add();
            HRM_DEPARTMENT hRMDEPARTMENT = new HRM_DEPARTMENT();

            this.txtID.Text = hRMDEPARTMENT.NewID();
            this.txtNAME.Focus();
        }
예제 #2
0
        public xfmDepartmentAdd(Actions Action)
        {
            this.InitializeComponent();
            this.Init();
            this.ucAdd.Status = Action;
            HRM_DEPARTMENT hRMDEPARTMENT = new HRM_DEPARTMENT();

            this.ucAdd.SetData(hRMDEPARTMENT.NewID());
            this.Text = "Thêm";
        }
예제 #3
0
 public xfmDepartmentAdd(Actions Action, string BranchCode)
 {
     this.InitializeComponent();
     this.Init();
     this.ucAdd.Status = Action;
     if (Action == Actions.Add)
     {
         HRM_DEPARTMENT hRMDEPARTMENT = new HRM_DEPARTMENT();
         this.ucAdd.SetData(hRMDEPARTMENT.NewID());
         if (BranchCode != "")
         {
             this.ucAdd.SetBranchCode(BranchCode);
         }
         this.Text = "Thêm";
     }
 }