private void ProjectTreeView_DoubleClick(object sender, EventArgs e) { if (ProjectTreeView.SelectedNode != null) { OnItemActivated?.Invoke(ProjectTreeView.SelectedNode.Tag); } }
private void NativeItem_Activated(object sender, EventArgs e) { OnItemActivated?.Invoke(((NativeMenu)sender).SelectedItem, e); }