Click here to Skip to main content
14,976,129 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: Windows Form Pin
BillWoodruff11-Aug-12 15:27
mveBillWoodruff11-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
Memberukraju29-Jul-12 19:45 
AnswerRe: Windows Form Application Size Issue Pin
Simon_Whale29-Jul-12 20:11
professionalSimon_Whale29-Jul-12 20:11 
AnswerRe: Windows Form Application Size Issue Pin
Bernhard Hiller29-Jul-12 22:07
MemberBernhard Hiller29-Jul-12 22:07 
AnswerRe: Windows Form Application Size Issue Pin
BillWoodruff11-Aug-12 15:31
mveBillWoodruff11-Aug-12 15:31 
GeneralWindows Forms Application With Collapsible Panel Pin
ukraju20-Jul-12 20:15
Memberukraju20-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
mveBillWoodruff29-Jul-12 17:01 
GeneralRe: Windows Forms Application With Collapsible Panel Pin
Ger Hayden1-Aug-12 19:45
MemberGer Hayden1-Aug-12 19:45 
GeneralRe: Windows Forms Application With Collapsible Panel Pin
BillWoodruff12-Aug-12 1:15
mveBillWoodruff12-Aug-12 1:15 
Questionopen web page with out address bar from win forms Pin
vikaskardode6-Jul-12 6:32
Membervikaskardode6-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 
JokeRe: open web page with out address bar from win forms Pin
Mycroft Holmes6-Jul-12 23:15
professionalMycroft Holmes6-Jul-12 23:15 
AnswerRe: open web page with out address bar from win forms Pin
Eddy Vluggen21-Jul-12 13:10
professionalEddy Vluggen21-Jul-12 13:10 
Questionat this point in time would a series of tutorials on WinForms be useful ? Pin
BillWoodruff30-Jun-12 18:34
mveBillWoodruff30-Jun-12 18:34 
AnswerRe: at this point in time would a series of tutorials on WinForms be useful ? Pin
Paul Conrad30-Jun-12 19:18
professionalPaul Conrad30-Jun-12 19:18 
AnswerRe: at this point in time would a series of tutorials on WinForms be useful ? Pin
Richard MacCutchan30-Jun-12 21:32
mveRichard MacCutchan30-Jun-12 21:32 
AnswerRe: at this point in time would a series of tutorials on WinForms be useful ? Pin
Eddy Vluggen30-Jun-12 23:10
professionalEddy Vluggen30-Jun-12 23:10 
QuestionDisplay large content in windows application Pin
Rajeev_8721-Jun-12 13:18
MemberRajeev_8721-Jun-12 13:18 
AnswerRe: Display large content in windows application Pin
Mycroft Holmes21-Jun-12 16:36
professionalMycroft Holmes21-Jun-12 16:36 
GeneralRe: Display large content in windows application Pin
Richard MacCutchan21-Jun-12 22:47
mveRichard MacCutchan21-Jun-12 22:47 
Questionupdating, deleting adn adding rows in superlist control Pin
Kandepu Rajesh12-Jun-12 23:37
MemberKandepu Rajesh12-Jun-12 23:37 
AnswerRe: updating, deleting adn adding rows in superlist control Pin
Pete O'Hanlon13-Jun-12 0:01
mvePete O'Hanlon13-Jun-12 0:01 
QuestionError while binding the datatable to a superlist control Pin
Kandepu Rajesh8-Jun-12 0:07
MemberKandepu Rajesh8-Jun-12 0:07 

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.