Exemplo n.º 1
0
        protected override void Add()
        {
            base.Add();
            DIC_ETHNIC dICETHNIC = new DIC_ETHNIC();

            this.txtID.Text = dICETHNIC.NewID();
            this.txtNAME.Focus();
        }
Exemplo n.º 2
0
        public xfmEthnicAdd(Actions Action)
        {
            this.InitializeComponent();
            this.Init();
            this.ucAdd.Status = Action;
            DIC_ETHNIC dICETHNIC = new DIC_ETHNIC();

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