实例介绍
【实例简介】女神表白神器
【实例截图】
【实例截图】

【核心代码】
pr
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
this.buttonYes = new System.Windows.Forms.Button();
this.buttonNo = new System.Windows.Forms.Button();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.My = new System.Windows.Forms.ContextMenuStrip(this.components);
this.这是谁做的ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.作者信息ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripSeparator();
this.程序ZhangLeiToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.qQ微信2213407066ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.程序所使用的表情包图片来自网络其余文字均为自行创意ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
this.在此感谢您的使用ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.提示本程序无毒无害敬请放心使用ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.What = new System.Windows.Forms.ToolTip(this.components);
this.My.SuspendLayout();
this.SuspendLayout();
//
// buttonYes
//
this.buttonYes.Cursor = System.Windows.Forms.Cursors.Hand;
this.buttonYes.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonYes.Location = new System.Drawing.Point(578, 355);
this.buttonYes.Name = "buttonYes";
this.buttonYes.Size = new System.Drawing.Size(140, 44);
this.buttonYes.TabIndex = 0;
this.buttonYes.Text = "好哒(*^▽^*) !!";
this.buttonYes.UseVisualStyleBackColor = true;
this.buttonYes.Click = new System.EventHandler(this.buttonYes_Click);
//
// buttonNo
//
this.buttonNo.Cursor = System.Windows.Forms.Cursors.No;
this.buttonNo.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.buttonNo.Location = new System.Drawing.Point(12, 355);
this.buttonNo.Name = "buttonNo";
this.buttonNo.Size = new System.Drawing.Size(140, 44);
this.buttonNo.TabIndex = 1;
this.buttonNo.Text = "不好 <(`^´)> ";
this.buttonNo.UseVisualStyleBackColor = true;
this.buttonNo.MouseMove = new System.Windows.Forms.MouseEventHandler(this.buttonNo_MouseMove);
//
// linkLabel1
//
this.linkLabel1.BackColor = System.Drawing.Color.Transparent;
this.linkLabel1.ContextMenuStrip = this.My;
this.linkLabel1.Cursor = System.Windows.Forms.Cursors.Help;
this.linkLabel1.Location = new System.Drawing.Point(502, 9);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(184, 173);
this.linkLabel1.TabIndex = 2;
this.What.SetToolTip(this.linkLabel1, "小心心送给你~~");
//
// My
//
this.My.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.这是谁做的ToolStripMenuItem});
this.My.Name = "My";
this.My.Size = new System.Drawing.Size(161, 26);
//
// 这是谁做的ToolStripMenuItem
//
this.这是谁做的ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.作者信息ToolStripMenuItem,
this.toolStripMenuItem1,
this.程序ZhangLeiToolStripMenuItem,
this.qQ微信2213407066ToolStripMenuItem,
this.程序所使用的表情包图片来自网络其余文字均为自行创意ToolStripMenuItem,
this.toolStripMenuItem2,
this.在此感谢您的使用ToolStripMenuItem,
this.提示本程序无毒无害敬请放心使用ToolStripMenuItem});
this.这是谁做的ToolStripMenuItem.Name = "这是谁做的ToolStripMenuItem";
this.这是谁做的ToolStripMenuItem.Size = new System.Drawing.Size(160, 22);
this.这是谁做的ToolStripMenuItem.Text = "这是谁做的??";
//
// 作者信息ToolStripMenuItem
//
this.作者信息ToolStripMenuItem.Name = "作者信息ToolStripMenuItem";
this.作者信息ToolStripMenuItem.Size = new System.Drawing.Size(400, 22);
this.作者信息ToolStripMenuItem.Text = "作者信息";
//
// toolStripMenuItem1
//
this.toolStripMenuItem1.Name = "toolStripMenuItem1";
this.toolStripMenuItem1.Size = new System.Drawing.Size(397, 6);
//
// 程序ZhangLeiToolStripMenuItem
//
this.程序ZhangLeiToolStripMenuItem.Name = "程序ZhangLeiToolStripMenuItem";
this.程序ZhangLeiToolStripMenuItem.Size = new System.Drawing.Size(400, 22);
this.程序ZhangLeiToolStripMenuItem.Text = "程序:ZhangLei (is\'My...)";
//
// qQ微信2213407066ToolStripMenuItem
//
this.qQ微信2213407066ToolStripMenuItem.Name = "qQ微信2213407066ToolStripMenuItem";
this.qQ微信2213407066ToolStripMenuItem.Size = new System.Drawing.Size(400, 22);
this.qQ微信2213407066ToolStripMenuItem.Text = "QQ/WeChat:0000";
//
// 程序所使用的表情包图片来自网络其余文字均为自行创意ToolStripMenuItem
//
this.程序所使用的表情包图片来自网络其余文字均为自行创意ToolStripMenuItem.Name = "程序所使用的表情包图片来自网络其余文字均为自行创意ToolStripMenuItem";
this.程序所使用的表情包图片来自网络其余文字均为自行创意ToolStripMenuItem.Size = new System.Drawing.Size(400, 22);
this.程序所使用的表情包图片来自网络其余文字均为自行创意ToolStripMenuItem.Text = "程序所使用的表情包图片来自网络,其余文字均为自行创意。";
//
// toolStripMenuItem2
//
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
this.toolStripMenuItem2.Size = new System.Drawing.Size(397, 6);
//
// 在此感谢您的使用ToolStripMenuItem
//
this.在此感谢您的使用ToolStripMenuItem.Name = "在此感谢您的使用ToolStripMenuItem";
this.在此感谢您的使用ToolStripMenuItem.Size = new System.Drawing.Size(400, 22);
this.在此感谢您的使用ToolStripMenuItem.Text = "在此感谢您的使用!!";
//
// 提示本程序无毒无害敬请放心使用ToolStripMenuItem
//
this.提示本程序无毒无害敬请放心使用ToolStripMenuItem.Name = "提示本程序无毒无害敬请放心使用ToolStripMenuItem";
this.提示本程序无毒无害敬请放心使用ToolStripMenuItem.Size = new System.Drawing.Size(400, 22);
this.提示本程序无毒无害敬请放心使用ToolStripMenuItem.Text = "(提示:本程序无毒无害,敬请放心使用~~)";
//
// FormMain
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ClientSize = new System.Drawing.Size(730, 407);
this.ControlBox = false;
this.Controls.Add(this.buttonNo);
this.Controls.Add(this.buttonYes);
this.Controls.Add(this.linkLabel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
this.Name = "FormMain";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "一位喜欢你很久的小哥哥";
this.TopMost = true;
this.Load = new System.EventHandler(this.FormMain_Load);
this.My.ResumeLayout(false);
this.ResumeLayout(false);
}
好例子网口号:伸出你的我的手 — 分享!
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明


网友评论
我要评论