I have a form I originallydid in C# but converted to VB (I know VB - Novice with C#).
I programmed some basic functionality into the form to read values of radio-dialog boxes that will eventually need to get passed into C# functions. (Code written by other developers)
The problem I am experiencing issues with the controls handling. Line mycontr=
SuicideRDB0_CheckedChanged(System.Object sender, System.Windows.Forms.ControlEventArgs e) { //grab the control name object MyControl = (RadioButton)sender; mycontr = e.MyControl.Name; //send to the checker CheckValue(mycontr, "tblCRBElements", "tblLeft"); //MessageBox.Show(mycontr) } private void // ERROR: Handles clauses are not supported in C# N2Tbl(System.Object sender, System.Windows.Forms.ControlEventArgs e) { //grab the control name object MyControl = (RadioButton)sender; mycontr = e.MyControl.Name; //send to the checker CheckValue(mycontr, "tblCREElements", "tblLeft"); //MessageBox.Show(mycontr) }
N6Tbl(System.Object sender, System.EventArgs e) { //grab the control name object MyControl = (RadioButton)sender; mycontr = MyControl.Name; //send to the checker CheckValue(mycontr, "tblCultureElements", "tblRight"); //MessageBox.Show(mycontr) }
Any ideas???