Beispiel #1
0
        private void goToToolStripMenuItem_Click(object sender, EventArgs e)
        {
            using (GoTo f = new GoTo())
            {
                if (f.ShowDialog() == DialogResult.OK)
                {
                    _offsetX = -(int)f.TargetPoint.Value.X;
                    _offsetY = -(int)f.TargetPoint.Value.Y;

                    Invalidate(true);
                }
            }
        }
Beispiel #2
0
        private void goToToolStripMenuItem_Click(object sender, EventArgs e)
        {
            using (GoTo f = new GoTo())
            {
                if (f.ShowDialog() == DialogResult.OK)
                {
                    _offsetX = -(int)f.TargetPoint.Value.X;
                    _offsetY = -(int)f.TargetPoint.Value.Y;

                    Invalidate(true);
                }
            }
        }