Beispiel #1
0
        private void buttonShutterSpeed_Click(object sender, RoutedEventArgs e)
        {
            ShutterSpeed w = new ShutterSpeed();

            ActionShow.CenterShow(CameraTestDesktop.getDesktopPanel(), w);
            Canvas Desk = CameraTestDesktop.getDesktopPanel();

            if (Desk.Children.Contains(this))
            {
                Desk.Children.Remove(this);
            }
        }
Beispiel #2
0
        void ShowRaleiView(bool IsLeft, WriteableBitmap b)
        {
            if (b == null)
            {
                return;
            }
            RayleiResolution v = new RayleiResolution();

            ActionShow.CenterShow(Desktop, v);
            v.IsLeft = IsLeft;
            v.Test(b);
        }
Beispiel #3
0
        private void buttonITEGray_Click(object sender, RoutedEventArgs e)
        {
            ITEGrayscaleChartTest w = new ITEGrayscaleChartTest();

            ActionShow.CenterShow(CameraTestDesktop.getDesktopPanel(), w);
            Canvas Desk = CameraTestDesktop.getDesktopPanel();

            if (Desk.Children.Contains(this))
            {
                Desk.Children.Remove(this);
            }
        }
Beispiel #4
0
        private void buttonAberrationChart_Click(object sender, RoutedEventArgs e)
        {
            if (!CameraTestDesktop.CanAccess(Version.Standard))
            {
                return;
            }
            AberrationChartTest w = new AberrationChartTest();

            ActionShow.CenterShow(CameraTestDesktop.getDesktopPanel(), w);
            Canvas Desk = CameraTestDesktop.getDesktopPanel();

            if (Desk.Children.Contains(this))
            {
                Desk.Children.Remove(this);
            }
        }
Beispiel #5
0
        private void buttondEV_Click(object sender, RoutedEventArgs e)
        {
            JBEVTest w = new JBEVTest();

            if (lChartPhoto.getPhoto() != null)
            {
                w.lPhotoList1.AddPhoto(lChartPhoto.getPhoto());
            }
            //w.lChartPhoto1.setPhoto(this.lChartPhoto.getPhoto());
            ActionShow.CenterShow(CameraTestDesktop.getDesktopPanel(), w);
            ci.ToIcon();
            //Canvas Desk = CameraTestDesktop.getDesktopPanel();
            //if (Desk.Children.Contains(this))
            //{
            //    Desk.Children.Remove(this);
            //}
        }
Beispiel #6
0
 void ShowException()//当程序不可使用的时候锁死程序
 {
     Desk.Children.Clear();
     StackBar.Children.Clear();
     ActionShow.CenterShow(Desk, new SystemSupport());
 }
Beispiel #7
0
        private void canvasAbout_MouseRightButtonDown(object sender, PointerRoutedEventArgs e)
        {
            About a = new About();

            ActionShow.CenterShow(Desk, a);
        }