private void RefreshInterface() { m_txtTexto.Text = m_strTexto; m_txtTexto.SelectAll(); m_lbFonte.Text = m_txtTexto.Text; if (m_fntFonte != null) { m_lbFonte.Font = new Font(m_fntFonte, m_fntFonte.Style); } m_lbFonte.ForeColor = m_clrTexto; m_ckVisivelImpressao.Checked = m_bVisivelImpressao; }
private void m_btOk_Click(object sender, System.EventArgs e) { if (m_txtValor.Text == "") { vMensagemValorInvalido(); MostraValor(dRetornaValorCorrespondentePorcentagem(m_dPorcentagemMaxima)); MostraPorcentagem(m_dPorcentagemMaxima); m_txtValor.SelectAll(); } else { m_bModificado = true; this.Close(); } }
private void m_txtPorcentagem_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e) { m_txtPorcentagem.SelectAll(); }
private void vRefreshValorMax() { m_txtValor.Text = mdlMoeda.clsMoeda.strReturnCurrencyFormated(0, m_dcValorMax, false); m_txtValor.SelectAll(); }