Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (176.14 KB, 9 trang )
if(BitmapFilter.Color(m_Bitmap, dlg.red, dlg.green,
dlg.blue))
this.Invalidate();
}
}
Download source code tại Sharecode.vn
Thủ tục chuyển màu đổi ảnh theo ý muốn với 3 màu đặc trưng: đỏ, xanh lá,
xanh biển.
protected override void Dispose( bool disposing )
{
if( disposing )
{
if(components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
public int red
{
get
{
return (Convert.ToInt32(Red.Text, 10));
}
set{Red.Text = value.ToString();}
}
public int green