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); }
public void OnEndCommand(Player sender, CommandEndEventArgs e) { e.Command.Use(sender, e.Args); }