I am writing a transparent WinForms application and I want the application not to appear on the Task Manager application tab. I am fine with the fact that it will be displayed in Processes (actually it should). If I installed:
this.ShowInTaskbar = false;
he hides only from the taskbar.
The complete code I have is a timer made from shortcuts
public Form1() { InitializeComponent(); this.BackColor = Color.LimeGreen; this.TransparencyKey = Color.LimeGreen; Timer time = new Timer(); time.Interval = 1000; time.Tick += new EventHandler(time_Tick); time.Start(); this.ShowInTaskbar = false; } void time_Tick(object sender, EventArgs e) { label1_hour.Text = DateTime.Now.Hour.ToString() ; label_minute.Text = DateTime.Now.Minute.ToString(); label_second.Text = DateTime.Now.Second.ToString(); }
adi sba
source share