473,404 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

draw a form dynamicly

hi there

i have a windowsForm with different buttons ad things, on a event i would
like to redraw the hole form with different buttons.
does anyone has an idea how i could start ???

thanks a lot for your help
jonas
Nov 15 '05 #1
2 1624
If I understood you correct one solution may be to have two panels filled with your different controls. At the beginning you then
turn one panel invisible and due to that all the controls in that panel are invisible too. If your event occurs, you just toggle the
visibility between these two (or more) panels...

Hope this helps.
Greetings,
timtos.

"Jonas Knaus" <jo*********@hotmail.com> wrote in message news:OM**************@TK2MSFTNGP12.phx.gbl...
hi there

i have a windowsForm with different buttons ad things, on a event i would
like to redraw the hole form with different buttons.
does anyone has an idea how i could start ???

thanks a lot for your help
jonas

Nov 15 '05 #2
hey timtos

thanks, this sounds mutch easier as i thought it would be !!
thanks
jonas
"timtos" <ti****@gmx.de> schrieb im Newsbeitrag
news:bj***********@news.uni-koblenz.de...
If I understood you correct one solution may be to have two panels filled with your different controls. At the beginning you then turn one panel invisible and due to that all the controls in that panel are invisible too. If your event occurs, you just toggle the visibility between these two (or more) panels...

Hope this helps.
Greetings,
timtos.

"Jonas Knaus" <jo*********@hotmail.com> wrote in message

news:OM**************@TK2MSFTNGP12.phx.gbl...
hi there

i have a windowsForm with different buttons ad things, on a event i would like to redraw the hole form with different buttons.
does anyone has an idea how i could start ???

thanks a lot for your help
jonas


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Florida Draw | last post by:
------=_NextPart_000_0012_1D5428A2.65C196F8 Content-Type: text/plain Content-Transfer-Encoding: 8bit Sign-up for the FREE Holiday Giveaway Draw You must register to be eligible for the draw....
1
by: Henke | last post by:
Hi I have a aspx-page with a panel-control. On this panel control I add user controls dynamicly with LoadControl and panel.Controls.Add(myControl). On some of the dynamicly added user controls I...
2
by: DaWoE | last post by:
Hi all, I'm fairly new to ASP.NET. What i want to do is creat a online registration form. On the first step is getting the users details and the number of people he wants to register. Based on...
3
by: Colin McGuire | last post by:
Hi there. I have written a small procedure to draw various shapes on things. A bit of it is shown below. Private Sub drawShape(ByVal shapeType As Integer, ByRef g As Graphics) Select Case...
0
by: Owen Wong | last post by:
Is it possible to add a server-side form dynamicly?
1
by: Jeff Waskiewicz | last post by:
Hello All, I'm trying to solve a nagging problem. The goal is to draw a rectangle over the top of all the other controls on a form. Specifically, over a ChartFX control. The user would draw...
8
by: George | last post by:
Hello everyone, I am using C# on a Pocket PC 2003 project based on .Net Compact Framework of Visual Studio 2005. I want to re-draw some controls of a Form (Window) at a regular interval (for...
9
by: zhaow | last post by:
Hi, All Greetings! I want to develop as appllication that requires a line-drawing function in the blank area between two forms. I have looked up the MSDN, it says that a graphics object need a...
7
by: Aussie Rules | last post by:
Hi, Is there a way to have a screen/form designer functionality in a vb.net2008 program for the end user to use ? I want to be able to distribute my application, and allow the end user to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.