Click here to Skip to main content
15,888,802 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: EditingPanel Erasing Top Cell Border Pin
Mark Regal14-Aug-12 3:14
Mark Regal14-Aug-12 3:14 
QuestionVS2010 Setup and Deployment Project - CommonAppDataFolder for XP Pin
Member 269415310-Aug-12 9:05
Member 269415310-Aug-12 9:05 
AnswerRe: VS2010 Setup and Deployment Project - CommonAppDataFolder for XP Pin
Dave Kreskowiak10-Aug-12 14:19
mveDave Kreskowiak10-Aug-12 14:19 
GeneralRe: VS2010 Setup and Deployment Project - CommonAppDataFolder for XP Pin
Member 269415313-Aug-12 2:18
Member 269415313-Aug-12 2:18 
AnswerRe: VS2010 Setup and Deployment Project - CommonAppDataFolder for XP Pin
ictxiangxin13-Aug-12 4:03
ictxiangxin13-Aug-12 4:03 
QuestionWrapping of Data Grid View column Pin
ukraju5-Aug-12 20:58
ukraju5-Aug-12 20:58 
AnswerRe: Wrapping of Data Grid View column Pin
908236510-Aug-12 12:59
908236510-Aug-12 12:59 
QuestionWindows Form Pin
DSPNEOqqq3-Aug-12 9:15
DSPNEOqqq3-Aug-12 9:15 
RantRe: Windows Form Pin
Eddy Vluggen3-Aug-12 9:30
professionalEddy Vluggen3-Aug-12 9:30 
GeneralRe: Windows Form OT Pin
Wes Aday3-Aug-12 9:41
professionalWes Aday3-Aug-12 9:41 
GeneralRe: Windows Form OT Pin
Eddy Vluggen3-Aug-12 10:01
professionalEddy Vluggen3-Aug-12 10:01 
AnswerRe: Windows Form Pin
Christian Amado6-Aug-12 10:47
professionalChristian Amado6-Aug-12 10:47 
AnswerRe: Windows Form Pin
BillWoodruff11-Aug-12 15:27
professionalBillWoodruff11-Aug-12 15:27 
GeneralRe: Windows Form Pin
Eddy Vluggen12-Aug-12 3:43
professionalEddy Vluggen12-Aug-12 3:43 
QuestionWindows Form Application Size Issue Pin
ukraju29-Jul-12 19:45
ukraju29-Jul-12 19:45 
AnswerRe: Windows Form Application Size Issue Pin
Simon_Whale29-Jul-12 20:11
Simon_Whale29-Jul-12 20:11 
AnswerRe: Windows Form Application Size Issue Pin
Bernhard Hiller29-Jul-12 22:07
Bernhard Hiller29-Jul-12 22:07 
AnswerRe: Windows Form Application Size Issue Pin
BillWoodruff11-Aug-12 15:31
professionalBillWoodruff11-Aug-12 15:31 
GeneralWindows Forms Application With Collapsible Panel Pin
ukraju20-Jul-12 20:15
ukraju20-Jul-12 20:15 
AnswerRe: Windows Forms Application With Collapsible Panel PinPopular
Eddy Vluggen21-Jul-12 8:16
professionalEddy Vluggen21-Jul-12 8:16 
ukraju wrote:
Please help me by providing a sample solution or steps.

That's the wrong way of learning to develop; you start with a book or easy tutorials and work trough that - starting a project without knowing where to begin and asking for help on every step of the way will not be a "fun" way of learning, because of comments like mine Smile | :)

If you've been assigned this "problem" by a teacher, please introduce him/her to this thread.

Drop a Panel on your form. Notice that you can hide/show the panel using it's Visible property, or the Hide/Show methods. Also note that a Panel inherits from Control, and that it can notify you if the user enters or leaves the panel (see MSDN[^]).

Drop your other controls on the Panel, and implement the logic to show it when the mouse enters the control, hides it when it leaves the control.

Next, you'll notice that it will not unhide; that is because you cannot "enter" an invisible control. So, we'll introduce the Size property right away: if the mouse enters the control, make the Panel a 100 pixels wide, if it leaves the control, make it 25 pixels wide. First state is called "Normal", seconds state is called "Collapsed".

You can earn bonus-points by wrapping it all in a re-usable UserControl and writing an article (submit on this site of course) on the topic. Yes, we welcome articles that provide a sample solution and/or steps.
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

GeneralRe: Windows Forms Application With Collapsible Panel Pin
BillWoodruff29-Jul-12 17:01
professionalBillWoodruff29-Jul-12 17:01 
GeneralRe: Windows Forms Application With Collapsible Panel Pin
Ger Hayden1-Aug-12 19:45
Ger Hayden1-Aug-12 19:45 
GeneralRe: Windows Forms Application With Collapsible Panel Pin
BillWoodruff12-Aug-12 1:15
professionalBillWoodruff12-Aug-12 1:15 
Questionopen web page with out address bar from win forms Pin
vikaskardode6-Jul-12 6:32
vikaskardode6-Jul-12 6:32 
AnswerRe: open web page with out address bar from win forms Pin
Dave Kreskowiak6-Jul-12 9:46
mveDave Kreskowiak6-Jul-12 9:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.