Windows Forms: How to hide WinForm in C#

How to hide a Windows Form after it run in C#

Step 1Click New Project, then select Visual C# on the left, then Windows and then select Windows Forms Application. Name your project "HideApplication" and then click OK

hide windows application in c#Step 2: Open your form, then add code to Show and Load event handler as below

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Threading;

namespace HideApplication
    public partial class Form1 : Form
        public Form1()

        private void Form1_Shown(object sender, EventArgs e)
            //Hide your windows forms application

        private void Form1_Load(object sender, EventArgs e)
            MessageBox.Show("You can't see me !", "Message", MessageBoxButtons.OK, MessageBoxIcon.Information);