miércoles, 17 de septiembre de 2014

Mostrar texto oculto Visual C#

 private void button1_Click(object sender, EventArgs e)
        {
            label1.Text = textBox1.Text;
        }

Cambiar fuente en Visual C#


 private void negrita_CheckedChanged(object sender, EventArgs e)
        {
            textBox1.Font = new Font(textBox1.Font.Name, textBox1.Font.Size, textBox1.Font.Style ^ FontStyle.Bold);
        }


 private void cursiva_CheckedChanged(object sender, EventArgs e)
        {
            textBox1.Font = new Font(textBox1.Font.Name, textBox1.Font.Size, textBox1.Font.Style ^ FontStyle.Italic);
        }