예제 #1
0
 private void TextBlock_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     current = (sender as TextBlock).DataContext as TreeViewExpertModal;
     if (WorkMode.IsExpert && current.Children.Count == 0)
     {
         if (e.ClickCount == 2)
         {
             SliderWindow SW = new SliderWindow(current);
             SW.ShowDialog();
             current.IsDoubleClick = true;
             NotSave();
         }
     }
     if (!WorkMode.IsExpert)
     {
         if (current.Parent != null)
         {
             if (current.Parent.Parent != null)
             {
                 if (e.ClickCount == 2)
                 {
                     SliderWindow SW = new SliderWindow(current);
                     SW.ShowDialog();
                     current.IsDoubleClick = true;
                     NotSave();
                 }
             }
         }
     }
 }
예제 #2
0
        private void ShowPostPlaybackForms()
        {
            _Orchestrator.ShowPostPlaybackVisualizations(_videoExecutionInstance);

            SliderWindow _slider = new SliderWindow(_Orchestrator.GetExecutionScores());

            _slider.LoadVideoExecution(_videoExecutionInstance);
            _slider.Show();
        }
예제 #3
0
        /// <summary>button2_Click</summary>
        private void button2_Click(object sender, RoutedEventArgs e)
        {
            Window w = new SliderWindow();

            w.Show();
        }
예제 #4
0
        public void OpenNewSlideWindow(object parameter)
        {
            var window = new SliderWindow(_alphabetSymbols, this);

            window.Show();
        }