private void InitData() { this.nudRows.Value = Convert.ToInt16(FormProvoider.GetRaidoButtonRows(ContorlID)); this.nudColumns.Value = Convert.ToInt16(FormProvoider.GetRaidoButtonCols(ContorlID)); //加size,解决报buffer溢出异常的错误 zhangxl 2012-05-30 int sizeBuffer = FormProvoider.GetRadioButtonCaption(ContorlID, null); StringBuilder caption = new StringBuilder(sizeBuffer); int bufsize = FormProvoider.GetRadioButtonCaption(ContorlID, caption); this.txtContent.Text = caption.ToString(); }