Пример #1
0
        private void btnFacade_Click(object sender, EventArgs e)
        {
            FacadeForm facadeForm = new FacadeForm();

            this.Hide();
            facadeForm.ShowDialog();
            this.Show();
        }
        private void FacadePatternBtn_Click(object sender, EventArgs e)
        {
            Form facadeForm = new FacadeForm();

            facadeForm.Show();
        }