c**t 发帖数: 2744 | 1 actually it's kind of working. When a long running job fired, as the
picturebox
running in the same thread, it's not redrawn. Once job is done, the
animation starts. I will try to use another thread for the picturebox. |
|
s**e 发帖数: 395 | 2 正在学习VB.NET 2012
想写一个灰常简单的Windows Store App来作图:比如用鼠标点两点,画一线连接起来
看了半天,如果不是Windows Store App,用PictureBox就搞定,但是VB.NET 2012选择
Windows Store App后,就没有普通PictureBox。
怎么画呢?
恳请某位大侠能给个阅读/踢狗方向,谢谢! |
|
e*********s 发帖数: 200 | 3 then make your own control using listview, picturebox, etc....should not be
hard... :) |
|
j*****o 发帖数: 320 | 4 ft, 不会。
then make your own control using listview, picturebox, etc....should not be
hard... :) |
|
j*****o 发帖数: 320 | 5 不需要复杂的功能,就是能有规律的每行摆几个Picturebox和多行的Label. |
|
r****y 发帖数: 26819 | 6 I think an easy way is to use PictureBox, and you can easily generate a
picture of a line or a box or 4 lines to form a box of any size using pic
editing software.
An advantage is: you can use png/emf file type. Resolution can be quite good. |
|
c**t 发帖数: 2744 | 7 I have an animation gif file assigned to pictureBox:
pbStatus.Image = System.Drawing.Image.FromFile("runningRabbit.gif")
in designer the rabbit is running, but when run from debugger or released
app,
the rabbit is still. What's wrong? |
|
d*r 发帖数: 238 | 8 当我有一些jpg文件,Dimension 是800x600,我要用1024x768来显示的时候,有些图像的
边缘就出现锯齿。
我不知道用什么方法能去掉这些锯齿。
我用了Graphics2D和AffineTransform的scale() function.
如果用C#的PictureBox就没有任何锯齿出现。 |
|
c**t 发帖数: 2744 | 9 【 以下文字转载自 DotNet 讨论区 】
发信人: cogt (苦荆茶), 信区: DotNet
标 题: PicutureBox and GIF
发信站: BBS 未名空间站 (Wed Jun 27 10:53:37 2007), 转信
I have an animation gif file assigned to pictureBox:
pbStatus.Image = System.Drawing.Image.FromFile("runningRabbit.gif")
in designer the rabbit is running, but when run from debugger or released
app,
the rabbit is still. What's wrong? |
|
k*k 发帖数: 508 | 10 不知道你说的是哪个控件
ListView 有 BeginUpdate(), EndUpdate() 可以在更新完所有 ListViewItem 以后
一起 update
PictureBox 的话,可以监视 Paint 事件,用 Graphics 更新,最后 Invalidate() |
|