Пример #1
0
        private void Application_CommandEnd(object sender, CommandEndEventArgs e)
        {
            if (ExplorerApp.Application.ExplorerForm.ExplorerViewPanel.ExplorerControl is ItemMasterControl)
            {
                Subscribe(ExplorerApp.Application.ExplorerForm.ExplorerViewPanel.ExplorerControl);
            }

            ExplorerApp.Application.ExplorerForm.ExplorerViewPanel.ExplorerControlChanged += (o, args) => Subscribe(args.CurrentControl);
        }
Пример #2
0
 public void OnEndCommand(Player sender, CommandEndEventArgs e)
 {
     e.Command.Use(sender, e.Args);
 }