示例#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
文件: OvWHClass.cs 项目: Mexahoid/CSF
        public static OvWHList OvWHFillList()
        {
            OvWHList List = new OvWHList();

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