Esempio n. 1
0
        public override void FormatControls()
        {
            SetGridFormat();

            MaximizeForm(new Size(1200, 0));
            base.FormatControls();

            General_GB.Left = (Width - General_GB.Width - Summary_GB.Width - 10) / 2;
            Summary_GB.Left = General_GB.Right + 9;
            ControlsMng.CenterLeft(Payrolls_LB);
        }
        public override void FormatControls()
        {
            if (Pagos_DGW == null)
            {
                return;
            }

            base.MaximizeForm(new Size(1200, 0));
            base.FormatControls();

            ControlsMng.CenterLeft(Remarks_GB);
            General_GB.Left      = Remarks_GB.Left;
            InterestRate_GB.Left = General_GB.Right + 6;

            SetActionStyle(molAction.CustomAction1, Resources.Labels.GENERAR_PAGOS, Properties.Resources.pago);

            Pagos_DGW.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
        }