Abbas Hamza

Abbas Hamza

  • NA
  • 100
  • 53k

how to declare and calling a class within a different class?

Mar 22 2014 10:23 AM
Hi Guys,
i have  several classes that i have created for simple wpf data entries like personal information for students and separate one for drivers and supervisors.
i thought to create a sepsarate class to contain common fields like addresses telephone and contact details all inked to corresponding object in column called Addres_Id that will be inserted from each object i.e student , driver.
the form for each object will include contact and addresses details.
my question how would i go about thi and call the shared class from within each object to be inserted within each object. 
thank you in advance
 

Answers (7)