Click here to Skip to main content
15,886,724 members
Home / Discussions / C#
   

C#

 
GeneralRe: check the password wi-fi in c# Pin
Richard MacCutchan2-Aug-16 0:36
mveRichard MacCutchan2-Aug-16 0:36 
GeneralRe: check the password wi-fi in c# Pin
Daniyaltjm2-Aug-16 1:04
Daniyaltjm2-Aug-16 1:04 
JokeRe: check the password wi-fi in c# Pin
Richard MacCutchan2-Aug-16 1:09
mveRichard MacCutchan2-Aug-16 1:09 
GeneralRe: check the password wi-fi in c# Pin
Daniyaltjm2-Aug-16 3:21
Daniyaltjm2-Aug-16 3:21 
GeneralRe: check the password wi-fi in c# Pin
Pete O'Hanlon2-Aug-16 1:44
mvePete O'Hanlon2-Aug-16 1:44 
Generalhow to group the controls in to single component. Pin
Member 126599261-Aug-16 18:42
Member 126599261-Aug-16 18:42 
GeneralRe: how to group the controls in to single component. Pin
OriginalGriff1-Aug-16 20:23
mveOriginalGriff1-Aug-16 20:23 
GeneralRe: how to group the controls in to single component. Pin
BillWoodruff2-Aug-16 2:18
professionalBillWoodruff2-Aug-16 2:18 
In addition to the strategies that OriginalGriff told you about, you could use a ContainerControl like a SplitterPanel to create an easy pop-out - pop-back userinterface. Let's say your Buttons were all in Panel1 of the SplitContainer; then you can show/hide it by:
C#
private void button1_Click(object sender, EventArgs e)
{
    splitContainer1.Panel1Collapsed = ! splitContainer1.Panel1Collapsed;
}
To get this to work as one might expect:

for the SplitContainer:

0. set appropriate MinimumSize and MaximumSize values.

1. set the 'SplitterDistance property to the width of the left Panel.

2. set IsSplitterFixed property to 'true if you are not going to allow the user to re-size the Panels

for the Panels

1. set the Panel1MinSize and Panel2MinSize (int) properties to appropriate values

If the 'Orientation property of the SplitterPanel is 'Vertical, then the two min size properties are going to set the width of the Panels.

~

Keep in mind that when the collapsed Panel1 is expanded, the Controls placed in Panel2 are going to move depending on how you set their Anchor/Dock properties.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008

GeneralRe: how to group the controls in to single component. Pin
Member 126599262-Aug-16 2:22
Member 126599262-Aug-16 2:22 
QuestionOffice 2016-Like Help for .NET application Pin
Jassim Rahma1-Aug-16 11:18
Jassim Rahma1-Aug-16 11:18 
QuestionHow to Insert/update/delete records in multiple Databases tables in one transaction using C# Pin
Tej_dev1-Aug-16 8:44
Tej_dev1-Aug-16 8:44 
AnswerRe: How to Insert/update/delete records in multiple Databases tables in one transaction using C# Pin
Eddy Vluggen1-Aug-16 10:17
professionalEddy Vluggen1-Aug-16 10:17 
AnswerRe: How to Insert/update/delete records in multiple Databases tables in one transaction using C# Pin
Mycroft Holmes1-Aug-16 12:50
professionalMycroft Holmes1-Aug-16 12:50 
QuestionRequest for advice: 3D realistic scene interface Pin
Jayme651-Aug-16 6:22
Jayme651-Aug-16 6:22 
JokeRe: Request for advice: 3D realistic scene interface Pin
Richard Deeming1-Aug-16 6:44
mveRichard Deeming1-Aug-16 6:44 
AnswerRe: Request for advice: 3D realistic scene interface Pin
Richard MacCutchan1-Aug-16 22:07
mveRichard MacCutchan1-Aug-16 22:07 
GeneralHow to save combobox values in forms Pin
Member 1265992631-Jul-16 20:46
Member 1265992631-Jul-16 20:46 
GeneralRe: How to save combobox values in forms Pin
Richard MacCutchan31-Jul-16 21:23
mveRichard MacCutchan31-Jul-16 21:23 
GeneralRe: How to save combobox values in forms Pin
OriginalGriff31-Jul-16 21:27
mveOriginalGriff31-Jul-16 21:27 
GeneralRe: How to save combobox values in forms Pin
Member 126599261-Aug-16 19:00
Member 126599261-Aug-16 19:00 
GeneralRe: How to save combobox values in forms Pin
Pete O'Hanlon1-Aug-16 20:18
mvePete O'Hanlon1-Aug-16 20:18 
GeneralRe: How to save combobox values in forms Pin
Member 126599261-Aug-16 20:31
Member 126599261-Aug-16 20:31 
GeneralRe: How to save combobox values in forms Pin
Pete O'Hanlon1-Aug-16 20:35
mvePete O'Hanlon1-Aug-16 20:35 
GeneralRe: How to save combobox values in forms Pin
Member 126599261-Aug-16 22:38
Member 126599261-Aug-16 22:38 
GeneralRe: How to save combobox values in forms Pin
Pete O'Hanlon1-Aug-16 23:36
mvePete O'Hanlon1-Aug-16 23:36 

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.