Exemple #1
0
        private void InteractiveImage_Tapped(object sender, Windows.UI.Xaml.Input.TappedRoutedEventArgs e)
        {
            string name = (sender as Image).Name;

            vm.CurrentActivePanel = MainContent.SelectedIndex;
            if (name.CompareTo("LeftInteractiveImage") == 0)
            {
            }
            else if (name.CompareTo("RightInteractiveImage") == 0)
            {
                var picker = new Windows.Storage.Pickers.FolderPicker();
                picker.ViewMode = Windows.Storage.Pickers.PickerViewMode.List;
                picker.FileTypeFilter.Add("*");
                Generic.ContinuationManager.PickFolderContinuableCurrent =
                    this as Generic.IPickFolderContinuable;
                picker.PickFolderAndContinue();
            }
        }
Exemple #2
0
        private void InteractiveImage_Tapped(object sender, Windows.UI.Xaml.Input.TappedRoutedEventArgs e)
        {

            string name = (sender as Image).Name;
            vm.CurrentActivePanel = MainContent.SelectedIndex;
            if (name.CompareTo("LeftInteractiveImage") == 0)
            {
            }
            else if (name.CompareTo("RightInteractiveImage") == 0)
            {
                var picker = new Windows.Storage.Pickers.FolderPicker();
                picker.ViewMode = Windows.Storage.Pickers.PickerViewMode.List;
                picker.FileTypeFilter.Add("*");
                Generic.ContinuationManager.PickFolderContinuableCurrent =
                    this as Generic.IPickFolderContinuable;
                picker.PickFolderAndContinue();
            }

        }