When a user selects a GoObject I want to be able to show some info about the object. I’ve added an event handler for ObjectGotSelection to my GoView. I’m trying to detect if multiple objects are selected and if so I do one thing and if not I do something else. Weird thing is Single-Select message fires once even when I have multiple items selected. I’m probably going about this the wrong way but any help is appreciated.
Regards,
Martin
void goView1_ObjectGotSelection(object sender, GoSelectionEventArgs e)
{
if (sender is GoView)
{
GoView view = sender as GoView;
if ( view.Selection. > 1 )
MessageBox.Show("Multi-Select");
else
MessageBox.Show("Single-Select");
}
}