Esempio n. 1
0
        public ThemaClass(Themas window, Grid grid, int kolommen, int rijen)
        {
            //settings//
            if (MainClass.windowstyle == 2)
            {
                window.WindowStyle = WindowStyle.None;
            }
            else
            {
                window.WindowStyle = WindowStyle.SingleBorderWindow;
            }
            if (MainClass.windowstate == 2)
            {
                window.WindowState = WindowState.Maximized;
            }
            else
            {
                window.WindowState = WindowState.Normal;
            }

            this.window = window;
            this.grid   = grid;
            rijen       = 20;
            kolommen    = 13;
            InitializeMain(kolommen, rijen);
            Title();
            Theme1();
            Theme2();
            Theme3();
            Theme4();
            Theme5();
            Theme6();

            AddBack();
        }
Esempio n. 2
0
        public void Continue_Click(object sender, RoutedEventArgs e)
        {
            //Transferdata();
            spelernaam1 = Text1.Text;
            spelernaam2 = Text2.Text;

            var Themes = new Themas(); //create your new form.

            Themes.Show();             //show the new form.
            window.Close();
        }