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

            this.txtID.Text = hRMGROUP.NewID();
            this.txtNAME.Focus();
        }
Esempio n. 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";
        }
Esempio n. 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";
     }
 }