this.Load += (o, e) => { this.treeViewItems.MouseClick += (sender, es) => { if (es.Button == MouseButtons.Right) this.treeViewItems.ContextMenuStrip = this.contextMenuStrip1; }; };
this.Load += (o, e) => { this.treeViewItems.MouseClick += (sender, es) => { if (es.Button == MouseButtons.Right) this.treeViewItems.ContextMenuStrip = this.contextMenuStrip1; }; };