public DividerBlockControl() { _hover.Click += Hover_Click; _addMenu = new(); _addMenu.SetMenuAppearance(); _addMenu.Items.Add(_addTextMenu = new ToolStripMenuItem("Insert text here")); _addTextMenu.Click += AddTextMenu_Click; _addMenu.Items.Add(_addQueryMenu = new ToolStripMenuItem("Insert query here")); _addQueryMenu.Click += AddQueryMenu_Click; Ui ui = new(this, padded : false); var addTextIcon16 = Ui.SuperimposePlusSymbol(Resources.font); var addTextIcon32 = Ui.SuperimposePlusSymbol(Resources.font32); var addQueryIcon16 = Ui.SuperimposePlusSymbol(Resources.table); var addQueryIcon32 = Ui.SuperimposePlusSymbol(Resources.table32); ui.Init(_addTextMenu, addTextIcon16, addTextIcon32); ui.Init(_addQueryMenu, addQueryIcon16, addQueryIcon32); }