| | |
| | |
|
| | | Type type = typeof(DirNameResourse);
|
| | |
|
| | | var PropertyList = type.GetFields();
|
| | | var PropertyList = type.GetProperties();
|
| | |
|
| | | var listFile = new List<System.Reflection.FieldInfo>();
|
| | | var listFile = new List<System.Reflection.PropertyInfo>();
|
| | | foreach (var item in PropertyList)
|
| | | {
|
| | | if (item.Name.EndsWith("Directory") == true)
|
| | |
| | |
|
| | | private void AddRowControl(VerticalListControl listView, string directory, string directoryValue, bool addLine)
|
| | | {
|
| | | string localDir = DirNameResourse.LocalMemoryDirectory;
|
| | | string myPath = System.IO.Path.Combine(localDir, directoryValue);
|
| | | if (localDir.EndsWith(directoryValue) == true)
|
| | | {
|
| | | myPath = localDir;
|
| | | }
|
| | | if (System.IO.Directory.Exists(myPath) == false)
|
| | | if (System.IO.Directory.Exists(directoryValue) == false)
|
| | | {
|
| | | return;
|
| | | }
|
| | |
| | | row1.ButtonClickEvent += (sender, e) =>
|
| | | {
|
| | | var form = new HideOptionFileListForm();
|
| | | form.AddForm(myPath);
|
| | | form.AddForm(directoryValue);
|
| | | };
|
| | | }
|
| | |
|