Frm_Main.cs

View Code

Frm_Main.designer.cs

View Code
 1 namespace FlashWindowBar
2 {
3 partial class Frm_Main
4 {
5 /// <summary>
6 /// 必需的设计器变量。
7 /// </summary>
8 private System.ComponentModel.IContainer components = null;
9
10 /// <summary>
11 /// 清理所有正在使用的资源。
12 /// </summary>
13 /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
14 protected override void Dispose(bool disposing)
15 {
16 if (disposing && (components != null))
17 {
18 components.Dispose();
19 }
20 base.Dispose(disposing);
21 }
22
23 #region Windows 窗体设计器生成的代码
24
25 /// <summary>
26 /// 设计器支持所需的方法 - 不要
27 /// 使用代码编辑器修改此方法的内容。
28 /// </summary>
29 private void InitializeComponent()
30 {
31 this.components = new System.ComponentModel.Container();
32 this.pictureBox1 = new System.Windows.Forms.PictureBox();
33 this.button1 = new System.Windows.Forms.Button();
34 this.button2 = new System.Windows.Forms.Button();
35 this.timer1 = new System.Windows.Forms.Timer(this.components);
36 ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
37 this.SuspendLayout();
38 //
39 // pictureBox1
40 //
41 this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
42 this.pictureBox1.Location = new System.Drawing.Point(0, 0);
43 this.pictureBox1.Name = "pictureBox1";
44 this.pictureBox1.Size = new System.Drawing.Size(325, 127);
45 this.pictureBox1.TabIndex = 0;
46 this.pictureBox1.TabStop = false;
47 //
48 // button1
49 //
50 this.button1.Location = new System.Drawing.Point(55, 50);
51 this.button1.Name = "button1";
52 this.button1.Size = new System.Drawing.Size(75, 23);
53 this.button1.TabIndex = 1;
54 this.button1.Text = "开始闪烁";
55 this.button1.UseVisualStyleBackColor = true;
56 this.button1.Click += new System.EventHandler(this.button1_Click);
57 //
58 // button2
59 //
60 this.button2.Location = new System.Drawing.Point(196, 50);
61 this.button2.Name = "button2";
62 this.button2.Size = new System.Drawing.Size(75, 23);
63 this.button2.TabIndex = 2;
64 this.button2.Text = "停止闪烁";
65 this.button2.UseVisualStyleBackColor = true;
66 this.button2.Click += new System.EventHandler(this.button2_Click);
67 //
68 // timer1
69 //
70 this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
71 //
72 // Frm_Main
73 //
74 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
75 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
76 this.ClientSize = new System.Drawing.Size(325, 127);
77 this.Controls.Add(this.button2);
78 this.Controls.Add(this.button1);
79 this.Controls.Add(this.pictureBox1);
80 this.Name = "Frm_Main";
81 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
82 this.Text = "设置闪烁的标题栏";
83 ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
84 this.ResumeLayout(false);
85
86 }
87
88 #endregion
89
90 private System.Windows.Forms.PictureBox pictureBox1;
91 private System.Windows.Forms.Button button1;
92 private System.Windows.Forms.Button button2;
93 private System.Windows.Forms.Timer timer1;
94 }
95 }

 

作者:墨明棋妙
出处:http://www.cnblogs.com/ynbt/
关于作者:专注于.Net、WCF和移动互联网开发。
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,如有问题,可以通过ynbt_wang@163.com联系我,非常感谢。 。
 posted on 2012-04-26 17:05  纳米程序员  阅读(291)  评论(0编辑  收藏  举报