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