private void btnBack_Click(object sender, EventArgs e)
        {
            frmRegisterMenu back = new frmRegisterMenu(this);

            this.Close();
            back.Show();
        }
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            //Hides the MainWindow
            this.Hide();

            //Shows frmRegisterMenu GUI
            frmRegisterMenu regMenu = new frmRegisterMenu();

            regMenu.Show();

            //frmLoginMenu loginMenu = new frmLoginMenu();
            //loginMenu.Show();
        }
 public frmLoginMenu(frmRegisterMenu frmRegisterMenu)
 {
     this.frmRegisterMenu = frmRegisterMenu;
     FormBorderStyle      = FormBorderStyle.FixedSingle;
 }