请介绍一款软件

唐诗三百首 2011-02-17 06:37:03
在做一个小型图片管理软件,
图片(jpg,bmp,tif..)打开时,
需具有鼠标滑轮进行放大/缩小.(windows默认的图片查看机既有此功能)
鼠标点下时相当于画笔(粗细/颜色可程序中设置).
请问与无现成的第三方软件可直接调用,请各位介绍一款,谢谢!

...全文
125 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
唐诗三百首 2011-02-17
  • 打赏
  • 举报
回复
还有鼠标滑轮进行放大/缩小
最好是线性的,就像windows自带的图片查看软件那样.
唐诗三百首 2011-02-17
  • 打赏
  • 举报
回复
有无VB代码为佳,
其中可以进行"鼠标滑轮进行放大/缩小"吗??
wuyq11 2011-02-17
  • 打赏
  • 举报
回复
picturebox放大缩小
pictureBox1.SizeMode = PictureBoxSizeMode.Zoom
private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
if (pictureBox1.Width < 1000)
{
pictureBox1.Width = Convert.ToInt32(pictureBox1.Width * 1.2);
pictureBox1.Height = Convert.ToInt32(pictureBox1.Height * 1.2);
}
}
if (e.Button == MouseButtons.Right)
{
if (pictureBox1.Width > 600)
{
pictureBox1.Width = Convert.ToInt32(pictureBox1.Width / 1.2);
pictureBox1.Height = Convert.ToInt32(pictureBox1.Height / 1.2);
}
}
}


http://topic.csdn.net/u/20091128/22/bfc1ac62-697c-4faa-904b-fd3f1013cb97.html?seed=1551023250&r=61520509

4,816

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 图表区
社区管理员
  • 图表区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧