沈阳航空航天大学设计用纸
们这次课程设计的机会,最真挚的感谢我们的辅导老师 ,在设计过程中,老师精心的辅导和不厌其烦地的态度才使得我们以顺利的完成这次设计任务,任务的顺利完成为我以后学习计算机增强了信心,我只想说,这次课程设计完美!
六、参考文献
1. 吴邵兴 C#项目开发案例导航.北京; 电子工业出版社,2012 2. 徐新华 数据库与MIDAS编程技术 清华大学出版社,2000 3. www.http://www.china-audit.com/
七、源程序
using System;
using System.Collections.Generic; using System.Linq;
using System.Windows.Forms;
namespace _143403030608 {
static class Program {
///
13
沈阳航空航天大学设计用纸
/// 应用程序的主入口点。 /// [STAThread] static void Main() {
Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1()); } } }
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.Media;
namespace _143403030608 {
public partial class Form1 : Form
14
沈阳航空航天大学设计用纸
{
int m = Form4.o; public Form1() {
InitializeComponent(); }
private void button1_Click(object sender, EventArgs e) {
if (textBox1.Text == \ {
SoundPlayer
msc
=
new
SoundPlayer(@\裴彦文143403030608\\14340\+ \
msc.Play();
MessageBox.Show( \密码错误,请重新输入!\
} else {
15
沈阳航空航天大学设计用纸
int n = int.Parse(textBox1.Text); if (n == m&&n>0) {
SoundPlayer SoundPlayer(@\143403030608\\1434030\
msc.Play();
Form2 frm1 = new Form2(); frm1.Show(); this.Hide(); } else {
SoundPlayer
msc
=
new
msc 裴
= 彦
new 文
SoundPlayer(@\裴彦文143403030608\\14340\+ \
msc.Play();
MessageBox.Show(\密码错误,请重新输入!\
}
}
16
相关推荐: