• 大小: 10.52MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-10-08
  • 语言: C#
  • 标签: 安全卫士  

资源简介

国内自学牛人写的c#的winform的杀毒程序 给一些高手深造学习研究

资源截图

代码片段和文件信息

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.Net;
using System.IO;
using System.Runtime.InteropServices;

namespace BSL
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        Boolean[] a = new Boolean[6];
        
        protected override void WndProc(ref   Message msg)
        {
            if (msg.Msg == 0x0084)                           //   WM_NCHITTEST 
                msg.Result = (IntPtr)2;             //   HTCAPTION 
            else
                base.WndProc(ref   msg);
        }

        private void label1_Click(object sender EventArgs e)
        {
            Close();
        }

        private void label2_Click(object sender EventArgs e)
        {
            this.WindowState = System.Windows.Forms.FormWindowState.Minimized;
        }

        private void pictureBox1_Click(object sender EventArgs e)
        {
            if (a[1] == false)
            {
                newpic();
                pictureBox6.Image = pictureBox1.Image;
                pictureBox1.Image = pictureBox1.BackgroundImage;
                pictureBox1.BackgroundImage = pictureBox6.Image;
                a[1] = true;
                tabControl1.SelectedTab = tabPage1;


            }
        }

        private void pictureBox2_Click(object sender EventArgs e)
        {
            if (a[2] == false)
            {
                newpic();
                pictureBox6.Image = pictureBox2.Image;
                pictureBox2.Image = pictureBox2.BackgroundImage;
                pictureBox2.BackgroundImage = pictureBox6.Image;
                tabControl1.SelectedTab = tabPage2;
                a[2] = true;
            }
        }

        private void pictureBox3_Click(object sender EventArgs e)
        {
            if (a[3] == false)
            {
                newpic();
                pictureBox6.Image = pictureBox3.Image;
                pictureBox3.Image = pictureBox3.BackgroundImage;
                pictureBox3.BackgroundImage = pictureBox6.Image;
                tabControl1.SelectedTab = tabPage3;
                a[3] = true;
            }
        }

        private void pictureBox4_Click(object sender EventArgs e)
        {
            if (a[4] == false)
            {
                newpic();
                pictureBox6.Image = pictureBox4.Image;
                pictureBox4.Image = pictureBox4.BackgroundImage;
                pictureBox4.BackgroundImage = pictureBox6.Image;
                tabControl1.SelectedTab = tabPage4;
                a[4] = true;
            }
        }

        private void pictureBox5_Click(object sender EventArgs e)
        {

            if (a[5] == false)
            {
                newpic();

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件      155003  2011-03-24 16:41  加密.e
     目录           0  2011-04-18 10:21  蓝色防线\
     文件       92593  2011-04-12 08:28  蓝色防线\bg2.gif
     文件        6582  2011-04-14 15:57  蓝色防线\bg3.gif
     文件      212873  2011-04-12 10:27  蓝色防线\Bg_login.gif
     文件     2034304  2011-04-12 02:18  蓝色防线\Bg_login.psd
     文件     1638872  2011-04-12 10:31  蓝色防线\Bg_login2.psd
     目录           0  2011-04-15 20:21  蓝色防线\BSL\
     目录           0  2011-04-16 01:00  蓝色防线\BSL\BSL\
     文件        4133  2011-04-13 20:42  蓝色防线\BSL\BSL.psess
     文件         851  2011-04-13 13:29  蓝色防线\BSL\BSL.sln
     文件       35328  2011-05-01 01:46  蓝色防线\BSL\BSL.suo
     文件         144  2011-04-14 04:54  蓝色防线\BSL\BSL\app.config
     目录           0  2011-04-15 20:21  蓝色防线\BSL\BSL\bin\
     文件      467456  2011-04-12 10:57  蓝色防线\BSL\BSL\bin\BSL.exe
     目录           0  2011-04-15 20:21  蓝色防线\BSL\BSL\bin\Debug\
     文件     1268736  2011-04-16 01:20  蓝色防线\BSL\BSL\bin\Debug\BSL.exe
     文件         144  2011-04-14 04:54  蓝色防线\BSL\BSL\bin\Debug\BSL.exe.config
     文件       85504  2011-04-16 01:20  蓝色防线\BSL\BSL\bin\Debug\BSL.pdb
     文件       11592  2011-04-16 01:23  蓝色防线\BSL\BSL\bin\Debug\BSL.vshost.exe
     文件         144  2011-04-14 04:54  蓝色防线\BSL\BSL\bin\Debug\BSL.vshost.exe.config
     文件      516096  2006-08-18 11:50  蓝色防线\BSL\BSL\bin\Debug\IrisSkin2.dll
     目录           0  2011-04-16 01:26  蓝色防线\BSL\BSL\bin\Release\
     文件     1336832  2011-05-01 01:45  蓝色防线\BSL\BSL\bin\Release\BSL.exe
     文件         144  2011-04-14 04:54  蓝色防线\BSL\BSL\bin\Release\BSL.exe.config
     文件       79360  2011-05-01 01:45  蓝色防线\BSL\BSL\bin\Release\BSL.pdb
     文件       11600  2011-05-01 01:46  蓝色防线\BSL\BSL\bin\Release\BSL.vshost.exe
     文件         144  2011-04-14 04:54  蓝色防线\BSL\BSL\bin\Release\BSL.vshost.exe.config
     文件         490  2010-03-17 22:39  蓝色防线\BSL\BSL\bin\Release\BSL.vshost.exe.manifest
     文件      516096  2006-08-18 11:50  蓝色防线\BSL\BSL\bin\Release\IrisSkin2.dll
     文件        7529  2011-04-16 01:12  蓝色防线\BSL\BSL\BSL.csproj
............此处省略91个文件信息

评论

共有 条评论