Is there a way to programmatically minimize a window
FormName.WindowState = FormWindowState.Minimized;
private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
if(e.KeyChar == 'm')
this.WindowState = FormWindowState.Minimized;
}
<form>.WindowState = FormWindowState.Minimized;
in c#.net
this.WindowState = FormWindowState.Minimized