/// <summary> /// Resize of application window /// </summary> private static void ResizeWindow(string name) { Rectangle scBounds = GetResolutionOfTheScreen(); ResizingWindow.SetPositionSize(name, scBounds.X + 10, scBounds.Y + 10, scBounds.Width - 20, scBounds.Height - 20); }
private static void SetPositionWindow(string name) { Rectangle scBounds = GetResolutionOfTheScreen(); ResizingWindow.SetPosition(name, scBounds.X + 10, scBounds.Y + 10); }