Пример #1
0
 protected virtual void OnDisplayControlExecuted(object sender, DisplayControlEventArgs e)
 {
     if (null != DisplayControlExecuted)
     {
         DisplayControlExecuted(sender, e);
     }
 }
        void command_DisplayControlExecuted(object sender, DisplayControlEventArgs e)
        {
            KeyValuePair <string, ICommand> keyValuePait = __FeaturesCommand.Where(n => n.Value == sender).FirstOrDefault( );

            View.OnDisplayedControlChanged(keyValuePait.Key);
        }