Ejemplo n.º 1
0
        public ReversiForm()
        {
            this.pbSpeelBord             = new PictureBox();
            this.pbSpeelBord.Location    = new Point(20, 45);
            this.pbSpeelBord.Size        = new Size(400, 400);
            this.pbSpeelBord.MouseClick += klikOpBord;
            this.pbSpeelBord.Paint      += speelBordTekenWrapper;

            MenuStrip ms = new MenuStrip();

            this.bouwMenu(ms);

            StatusStrip sts = new StatusStrip();

            this.bouwStatusStrip(sts);

            this.ClientSize = new Size(440, 485);
            this.Resize    += ResizeHandler;
            this.Text       = "Reversi";

            this.Controls.Add(pbSpeelBord);
            this.Controls.Add(ms);
            this.Controls.Add(sts);

            this.instellingenForm = new InstellingenForm();

            this.klikNieuwSpel(null, null);
        }
Ejemplo n.º 2
0
        public ReversiForm()
        {
            this.pbSpeelBord = new PictureBox();
            this.pbSpeelBord.Location = new Point(20, 45);
            this.pbSpeelBord.Size = new Size(400, 400);
            this.pbSpeelBord.MouseClick += klikOpBord;
            this.pbSpeelBord.Paint += speelBordTekenWrapper;

            MenuStrip ms = new MenuStrip();
            this.bouwMenu(ms);

            StatusStrip sts = new StatusStrip();
            this.bouwStatusStrip(sts);

            this.ClientSize = new Size(440, 485);
            this.Resize += ResizeHandler;
            this.Text = "Reversi";

            this.Controls.Add(pbSpeelBord);
            this.Controls.Add(ms);
            this.Controls.Add(sts);

            this.instellingenForm = new InstellingenForm();

            this.klikNieuwSpel(null, null);
        }