Example #1
0
        protected override void Add()
        {
            base.Add();
            DIC_SCHOOL dICSCHOOL = new DIC_SCHOOL();

            this.txtID.Text = dICSCHOOL.NewID();
            this.txtNAME.Focus();
        }
Example #2
0
        public xfmSchoolAdd(Actions Action)
        {
            this.InitializeComponent();
            this.Init();
            this.ucAdd.Status = Action;
            DIC_SCHOOL dICSCHOOL = new DIC_SCHOOL();

            this.ucAdd.SetData(dICSCHOOL.NewID());
            this.Text = "Thêm";
        }