示例#1
0
文件: TaskList.cs 项目: wg3281/JZFJ
        private void TaskList_Load(object sender, EventArgs e)
        {
            DataGridViewTranslation.LoadMainColHeader(dgviewnone);
            DataGridViewTranslation.LoadDetailColHeader(dgviewnonedetail);

            dgviewnonedetail.DataSource = null;


            SortingLineTaskList sortingLineTaskList1 = SortingLineTaskList.GetFinSortingLineTaskList(new QueryCondition("3", true, AppUtil._SortingLineId, "desc"));

            dgviewnone.DataSource = sortingLineTaskList1;
        }
示例#2
0
        public CSortingTaskSearch()
        {
            InitializeComponent();
            dateTimeInput1.Value = DateTime.Now;

            DataGridViewTranslation.LoadMainColHeader(dgviewnone);



            DataGridViewTranslation.LoadDetailColHeader(dgviewnonedetail);

            footSumLabel1.Init(dgviewnonedetail, new Dictionary <string, int>()
            {
                { "qTYDataGridViewTextBoxColumn", 0 }
            });

            OutPutList outputList = new OutPutList();
            OutPut     output     = new OutPut();

            output       = new OutPut();
            output.Name  = "所有出口";
            output.Value = "0";
            outputList.Add(output);

            output       = new OutPut();
            output.Name  = "A出口";
            output.Value = "1";
            outputList.Add(output);

            output       = new OutPut();
            output.Name  = "B出口";
            output.Value = "2";
            outputList.Add(output);

            comboBoxEx1.DataSource    = outputList;
            comboBoxEx1.DisplayMember = "Name";
            comboBoxEx1.ValueMember   = "Value";
        }