Пример #1
0
        protected override void Add()
        {
            base.Add();
            HRM_GROUP hRMGROUP = new HRM_GROUP();

            this.txtID.Text = hRMGROUP.NewID();
            this.txtNAME.Focus();
        }
Пример #2
0
        public xfmGroupAdd(Actions Action)
        {
            this.InitializeComponent();
            this.Init();
            this.ucAdd.Status = Action;
            HRM_GROUP hRMGROUP = new HRM_GROUP();

            this.ucAdd.SetData(hRMGROUP.NewID());
            this.Text = "Thêm";
        }
Пример #3
0
 public xfmGroupAdd(Actions Action, string BranchCode, string DepartmentCode)
 {
     this.InitializeComponent();
     this.Init();
     this.ucAdd.Status = Action;
     if (Action == Actions.Add)
     {
         HRM_GROUP hRMGROUP = new HRM_GROUP();
         this.ucAdd.SetData(hRMGROUP.NewID());
         if ((BranchCode == "" ? false : DepartmentCode != ""))
         {
             this.ucAdd.SetData(BranchCode, DepartmentCode);
         }
         this.Text = "Thêm";
     }
 }