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

C#

 
AnswerRe: Confusion Pin
Abhinav S11-Jul-12 21:41
Abhinav S11-Jul-12 21:41 
AnswerRe: Confusion Pin
OriginalGriff11-Jul-12 21:41
mveOriginalGriff11-Jul-12 21:41 
AnswerRe: Confusion Pin
BillWoodruff14-Jul-12 15:17
professionalBillWoodruff14-Jul-12 15:17 
General[SOLVED] Adding Forms to TabControl Pin
AmbiguousName11-Jul-12 18:27
AmbiguousName11-Jul-12 18:27 
AnswerRe: Adding Forms to TabControl Pin
BobJanova11-Jul-12 23:29
BobJanova11-Jul-12 23:29 
GeneralRe: Adding Forms to TabControl Pin
AmbiguousName12-Jul-12 0:13
AmbiguousName12-Jul-12 0:13 
GeneralRe: Adding Forms to TabControl Pin
BobJanova12-Jul-12 4:05
BobJanova12-Jul-12 4:05 
GeneralRe: Adding Forms to TabControl Pin
AmbiguousName12-Jul-12 20:11
AmbiguousName12-Jul-12 20:11 
BobJanova wrote:
I think our Forms were hosted on a Panel inside the TabPage, try that.

Does that work? Cause panels, themselves, are not stand-alone and need some container (just like tabpages need tab control).

Anyway, I had to play with properties of Form as I saw your first solution on couple of web sites. Here is tricky solution.
TabPage tab1 = tabCtrl.TabPages["TabName"];

Form.TopLevel = false;
Form.FormBorderStyle = FormBorderStyle.None;

Form.Parent = tab1;
Form.Visible = true; // this is what most solutions on other web sites lacked

tab1.Controls.Add(Form);


Cheers Smile | :)

This world is going to explode due to international politics, SOON.

GeneralExposing a queue as a public property Pin
JoeRip11-Jul-12 17:44
JoeRip11-Jul-12 17:44 
GeneralRe: Exposing a queue as a public property Pin
PIEBALDconsult11-Jul-12 19:50
mvePIEBALDconsult11-Jul-12 19:50 
GeneralRe: Exposing a queue as a public property Pin
Abhinav S11-Jul-12 19:59
Abhinav S11-Jul-12 19:59 
GeneralRe: Exposing a queue as a public property Pin
BobJanova11-Jul-12 23:27
BobJanova11-Jul-12 23:27 
GeneralRe: Exposing a queue as a public property Pin
JoeRip12-Jul-12 6:58
JoeRip12-Jul-12 6:58 
GeneralRe: Exposing a queue as a public property Pin
BobJanova12-Jul-12 23:41
BobJanova12-Jul-12 23:41 
GeneralRe: Exposing a queue as a public property Pin
PIEBALDconsult13-Jul-12 3:44
mvePIEBALDconsult13-Jul-12 3:44 
GeneralRe: Exposing a queue as a public property Pin
JoeRip13-Jul-12 8:35
JoeRip13-Jul-12 8:35 
GeneralRe: Exposing a queue as a public property Pin
PIEBALDconsult14-Jul-12 4:13
mvePIEBALDconsult14-Jul-12 4:13 
QuestionPost build event using XML Pin
manishsaiin11-Jul-12 5:58
manishsaiin11-Jul-12 5:58 
AnswerRe: Post build event using XML Pin
Dave Kreskowiak11-Jul-12 7:03
mveDave Kreskowiak11-Jul-12 7:03 
AnswerRe: Post build event using XML Pin
eupendra15-Jul-12 18:58
eupendra15-Jul-12 18:58 
QuestionAn unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code Pin
manikantaer11-Jul-12 2:40
manikantaer11-Jul-12 2:40 
AnswerRe: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code Pin
BobJanova11-Jul-12 2:45
BobJanova11-Jul-12 2:45 
GeneralRe: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code Pin
manikantaer11-Jul-12 17:45
manikantaer11-Jul-12 17:45 
AnswerRe: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code Pin
Wes Aday11-Jul-12 3:03
professionalWes Aday11-Jul-12 3:03 
AnswerRe: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code Pin
Dave Kreskowiak11-Jul-12 4:29
mveDave Kreskowiak11-Jul-12 4:29 

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.