Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Designing multiple Forms in a single C# project?

$
0
0

Hi :)

I was recently working on a lot of complicated things and thought I'm losing track on the simple tasks of C# and thus wanted to code a simple tool gathering Hardware and Software information of the host system and displays it on seperate windows.

I first did this in a console application using the System.Management namespace and all worked out. Now I wanted to make it in a Windows Forms application to make it easier to use (just click the button of your choice) and to make it look more "professional".

Now I have the main form which contains the code and which I can use the designer with to design it. The buttons I've included contain code to open new forms (and display the gathered information), but these forms are empty.

 

Can I somehow change the "focus" of the designer to edit Form 2 (called CPUForm in this case) instead, or is it not possible on an easy level?

 

Thanks in advance! :) 


Viewing all articles
Browse latest Browse all 1764

Latest Images

Trending Articles



Latest Images