예제 #1
0
 public void DownCommand(TestVM curr)
 {
     if (InfoCollection.IndexOf(curr) < InfoCollection.Count)
     {
         InfoCollection.Move(InfoCollection.IndexOf(curr), InfoCollection.IndexOf(curr) + 1);
     }
 }
예제 #2
0
        //public static TestVM building1 { set; get; }


        public void UpCommand(TestVM curr)
        {
            if (InfoCollection.IndexOf(curr) >= 1)
            {
                InfoCollection.Move(InfoCollection.IndexOf(curr), InfoCollection.IndexOf(curr) - 1);
            }
        }