protected override void Add() { base.Add(); DIC_NATIONALITY dICNATIONALITY = new DIC_NATIONALITY(); this.txtID.Text = dICNATIONALITY.NewID(); this.txtNAME.Focus(); }
public xfmNationalityAdd(Actions Action) { this.InitializeComponent(); this.Init(); this.ucAdd.Status = Action; DIC_NATIONALITY dICNATIONALITY = new DIC_NATIONALITY(); this.ucAdd.SetData(dICNATIONALITY.NewID()); this.Text = "thêm"; }