public U3DView(Project prj, EngineeringMap eMap) { InitializeComponent(); panel = new UnityPanel(prj, eMap); FormHost.Child = panel; }
public UnityPanel(EngineeringMap eMap) { InitializeComponent(); main = this; _u3dViewModel = new U3DViewModel(this); _u3dViewModel.eMap = eMap; System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false; //AsyncActiveWindow(); }
public U3DViewModel(UnityPanel panel) { this.panel = panel; }