Exemple #1
0
        private void ImageEditor_ToolCommitted(object sender, ToolCommittedEventArgs e)
        {
            this.imageInfo.HeightCurrent = this.ImageEditorUI.Image.Height;
            this.imageInfo.WidthCurrent  = this.ImageEditorUI.Image.Width;

            this.imageInfo.ExecutedTool  = e.Tool.ToString();
            e.ExecuteSameToolAfterCommit = this.shouldExecuteSameToolAfterCommit;
        }
        private void ImageEditor_ToolCommitted(object sender, ToolCommittedEventArgs e)
        {
            this.imageInfo.HeightCurrent = this.ImageEditorUI.Image.Height;
            this.imageInfo.WidthCurrent = this.ImageEditorUI.Image.Width;

            this.imageInfo.ExecutedTool = e.Tool.ToString();
            e.ExecuteSameToolAfterCommit = this.shouldExecuteSameToolAfterCommit;
        }
 private void ImageEditor_ToolCommitted(object sender, ToolCommittedEventArgs e)
 {
     this.shouldCrop = false;
 }