private void buttonReturnClick(object sender, EventArgs e) { FormEmployReturn frm = new FormEmployReturn(mainform, id); frm.Owner = this; frm.Show(); this.Visible = false; }
private void labelReturnClick(object sender, EventArgs e) { this.Visible = false; FormEmployReturn frm = new FormEmployReturn(mainform, id); frm.Owner = this; frm.Show(); frm.Activate(); }
public FormEmployReturnMoney(FormEmployReturn returnForm, string consuName, string consuID, string itemName, string itemID, string cateID, string employID, string stoStock, string renMoney, int jukmileage) { InitializeComponent(); this.returnForm = returnForm; this.consuName = consuName; this.consuID = consuID; this.itemName = itemName; this.itemID = itemID; this.cateID = cateID; this.employID = employID; this.stoStock = stoStock; this.renMoney = renMoney; this.jukmileage = jukmileage; }