Created
February 10, 2017 01:44
-
-
Save gaverdugo/5ddb228b9f9b7ffcf6a68e72652f70f8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; | |
namespace PVI_Forms1 | |
{ | |
public partial class Form1 : Form | |
{ | |
public Form1() | |
{ | |
InitializeComponent(); | |
} | |
private void button1_Click(object sender, EventArgs e) | |
{ | |
string nombre = nombreBox.Text; | |
nombreLabel.Text = "Hola " + nombre; | |
nombreLabel.Font = new Font("Baskerville Old Face", 24, FontStyle.Bold); | |
nombreLabel.ForeColor = Color.RoyalBlue; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment