会员注册 | 登录 | 微信快捷登录 支付宝快捷登录 QQ登录 微博登录 | 帮助中心 人人文库renrendoc.com美如初恋!
站内搜索 百度文库

热门搜索: 直缝焊接机 矿井提升机 循环球式转向器图纸 机器人手爪发展史 管道机器人dwg 动平衡试验台设计

   首页 人人文库网 > 资源分类 > DOC文档下载

c#计算器的源代码.doc

  • 资源星级:
  • 资源大小:46.00KB   全文页数:12页
  • 资源格式: DOC        下载权限:注册会员/VIP会员
您还没有登陆,请先登录。登陆后即可下载此文档。
  合作网站登录: 微信快捷登录 支付宝快捷登录   QQ登录   微博登录
友情提示
2:本站资源不支持迅雷下载,请使用浏览器直接下载(不支持QQ浏览器)
3:本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰   

c#计算器的源代码.doc

usingSystemusingSystem.Collections.GenericusingSystem.DrawingusingSystem.Windows.Formsnamespacewindshadow14{publicpartialclassMainForm{inti0intaintbinti1longcpublicstaticvoidMainstringargs{Application.EnableVisualStylesApplication.SetCompatibleTextRenderingDefaultfalseApplication.RunnewMainForm}publicMainForm{InitializeComponent}voidButton10Clickobjectsender,System.EventArgse{iftextBox1.Text{textBox1.TexttextBox1.Text0}}voidButton1Clickobjectsender,System.EventArgse{textBox1.TexttextBox1.Text1iftextBox1.Text{textBox1.TexttextBox1.Text1}}voidButton2Clickobjectsender,System.EventArgse{textBox1.TexttextBox1.Text2iftextBox1.Text{textBox1.TexttextBox1.Text2}}voidButton3Clickobjectsender,System.EventArgse{textBox1.TexttextBox1.Text3iftextBox1.Text{textBox1.TexttextBox1.Text3}}voidButton4Clickobjectsender,System.EventArgse{textBox1.TexttextBox1.Text4iftextBox1.Text{textBox1.TexttextBox1.Text4}}voidButton5Clickobjectsender,System.EventArgse{textBox1.TexttextBox1.Text5iftextBox1.Text{textBox1.TexttextBox1.Text5}}voidButton6Clickobjectsender,System.EventArgse{textBox1.TexttextBox1.Text6iftextBox1.Text{textBox1.TexttextBox1.Text6}}voidButton7Clickobjectsender,System.EventArgse{textBox1.TexttextBox1.Text7iftextBox1.Text{textBox1.TexttextBox1.Text7}}voidButton8Clickobjectsender,System.EventArgse{textBox1.TexttextBox1.Text8iftextBox1.Text{textBox1.TexttextBox1.Text8}}voidButton9Clickobjectsender,System.EventArgse{textBox1.TexttextBox1.Text9iftextBox1.Text{textBox1.TexttextBox1.Text9}}voidTextBox1TextChangedobjectsender,System.EventArgse{ifi1||i2||i3||i4{textBox1.Text}i0}voidButton12Clickobjectsender,System.EventArgse{i1aint.ParsetextBox1.Texti11}voidButton16Clickobjectsender,System.EventArgse{bint.ParsetextBox1.TexttextBox1.Textswitchi1{case1cabbreakcase2cabbreakcase3cabbreakcase4ca/bbreak}textBox1.Textc.ToStringi0a0b0i10}voidButton13Clickobjectsender,System.EventArgse{i12i1aint.ParsetextBox1.Text}voidMainFormLoadobjectsender,System.EventArgse{}voidButton14Clickobjectsender,System.EventArgse{i13i3aint.ParsetextBox1.Text}voidButton15Clickobjectsender,System.EventArgse{i14i4aint.ParsetextBox1.Text}}}还可以这样编usingSystemusingSystem.Collections.GenericusingSystem.ComponentModelusingSystem.DatausingSystem.DrawingusingSystem.TextusingSystem.Windows.Formsnamespacewindshadow{publicpartialclassForm1Form{intaintbintcintb1publicForm1{InitializeComponent}privatevoidbutton1_Clickobjectsender,EventArgse{textBox1.TexttextBox1.Text1ifb1{textBox1.TexttextBox1.TexttextBox1.Text1b0}}privatevoidbutton2_Clickobjectsender,EventArgse{textBox1.TexttextBox1.Text2ifb1{textBox1.TexttextBox1.TexttextBox1.Text2b0}}privatevoidbutton3_Clickobjectsender,EventArgse{textBox1.TexttextBox1.Text3ifb1{textBox1.TexttextBox1.TexttextBox1.Text3b0}}privatevoidbutton4_Clickobjectsender,EventArgse{textBox1.TexttextBox1.Text4ifb1{textBox1.TexttextBox1.TexttextBox1.Text4b0}}privatevoidbutton5_Clickobjectsender,EventArgse{textBox1.TexttextBox1.Text5ifb1{textBox1.TexttextBox1.TexttextBox1.Text5b0}}privatevoidbutton6_Clickobjectsender,EventArgse{textBox1.TexttextBox1.Text6ifb1{textBox1.TexttextBox1.TexttextBox1.Text6b0}}privatevoidbutton7_Clickobjectsender,EventArgse{textBox1.TexttextBox1.Text7ifb1{textBox1.TexttextBox1.TexttextBox1.Text7b0}}privatevoidbutton8_Clickobjectsender,EventArgse{textBox1.TexttextBox1.Text8ifb1{textBox1.TexttextBox1.TexttextBox1.Text8b0}}privatevoidbutton9_Clickobjectsender,EventArgse{textBox1.TexttextBox1.Text9ifb1{textBox1.TexttextBox1.TexttextBox1.Text9b0}}privatevoidbutton11_Clickobjectsender,EventArgse{textBox1.TexttextBox1.Text0ifb1{textBox1.TexttextBox1.TexttextBox1.Text0b0}}privatevoidbutton10_Clickobjectsender,EventArgse{textBox1.TexttextBox1.Text.}privatevoidbutton13_Clickobjectsender,EventArgse{aint.ParsetextBox1.Textb1b11}privatevoidbutton17_Clickobjectsender,EventArgse{longdswitchb1{case1cint.ParsetextBox1.TextdactextBox1.TexttextBox1.Textd.ToStringbreakcase2cint.ParsetextBox1.Text

注意事项

本文(c#计算器的源代码.doc)为本站会员(仙人指路)主动上传,人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知人人文库网([email protected]),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。

copyright@ 2015-2017 人人文库网网站版权所有
苏ICP备12009002号-5