移动交费系统

时间:2014-12-21 12:43:11
【文件属性】:

文件名称:移动交费系统

文件大小:47KB

文件格式:RAR

更新时间:2014-12-21 12:43:11

移动交费系统 实例化

private void button1_Click(object sender, EventArgs e) { string subject = "你是否要交" + textBox1.Text+"元?"; string caption = "温馨提示"; MessageBoxButtons mbb = MessageBoxButtons.OKCancel; MessageBoxIcon mbi = MessageBoxIcon.Exclamation; DialogResult answer = MessageBox.Show(subject ,caption ,mbb ,mbi ); if (answer == DialogResult.OK) { MessageBox.Show("交费成功,谢谢!"); Form1 a = new Form1(); a.Show(); } else { MessageBox .Show ("请重新输入交费金额"); Form2 a=new Form2 (); a.Show (); this.Hide(); }


【文件预览】:
C# 移动交费系统
----WindowsFormsApplication1()
--------Form2.resx(6KB)
--------Form1.cs(829B)
--------Program.cs(505B)
--------WindowsFormsApplication1.csproj(4KB)
--------Form1.resx(6KB)
--------Form2.Designer.cs(4KB)
--------Properties()
--------Form1.Designer.cs(4KB)
--------obj()
--------bin()
--------Form2.cs(1KB)
----WindowsFormsApplication1.sln(962B)
----WindowsFormsApplication1.suo(18KB)

网友评论