首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >我如何在Windows任务栏中隐藏我的应用程序的表单?

我如何在Windows任务栏中隐藏我的应用程序的表单?

提问于 2018-03-13 12:15:07
回答 1关注 0查看 130

如何隐藏我的应用程序在Windows任务栏中的名称,即使它可见?

目前,我有以下代码来初始化和设置我的表单的属性:

代码语言:javascript
复制
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(0, 0);
this.Controls.Add(this.eventlogs);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "Form1";
this.Text = "Form1";
this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档