示例#1
0
        void HandleRotate270Command(object sender, System.EventArgs args)
        {
            RotateCommand command = new RotateCommand(this.Window);

            if (command.Execute(RotateDirection.Counterclockwise, new IBrowsableItem [] { image_view.Item.Current }))
            {
                collection.MarkChanged(image_view.Item.Index, FullInvalidate.Instance);
            }
        }
示例#2
0
        void HandleRotate270Command(object sender, EventArgs args)
        {
            var command = new RotateCommand(Window);

            if (command.Execute(RotateDirection.Counterclockwise, new IPhoto[] { imageView.Item.Current }))
            {
                collection.MarkChanged(imageView.Item.Index, FullInvalidate.Instance);
            }
        }