コード例 #1
0
        private void btnBack_Click(object sender, EventArgs e)
        {
            frmRegisterMenu back = new frmRegisterMenu(this);

            this.Close();
            back.Show();
        }
コード例 #2
0
        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();
        }
コード例 #3
0
 public frmLoginMenu(frmRegisterMenu frmRegisterMenu)
 {
     this.frmRegisterMenu = frmRegisterMenu;
     FormBorderStyle      = FormBorderStyle.FixedSingle;
 }