Example #1
0
        public void DownCond(CondVM cond)
        {
            int index = Conds.IndexOf(cond);

            Conds.Move(index, index + 1);
            OnCondsOrderChanged();
        }
Example #2
0
        public bool CanUpCond(CondVM cond)
        {
            int index = Conds.IndexOf(cond);

            if (index == 0)
            {
                return(false);
            }
            return(true);
        }
Example #3
0
        public bool CanDownCond(CondVM cond)
        {
            int index = Conds.IndexOf(cond);

            if (index == Conds.Count - 1)
            {
                return(false);
            }
            return(true);
        }