All pastes #507460 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-05-24 15:57 UTC
rendered paste body
using System;
using System.Drawing;
using System.Globalization;
using System.Windows.Forms;

public class MainForm : Form
{
	protected override void WndProc (ref Message m)
	{
		switch (m.Msg) {
			case 256:
			case 260:
			case 258:
			case 262:
			case 257:
			case 261:
				Console.WriteLine (m.ToString ());
				break;
		}
		base.WndProc (ref m);
	}

	public MainForm ()
	{

		StartPosition = FormStartPosition.CenterScreen;
		Text = "bug #81722";
	}

	[STAThread]
	static void Main ()
	{
		Application.Run (new MainForm ());
	}
}