private void cmdCustom_Click(object sender, EventArgs e) { var frm = new frmCustomMonitorItems(); UIAssistant.OpenModalForm(frm, false, true); if (frm.SelectedItems != null) { MonitorItemsChanged(frm.SelectedItems); MonitorItems = frm.SelectedItems; cmbCatalog.SelectedIndex = cmbCatalog.Items.Count - 1; } }