FSO.IDE.MainWindow.Test C# (CSharp) 메소드

Test() 공개 메소드

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

Usage Example

예제 #1
0
파일: IDETester.cs 프로젝트: fourks/FreeSO
        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