Greetings.cs


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

namespace Greetings
{

    public partial class Form1 : Form
    {

        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
        }

        private void menuItem1_Click(object sender, EventArgs e)
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder("Merry Christmas and a Happy New Year! ");
            while (true)
            {
                char[] ch = new char[1];
                ch[0] = sb[0];
                sb.Remove(0, 1);
                sb.Insert(sb.Length, ch);
                label1.Text = sb.ToString();
                label1.Refresh();
                System.Threading.Thread.Sleep(100);
            } 
        }

        private void menuItem2_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}
Comments (7)

  1. plymouth veterinarian <a href= http://veterinarian.weebly.com >veterinarian pictures</a> [url=http://veterinarian.weebly.com]veterinarian pictures[/url]

  2. rental car fort price <a href= http://asfkjllas2009.blogspot.com >car rental seat fort</a> [url=http://asfkjllas2009.blogspot.com]car rental seat fort[/url]

  3. minnesota of university <a href= http://gsdsda.blogspot.com >of minnesota university</a> [url=http://gsdsda.blogspot.com]of minnesota university[/url]

  4. hmo plus humana gold <a href= http://www.misterpoll.com/polls/419977 >gold hmo plus humana</a> [url=http://www.misterpoll.com/polls/419977]gold hmo plus humana[/url]

  5. hmo plus humana gold <a href= http://www.misterpoll.com/polls/419977 >gold hmo plus humana</a> [url=http://www.misterpoll.com/polls/419977]gold hmo plus humana[/url]