Exemplo n.º 1
0
        public void Downcdldata()
        {
            string temp  = CdlCollectionProperty[SeletedItem];
            int    index = SeletedItem;

            CdlCollectionProperty.RemoveAt(SeletedItem);
            CdlCollectionProperty.Insert(index + 1, temp);
            SeletedItem = index + 1;
        }
Exemplo n.º 2
0
 public void Changecdldata(string content)
 {
     if (SeletedItem != -1)
     {
         int index = SeletedItem;
         CdlCollectionProperty.RemoveAt(index);
         CdlCollectionProperty.Insert(index, content);
         SeletedItem = index;
     }
     acwindow.Close();
 }
Exemplo n.º 3
0
        public void Deletecdldata()
        {
            int index = SeletedItem;

            CdlCollectionProperty.RemoveAt(SeletedItem);
            if (CdlCollectionProperty.Count == 0)
            {
                index = -1;
            }
            SeletedItem = index;
        }