I am working a slew of user controls for windows form control. Has any been able to throw a Visual Studio error if certain conditions aren't met?
Problem:
I have a control that works with a DataGridView. If the target datagridview isn't set, I want to have an error show in the Error List in Visual Studio. I already have a run time error thrown, but I would rather not find that error at run-time, if I can handle it earlier.
Thanks in advance,
-Sometimes the answer to your question is the hack that works
Problem:
I have a control that works with a DataGridView. If the target datagridview isn't set, I want to have an error show in the Error List in Visual Studio. I already have a run time error thrown, but I would rather not find that error at run-time, if I can handle it earlier.
Thanks in advance,
-Sometimes the answer to your question is the hack that works