/// <summary>
 /// 
 /// </summary>
 /// <param name="cmd"></param>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public static void Execute(ICommand cmd, object sender, ExecutedEventArgs e)
 {
     if (m_cmdExecutes.ContainsKey(cmd))
     {
         m_cmdExecutes[cmd](sender, e);
     }
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="cmd"></param>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public static void Execute(ICommand cmd, object sender, ExecutedEventArgs e)
 {
     if (m_cmdExecutes.ContainsKey(cmd))
     {
         m_cmdExecutes[cmd](sender, e);
     }
 }
예제 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void ICommand.Execute(object sender, ExecutedEventArgs e)
 {
     CommandManager.Execute(this, sender, e);
 }
예제 #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 /// <returns></returns>
 bool ICommand.CanExecute(object sender, ExecutedEventArgs e)
 {
     throw new NotSupportedException("");
 }
예제 #5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void ICommand.Execute(object sender, ExecutedEventArgs e)
 {
     CommandManager.Execute(this, sender, e);
 }
예제 #6
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 /// <returns></returns>
 bool ICommand.CanExecute(object sender, ExecutedEventArgs e)
 {
     throw new NotSupportedException("");
 }