errors 1.1

  • Thread starter Thread starter Piotr
  • Start date Start date
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;
 
System.Drawing.Bitmap bitmap=new
System.Drawing.Bitmap(control.Width,control.Height);

bitmap.MakeTransparent(control.BackColor);

control.BackgroundImage=bitmap;

with System.Windows.Forms.RichTextBox is breaking. (with Control runing
good)
 
Back
Top