Example #1
0
        private void OnTeraScreenChanged(System.Drawing.Point oldPos, System.Drawing.Point newPos, Size size)
        {
            var op = new Point(oldPos.X, oldPos.Y);                    //sigh
            var np = new Point(newPos.X, newPos.Y);                    //sigh
            var s  = new System.Windows.Size(size.Width, size.Height); //sigh

            WindowSettings.ApplyScreenOffset(op, np, s);
            ReloadPosition();
        }