Monday, November 26, 2007

MDIParent and/or Parent Property is Null! Timing Issue

One of the problems I faced today was when I was attempting to reference some properties of the MDIParent of a child form.

The code was executing in the constructor scope of the child form. It turns out that until the Activation scope any attempt to reference the parent form will result in a null value.

So I moved the neccessary code to a method wired up to the Active event of the form and received a reference as expected.

40 comments:

Anonymous said...

Excellent goods from you, man. I've have in mind your stuff prior to and you are simply extremely great. I actually like what you've received here, really like what you're saying and the best way during which you assert it. You're making it entertaining and you continue to take care of to keep it sensible.
I can not wait to read much more from you. This
is really a wonderful site.


Ultra Force review **

Anonymous said...

Hi there! I could have sworn I've been to this web site before but after looking at a few of the articles I realized it's new to me.

Anyways, I'm certainly pleased I discovered it and I'll be bookmarking it and checking back often!


Check out my blog ... small business loans

Anonymous said...

Hey very nice blog!

Le Parfait

Anonymous said...

Hi there! This is my 1st comment here so I just wanted to give a quick shout out and tell you I truly enjoy
reading through your blog posts. Can you suggest any
other blogs/websites/forums that go over the same topics?

Thanks a ton!

My web page - Rejuvenex info

Anonymous said...

Great post however , I was wondering if you could write a litte more on this subject?

I'd be very thankful if you could elaborate a little bit further. Cheers!

how to build muscle

Anonymous said...

WOW just what I was looking for.
MM health tips

Anonymous said...

I am so grateful for your article. Much thanks.
Instagram Downloader

Instagram Downloader said...

Really helpful article. Great share
Downloader4Insta

Wiral Eyes said...

I am so grateful for your article. Much thanks.
IMessag

Marcus Unger said...

Really helpful article. Great share
Buy Insta Followers

Unknown said...

Thank you for your helpful post. nice article. packagingcompany

Anonymous said...

Really helpful article. Great share
VOVO GIFTS

STARS HIDE said...

Really helpful article. Great share
APPLE MAGIC MOUSE

Unknown said...

Thanks for this list. I have check all of these websites all are in working condition. and I can get many of the backlinks for my website.thanks packagingcompany

Zubair Ahmad said...

Your article is good for current affairs.
Guardrail

Ella Logan said...

I'm a little late perusing this blog, particularly a portion of the posts, yet got the chance to state... everything here is so incredible thus evident. As somebody who's initially from the zone. Read More

Michael said...

Really helpful article. Great share
iMessage Android

Maya said...

Really helpful article. Great share
Wiki link Pack Cash

kuch bhi said...

Really helpful article. Great share
Forex Brokers

STARS HIDE said...

Really helpful article. Great share
Profile links Ianboer

Shaheryar said...

About Best Wireless Mouses Review:
Best Wireless Mouses is an incredible platform that claims to provide extensive reviews of the best wireless mouses. You can read reviews, check prices, and get to know about the solutions of your queries regarding wireless mouses.

Best wireless mouses
Wireless Mouses
Best of our product

jimmycharlis said...


GFYCAT

gifyu

stylemepretty

gust

forums

Post a Comment

<< Home

jimmycharlis said...


Really helpful article. Great share

gfycate

gifyu

stylemepretty

gust

powwos

awais chaudhry said...

Really helpful article. Great share

register88m

vw88vn

vw88love

vw88thai

bbs c0 99

fortress

aquariumcomputer

btc357

free edu

awais chaudhry said...

Really helpful article. Great share

adsoftheworld

lion q2market

widys offical

whanswers

rescuedigitalmedia

shamefool

expresstracking

clasifiods

hunduser

balepilipinas

Window Shades said...

I have read your blog its really good and awesome. Shade Pull is offering Shade Brackets in high quality material.

Asher said...

10ml Bottle Boxes Packaging providing services for custom packaging boxes.

admin said...

Realy helpful thanks for sharing
Brand up your products with your logo is very importan

point and Custom Boxes World is the best

platform for you.

Yousaf said...

"Best Wireless Mouse is a great way to upgrade your peripherals. Thanks

Best Wireless Mouses

Best Wireless Mouses

Best Wireless Mouses

Best Wireless Mouses

Best Wireless Mouses
"

Yousaf said...

"""Best Wireless Mouse is a great way to upgrade your peripherals"". Thanks

Best Wireless Mouses

Best Wireless Mouses

Best Wireless Mouses

Best Wireless Mouses

Best Wireless Mouses"

Yousaf said...

"""Best Wireless Mouse is a great way to upgrade your peripherals"". Thanks

Best Wireless Mouses

Best Wireless Mouses

Best Wireless Mouses

Best Wireless Mouses"

The House Removals said...

nice

The House Removals said...

help an older person manage their anxiety during move
how to move smoothly
best tips for moving
questions to ask before moving
tips for successful move

jimmycharlis said...

Really helpful article. Great share

growthhackers

The House Removals said...

great share.
also visit very informaive articles for the best removing services.
solutions for moving easily at a low cost
Hidden Prices to move
solutions for moving easily at a low cost
Tips for the long distance move
how to choose a mover

Valencia home theater seating said...

Good information thanks for sharing.
The Advanced Healing Wellness Center (AHWC) highlights a holistic approach to health and wellness. We suggest to each customer to improve a strategy of action tailored to his or her separate requirements. Our goalmouth is to participate in physical, emotional, mental, nutritional, and spiritual mechanisms and restore equilibrium secretly and externally.
Holistic Wellness Center in Pembroke Pines, Florida. Traditional Chinese Medicine, Ayurveda, Nutritional Counseling, Chiropractic, Massage Therapy & More
ayurveda wellness center


vata pitta

healing wellness


vertical Blinds said...

Impress Blinds Ltd is providing excellent and attractive Roller window blinds in Batley, UK. With Roller window Blinds, you can enhance the beauty and attraction of your house, office. If you live in UK then you can avail our low cost Roller window blinds. 3 Roller blinds for £119 with selection of multiple colors.We have been working for the last 7 years and we are supplying everywhere throughout the UK For free measuring, contact us or visit our store.
visit our website

vertical Blinds said...

Impress Blinds Ltd can help you out by providing excellent quality and cheap venetian blinds in United Kingdom. If you need impressive and perfect Venetian Blinds Fitted Inside Glass, our new Venetian Blinds are the best option. By spending some pounds you can avail our Venetian blinds to decorate your house and office. With a structure and fitting style that makes these fit Between the Glass Blinds for Windows, this new style by Impress Blinds are perfect and enhance the beauty of your house. You will have the option to slide them up or down opening or closing your windows blinds proficiently. Impress Blinds has thought of an ideal method to coordinate them with a progressed attractively controlled sliding system. Feel free to contact us
https://asiaposts.com/guest-room-makeover-ideas-without-spending-much-money/

House RemovalsTwickenham said...

Want to personalize your home? Bet everything on one color. Take green for example. How to integrate it subtly and without breaking the bank? Nothing's easier. Wood window blinds are full of ideas to reinvent your interior with window blinds.
By small elements: we change its suspension, create a splashback in this color and we illuminate the place by changing the oilcloth on the table. Peas and a variety of green will do! Wood window blinds is providing different and elegant blinds that will increase the attraction of your home and office.
how to choose your window blinds

blank cereal boxes said...

Get error-free packaging for your blank cereal boxes with incredible design and personalize size and shapes from BoxesMe. Our purpose is to give you the best so every epicure sticks to your brand. Our supreme-quality boxes will make sure the safety of your product and keep the product not only safe but keep up the genuine taste and freshness.
custom cereal box
cardboard-display-boxes
custom cardboard boxes
lipstick boxes