private void Window_Loaded(object sender, RoutedEventArgs e) { GS_SPA = (GS_SPAvWindow)this.Owner; WorkInfo[] listWork = GS_SPA.Core.Archive.GetListWorks(); lvArchives.ItemsSource = listWork; controller.UnbindAll(); controller.BindMouseDown(OxyMouseButton.Right, PlotCommands.PanAt); controller.BindMouseWheel(PlotCommands.ZoomWheel); controller.BindKeyDown(OxyKey.R, PlotCommands.Reset); controller.BindMouseDown(OxyMouseButton.Left, new DelegatePlotCommand <OxyMouseDownEventArgs>( (view, controller, args) => controller.AddMouseManipulator(view, new WpbTrackerManipulator(view), args))); plotter.Controller = controller; }