public CustomButton()
 {
     classId  = "CustomButton";
     rect     = new CustomRect();
     position = new Point();
     size     = new Size();
     textPos  = new Point();
     textSize = new SizeF();
 }