Пример #1
0
        private void maakAktieMenu()
        {
            ToolStripMenuItem menu = new ToolStripMenuItem("Aktie");

            menu.DropDownItems.Add("Terug (ctrl + z)", null, undo);
            menu.DropDownItems.Add("Vooruit (ctrl + y)", null, redo);
            menu.DropDownItems.Add("Clear", null, schetscontrol.Schoon);
            menu.DropDownItems.Add("Kies kleur", null, (o, e) => schetscontrol.VeranderKleur(kleurButton, new EventArgs()));
            menuStrip.Items.Add(menu);
        }