public void bounds(Widget self, Rect b) { if (m_control == null) { m_pos = b.pos(); m_size = b.size(); return; } m_control.Bounds = new Rectangle((int)b.m_x.val, (int)b.m_y.val, (int)b.m_w.val, (int)b.m_h.val); }