All pastes #748261 Raw Edit

hello tharr

public text v1 · immutable
#748261 ·published 2007-10-24 18:22 UTC
rendered paste body
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Drawing;

namespace WindowsApplication1
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            NotifyIcon n = new NotifyIcon();
            n.ContextMenu = new ContextMenu();
            n.ContextMenu.MenuItems.Add(new MenuItem("hello there, cowboy"));
            n.Icon = new Icon(@"c:\source\unpacker\winzip_32.ico");
            n.Visible = true;
            Application.Run();
        }
    }
}