public MainWindow()
        {
            InitializeComponent();

            Connection conn;

            conn = Connection.GetConnection("Server=localhost; Database=handbook; UID=root; PWD=Art14051997;");

            /*
             * // - - HIDE ALL WINDOW
             * Shell32.Shell s32 = new Shell32.Shell();
             * s32.MinimizeAll();
             */


            //Page_AdminPanel p1 = new Page_AdminPanel();
            Page_MainWindow p1 = new Page_MainWindow();

            frame.NavigationService.Navigate(p1);
        }
Beispiel #2
0
        private void Image_MouseDown_2(object sender, MouseButtonEventArgs e)
        {
            Page_MainWindow p = new Page_MainWindow();

            NavigationService.Navigate(p);
        }