Exemple #1
0
        private void FormLayout()
        {
            dgvViewPh.Location = new Point(3, 3);
            dgvViewPh.Width    = this.Width - 12;
            dgvViewPh.Height   = (int)(0.5 * this.Height);

            dgvViewCt.Location = new Point(dgvViewPh.Left, dgvViewPh.Bottom);
            dgvViewCt.Width    = this.Width - 12;
            dgvViewCt.Height   = this.Height - dgvViewPh.Height - pnlTTien.Height - 45;

            dgvViewPh.ResizeGridView();
            dgvViewCt.ResizeGridView();
        }
Exemple #2
0
 private void ResizeEvent(object sender, EventArgs e)
 {
     dgvPmTb.ResizeGridView();
 }
Exemple #3
0
 private void ResizeEvent(object sender, EventArgs e)
 {
     dgvTableLookup.ResizeGridView();
 }
Exemple #4
0
 private void ResizeEvent(object sender, EventArgs e)
 {
     dgvTheoDoiXe.ResizeGridView();
 }
Exemple #5
0
 private void ResizeEvent(object sender, EventArgs e)
 {
     dgvDmMauCt.ResizeGridView();
 }