P
Piotr
System.Windows.Forms.Control
1. virtual fuctions OnPaint, OnCreated are breaking, but System.EventHandler
is good
..
2.SetStyle(System.Windows.Forms.ControlStyles.Opaque,false);
is breaking (I try it in inner constructor class from inherit)
but bellow is good:
System.Drawing.Bitmap bitmap=new
System.Drawing.Bitmap(control.Width,control.Height);
bitmap.MakeTransparent(control.BackColor);
control.BackgroundImage=bitmap;
1. virtual fuctions OnPaint, OnCreated are breaking, but System.EventHandler
is good
..
2.SetStyle(System.Windows.Forms.ControlStyles.Opaque,false);
is breaking (I try it in inner constructor class from inherit)
but bellow is good:
System.Drawing.Bitmap bitmap=new
System.Drawing.Bitmap(control.Width,control.Height);
bitmap.MakeTransparent(control.BackColor);
control.BackgroundImage=bitmap;