init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Windows.Forms;
|
||||
using System.Text;
|
||||
|
||||
namespace ControlLib.com
|
||||
{
|
||||
/// <summary>
|
||||
/// 简单图片控件,从PictureBox继承,只是为了设置双缓冲
|
||||
/// </summary>
|
||||
public partial class SingleImage : PictureBox
|
||||
{
|
||||
public SingleImage()
|
||||
{
|
||||
//设置双缓冲
|
||||
this.SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint, true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 附带参数
|
||||
/// </summary>
|
||||
private object m_Source = null;
|
||||
public object Source
|
||||
{
|
||||
get { return m_Source; }
|
||||
set { m_Source = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user