Zebra0.com

csharp code


Text of video
// Programmer: J Joy
// Hello World with code
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 helloworld
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            Text = "Hello Earthlings";
            this.BackColor = Color.SlateBlue; //a deep gray
            this.BackgroundImageLayout = ImageLayout.Tile;
        }

    }
}

End of lesson, Next lesson: