Exemple #1
0
        private void DropDownMenuLoadSettings_OnLoad(object sender, DropDownMenu.OnLoadEventArgs e)
        {
            //foreach (var l_Routine in WoWSharp.Plugins.LoadedRoutines)
            //{
            //    this.DropDownMenuCombatRoutines.AddButton(new DropDownMenu.DropDownButtonInfo()
            //    {
            //        Text = l_Routine.Name,
            //        OnClick = () =>
            //        {

            //        }
            //    });
            //}
        }
Exemple #2
0
 private void DropDownMenuCombatRoutines_OnLoad(object sender, DropDownMenu.OnLoadEventArgs e)
 {
     foreach (var l_Routine in WoWSharp.Plugins.LoadedRoutines)
     {
         this.DropDownMenuCombatRoutines.AddButton(new DropDownMenu.DropDownButtonInfo()
         {
             Text    = l_Routine.Name,
             OnClick = () =>
             {
                 SetCombatRoutine(l_Routine);
             }
         });
     }
 }