Пример #1
0
        private void button_Click(object sender, RoutedEventArgs e)
        {
            _ctrlListIn.ItemsSource = OvWHLogic.OvWHGetNumbers(int.Parse(_ctrlTxb.Text));
              StandList = OvWHLogic.OvWHFillList();
              SortList = OvWHLogic.OvWHFillSortList();
              FirstList = StandList.OvWhListPrint();
              SecondList = SortList.OvWhListPrint();

              _ctrlListUnsort.ItemsSource = FirstList;
              _ctrlListSort.ItemsSource = SecondList;
        }
Пример #2
0
        public static OvWHList OvWHFillList()
        {
            OvWHList List = new OvWHList();

              for (int i = 0; i < Numbers.Length; i++)
            List.OvWHListAdd(Numbers[i]);
              return List;
        }