2020
10-08
10-08
c# 实例——绘制波浪线(附源码)
效果图界面绘制操作privatePoint?_startPoint=null;privatevoidContainerCanvas_OnPreviewMouseLeftButtonDown(objectsender,MouseButtonEventArgse){varposition=e.GetPosition(ContainerCanvas);if(_startPoint==null){_startPoint=position;}else{//删除预览if(_previewLineElement!=null){ContainerCanvas.Children.Remove(_previewLine...
继续阅读 >