Exemplo n.º 1
0
        public FormItemCollection()
        {
            InitializeComponent();

            buttonNewColumn.Click               += (sender, e) => AddItem.RaiseEventEx(this);
            addColumnToolStripMenuItem.Click    += (sender, e) => AddItem.RaiseEventEx(this);
            removeColumnToolStripMenuItem.Click += (sender, e) => RemoveItem.RaiseEventEx(this);
            listBoxItems.SelectedIndexChanged   += (sender, e) => SelectedItemChanged.RaiseEventEx(this);
        }