示例#1
0
        private void CancelButton_Click(object sender, RoutedEventArgs e)
        {
            this.Hide();

            var window = new AdminWindow();

            window.ShowDialog();
        }
示例#2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            if (passwordBox.Password == DataManager.Instance.AdminPassword)
            {
                this.Hide();

                AdminWindow window = new AdminWindow();
                window.ShowDialog();
            }
        }
示例#3
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            DataManager.Instance.SelectedRoomFeatures.Clear();
            DataManager.Instance.SelectedRoomImages.Clear();

            this.Hide();

            var window = new AdminWindow();

            window.ShowDialog();
        }