I have the following code:
When the program complies I get the following error:Code:if (e.KeyChar = (char)13) { SomeFunction(params); }
Any ideas why that might be? The code is in the following function:(231): Cannot implicitly convert type 'char' to 'bool'
which is a Numeric UpDown control.Code:private void nudWidth_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
Dan




Reply With Quote