PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms help:how to design panel in visual way without form

Reply

help:how to design panel in visual way without form

 
Thread Tools Rate Thread
Old 14-02-2005, 02:20 AM   #1
Yang_He
Guest
 
Posts: n/a
Default help:how to design panel in visual way without form


I have to write some code to change the panel which contained in the forms,
but is there anyway just design the panel without putting it in the
form.Thanks forward!


  Reply With Quote
Old 14-02-2005, 02:26 AM   #2
Herfried K. Wagner [MVP]
Guest
 
Posts: n/a
Default Re: help:how to design panel in visual way without form

"Yang_He" <xman0445@tom.com> schrieb:
>I have to write some code to change the panel which contained in the forms,
> but is there anyway just design the panel without putting it in the
> form.


Instead of designing the panel, you can create a usercontrol that provides
the panel's contents (controls, ...). You can add a usercontrol to your
project in VS.NET by selecting "Add usercontrol..." from the "Project" menu.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off