示例#1
0
        protected void OnSetActiveFx(object sender, ActiveFxEventArgs eventArgs)
        {
            EventHandler <ActiveFxEventArgs> temp = SetActiveFx;

            if (temp != null)
            {
                temp(sender, eventArgs);
            }
        }
示例#2
0
 private void patEditor_SetActiveFx(object sender, ActiveFxEventArgs e)
 {
     foreach (Effect effect in this.currentSong.Effects)
     {
         if (effect.ID == e.Id)
         {
             this.lstFX.SelectedItem = effect;
             break;
         }
     }
 }
示例#3
0
 private void patView_SetActiveFx(object sender, ActiveFxEventArgs e)
 {
     this.OnSetActiveFx(sender, e);
 }
示例#4
0
 private void patEditor_SetActiveFx(object sender, ActiveFxEventArgs e)
 {
     foreach (Effect effect in this.currentSong.Effects)
     {
         if (effect.ID == e.Id)
         {
             this.lstFX.SelectedItem = effect;
             break;
         }
     }
 }
示例#5
0
 protected void OnSetActiveFx(object sender, ActiveFxEventArgs eventArgs)
 {
     EventHandler<ActiveFxEventArgs> temp = SetActiveFx;
     if (temp != null)
     {
         temp(sender, eventArgs);
     }
 }
示例#6
0
 protected void OnSetActiveFx(object sender, ActiveFxEventArgs eventArgs)
 {
     SetActiveFx?.Invoke(sender, eventArgs);
 }