예제 #1
0
            private void button_Click(object sender, RoutedEventArgs e)
            {
                int action = Convert.ToInt32((sender as FrameworkElement).Tag);

                hideContextActions();
                e.Handled = CoreView.doContextAction(action) || ExtClick(action);
                _owner.ActivateView();
            }
예제 #2
0
            private void image_MouseDown(object sender, MouseButtonEventArgs e)
            {
                int action = Convert.ToInt32((sender as FrameworkElement).Tag);

                ClearActions();
                CoreView.doContextAction(action);
                e.Handled = true;
                _owner.ActivateView();
            }