Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1.  private void applySettings()
  2.         {
  3.             if (isWindowMaximized)
  4.             {
  5.                 this.mainForm.WindowState = FormWindowState.Maximized;
  6.             }
  7.             updateMenu();
  8.         }
  9.  
  10.         private void grapSettings()
  11.         {
  12.             if ( this.mainForm.WindowState == FormWindowState.Maximized )
  13.             {
  14.                 isWindowMaximized = true;
  15.             }
  16.             else
  17.             {
  18.                 isWindowMaximized = false;
  19.             }
  20.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement