Exemple #1
0
 public MainWindow()
 {
     InitializeComponent();
     previewer = new PreviewerApplication(new AssetsResolver {
         AssetsImporterFormats = true, AssetsImporterRareFormats = true, Images = true
     });
     previewer.SurfaceRecreationRequested += RecreateSurface;
 }
 public MainWindow()
 {
     InitializeComponent();
     previewer = new PreviewerApplication(new AssetsResolver {
         AssetsImporterFormats = true, AssetsImporterRareFormats = true, Images = true
     });
     previewer.SurfaceRecreationRequested += RecreateSurface;
     RootFolderPath.Text = Config.LastUsedPath;
 }
        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;
        }