Beispiel #1
0
        private void purchaseButton_Click(object sender, EventArgs e)
        {
            PurchaseUI newForm = new PurchaseUI();

            newForm.Show();
            this.Hide();
        }
        private void gotoPurchaseLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.Hide();
            PurchaseUI purchaseUi = new PurchaseUI();

            purchaseUi.Closed += (s, args) => this.Close();
            purchaseUi.Show();
            //this.Close();
        }