C#简单计算器制作~~~·

Joiy 2012-02-17 02:37:44
小虾菜鸟,想制作一个简单的计算器~~可是怎么都弄不出来,望各位大虾能帮下!!
小弟将万分感谢~~~

窗体代码:


private System.Windows.Forms.TextBox textBox1;//输出
private System.Windows.Forms.Button ce;//按钮 CE
private System.Windows.Forms.Button button1;//按钮 1
private System.Windows.Forms.Button c;//按钮 C
private System.Windows.Forms.Button delete;//按钮 删除
private System.Windows.Forms.Button button2;//按钮 2
private System.Windows.Forms.Button button3;//按钮 3
private System.Windows.Forms.Button times;//按钮 乘
private System.Windows.Forms.Button divide;//按钮 除
private System.Windows.Forms.Button equal;//按钮 等于
private System.Windows.Forms.Button subtract;//按钮 减
private System.Windows.Forms.Button button6;//按钮 6
private System.Windows.Forms.Button button5;//按钮 5
private System.Windows.Forms.Button button4;//按钮 4
private System.Windows.Forms.Button add;//按钮 加
private System.Windows.Forms.Button button9;//按钮 9
private System.Windows.Forms.Button button8;//按钮 8
private System.Windows.Forms.Button button7;//按钮 7
private System.Windows.Forms.Button dot;//按钮 点
private System.Windows.Forms.Button button0;//按钮 0




...全文
208 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
c02645 2012-02-17
  • 打赏
  • 举报
回复
这个计算器相当地好用
帅师傅 2012-02-17
  • 打赏
  • 举报
回复
我这有一个以前做的,不知道你用的是否是VS2010,VS2005可能打不开,先发给你看看吧,
ODecO 2012-02-17
  • 打赏
  • 举报
回复
http://wenku.baidu.com/view/fcf5fb29915f804d2b16c13c.html

参考一下咯,都差不多啦
大正他爹 2012-02-17
  • 打赏
  • 举报
回复
51aspx.com上下载吧
Castiel丶Luo 2012-02-17
  • 打赏
  • 举报
回复
...
难道是作业么...
TNight 2012-02-17
  • 打赏
  • 举报
回复
你这基本上就没写
iloveyoubaby 2012-02-17
  • 打赏
  • 举报
回复
就这点代码?

110,526

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧