示例#1
0
        private void Window_LocationChanged(object sender, EventArgs e)
        {
            _previousWindowLocaiton = new WindowLocation();

            if (Left >= 0 && Top >= 0)
            {
                User.Default.WindowLeft = Left;
                User.Default.WindowTop  = Top;
                User.Default.Save();
            }
        }
示例#2
0
		private void Window_LocationChanged(object sender, EventArgs e)
		{
			_previousWindowLocaiton = new WindowLocation();

			if (Left >= 0 && Top >= 0)
			{
				User.Default.WindowLeft = this.Left;
				User.Default.WindowTop = this.Top;
				User.Default.Save();
			}
		}