I am trying to split my code over several class files but I am having problems accessing them.
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.
I have another file, a class file called audit.cs and here is all of the code
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
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.
Code:
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
Code:
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
Comment