Click here to Skip to main content
15,909,953 members
Home / Discussions / C#
   

C#

 
AnswerRe: Open Form Incide another Form Pin
Henry Minute1-Mar-09 1:19
Henry Minute1-Mar-09 1:19 
I do not know of a way to constrain a form within another form. I don't think that it is possible in C#, perhaps someone with more knowledge will respond and let you know.

However, what you can do is build a 'customer' control. Add a new User Control to your project and design it like you would a form. Add this control to the right panel. Then, when the TreeView is clicked, just fill whatever controls you have put on your 'customer' control with the data for that customer.

You can then have a separate form just containing the new control, for occasions when it is more appropriate to display it as a form.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: Open Form Incide another Form Pin
Trooks1-Mar-09 3:08
Trooks1-Mar-09 3:08 
GeneralRe: Open Form Incide another Form Pin
CristianConrads1-Mar-09 3:22
CristianConrads1-Mar-09 3:22 
GeneralRe: Open Form Incide another Form Pin
Henry Minute1-Mar-09 7:16
Henry Minute1-Mar-09 7:16 
GeneralRe: Open Form Incide another Form Pin
Henry Minute1-Mar-09 7:30
Henry Minute1-Mar-09 7:30 
AnswerRe: Open Form Incide another Form Pin
Peter_Weber1-Mar-09 2:37
Peter_Weber1-Mar-09 2:37 
GeneralRe: Open Form Incide another Form Pin
CristianConrads1-Mar-09 3:00
CristianConrads1-Mar-09 3:00 
GeneralRe: Open Form Incide another Form Pin
Peter_Weber1-Mar-09 3:15
Peter_Weber1-Mar-09 3:15 
AnswerRe: Open Form Incide another Form Pin
Eddy Vluggen1-Mar-09 6:39
professionalEddy Vluggen1-Mar-09 6:39 
AnswerRe: Open Form Incide another Form [modified] Pin
0x3c01-Mar-09 7:06
0x3c01-Mar-09 7:06 
AnswerRe: Open Form Incide another Form Pin
Luis Alonso Ramos1-Mar-09 12:59
Luis Alonso Ramos1-Mar-09 12:59 
AnswerSolution [modified] Pin
CristianConrads2-Mar-09 12:59
CristianConrads2-Mar-09 12:59 
QuestionDesktop Calender Repost Pin
WinSolution28-Feb-09 23:22
WinSolution28-Feb-09 23:22 
AnswerRe: Desktop Calender Repost Pin
0x3c028-Feb-09 23:30
0x3c028-Feb-09 23:30 
GeneralRe: Desktop Calender Repost Pin
WinSolution1-Mar-09 0:04
WinSolution1-Mar-09 0:04 
GeneralRe: Desktop Calender Repost Pin
0x3c01-Mar-09 0:22
0x3c01-Mar-09 0:22 
GeneralRe: Desktop Calender Repost Pin
WinSolution1-Mar-09 2:32
WinSolution1-Mar-09 2:32 
GeneralRe: Desktop Calender Repost Pin
0x3c01-Mar-09 6:27
0x3c01-Mar-09 6:27 
AnswerRe: Desktop Calender Repost Pin
AKNR Chandra Sekhar19-Mar-09 8:47
AKNR Chandra Sekhar19-Mar-09 8:47 
QuestionSaving User and Application Settings in WinForms Pin
Sokka9328-Feb-09 21:29
Sokka9328-Feb-09 21:29 
AnswerRe: Saving User and Application Settings in WinForms Pin
ABitSmart1-Mar-09 0:30
ABitSmart1-Mar-09 0:30 
GeneralRe: Saving User and Application Settings in WinForms Pin
Sokka931-Mar-09 0:54
Sokka931-Mar-09 0:54 
AnswerRe: Saving User and Application Settings in WinForms Pin
Henry Minute1-Mar-09 1:23
Henry Minute1-Mar-09 1:23 
QuestionFile Not Found Exception Handling Pin
Lim Yuxuan28-Feb-09 21:29
Lim Yuxuan28-Feb-09 21:29 
AnswerRe: File Not Found Exception Handling Pin
0x3c028-Feb-09 23:16
0x3c028-Feb-09 23:16 

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.