首先你要遍历出这些button,通常是buttonname.text.用string类型接收,然后你要怎么组合的话就怎么组合例: string a=button1.text; a=a+1或a=a+"+"+1; button1.text=a;