Exemplo n.º 1
0
 /// <summary>
 /// метод открывает новый корневой каталог
 /// </summary>
 /// <param name="path"></param>
 public void OpenGeneralFolder(string path)
 {
     CurrentReportPath    = path;
     ReportPath           = null;
     CurrentResourcesPath = null;
     Contractor           = new ContrWorkFile();
     Subcontractors       = new ObservableCollection <SubcontrWorkFile>();
 }
Exemplo n.º 2
0
 /// <summary>
 /// метод создает корневой каталог по указанному пути
 /// </summary>
 /// <param name="path"></param>
 public void CreateGeneralFolder(string path, string name)
 {
     CurrentReportPath    = Path.Combine(path, name);
     ReportPath           = null;
     CurrentResourcesPath = null;
     Contractor           = new ContrWorkFile();
     Subcontractors       = new ObservableCollection <SubcontrWorkFile>();
 }