Пример #1
0
        private void searchTask()
        {
            List <InBound.T_WMS_STORAGEAREA_INOUT> list = StroageInOutService.GetDetail(20, 1, 10);

            dataGridView2.AutoGenerateColumns = false;
            dataGridView2.DataSource          = list;
        }
Пример #2
0
        private void searchTask()
        {
            List <InBound.T_WMS_STORAGEAREA_INOUT> list = StroageInOutService.GetDetail(20, 1, 10);

            if (dataGridView1.InvokeRequired)
            {
                dataGridView1.BeginInvoke(new gv(searchTask));
            }
            else
            {
                dataGridView2.AutoGenerateColumns = false;
                dataGridView2.DataSource          = list;
            }
        }