can anyone tell me if one can create a form level variable in c# and how one does that. with form level variable i maen a variable which can be accessed by all the command buttons on the form. the buttons are on different panels. i dont know if that would make a difference. i doubt it. but just how do i create a variable which can be accesses by all the buttons on the form.