FSO.IDE.MainWindow.Test C# (CSharp) Method

Test() public method

public Test ( VM vm ) : void
vm VM
return void
        public void Test(VM vm)
        {
            ObjectRegistry.Init();
            this.HookedVM = vm;
            entityInspector1.ChangeVM(vm);
            Browser.RefreshTree();
        }

Usage Example

Ejemplo n.º 1
0
        public void StartIDE(VM vm)
        {
            EditorResource.Get().Init(GameFacade.GraphicsDevice);
            EditorScope.Behaviour = new Files.Formats.IFF.IffFile(Content.Content.Get().GetPath("objectdata/globals/behavior.iff"));
            EditorScope.Globals   = FSO.Content.Content.Get().WorldObjectGlobals.Get("global");

            var t = new Thread(() =>
            {
                var editor = new MainWindow();
                editor.Test(vm);
                Application.Run(editor);
            });

            //t.SetApartmentState(ApartmentState.STA);
            t.Start();
        }
All Usage Examples Of FSO.IDE.MainWindow::Test