protected override void Add() { base.Add(); DIC_ETHNIC dICETHNIC = new DIC_ETHNIC(); this.txtID.Text = dICETHNIC.NewID(); this.txtNAME.Focus(); }
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"; }