i have created a form and set its FormBorderStyle property to none.
when i press Windows + UP form will be Maximized. how can i prevent form from maximize?
i tried
private void logIn_Resize(object sender, EventArgs e)
{
this.WindowState = FormWindowState.Normal;
}
but its not that i want. with above code when i press Windows + Up form will maximize and then it restores to normal state. but i want to prevent it basically.