随笔分类 - WinForm
摘要:Winform获取应用程序的当前路径的方法集合,具体如下,值得收藏//获取当前进程的完整路径,包含文件名(进程名)。stringstr=this.GetType().Assembly.Location; result:X:\xxx\xxx\xxx.exe(.exe文件所在的目录+.exe文件名)//...
阅读全文
摘要:img.RotateFlip(RotateFlipType.Rotate90FlipNone);顺时针旋转90度 RotateFlipType.Rotate90FlipNone 逆时针旋转90度 RotateFlipType.Rotate270FlipNone 水平翻转 RotateFlipType.Rotate180FlipY 垂直翻转 RotateFlipType.Rotate180FlipX
阅读全文

浙公网安备 33010602011771号