public void MouseReleased( SharpInputSystem.MouseEventArgs evt, SharpInputSystem.MouseButtonID id )
{
if ( id == SharpInputSystem.MouseButtonID.Left && Selecting == true )
{
switch ( SelectionMode )
{
case SelectionModeType.SelectionBox:
Log( "MouseSelector: " + _name + " selecting to bottom(" + _stop.x.ToString() + ";" + _stop.y.ToString() + ")" );
PerformSelectionWithSelectionBox( _start, _stop );
Selecting = false;
_rect.IsVisible = false;
Log( "MouseSelector: " + _name + " selection complete." );
break;
case SelectionModeType.MouseClick:
PerformSelectionWithMouseClick();
break;
}
Selecting = false;
}
}