SetWinFullScreen() 공개 정적인 메소드

public static SetWinFullScreen ( IntPtr hwnd ) : void
hwnd System.IntPtr
리턴 void
예제 #1
0
 public static void Maximize(Form targetForm)
 {
     if (!IsMaximized)
     {
         IsMaximized = true;
         Save(targetForm);
         targetForm.WindowState     = FormWindowState.Maximized;
         targetForm.FormBorderStyle = FormBorderStyle.None;
         //targetForm.TopMost         = true;
         WinApi.SetWinFullScreen(targetForm.Handle);
     }
 }