private void c1PdfViewer1_MouseUp(object sender, MouseButtonEventArgs e)
{
System.Windows.MessageBox.Show(Mouse.GetPosition(c1PdfViewer1).ToString());
System.Windows.MessageBox.Show(c1PdfViewer1.PointFromScreen(Mouse.GetPosition(c1PdfViewer1)).ToString());
}
你看看我这个代码写的有问题么?
System.Windows.MessageBox.Show(Mouse.GetPosition(c1PdfViewer1).ToString());的值会改变,
但是使用c1PdfViewer1.PointFromScreen方法,得到的值是不变的。 |