Click here to Skip to main content
   

C#

 
GeneralRe: Connection String in Properties.Settings PinmemberSledgeHammer0129-Dec-12 8:56 
GeneralRe: Connection String in Properties.Settings Pinmemberjschell30-Dec-12 9:33 
GeneralRe: Connection String in Properties.Settings PinmemberSledgeHammer0130-Dec-12 9:56 
GeneralRe: Connection String in Properties.Settings Pinmemberjschell31-Dec-12 10:00 
GeneralRe: Connection String in Properties.Settings PinmemberSledgeHammer0131-Dec-12 11:11 
GeneralRe: Connection String in Properties.Settings Pinmemberjschell1-Jan-13 7:58 
AnswerRe: Connection String in Properties.Settings PinmemberPIEBALDconsult28-Dec-12 15:32 
GeneralRe: Connection String in Properties.Settings PinmemberTheJudeDude28-Dec-12 16:47 
Questionbasic question close and collapse methods Pingroupmehdi.sabet28-Dec-12 4:22 
AnswerRe: basic question close and collapse methods PinmemberMarcus Kramer28-Dec-12 4:29 
GeneralRe: basic question close and collapse methods Pingroupmehdi.sabet28-Dec-12 4:42 
AnswerRe: basic question close and collapse methods PinmemberPIEBALDconsult28-Dec-12 4:33 
Questionset the parent form size according to child form in mdi form PinmemberArun kumar Gautam28-Dec-12 2:12 
AnswerRe: set the parent form size according to child form in mdi form PinmemberMatt U.28-Dec-12 5:16 
In the MDI container form, subscribe to the child form's SizeChanged event:

private void NewChildForm()
{
    ChildForm child = new ChildForm();
    child.MdiParent = this;
    child.SizeChanged += new EventHandler(this.childForm_SizeChanged);
}
 
private void childForm_SizeChanged(object sender, EventArgs e)
{
    Form child = sender as Form;
    this.Size = new Size(child.Width, child.Height);
}

Something like that should get the job done. Just adjust the "new Size(int, int)" call accordingly.
djj55: Nice but may have a permission problem
Pete O'Hanlon: He has my permission to run it.

AnswerRe: set the parent form size according to child form in mdi form PinmemberEddy Vluggen28-Dec-12 10:04 
QuestionSelected rows in a gridview Pinmemberrakeshs31227-Dec-12 20:26 
AnswerRe: Selected rows in a gridview Pinmembervanikanc28-Dec-12 7:48 
GeneralRe: Selected rows in a gridview Pinmemberrakeshs31228-Dec-12 19:48 
AnswerRe: Selected rows in a gridview PinmvpAbhinav S29-Dec-12 0:39 
QuestionSliding an Image on another Image PinmemberShubhanshu Pathak27-Dec-12 19:09 
QuestionSerial Port Won't Send While Receiving PinmemberC-P-User-327-Dec-12 16:13 
AnswerRe: Serial Port Won't Send While Receiving PinmvpRichard MacCutchan27-Dec-12 22:45 
GeneralRe: Serial Port Won't Send While Receiving PinmemberC-P-User-328-Dec-12 6:21 
GeneralRe: Serial Port Won't Send While Receiving PinmvpRichard MacCutchan28-Dec-12 6:45 
GeneralRe: Serial Port Won't Send While Receiving PinmemberC-P-User-328-Dec-12 6:59 
GeneralRe: Serial Port Won't Send While Receiving PinmvpRichard MacCutchan28-Dec-12 7:40 
AnswerRe: Serial Port Won't Send While Receiving PinmemberGrooverFromHolland28-Dec-12 8:04 
AnswerRe: Serial Port Won't Send While Receiving Pinmemberjschell28-Dec-12 10:53 
GeneralRe: Serial Port Won't Send While Receiving PinmemberC-P-User-331-Dec-12 11:54 
GeneralRe: Serial Port Won't Send While Receiving PinmemberC-P-User-31-Jan-13 14:35 
GeneralRe: Serial Port Won't Send While Receiving PinmemberC-P-User-31-Jan-13 14:36 
GeneralRe: Serial Port Won't Send While Receiving PinmemberGrooverFromHolland2-Jan-13 0:41 
GeneralRe: Serial Port Won't Send While Receiving PinmemberC-P-User-32-Jan-13 5:25 
GeneralRe: Serial Port Won't Send While Receiving PinmemberC-P-User-37-Jan-13 10:21 
QuestionQuestion about split PinmemberS Douglas27-Dec-12 7:32 
AnswerRe: Question about split PinmemberPIEBALDconsult27-Dec-12 8:20 
GeneralRe: Question about split PinmemberS Douglas27-Dec-12 9:04 
GeneralRe: Question about split PinmemberSledgeHammer0127-Dec-12 11:38 
GeneralRe: Question about split [modified] PinmemberPIEBALDconsult27-Dec-12 12:03 
GeneralRe: Question about split PinmemberS Douglas27-Dec-12 12:29 
GeneralRe: Question about split PinmemberSledgeHammer0127-Dec-12 14:34 
GeneralRe: Question about split [modified] PinmemberPIEBALDconsult27-Dec-12 14:59 
GeneralRe: Question about split PinmemberSledgeHammer0127-Dec-12 15:29 
GeneralRe: Question about split PinmemberPIEBALDconsult27-Dec-12 16:10 
GeneralRe: Question about split PinmemberPIEBALDconsult27-Dec-12 17:14 
GeneralRe: Question about split PinmemberSledgeHammer0127-Dec-12 18:24 
GeneralRe: Question about split [modified] PinmemberApril Fans27-Dec-12 15:14 
QuestionDebugging C# application using WinDbg 6.12.0002.633 [modified] PinmemberSharath C V27-Dec-12 1:20 
QuestionHOW TO ADD LINK TAG IN CODE OF ASPX.CS PAGE ALONG WITH TAB TEXT TO OPEN LINK. Pinmembersaurabh pintu goel26-Dec-12 20:51 
AnswerRe: HOW TO ADD LINK TAG IN CODE OF ASPX.CS PAGE ALONG WITH TAB TEXT TO OPEN LINK. PinmvpOriginalGriff27-Dec-12 5:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web03 | 2.8.150414.1 | Last Updated 21 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid