Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# minimize form



private void Form1_KeyPress(object sender, KeyPressEventArgs e)
{
     if(e.KeyChar == 'm')
         this.WindowState = FormWindowState.Minimized;
}


Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #minimize #form
ADD COMMENT
Topic
Name
5+6 =