コード例 #1
0
        public static PlanillaMensual GetInstance()
        {
            if (instance == null)
            {
                instance = new PlanillaMensual();
            }

            return(instance);
        }
コード例 #2
0
        public void CalculoDiasSubsidiado()
        {
            PlanillaMensual plamens = new PlanillaMensual();
            Double          basico  = 930;

            Double importeDiario = Math.Round(basico / 30, 4);

            txtimporte.Text = importeDiario.ToString("#.##");
            txtdias.Text    = Convert.ToString(0);
        }