/// <summary> /// 同上 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void navagationMode_Click_1(object sender, EventArgs e) { ICommand cmd = new ControlsGlobeNavigationModeCommandClass(); cmd.OnCreate(axGlobeControl1.Object); cmd.OnClick(); }
//俯视浏览工具 public static void NavigationMode(AxGlobeControl _axGlobeControl) { ICommand pCommand; pCommand = new ControlsGlobeNavigationModeCommandClass(); pCommand.OnCreate(_axGlobeControl.Object); pCommand.OnClick(); }