2009-07-18, 05:53 PM
using System;
using System.Windows.Forms;
using System.InteropServices;
namespace ICWatUDidThar
{
public class Program
{
[STAThread]
public static void Main(string[] args)
{
Application.Run(new MainForm());
}
}
public partial class MainForm
{
bool iSeeWhatYouDidThere;
public MainForm()
{
InitializeComponents();
iSeeWhatYouDidThere = false;
this.Click += new MouseClickEventHandler(this.onClick);
}
public void onClick(MouseClickEventArgs e)
{
iSeeWhatYouDidThere = true;`
}
}
}
using System.Windows.Forms;
using System.InteropServices;
namespace ICWatUDidThar
{
public class Program
{
[STAThread]
public static void Main(string[] args)
{
Application.Run(new MainForm());
}
}
public partial class MainForm
{
bool iSeeWhatYouDidThere;
public MainForm()
{
InitializeComponents();
iSeeWhatYouDidThere = false;
this.Click += new MouseClickEventHandler(this.onClick);
}
public void onClick(MouseClickEventArgs e)
{
iSeeWhatYouDidThere = true;`
}
}
}

