예제 #1
0
        private void flip_Click(object sender, RoutedEventArgs e)
        {
            Dialogs.Flip dlg = new Dialogs.Flip();

            dlg.Owner = this;
            dlg.angle = RotateFlipType.RotateNoneFlipNone;

            if (dlg.ShowDialog() == true)
            {
                myImage.image.RotateFlip(dlg.angle);
            }

            mainImage.Source = myImage.scr_image;
            mainImage.InvalidateVisual();
        }
예제 #2
0
        private void flip_Click(object sender, RoutedEventArgs e)
        {
            Dialogs.Flip dlg = new Dialogs.Flip();

            dlg.Owner = this;
            dlg.angle = RotateFlipType.RotateNoneFlipNone;

            if (dlg.ShowDialog() == true)
            {
                myImage.image.RotateFlip(dlg.angle);
            }

            mainImage.Source = myImage.scr_image;
            mainImage.InvalidateVisual();
        }