Beispiel #1
0
        private void buttonFubang2_Click(object sender, EventArgs e)
        {
            List <BiliInterfaceInfo> linfo = new List <BiliInterfaceInfo>();
            int start = int.Parse(textBoxFubangStart.Text);

            foreach (BiliInterfaceInfo i in (List <BiliInterfaceInfo>)dataGridViewRAW.DataSource)
            {
                if (i.Fpaiming >= start)
                {
                    linfo.Add(i);
                }
            }

            //TODO: 再次排序
            Fubang fu = new Fubang();

            fu.Gen2(linfo);
        }
        private void buttonGenFubang2_Click(object sender, RoutedEventArgs e)
        {
            List <BiliInterfaceInfo> linfo = new List <BiliInterfaceInfo>();
            int start = int.Parse(textBoxFrom.Text);

            foreach (BiliInterfaceInfo i in (List <BiliInterfaceInfo>)SharedData.Infos)
            {
                if (i.Fpaiming >= start)
                {
                    linfo.Add(i);
                }
            }

            //TODO: 再次排序
            Fubang fu = new Fubang();

            Task.Run(() => fu.Gen2(linfo));
        }