public static void ApplyChangesIfModified() { if (layoutWidth != EMCli.LayoutWidth || layoutHeight != EMCli.LayoutHeight) { EMCli.SetupGUI(layoutWidth, layoutHeight); } }