-
采用 Windows 表单的简单计算器
翻译 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];
- 2022-06-29 09:36:47下载
- 积分:1
-
vc6.0下的控制台程序,学生考试查询系统,初次进入设置管理员账号。同学课程设计作品。...
vc6.0下的控制台程序,学生考试查询系统,初次进入设置管理员账号。同学课程设计作品。-vc6.0 console under the procedures, examination of referral systems, the initial entry to set up an administrator account. Students design courses.
- 2023-01-08 05:35:03下载
- 积分:1
-
mfc实现残缺棋盘游戏
以VS2010为工作平台,编写mfc应用程序,实现棋盘游戏,内包含中功能,如暂停、继续、从新开始、设置棋盘大小,填充速度等。
- 2022-02-02 14:19:13下载
- 积分:1
-
VB《葵花宝典》
VB《葵花宝典》--指针技术》配套代码-VB "Talents Scheme"-- target technologies "complementary code
- 2022-04-30 20:53:22下载
- 积分:1
-
/*作为一个软件专业的学生,zcy总是对二进制特别感兴趣,有一天他发现了一个有趣的序列:一个长度为N的序列,该序列只含有0或1两个数字,并且该序列不包含连续3个...
/*作为一个软件专业的学生,zcy总是对二进制特别感兴趣,有一天他发现了一个有趣的序列:一个长度为N的序列,该序列只含有0或1两个数字,并且该序列不包含连续3个1,
例如N=3时有7种不同序列,分别是000, 001, 010, 011, 100, 101, 110。111包含3个连续的1所以不是。
现在zcy想知道,对于长为n的一个二进制串,有多少满足条件的01串。
Input
第一行是整数t,表示多少个case,
每行有一个数n,表示串的长度(n
- 2022-08-23 01:27:03下载
- 积分:1
-
Steepest Descend Algorithm with optimum step size computation
Steepest Descend Algorithm with optimum step size computation
- 2023-07-05 20:00:03下载
- 积分:1
-
模拟Pos收银机
1.收银员功能
1) 新增明细(F2 )
2) 删除明细(F3)
3) 收银(F4)
4) 挂单(F5)
5...
模拟Pos收银机
1.收银员功能
1) 新增明细(F2 )
2) 删除明细(F3)
3) 收银(F4)
4) 挂单(F5)
5) 取单(F6)
6) 撤单(F7)
7) 退货(F8)
8) 退出(F9)
2.管理员功能
1) 商品管理
"1:商品查询",
"2:库存查询",
"3:添加商品",
"4:修改商品信息",
"0:返回主菜单"
2) 帐户管理
"1:查询账户",
"2:添加账户",
"3:修改账户信息",
"0:返回主菜单"
3) 销售记录查询
"1:按销售日期统计",
"2:按收银员统计",
"0:返回主菜单"
0) 退出
-Simulation Pos cash register 1. Cashier function 1) Add Details (F2) 2) delete the details of (F3) 3) cash register (F4) 4)挂单(F5) 5) get a single (F6) 6) cancellation (F7) 7) Return (F8) 8) exit (F9) 2. administrator function 1) commodity management
- 2022-04-23 04:14:03下载
- 积分:1
-
手写板识别
资源描述联机数字、英文字符及汉字识别,mydate.dat为字库先点击file, 点open,读入字库
学习时字库自动保存
已有键盘字符,字母,数字
和简单汉字
如要识别复杂汉字,请先用学习功能
- 2022-02-05 13:37:34下载
- 积分:1
-
一个简单的程序,实现opc通讯,基于vb 和上位机的
一个简单的程序,实现opc通讯,基于vb 和上位机的-A simple procedure to achieve opc communications, PC-based vb and the
- 2022-01-23 11:25:21下载
- 积分:1
-
自动生成QT的.pro文件,QT项目文件
有的时候,我们不得不手工编写QT的.PRO项目定义文件。当我们的项目中.CPP和.H文件多到几十个的时候,那么编写...
自动生成QT的.pro文件,QT项目文件
有的时候,我们不得不手工编写QT的.PRO项目定义文件。当我们的项目中.CPP和.H文件多到几十个的时候,那么编写这个文件就相当麻烦。
在此我有一个小工具,可以自动为你的项目目录生成.PRO文件。可正确识别UI定义文件,以及添加对MOC文件的生成。
程序用QT写成,可在WINDOWS和LINUX下编译此程序,得到makep.exe,在项目目录中运行此程序即可。-The QT automatically generated. Pro file, QT project documents sometimes we have to manually prepare QT s. PRO project definition file. When our projects. CPP and. H to the dozens of documents and more time, then the preparation of this document is quite troublesome. I have a small tool that can automatically generate your project directory. PRO document. Can correctly identify the UI definition file, and add files to generate MOC. Program written using QT can be compiled under WINDOWS and LINUX this procedure has been makep.exe, in the project directory to run this program.
- 2022-03-12 18:05:43下载
- 积分:1