資源簡介
WinForm 實現圖片滾動
拖一個Timer和一個Panal控件
#region 把picbox綁定到Panal的最右邊
private void GetImagePath(string strImagePath)
{
//1.在窗體中拖一個Panal控件
//2、定義一個PicBox用來存儲圖片,picbox的高度、寬度與Panal的高度相同
//3、實現圖片從右向左滾動:picbox.left=panal.right-picbox.Width
_pb
代碼片段和文件信息
評論
共有 條評論