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.
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.