/// <summary>
 /// Called when a part's imports have been satisfied and it is safe to use.
 /// </summary>
 public void OnImportsSatisfied()
 {
     ImportHospitalsCommand = new DelegateCommand(() => HospitalImporter.Execute());
     ImportRegionsCommand   = new DelegateCommand(() => RegionImporter.Execute());
 }
Ejemplo n.º 2
0
 //todo bad code alert fix it
 private void ExecuteOpenFileDialog()
 {
     RegionImporter.Execute();
 }
Ejemplo n.º 3
0
 private void OnRegionImport()
 {
     RegionImporter.Execute();
     OnLoad();
 }