Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Main Program/ReadEvents/Modal Forms
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00889395
Message ID:
00889404
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
Kirk,

In your project, there is one method called Main. If you are not sure where this is, use the Edit, Find Utility to locate it. It is automatically created for you when you first create a .Net application. In the Main method, you will see something like this:

static void Main()
{
Application.Run(new Form1());
}

This is the equivalent of the VFP READ EVENTS.

Regarding Modal forms, you can use the ShowDialog method to display the form. You can test this by looking at the Form's Modal property.

Kind Regards,

Mat



>So far in all my playing, I have just created winforms and ran them. Now I'm trying to understand how to put together a series of forms like I do in vfp where I have a main.prg that I call a form (Model login form) and if returns .t. or false, if True, I do my main form and then a read events. Looking at the winforms, I don't see Model nor have I see an equivilent of read events. If someone can show me a link or 2 or 3 lines how you setup something like that I'd appreciate it, thanks for all your help.
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Previous
Reply
Map
View

Click here to load this message in the networking platform