protected override void OnLoad(System.EventArgs e)
{
this.ClientSize = CalcClientSize();
if ((this.flags != 0) && (this.flags != SHOWCLOSEBUTTON))
{
if (this.CloseOnKeyPress)
{
this.windowsHook.KeyBoardHook += new Balloon.NET.Hooks.KeyBoardHookEventHandler(this.windowsHook_KeyBoardHook);
}
if ((this.CloseOnMouseClick) || (this.CloseOnMouseMove))
{
this.windowsHook.MouseHook += new Balloon.NET.Hooks.MouseHookEventHandler(this.windowsHook_MouseHook);
}
windowsHook.HookCurrentThread();
}
if (this.EnableTimeout)
{
timer1.Start();
}
base.OnLoad(e);
}