30 InitializeComponent();
65 private static void OnFileFolderPathChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
68 control.calculateResolvedFileFolderPath();
87 private static void OnRootFolderForRelativePathsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
90 if (!
string.IsNullOrEmpty(e.NewValue as
string))
92 control.FileFolderPath = FilePathHelper.MakePathRelative(control.
ResolvedFileFolderPath, e.NewValue as
string);
98 control.calculateResolvedFileFolderPath();
118 private void calculateResolvedFileFolderPath()
177 private void btn_browse_Click(
object sender, RoutedEventArgs e)
179 string tmpFileFolderPath =
string.Empty;
184 OpenFileDialog openFileDialog =
new OpenFileDialog();
188 if (openFileDialog.ShowDialog() ==
true)
190 tmpFileFolderPath = openFileDialog.FileName;
196 OpenFolderDialog openFolderDialog =
new OpenFolderDialog();
199 if (openFolderDialog.ShowDialog() ==
true)
201 tmpFileFolderPath = openFolderDialog.FolderName;
208 if (!
string.IsNullOrEmpty(tmpFileFolderPath))
221 private void btn_showFullPath_Click(
object sender, RoutedEventArgs e)