I guess I have a hard time with inheritance.
Here's is my setup:
I have a file called OVRform which contains all the code behind for the form.
Expand|Select|Wrap|Line Numbers
- namespace Tracking_WIN
- {
- public partial class OVRform : Form
- ...
I have another file, a class file called audit.cs and here is all of the code
Expand|Select|Wrap|Line Numbers
- namespace Tracking_WIN
- {
- public partial class audit : OVRform
- {
- public string dojo
- {
- get { return doubleJeopardy(); }
- }
- public string doubleJeopardy()
- {
- try
- {
- return "yes";
- }
- catch
- {
- return "no";
- }
- }
- }
- }
How can I get access to the dojo property of the audit object from the OVRform ?
Am I being clear enough?
Thanks for any response
Perry