in the desing mode i put visible in false and then i put a button with this code



protected void Button1_Click(object sender, EventArgs e)
{
    Window1.Visible = true;
}
in Windows XP don't have problem,

but if i use windows vista to compile the code i can't see the windows control when it is running.