登录
首页 » Windows开发 » 采用 Windows 表单的简单计算器

采用 Windows 表单的简单计算器

于 2022-06-29 发布 文件大小:54.87 kB
0 212
下载积分: 2 下载次数: 1

代码说明:

翻译 maninwest@Codeforge作者:Yvan Rodrigues@CodeProject 使用代码 using System; using System.Windows.Forms; namespace RedCell.App.Calculator.Example { public partial class Form1 : Form { private double accumulator = 0; private char lastOperation; public Form1() { InitializeComponent(); } private void Operator_Pressed(object sender, EventArgs e) { // An operator was pressed; perform the last operation and store the new operator. char operation = (sender as Button).Text[0];

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Interesting book about how Windows gets time
    Interesting book about how Windows gets time
    2022-06-02 22:07:34下载
    积分:1
  • Multi
    多元树的层次遍历、先根遍历、后根遍历 问题的描述: 函数填空:层次遍历多元树(在文件tree.cpp中3个空)、先根遍历、后根遍历的递归函数(在文件tree.h中2个空); 多元树的输入:在主程序中调用多元树的函数(定位根、找大儿子、找下一个兄弟等),输入某棵多元树。 -Multi-level tree traversal, the first traversal the root, root traversal issues Description: function to fill in the blank: multi-level tree traversal (tree.cpp in the document in three space), the first traversal the root, root ergodic recursive function (in the document in two empty tree.h) multiple input tree: In the main program to call multi-tree function (positioning root, look for the eldest son, to find a brother, etc.), enter a multi-tree tree.
    2022-01-26 03:50:14下载
    积分:1
  • 枚举WINDOWS所有可用端口,包含一个模块源码与一个窗体源码
    枚举WINDOWS所有可用端口,包含一个模块源码与一个窗体源码-WINDOWS enumeration of all available ports, a module that contains source code form with a source
    2022-12-24 10:30:03下载
    积分:1
  • 测试打印机(epson全系列,功能齐全)
    测试打印机(epson全系列,功能齐全)-test Epson printer
    2022-01-27 20:23:55下载
    积分:1
  • Complete <<times Cheng master>> source code,, copy the compiler can...
    完整的源代码,,copy直接编译就可以运行(验证过)-Complete source code,, copy the compiler can be run directly (verified)
    2022-05-10 22:41:35下载
    积分:1
  • 在客户端Ie上显示当前时间,保持与服务器端相同,避免网络上时间不统一...
    在客户端Ie上显示当前时间,保持与服务器端相同,避免网络上时间不统一-Ie the client to display the current time, and maintain server-side with the same time to avoid non-uniform network
    2022-07-23 03:14:54下载
    积分:1
  •  采用人机对话的操作方式,界面设计美观友好、操作灵活、方便、快捷、准确、数据存储安全可靠。  系统可以进行来电显示和来电接听...
     采用人机对话的操作方式,界面设计美观友好、操作灵活、方便、快捷、准确、数据存储安全可靠。  系统可以进行来电显示和来电接听等功能。  提供电话拨出功能,可以通过程序拨出电话。  提供客户管理功能,记录客户信息,并可以在拨出电话时以电话簿的形式显示客户信息。  提供电话录音功能,当电话接通时开始录音,当电话挂断时结束录音。  提供录音管理功能,可以通过程序修改录音文件的存储位置。  系统最大限度地实现了易维护性和易操作性。  系统运行稳定、安全可靠。 -Use of man-machine dialogue mode of operation, interface design beautiful and friendly, flexible operation, convenient, fast, accurate, safe and reliable data storage. 
    2023-07-20 19:40:03下载
    积分:1
  • Datetime converter.
    :先输出一个表示英文月份的字符数组,再输如任意一表示时间的数组;再用cin.getline读取,最后输出所求结果。-Datetime converter.
    2022-04-02 04:40:48下载
    积分:1
  • a cool 3D games source code, can help you learn game development, super
    一个超酷的3D游戏源代码,可以帮助您学习游戏开发,超爽!-a cool 3D games source code, can help you learn game development, super-cool!
    2022-02-04 17:47:54下载
    积分:1
  • c#获取进程名称
         csharp语言(c#)  获取进程名称完整工程 包含源代码  可运行  有注释  获取系统进程信息   包含 System.Diagnostics.Process 类    using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;using System.Diagnostics;
    2022-05-25 09:51:27下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载