Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# minimize form

this.WindowState = FormWindowState.Minimized;
Comment

c# minimize form



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


Comment

minimize window windows forms application c#

Windows forms:
this.WindowState = FormWindowState.Minimized;

WPF:
this.WindowState = WindowState.Minimized;
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# mark as deprecated 
Csharp :: unity scene change 
Csharp :: how to make mouse invisible unity 
Csharp :: unity if in editor 
Csharp :: unity foreach child 
Csharp :: open link c# 
Csharp :: c# store byte array as string 
Csharp :: c# string equals ignore case 
Csharp :: c# getasynckeystate mouse 
Csharp :: c# async sleep 
Csharp :: camera follow 
Csharp :: object spin unity 
Csharp :: unity ray from mouse position 
Csharp :: Uncaught TypeError: $(...).validate is not a function 
Csharp :: change height of rect transform unity 
Csharp :: enable script unity 
Csharp :: asp.net core .gitignore 
Csharp :: camera follow player unity smooth 
Csharp :: check last character of a string c# 
Csharp :: add two numbers in c# 
Csharp :: open website c# 
Csharp :: C#: convert array of integers to comma separated string 
Csharp :: remove all non number in c# 
Csharp :: c# remove accents 
Csharp :: unity string array 
Csharp :: c# unity camera follow player horizontal axis 
Csharp :: if get key down unity 
Csharp :: Unity Rotate around the real center 
Csharp :: mouse click unity raycast unity 
Csharp :: public static void Load 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =