Click here to Skip to main content
12,395,548 members (60,760 online)
   

C#

 
Questionexport or save as pdf format Pin
abhishek80800025-Feb-13 17:50
memberabhishek80800025-Feb-13 17:50 
AnswerRe: export or save as pdf format Pin
Pete O'Hanlon25-Feb-13 20:02
protectorPete O'Hanlon25-Feb-13 20:02 
AnswerRe: export or save as pdf format Pin
Abhinav S25-Feb-13 20:22
mvpAbhinav S25-Feb-13 20:22 
QuestionChanging tabbed form over to tiled Pin
MichCl25-Feb-13 9:27
memberMichCl25-Feb-13 9:27 
I have a tabbed form and I'm trying to switch it over to tiled. It looks like this:

TabPage newPage = new TabPage(string.Format("{0}:{1}", cb1.cbInfos[i].usbHandle, cb1.cbInfos[i].boxID));
InitializeControls(controls[i]);
tabCtrlMain.Size = (controls[i].Size);
tabCtrlMain.Width += 20;
tabCtrlMain.Height += 100;
this.Width = tabCtrlMain.Width + 20;
this.Height = tabCtrlMain.Height + 50;
newPage.Controls.Add(controls[i]);
tabCtrlMain.TabPages.Add(newPage);

I saw this example, http://sharpertutorials.com/multiple-document-interface-mdi/[^], but this looks different because they are changing where it refers to Run new Form to Run new Mdi
example:
Application.Run(new Form1());
to
 Application.Run(new MDIParent1());

but I'm not seeing where I have that sort of thing to switch over. Does anyone have any ideas how to switch over to tiled from tabbed? I'm fine with the contents of my controls[i] containing the correct information. The tabbed forms look fine. We decided to change the look because we think it will work better with this application. Thanks!
AnswerRe: Changing tabbed form over to tiled Pin
Dave Kreskowiak25-Feb-13 9:33
mvpDave Kreskowiak25-Feb-13 9:33 
GeneralRe: Changing tabbed form over to tiled Pin
MichCl26-Feb-13 9:16
memberMichCl26-Feb-13 9:16 
GeneralRe: Changing tabbed form over to tiled Pin
Dave Kreskowiak26-Feb-13 9:40
mvpDave Kreskowiak26-Feb-13 9:40 
QuestionForce Beep...! Pin
Jassim Rahma25-Feb-13 2:57
memberJassim Rahma25-Feb-13 2:57 
AnswerRe: Force Beep...! Pin
Richard MacCutchan25-Feb-13 3:09
mvpRichard MacCutchan25-Feb-13 3:09 
AnswerRe: Force Beep...! Pin
Dave Kreskowiak25-Feb-13 3:56
mvpDave Kreskowiak25-Feb-13 3:56 

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.


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 24 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid