Exemplo n.º 1
0
        private void OnClickPanTiltSettings(object sender, RoutedEventArgs e)
        {
            PanTiltSettings pantilt;

            pantilt = new PanTiltSettings();
            pantilt.Show();
            pantilt.Activate();
        }
Exemplo n.º 2
0
        private void OnClickPanTiltSettings(object sender, RoutedEventArgs e)
        {
            PanTiltSettings pantilt;

            pantilt             = new PanTiltSettings();
            pantilt.DataContext = viewmodel;
            pantilt.maincore    = maincore;
            pantilt.Show();
            pantilt.Activate();
        }