is it possible to write 'xp' out to a file and then call the streamreader to bring the variable into the click event#2?
That would be too slow though wouldnt it? There has to be a more efficient way.
I got stuck, tryin to crank out how to pass 'xp' to click event #2
public partial class Form1: Form
{
bool firstclick=false;
public Form1()
{
InitializeComponent();
}
private void Form1_click1(object sender, EventArgs e)
{
if(firstclick==false){int xp = 1;firstclick=true;}
else{xp++;}
}
private void Form1_click2(object sender, EventArgs e)
{
expLabel.Text = "Exp: " + xp;
}
}
the variable 'xp' needs to be passed to click2 from click1.
can somone show how u would make a single passing method so that click3 and click4 can use the same passing method as click1 and click2.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic