Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
xpda  
#1 Posted : Tuesday, May 5, 2015 10:12:03 AM(UTC)
xpda

Rank: Newbie

Groups: Member
Joined: 4/13/2015(UTC)
Posts: 3

Thanks: 1 times
I would like to use ZoomRectangleNavigator, and after the MouseUp and zoom process is complete, terminate the ZoomRectangleNavigator mode.

When I disconnect in the MouseUp event, the zoom process never occurs.

When I use .Disconnect() in the Zoomed event, it causes a NullReferenceException after the handler is exited.

Is there a good way to disconnect the ZoomRectangleNavigator after a MouseUp event?
Fedor  
#2 Posted : Monday, May 11, 2015 2:04:24 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
We have added the fix to Graphics Mill, so the following code will work with the version 7.5, which will be available in the next 2 weeks:

Code:
private void bitmapViewer1_WorkspaceMouseUp(object sender, Aurigma.GraphicsMill.WinControls.MouseEventArgs e)
{
    bitmapViewerMainView.Navigator = null;
}
Best regards,
Fedor Skvortsov
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.