全文预览

单元测试实践报告

上传者:苏堤漫步 |  格式:docx  |  页数:14 |  大小:0KB

文档介绍
singSystem.Collections.Generic;ponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;usingSystem.Windows.Forms;namespacesalary{publicpartialclassForm1:Form{intflag_year=0;intflag_mistake=0;intmistake_level=0;doublerate=0;doublemonthsalary;publicForm1(){ponent();}privatevoidForm1_Load(objectsender,EventArgse){}privatevoidtextBox3_TextChanged(objectsender,EventArgse){monthsalary=Convert.ToDouble(textBox3.Text);}privatevoidradioButton1_CheckedChanged(objectsender,EventArgse){flag_year=1;}privatevoidradioButton2_CheckedChanged(objectsender,EventArgse){flag_year=0;}privatevoidradioButton5_CheckedChanged(objectsender,EventArgse){flag_mistake=0;}privatevoidradioButton4_CheckedChanged(objectsender,EventArgse){flag_mistake=1;mistake_level=1;}

收藏

分享

举报
下载此文档