private void _treeView_EditEvent(object sender, BaseForms.ObjectEventArgs e) { ComponentWrapper wrapper = e.Object as ComponentWrapper; if (wrapper != null) { this.OnEditEvent(wrapper); } }
private void _treeView_SelectionChangedEvent(object sender, BaseForms.ObjectEventArgs e) { ComponentWrapper wrapper = e.Object as ComponentWrapper; if (wrapper != null) { this.OnSelectionChangeEvent(wrapper); } }