/// <summary>
/// Method to dispatch active view change events. This occurs when another view
/// is selected, the view gets resized, the layout changes, etc.
/// It resets the Selection Command.
/// </summary>
/// <param name="sender">The GraphicViewManager</param>
/// <param name="e">Empty argument</param>
void spinteraction_ActiveViewChange(object sender, GraphicViewManager.ActiveViewChangedEventArgs e)
{
if (viewCmd == SelectionCommand)
{
SelectionCommand.Reset();
GraphicViewManager.Instance.UpdateView();
TrackingController.Reset(e.NewView);
mainFrm.ScenePanel.Cursor = viewCmd.Cursor;
}
}