コード例 #1
0
        private void BrowseButton_Click(object sender, RoutedEventArgs args)
        {
            string folderPath = ProjectPathHelper.GetFolderPath(StringTable.SelectProjectFolderDialogDescription, StringTable.SelectProjectFolderDialogDescriptionVista, this.ProjectPath);

            if (!string.IsNullOrEmpty(folderPath))
            {
                this.ProjectPath = folderPath;
            }
        }
コード例 #2
0
        private void BrowseButton_Click(object sender, RoutedEventArgs args)
        {
            string folderPath = ProjectPathHelper.GetFolderPath("Select the location for your new project folder.", "Browse For Folder", this.ProjectPath);

            if (!string.IsNullOrEmpty(folderPath))
            {
                this.ProjectPath = folderPath;
            }
        }
コード例 #3
0
        internal void BrowseButton_Click(object sender, RoutedEventArgs args)
        {
            string folderPath = ProjectPathHelper.GetFolderPath(this.browseDialogTitle, this.browseDialogTitleVista, this.NewPath);

            if (!string.IsNullOrEmpty(folderPath))
            {
                this.NewPath = folderPath;
            }
        }