コード例 #1
0
        public static void OnBrowseTypeChangedCallback(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            FileBrowseControl fileBrowseControl = sender as FileBrowseControl;

            if (fileBrowseControl != null)
            {
                fileBrowseControl.BrowseType = (FileBrowseType)e.NewValue;
                fileBrowseControl.OnFileLocationChanged();
            }
        }
コード例 #2
0
        private static void OnFileLocationChangedCallback(DependencyObject sender, DependencyPropertyChangedEventArgs e)
        {
            FileBrowseControl fileBrowseControl = sender as FileBrowseControl;

            if (fileBrowseControl != null)
            {
                if (!fileBrowseControl.SkipNext)
                {
                    fileBrowseControl.OnFileLocationChanged();
                }
                else
                {
                    fileBrowseControl.SkipNext = false;
                }
            }
        }