2009-07-18, 06:04 PM
Greg Wrote:You wouldn't see anything different if you used a quote tag, noob.
Nooooob.
It doesn't window.
Quote: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;`
}
}
}
vs.
Code:
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;`
}
}
}
