Partial Class for a Form

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form named frmDetails which host numerous tab controls. There’s
bunch of code written to make each tab perform specific task. With the amount
of code sitting behind, isolating code into Regions is not making it better.
How can I isolation code into various Partial Classes for the form?

I tried adding a class and adding Partial Public Class frmStockDetails, but
it create a separate node for it and also creates a form for it as well.
Please help.

Thanks
 
create a code file or a class file (not a form file)
then name the class inside public partial frmDetails.

It will be a different node (it;'s a different file after all) but it will
compile into 1 class.
Currently you use a different class name for the other part, that's the
problem!!

--
Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
 
Back
Top