public class FormA dim txtBoxA as System.Windows.Forms.Textbox dim txtBoxB as System.Windows.Forms.Textbox dim cbxBoxA as System.Windows.Forms.Checkbox end class public class FormA dim txtBoxA as System.Windows.Forms.Textbox dim txtBoxB as System.Windows.Forms.Textbox dim cboLine as System.Windows.Forms.Combobox end class
Public class Main Sub Main select case OPTION case OPTION.formA generic = New FormA case OPTION.formB generic = New FormB end case MyControllingFunction(generic) End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)