Example #1
0
 private void rbPonto_CheckedChanged(object sender, EventArgs e)
 {
     if (((RadioButton)sender).ContainsFocus)
     {
         if (rbPonto.Checked)
         {
             fopcaoAmPm_Ponto = Util.Util.OpcaoAmPm_Ponto.EXIBIR_PONTO;
         }
     }
 }
Example #2
0
        private void cbHora_SelectedIndexChanged(object sender, EventArgs e)
        {
            switch (cbHora.SelectedIndex)
            {
            case 0: this.fdatahora         = Util.Util.FormatoDataHora.FORMATO_24H;
                this.fopcaoAmPm_Ponto      = Util.Util.OpcaoAmPm_Ponto.EXIBIR_PONTO;
                rbAmPm.Visible             = false;
                rbPonto.Visible            = false;
                lblOpcaoAmPm_Ponto.Visible = false;
                break;

            case 1: this.fdatahora         = Util.Util.FormatoDataHora.FORMATO_AM_PM;
                this.fopcaoAmPm_Ponto      = Util.Util.OpcaoAmPm_Ponto.EXIBIR_PONTO;
                rbAmPm.Visible             = true;
                rbPonto.Visible            = true;
                lblOpcaoAmPm_Ponto.Visible = true;
                rbPonto.Checked            = true;
                break;
            }
        }