M
Mike
I created a windows form class name myForm, and a 2nd class vb file
with a partial class myform. The goal was to separate non-GUI
properties and methods from the main form into its own file because it
can be used by others.
In the IDE, this 2nd file will display as a empty form.
Q1) Is that normal?
I don't think its normal. If you accidentally click on this empty form
to create the load event, then you compiler errors and if you
manually try to correct it by deleting the events, you get designer
errors.
Q2) Is what I did with a form partial class possible or should I do it
another way?
TIA
--
with a partial class myform. The goal was to separate non-GUI
properties and methods from the main form into its own file because it
can be used by others.
In the IDE, this 2nd file will display as a empty form.
Q1) Is that normal?
I don't think its normal. If you accidentally click on this empty form
to create the load event, then you compiler errors and if you
manually try to correct it by deleting the events, you get designer
errors.
Q2) Is what I did with a form partial class possible or should I do it
another way?
TIA
--