private void cobControls_SelectedIndexChanged(object sender, System.EventArgs e) { DataStrtuct da = cobControls.SelectedItem as DataStrtuct; pgridMain.SelectedObject = da.Data; }
private void displaySelectedNode(object pObject) { DataStrtuct da = findNode(pObject); cobControls.SelectedItem = da; }