コード例 #1
0
        public MainForm()
        {
            InitializeComponent();
            ProtectProcess.Protect();
            HightLevel.protectProcess();
//			Unkillable.MakeProcessUnkillable();
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: Swim-Man/Lock-Screen-
        public MainForm()
        {
            InitializeComponent();
            ProtectProcess.Protect();
            HightLevel.protectProcess();
            //			Unkillable.MakeProcessUnkillable();
            this.DepLabel.Hide();
            this.DepTextBox.Hide();

            this.UserNoBox.Hide();
            this.UserNoLabel.Hide();

            this.UserBox.Hide();
            this.Userlabel.Hide();

            this.Userlabel.Hide();
            this.UserBox.Hide();


            //指定使用的容器

            this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components);
            //建立NotifyIcon
            this.notifyIcon1.Icon              = new Icon("D:\\Q32.ico");
            this.notifyIcon1.Text              = "NotifyIcon Example";
            this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
        }