I
Ing. Rajesh Kumar
Hi everybody
I have a windows project with many forms (Not MDI). Depending upon what the user is doing, system shows a different form "ShowDialog()" where user must do something and click OK. Almost all the forms has a ComboBox which loads the same data on Form_Load. I am writing the same code in every form's Form_Load method. I just wanted to ask if there is an intelligent way of doing this ? I mean if it is possible to write the code only at one place ?
Thanks in advance
Raja
I have a windows project with many forms (Not MDI). Depending upon what the user is doing, system shows a different form "ShowDialog()" where user must do something and click OK. Almost all the forms has a ComboBox which loads the same data on Form_Load. I am writing the same code in every form's Form_Load method. I just wanted to ask if there is an intelligent way of doing this ? I mean if it is possible to write the code only at one place ?
Thanks in advance
Raja