Пример #1
0
        private void salesButton_Click(object sender, EventArgs e)
        {
            SalesUI newForm = new SalesUI();

            newForm.Show();
            this.Hide();
        }
Пример #2
0
        private void gotoSalesLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            this.Hide();
            SalesUI salesUi = new SalesUI();

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