コード例 #1
0
        private void Offices_Click(object sender, RoutedEventArgs e)
        {
            //redirect the the right page
            OfficeReg Office = new OfficeReg();

            Office.Show();
            Window.GetWindow(this).Close();
        }
コード例 #2
0
        private void Office_button_Click(object sender, RoutedEventArgs e)
        {
            //redirect the the right page
            OfficeReg OfficeReg = new OfficeReg();

            OfficeReg.Show();
            this.Close();
        }