Frm_Main.cs
View Code
Frm_Main.designer.cs
View Code
1 namespace BubbleShowForm
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 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frm_Main));
33 this.groupBox1 = new System.Windows.Forms.GroupBox();
34 this.closeButton = new System.Windows.Forms.Button();
35 this.clewButton = new System.Windows.Forms.Button();
36 this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
37 this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
38 this.groupBox1.SuspendLayout();
39 this.SuspendLayout();
40 //
41 // groupBox1
42 //
43 this.groupBox1.Controls.Add(this.closeButton);
44 this.groupBox1.Controls.Add(this.clewButton);
45 this.groupBox1.Location = new System.Drawing.Point(12, 12);
46 this.groupBox1.Name = "groupBox1";
47 this.groupBox1.Size = new System.Drawing.Size(179, 86);
48 this.groupBox1.TabIndex = 0;
49 this.groupBox1.TabStop = false;
50 this.groupBox1.Text = "操作类型";
51 //
52 // closeButton
53 //
54 this.closeButton.Location = new System.Drawing.Point(104, 33);
55 this.closeButton.Name = "closeButton";
56 this.closeButton.Size = new System.Drawing.Size(43, 23);
57 this.closeButton.TabIndex = 1;
58 this.closeButton.Text = "关闭";
59 this.closeButton.UseVisualStyleBackColor = true;
60 this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
61 //
62 // clewButton
63 //
64 this.clewButton.Location = new System.Drawing.Point(27, 33);
65 this.clewButton.Name = "clewButton";
66 this.clewButton.Size = new System.Drawing.Size(43, 23);
67 this.clewButton.TabIndex = 0;
68 this.clewButton.Text = "提示";
69 this.clewButton.UseVisualStyleBackColor = true;
70 this.clewButton.Click += new System.EventHandler(this.clewButton_Click);
71 //
72 // notifyIcon1
73 //
74 this.notifyIcon1.Icon = ((System.Drawing.Icon)(resources.GetObject("notifyIcon1.Icon")));
75 this.notifyIcon1.Text = "notifyIcon1";
76 this.notifyIcon1.Visible = true;
77 this.notifyIcon1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseMove);
78 //
79 // toolTip1
80 //
81 this.toolTip1.AutomaticDelay = 100;
82 this.toolTip1.IsBalloon = true;
83 //
84 // Frm_Main
85 //
86 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
87 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
88 this.ClientSize = new System.Drawing.Size(206, 110);
89 this.Controls.Add(this.groupBox1);
90 this.Name = "Frm_Main";
91 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
92 this.Text = "实现气泡提示窗口";
93 this.groupBox1.ResumeLayout(false);
94 this.ResumeLayout(false);
95
96 }
97
98 #endregion
99
100 private System.Windows.Forms.GroupBox groupBox1;
101 private System.Windows.Forms.Button closeButton;
102 private System.Windows.Forms.Button clewButton;
103 private System.Windows.Forms.NotifyIcon notifyIcon1;
104 private System.Windows.Forms.ToolTip toolTip1;
105 }
106 }
作者:墨明棋妙
出处:http://www.cnblogs.com/ynbt/
关于作者:专注于.Net、WCF和移动互联网开发。
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,如有问题,可以通过ynbt_wang@163.com联系我,非常感谢。 。
出处:http://www.cnblogs.com/ynbt/
关于作者:专注于.Net、WCF和移动互联网开发。
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,如有问题,可以通过ynbt_wang@163.com联系我,非常感谢。 。