示例#1
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Page page = new leave_period().getPage(MainWindow.page_container.Height, MainWindow.page_container.Width);

            MainWindow.page_container.Navigate(page);
        }
        public void Leave_Period_Event(object sender, RoutedEventArgs e)
        {
            Page page = new leave_period().getPage(Container.Height, Container.Width);

            Container.Navigate(page);
        }