Ejemplo n.º 1
0
 public MainWindow()
 {
     InitializeComponent();
     previewer = new PreviewerApplication(new AssetsResolver {
         AssetsImporterFormats = true, AssetsImporterRareFormats = true, Images = true
     });
     previewer.SurfaceRecreationRequested += RecreateSurface;
 }
Ejemplo n.º 2
0
 public MainWindow()
 {
     InitializeComponent();
     previewer = new PreviewerApplication(new AssetsResolver {
         AssetsImporterFormats = true, AssetsImporterRareFormats = true, Images = true
     });
     previewer.SurfaceRecreationRequested += RecreateSurface;
     RootFolderPath.Text = Config.LastUsedPath;
 }
Ejemplo n.º 3
0
        public MainWindow()
        {
            var rootFolder = Path.GetDirectoryName(typeof(App).Assembly.Location);

            LoadMonoUrho(rootFolder, true);

            InitializeComponent();
            previewer = new PreviewerApplication(new AssetsResolver {
                AssetsImporterFormats = true, AssetsImporterRareFormats = true, Images = true
            });
            previewer.SurfaceRecreationRequested += RecreateSurface;
            RootFolderPath.Text = Config.LastUsedPath;
        }