Пример #1
0
        public void ScreenPosition()
        {
            Console.WriteLine("ScreenPositionTest ----------------------");
            Rectangle original = new Rectangle(10, 10, 100, 100);

            UserOptions.SaveScreenPosition(original);
            Rectangle position = UserOptions.LoadScreenPosition();

            Assert.IsTrue(position.Equals(original));
            Console.WriteLine(UserOptions.OptionsDoc.ToString(System.Xml.Linq.SaveOptions.None));
        }