Esempio n. 1
0
        //private void Hyperlink_Click_1(object sender, RoutedEventArgs e)
        //{
        //    System.Diagnostics.Process.Start(linkTarget.Text);
        //}

        //private void Hyperlink_TouchDown_1(object sender, TouchEventArgs e)
        //{
        //    System.Diagnostics.Process.Start(linkTarget.Text);
        //}

        private void Image_MouseDown(object sender, MouseButtonEventArgs e)
        {
            if (_mediaDoubleClick != null)
            {
                _mediaDoubleClick.Click(sender, e);
            }
        }
Esempio n. 2
0
 private void stkHeader_PreviewMouseDown_1(object sender, MouseButtonEventArgs e)
 {
     if (e.OriginalSource is Image)
     {
         return;
     }
     _mediaDoubleClick.Click(sender, e);
     e.Handled = true;
 }