Ejemplo n.º 1
0
        private void thumbDragCompleted(SplitPositionBarViewModel barViewModel, SplitPositionItem item)
        {
            barViewModel.CheckAndRemoveBorderItem(item);

            this.Cursor = Cursors.Arrow;
            this.imageViewModel.ShowCursorLine = true;
        }
Ejemplo n.º 2
0
        public ImageViewModel()
        {
            HorizontalSplitPositionBarViewModel = new SplitPositionBarViewModel();
            VerticalSplitPositionBarViewModel   = new SplitPositionBarViewModel();

            HorizontalSplitPositionBarViewModel.AnyPositionChanged += new EventHandler((sender, e) =>
                                                                                       { OnRangeDataUpdated(); });
            VerticalSplitPositionBarViewModel.AnyPositionChanged += new EventHandler((sender, e) =>
                                                                                     { OnRangeDataUpdated(); });

            CurrentPositon = new PointInt(0, 0);

            MarkedPointList = new ObservableCollection <PointInt>();
            ShowCursorLine  = true;
        }
Ejemplo n.º 3
0
        public ImageViewModel()
        {
            HorizontalSplitPositionBarViewModel = new SplitPositionBarViewModel();
            VerticalSplitPositionBarViewModel = new SplitPositionBarViewModel();

            HorizontalSplitPositionBarViewModel.AnyPositionChanged += new EventHandler((sender, e) =>
                { OnRangeDataUpdated(); });
            VerticalSplitPositionBarViewModel.AnyPositionChanged += new EventHandler((sender, e) =>
                { OnRangeDataUpdated(); });

            CurrentPositon = new PointInt(0, 0);

            MarkedPointList = new ObservableCollection<PointInt>();
            ShowCursorLine = true;
        }
Ejemplo n.º 4
0
        private void thumbDragCompleted(SplitPositionBarViewModel barViewModel, SplitPositionItem item)
        {
            barViewModel.CheckAndRemoveBorderItem(item);

            this.Cursor = Cursors.Arrow;
            this.imageViewModel.ShowCursorLine = true;
        }