SaveMainFormSize() public static méthode

public static SaveMainFormSize ( int width, int height ) : void
width int
height int
Résultat void
 private void MainForm_ResizeEnd(object sender, EventArgs e)
 {
     if (WindowState == FormWindowState.Normal)
     {
         Config.SaveMainFormSize(Width, Height);
     }
 }
        private void UpdateFormSize()
        {
            int[] size = Config.ReadMainFormSize();

            if ((size[0] == 0) || (size[1] == 0))
            {
                Config.SaveMainFormSize(Width, Height);
            }
            else
            {
                Width  = size[0];
                Height = size[1];
            }
        }