martes, 13 de septiembre de 2016

HOLA MUNDO


PRÁCTICA #1

HOLA MUNDO
Objetivo: Diseñar un programa en C# que cuando el usuario presione un botón se visualice un mensaje.

DISEÑO DEL PROGRAMA


Código del programa

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Práctica_1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("HOLA MUNDO");
        }
    }
}

No hay comentarios:

Publicar un comentario