![]() 图表1 文章来源于www.hot007.com 图表2 ![]() 图表3 |
| private void Blog_DemoForm002_Load(object sender, EventArgs e) { AssemblyInfoClass myAssembly = new AssemblyInfoClass(); this.Text = myAssembly.AsmFQName; // 指派数组成员。 jc567.cn arrImages[0] = Properties.Resources.Eye1; arrImages[1] = Properties.Resources.Eye2; arrImages[2] = Properties.Resources.Eye3; arrImages[3] = Properties.Resources.Eye4; } |
![]() 图表4 |
| private void AboutBox_Load(object sender, EventArgs e) 文章来源于www.hot007.com { AssemblyInfoClass myAssembly = new AssemblyInfoClass(); labelProductName.Text = "产品名称:" myAssembly.Product; labelVersion.Text = "版本:" myAssembly.Version; labelCopyright.Text = "版权宣告:" myAssembly.Copyright; labelCompanyName.Text = "公司名称:" myAssembly.Company; textBoxDescription.Text = "细部描述:" myAssembly.Description; } |
| private void toolStripMenuItem4_Click(object sender, EventArgs e) { // 显示关于对话框。 AboutBox MyAboutBox = new AboutBox(); // 设定关于对话框的启始位置。 MyAboutBox.StartPosition = FormStartPosition.CenterScreen; MyAboutBox.Show(); } |
| private void RadioButtons_CheckedChanged(object sender, EventArgs e) { if(optWink.Checked) { tmrAnimation.Interval = WINK_TIMER_INTERVAL; } else if(optBall.Checked) { tmrAnimation.Interval = BALL_TIMER_INTERVAL; } else if(optText.Checked) { tmrAnimation.Interval = TEXT_TIMER_INTERVAL; } OnResize(EventArgs.Empty); } |
| protected override void OnResize(EventArgs ea) hot007.com { Tags:利用Visual,C#,2005制作简单动画效果
上一篇:VC ADO数据库编程入门 下一篇:Visual Foxpro通用报表打印程序
您的评论·用户发表意见仅代表其个人意见,并且承担一切因发表内容引起的纠纷和责任
·本站管理人员有权在不通知用户的情况下删除不符合规定的评论信息或留做证据 ·请客观的评价您所看到的资讯,提倡就事论事,杜绝漫骂和人身攻击等不文明行为 精彩推荐最新资讯 |