| | |
| | | row1.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | var form = new HideOptionFileListForm();
|
| | | form.AddForm(UserCenterLogic.CombinePath());
|
| | | form.AddForm(Common.Config.Instance.FullPath);
|
| | | };
|
| | |
|
| | | //查看全部文件
|
| | |
| | |
|
| | | private void AddRowControl(VerticalListControl listView, string directory, string directoryValue, bool addLine)
|
| | | {
|
| | | string myPath = UserCenterLogic.CombinePath(DirNameResourse.LocalMemoryDirectory, directoryValue);
|
| | | if (directoryValue == DirNameResourse.LocalMemoryDirectory)
|
| | | string localDir = DirNameResourse.LocalMemoryDirectory;
|
| | | string myPath = System.IO.Path.Combine(localDir, directoryValue);
|
| | | if (localDir.EndsWith(directoryValue) == true)
|
| | | {
|
| | | myPath = UserCenterLogic.CombinePath(DirNameResourse.LocalMemoryDirectory);
|
| | | myPath = localDir;
|
| | | }
|
| | | if (System.IO.Directory.Exists(myPath) == false)
|
| | | {
|