public void Init() { pSgWorld = new SGWorld70Class(); pSgWorld.OnLoadFinished += PSgWorld_OnLoadFinished; pSgWorld.OnFileClosed += PSgWorld_OnFileClosed; }
public void Init() { pSgWorld = new SGWorld70Class(); //if (pSgWorld.Terrain.Name == "NO_MPT") // pictureBox_TreeCompanyInfo.Visible = true; //else // pictureBox_TreeCompanyInfo.Visible = false; pSgWorld.OnLoadFinished += PSgWorld_OnLoadFinished; pSgWorld.OnFileClosed += PSgWorld_OnFileClosed; }
/// <summary> /// 初始化 /// </summary> public void Init(SGWorld70 SgWorld = null) { if (pSgWorld != null) { return; } if (SgWorld != null) { pSgWorld = SgWorld; } else { pSgWorld = new SGWorld70Class(); } //Control.CheckForIllegalCrossThreadCalls = false; globe = (SGWorld70)axTE3DWindowEx1.CreateInstance("TerraExplorerX.SGWorld70"); globe.OnLoadFinished += Globe_OnLoadFinished; globe.OnFrame += Globe_OnFrame; globe.OnFileClosed += Globe_OnFileClosed; }
public DynamicObjectRoute(SGWorld70 sgWorld70) { sgWorld = sgWorld70; }
public WeatherHelper(SGWorld70 sgWorld70) { sgWorld = sgWorld70; }
public FrmMain() { InitializeComponent(); InitControl(); sgWorld70 = new SGWorld70Class(); }