Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a Class instead of a Form Reference?
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00808596
Message ID:
00808664
Views:
26
I solved my problem in a different way:

public abstract class baseLookupForm
{
public abstract void OpenEditForm();

public void btnModify_Clicked(...)
{
this.OpenEditForm();
}

}


public class CodeLookupForm : baseLookupForm
{
private override void OpenEditForm()
{
CodeEditForm oCode = new CodeEditForm();
oCode.ShowDialog();
}
}
Stephen Lee

--------------------------------
Too much to code
Too little time
--------------------------------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform