nature_net.MainWindow.workspace_ManipulationCompleted C# (CSharp) Метод

workspace_ManipulationCompleted() приватный Метод

private workspace_ManipulationCompleted ( object sender, System.Windows.Input.ManipulationCompletedEventArgs e ) : void
sender object
e System.Windows.Input.ManipulationCompletedEventArgs
Результат void
        void workspace_ManipulationCompleted(object sender, ManipulationCompletedEventArgs e)
        {
            FrameworkElement element = (FrameworkElement)e.Source;
            if (element == null) return;
            try
            {
                user_controls.window_frame w1 = (user_controls.window_frame)element; w1.UpdateContents();
                log.WriteInteractionLog(18, "frame title: " + w1.title.Text, (TouchDevice)e.Device);
            }
            catch (Exception) { }
            try
            {
                user_controls.image_frame w2 = (user_controls.image_frame)element; w2.UpdateContents();
                log.WriteInteractionLog(21, "contribution id: " + w2.item._contribution.id, (TouchDevice)e.Device);
            }
            catch (Exception) { }
        }