void LoadWinSettings() { if (WindowSettings.LoadSettings()) { WindowSizeCoef = WindowSettings.WindowSizeCoef; WindowPosition = WindowSettings.cameraWindowPosition; } DoResizeWindow(WindowSizeCoef); }