Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

New to Windows Application

Posted on 2007-11-19
8
Medium Priority
?
793 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 2000 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
Industry Leaders: 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Starting up a Project

721 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