摘要: // 选择文件: private string SelectPath() { string path = string.Empty; var openFileDialog = new Microsoft.Win32.OpenFileDialog() { Filter = "Files (*.*)|*.*"//如果需要筛选txt文件("Files (*.tx... 阅读全文
posted @ 2016-11-04 18:09 xiao贝 阅读(30434) 评论(2) 推荐(1)
摘要: ==》InkCanvas设置位置跟Canvas一样。通过InkCanvas.Top之类的设置,需要设置的属性有EditingMode,来自于InkCanvasEditingMode枚举。有7个属性1.None=0// 忽略鼠标和手写笔输入2.Ink = 1// 允许用户绘制批注,默认模式。使用鼠标或 阅读全文
posted @ 2016-11-04 17:47 xiao贝 阅读(2217) 评论(0) 推荐(0)