Пример #1
0
        // Read the fields of this master form
        public FormPages ReadFields()
        {
            if (!File.Exists(_path + ".xml"))
            {
                return(null);
            }
            _processingEngine.LoadFields(_path + ".xml");
            //to create new forms pages
            FormProcessingEngine tempProcessingEngine = new FormProcessingEngine();
            FormPages            formFields           = tempProcessingEngine.Pages;

            formFields.AddRange(_processingEngine.Pages);
            return(formFields);
        }
Пример #2
0
 public async Task Initialise()
 {
     IsBusy = true;
     FormPages.AddRange(await _fileReaderWriter.LoadResource <HomeViewModel>(_resourcePrefix));
     IsBusy = false;
 }