Friday, March 22, 2019

Windows Forms App Problem

Hi everyone, I've started working on a project of mine based on Windows Forms.

First of all, I wanted to separate the login page elements from all of the others which are going to b displayed afterwards. To solve the problem I tried using panels bu... no luck there, it's just a really big mess which leaves you very little space for future editing/improvements.

Then I created a simple Login class, the purpose of which was to generate the login controls, pass them on to the Form and handle the simple business logic. So, I created a method to pass the controls on to the Controls collection in the Form1_Load event handler.

But that didn't quite solve the problem - I could now see all of the elements on the screen, but I can't seem to figure out how to access the event handlers of these items since they aren't listed in the Form.Designer file.

What should I do now?

Windows Forms App Problem Click here
  • Blogger Comment
  • Facebook Comment

0 comments:

Post a Comment

The webdev Team