FarPoint.Win アセンブリ > FarPoint.Win 名前空間 > ElementWindowless クラス : ResetPictureTransparencyColor メソッド |
'Declaration Public Overridable Sub ResetPictureTransparencyColor()
'使用法 Dim instance As ElementWindowless instance.ResetPictureTransparencyColor()
public virtual void ResetPictureTransparencyColor()
control.Picture = Image.FromFile("d:\overlay.bmp"); control.MarginTop = 3; control.MarginBottom = 3; control.PictureTransparencyColor = Color.Blue; private void button1_Click(object sender, System.EventArgs e) { control.ResetPictureTransparencyColor() }
control.Picture = Image.FromFile("d:\overlay.bmp") control.MarginTop = 3 control.MarginBottom = 3 control.PictureTransparencyColor = Color.Blue Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click control.ResetPictureTransparencyColor() End Sub