Пример #1
0
        private void Fly(object sender, RoutedEventArgs e)
        {
            ICommand command = new ControlsGlobeFlyTool();

            command.OnCreate(globeControl.Object);
            globeControl.CurrentTool = (ITool)command;
        }
				private void Fly (object sender, RoutedEventArgs e)
				{
					ICommand command = new ControlsGlobeFlyTool ();
					command.OnCreate (globeControl.Object);
					globeControl.CurrentTool = (ITool) command;
				}