示例#1
0
        private void btnReresh_Click(object sender, EventArgs e)
        {
            LIST_TASKControl pdControl = new LIST_TASKControl();
            DataTable        dt        = pdControl.GetAll(database, ref sErr);

            //dgvFilter.MasterGridViewTemplate.AutoGenerateColumns = false;
            dgvQDView.DataSource = dt;
            //dgvQDView.AutoSizeColumns();
            ResetLayout();
            flag = false;
            //dgvFilter.CurrentRow = null;
        }
示例#2
0
        private void Form_View_Load(object sender, EventArgs e)
        {
            if (themname != "")
            {
                //ThemeResolutionService.ApplyThemeToControlTree(this, themname);
            }
            flag = true;

            LIST_TASKControl pdControl = new LIST_TASKControl();
            DataTable        dt        = pdControl.GetAll(database, ref sErr);

            //dgvFilter.MasterGridViewTemplate.AutoGenerateColumns = false;
            LoadDataGrid(dt);
            LoadLayout();
            flag = false;
            //DialogResult = DialogResult.Cancel;
            //dgvFilter.CurrentRow = null;
        }