05 2008 档案
摘要:第一步:新建一个windows应用程序,命名为:Mail,并为生成的窗体添加相应的控件,效果图如下:第二步,为控件添加相应的代码事件:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;us...
阅读全文
摘要:首先,新建Windows应用程序,命名为:MovingWord,生成窗体Form1(文字动画),为该窗体添加一个Label控件和两个按钮控件,一个时钟控件Timer,lable1控件的text属性设置为“爱你一万”,具体效果图如下:其次,为相应控件添加相应的代码,完整代码如下:using System;using System.Collections.Generic;usi...
阅读全文
摘要:首先,在VS2005中新建一个控制台应用程序:应用程序的名字为:PlayCoin(1)实现抛硬币的完整代码如下:using System;using System.Collections.Generic;using System.Text;namespace PlayCoin{ class Program { private int negative=0; private int position...
阅读全文