コード例 #1
0
        private void buttonPurchase_Click(object sender, EventArgs e)
        {
            Form purchaseForm = new PurchaseForm(this);

            purchaseForm.Show();

            this.Hide();
        }
コード例 #2
0
 public EmployeeForm(PurchaseForm purchaseForm)
 {
     InitializeComponent();
     User = purchaseForm.getUser();
 }