Пример #1
0
 private void OnNewTileSetCommand()
 {
     var model = new CreateTileSetModel();
     var uiVisualizerService = this.GetDependencyResolver().Resolve<IUIVisualizerService>();
     uiVisualizerService.ShowDialog<CreateTileSetViewModel>(model, async (s, e) =>
     {
         if (e.Result == true)
             TileSet = await model.Create();
     });
 }
 public CreateTileSetViewModel(CreateTileSetModel model)
 {
     Model = model;
     BrowseFileNameCommand = new Command(OnBrowseFileNameCommand);
 }