protected override void Add() { base.Add(); DIC_ALLOWANCE dICALLOWANCE = new DIC_ALLOWANCE(); this.txtID.Text = dICALLOWANCE.NewID(); this.txtNAME.Focus(); }
public xfmAllowanceAdd(Actions Action) { this.InitializeComponent(); this.Init(); this.ucAdd.Status = Action; DIC_ALLOWANCE dICALLOWANCE = new DIC_ALLOWANCE(); this.ucAdd.SetData(dICALLOWANCE.NewID()); this.Text = "Thêm"; }