private void buttonPurchase_Click(object sender, EventArgs e) { Form purchaseForm = new PurchaseForm(this); purchaseForm.Show(); this.Hide(); }
public EmployeeForm(PurchaseForm purchaseForm) { InitializeComponent(); User = purchaseForm.getUser(); }