Example #1
0
        private void btnActMoveDown_Click(object sender, RoutedEventArgs e)
        {
            MySelectableListItem sel = lstAct.CurrentlySelected;

            if (sel != null)
            {
                lstAct.MoveItemDown(sel);
            }
        }
Example #2
0
        private void btnMoveDown_Click(object sender, RoutedEventArgs e)
        {
            MySelectableListItem sel = lstTriggers.CurrentlySelected;

            if (sel != null)
            {
                lstTriggers.MoveItemDown(sel);
                Trigger trigger = ((object[])sel.CustomData)[1] as Trigger;
                Triggers.MoveDown(trigger);
                UnsavedChanges = true;
            }
        }