Access Form controls from static class [duplicate]
This question already has an answer here: How does one access a control from a static method? 10 answers I have a Form1 with lots of controls and I need to access/edit control values from another static class. Since I have lots of controls on the form, it takes some time to define set and get from every single of them. I am wondering if there is any way that I can define an instance of the Form1 within the static class so that I can have access to all controls of Form1 in this class? Here is the structure of the static class: public static class Glob { public static int int1; public static int