
12/10/2007, 08:29
|
| | Fecha de Ingreso: mayo-2007 Ubicación: PIC-16F84A
Mensajes: 729
Antigüedad: 17 años, 9 meses Puntos: 8 | |
Re: Mostrar imagen en un MessageBox
Código:
private void button1_Click(object sender, EventArgs e)
{
if (textBox1.Text == "")
{
MessageBox.Show("You must enter a name.", "Name Entry Error",
MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
}
else
{
// Code to act on the data entered would go here.
}
}
|