I have a Window Form with textboxes,checkboxes,comboboxes and buttons.I have another separate class which updates data in a database using the values of the Orignal WinForm elements.I want to access the properties(text,checked etc) of some or all of the feilds of the form elements in this class.The Problem is-
1.if i use the parameterised function call then the parameters list become too large. eg-function(int a,bool c,string d,int e,int f,bool e,bool h,string g) This is working but looks very untidy and i don't know whether this is a good programming methodology.
2.I can use static variables but then i have to create a separate function which updates the static variable's value. like index change in combobox.(but People say avoid static..)
3.Also i dont want to use instance objects of the main form class as then i would have to create object of the original form class repeatedly at many places.(Which is obviously very resource expensive).. So my question is which technique to use on the account of good programming methods???or there is a better way to do it...