2011-03-07 6 views
17

Windows 작업 표시 줄에서 내 응용 프로그램의 이름을 볼 수있을 때 어떻게 숨길 수 있습니까?Windows 작업 표시 줄에서 응용 프로그램의 양식을 숨기려면 어떻게합니까?

현재, 나는 내 양식의 속성을 초기화하고 설정하려면 다음 코드가 있습니다

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); 
+0

내게 아주 어색한 소리가납니다. :) –

+0

앱이 작업 표시 줄에 표시되고 숨겨져 있습니까? 또는 앱이 표시되지만 작업 표시 줄에 표시되지 않아야합니까? 정확한 질문은 무엇입니까? –

+0

질문이 명확하지 않습니다. 다시 말해주십시오. –

답변

43

작업 표시 줄에 표시 양식을 방지하기를, false로 ShowInTaskbar property를 설정합니다.

this.ShowInTaskbar = false;