Esempio n. 1
0
        private void mirror_Click(object sender, RoutedEventArgs e)
        {
            Dialogs.Mirror dlg = new Dialogs.Mirror();

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

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

            mainImage.Source = myImage.scr_image;
            mainImage.InvalidateVisual();
        }
Esempio n. 2
0
        private void mirror_Click(object sender, RoutedEventArgs e)
        {
            Dialogs.Mirror dlg = new Dialogs.Mirror();

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

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

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