Example #1
0
        //点击上传文件夹按钮事件
        private void OnUploadFolderButtonClick(object sender, RoutedEventArgs e)
        {
            if (IsRevise)
            {
                CustomMessageBox.Show("修订文件时不能上传文件夹");
                return;
            }
            var dialog = new FolderBrowser();

            dialog.OnOk += OnSelectFolderCompleted;
            dialog.Show();
        }