Пример #1
0
        private void FormatDgvDTP()
        {
            DGVFormat dgvFormated = new DGVFormat(_dgvDTP);

            dgvFormated.HideTwoFirstColumns();
            dgvFormated.Format(Status.DTP);
        }
Пример #2
0
        private void FormatDGVViolation()
        {
            DGVFormat dgvFormated = new DGVFormat(_dgvViolation);

            dgvFormated.HideTwoFirstColumns();
            dgvFormated.HideColumn(2);
            dgvFormated.HideColumn(3);
            dgvFormated.Format(Status.Violation);
        }
Пример #3
0
        private void formatDGVDiagCard()
        {
            DGVFormat dgvFormated = new DGVFormat(_dgvDiagCard);

            dgvFormated.HideTwoFirstColumns();
            dgvFormated.HideColumn(2);
            dgvFormated.HideColumn(3);
            dgvFormated.Format(Status.DiagCard);
        }
Пример #4
0
        private void formatDGVPolicy()
        {
            DGVFormat dgvFormated = new DGVFormat(_dgvPolicy);

            dgvFormated.Format(Status.Policy);
            dgvFormated.HideTwoFirstColumns();
            dgvFormated.HideColumn(2);
            dgvFormated.HideColumn(3);
        }
Пример #5
0
        private void formatDGVInvoice()
        {
            DGVFormat dgvFormated = new DGVFormat(_dgvInvoice);

            dgvFormated.HideTwoFirstColumns();
            dgvFormated.HideColumn(2);
            dgvFormated.HideColumn(3);
            dgvFormated.Format(Status.Invoice);
        }
Пример #6
0
        public void Format(Status status)
        {
            _dgvFormated.HideTwoFirstColumns();

            if (status != Status.FuelCard)
            {
                _dgvFormated.FormatByOwner();
            }

            _dgvFormated.Format(status);
        }
Пример #7
0
 private void FormatDGVViolation()
 {
     DGVFormat dgvFormated = new DGVFormat(_dgvViolation);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.HideColumn(2);
     dgvFormated.HideColumn(3);
     dgvFormated.Format(Status.Violation);
 }
Пример #8
0
 private void formatDGVPolicy()
 {
     DGVFormat dgvFormated = new DGVFormat(_dgvPolicy);
     dgvFormated.Format(Status.Policy);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.HideColumn(2);
     dgvFormated.HideColumn(3);
 }
Пример #9
0
 private void formatDGVInvoice()
 {
     DGVFormat dgvFormated = new DGVFormat(_dgvInvoice);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.HideColumn(2);
     dgvFormated.HideColumn(3);
     dgvFormated.Format(Status.Invoice);
 }
Пример #10
0
 private void FormatDgvDTP()
 {
     DGVFormat dgvFormated = new DGVFormat(_dgvDTP);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.Format(Status.DTP);
 }
Пример #11
0
 private void formatDGVDiagCard()
 {
     DGVFormat dgvFormated = new DGVFormat(_dgvDiagCard);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.HideColumn(2);
     dgvFormated.HideColumn(3);
     dgvFormated.Format(Status.DiagCard);
 }