예제 #1
0
        private void FormatDgvDTP()
        {
            DGVFormat dgvFormated = new DGVFormat(_dgvDTP);

            dgvFormated.HideTwoFirstColumns();
            dgvFormated.Format(Status.DTP);
        }
예제 #2
0
        private void FormatDGVShipPart()
        {
            DGVFormat dgvFormated = new DGVFormat(dgvShipPart);

            dgvFormated.HideTwoFirstColumns();
            dgvFormated.HideColumn(2);
        }
예제 #3
0
        private void FormatDGVViolation()
        {
            DGVFormat dgvFormated = new DGVFormat(_dgvViolation);

            dgvFormated.HideTwoFirstColumns();
            dgvFormated.HideColumn(2);
            dgvFormated.HideColumn(3);
            dgvFormated.Format(Status.Violation);
        }
예제 #4
0
        private void FormatDGVRepair()
        {
            DGVFormat dgvFormated = new DGVFormat(dgvRepair);

            dgvFormated.HideTwoFirstColumns();
            dgvFormated.HideColumn(2);
            dgvFormated.HideColumn(3);
            dgvFormated.SetFormatRepair();
        }
예제 #5
0
        private void formatDGVDiagCard()
        {
            DGVFormat dgvFormated = new DGVFormat(_dgvDiagCard);

            dgvFormated.HideTwoFirstColumns();
            dgvFormated.HideColumn(2);
            dgvFormated.HideColumn(3);
            dgvFormated.Format(Status.DiagCard);
        }
예제 #6
0
        private void formatDGVPolicy()
        {
            DGVFormat dgvFormated = new DGVFormat(_dgvPolicy);

            dgvFormated.Format(Status.Policy);
            dgvFormated.HideTwoFirstColumns();
            dgvFormated.HideColumn(2);
            dgvFormated.HideColumn(3);
        }
예제 #7
0
        private void formatDGVInvoice()
        {
            DGVFormat dgvFormated = new DGVFormat(_dgvInvoice);

            dgvFormated.HideTwoFirstColumns();
            dgvFormated.HideColumn(2);
            dgvFormated.HideColumn(3);
            dgvFormated.Format(Status.Invoice);
        }
예제 #8
0
        public void Format(Status status)
        {
            _dgvFormated.HideTwoFirstColumns();

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

            _dgvFormated.Format(status);
        }
예제 #9
0
 private void FormatDGVViolation()
 {
     DGVFormat dgvFormated = new DGVFormat(_dgvViolation);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.HideColumn(2);
     dgvFormated.HideColumn(3);
     dgvFormated.Format(Status.Violation);
 }
예제 #10
0
 private void FormatDGVShipPart()
 {
     DGVFormat dgvFormated = new DGVFormat(dgvShipPart);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.HideColumn(2);
 }
예제 #11
0
 private void FormatDGVRepair()
 {
     DGVFormat dgvFormated = new DGVFormat(dgvRepair);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.HideColumn(2);
     dgvFormated.HideColumn(3);
     dgvFormated.SetFormatRepair();
 }
예제 #12
0
 private void formatDGVPolicy()
 {
     DGVFormat dgvFormated = new DGVFormat(_dgvPolicy);
     dgvFormated.Format(Status.Policy);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.HideColumn(2);
     dgvFormated.HideColumn(3);
 }
예제 #13
0
 private void formatDGVInvoice()
 {
     DGVFormat dgvFormated = new DGVFormat(_dgvInvoice);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.HideColumn(2);
     dgvFormated.HideColumn(3);
     dgvFormated.Format(Status.Invoice);
 }
예제 #14
0
 private void FormatDgvDTP()
 {
     DGVFormat dgvFormated = new DGVFormat(_dgvDTP);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.Format(Status.DTP);
 }
예제 #15
0
 private void formatDGVDiagCard()
 {
     DGVFormat dgvFormated = new DGVFormat(_dgvDiagCard);
     dgvFormated.HideTwoFirstColumns();
     dgvFormated.HideColumn(2);
     dgvFormated.HideColumn(3);
     dgvFormated.Format(Status.DiagCard);
 }