Solved

New to Windows Application

Posted on 2007-11-19
8
790 Views
Last Modified: 2008-02-01
I've only been doing ASP.Net/VB.Net (and some C#) coding. Now I need to develop a .Net Windows Application. Been googling for tutorials and I just find an article here and an article there.

Any good tutorials someone can send me?

I have questions like: can I use StyleSheet in a WinForm app? When do I use a MDIParent? If I have one form, user clicks OK ...how can I close this form and open another form? etc...
0
Comment
Question by:Camillia
  • 4
  • 4
8 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 20317430
I suggest you www.codeproject.com
You will find lots of examples with full source code and explanations about C#, vb.net in both WinForms and WebForms

For your specific questions:
>> can I use StyleSheet in a WinForm app?
Yes, you can do it by using a WebBrowser control inside your winform. Look for DHTML articles
>> When do I use a MDIParent?
when you have multiple documents or multiple views inside your application. Look to MDI articles
>If I have one form, user clicks OK ...how can I close this form and open another form?
Just launch the new form with Show() instead of ShowDialog() and close your first form.


0
 
LVL 7

Author Comment

by:Camillia
ID: 20319145
>>Yes, you can do it by using a WebBrowser control inside your winform. Look for DHTML articles
So I cant use the stylesheet to , for example, size a form?
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20320261
>>So I cant use the stylesheet to , for example, size a form?
Not easily. Maybe you can tweak a IE window. But this is not a common practice.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 7

Author Comment

by:Camillia
ID: 20320293
thanks. Let me look at codeproject. I had another question , not dont remember it. Finding it kinda hard to move from asp.net to windows.
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20320418
Well, this approach is not the best to migrate. You will have to learn winforms.
But if you know nothing, maybe you can take the choice to migrate directly to WPF/Silverlight technologies instead.
0
 
LVL 7

Author Comment

by:Camillia
ID: 20320510
WPF and Silverlight...i saw something about it on www.asp.net but didnt look into.

We have a vendor app that's done in a language that's similar to VB4 and it's windows app.. I developed part of it in ASP.Net for our customers.. Was thinking about doing the entire pacakage in winform/.net and replace the old vendor app.

Will look into Silverlight.
0
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 20320582
0
 
LVL 7

Author Comment

by:Camillia
ID: 20320636
thanks. Will read those.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question