自己写的C盘清理工具 Ver1.0.0

自己写的一款清理C盘工具Ver 1.0.0


最近发现不少人的C盘红的要命! 在这里插入图片描述
在这里插入图片描述
于是我决定写一款C盘清理程序
送代码:

using System;
using System.IO;
using System.Windows.Forms;

namespace 清理C盘
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }

        private void Button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("QQ:2726423280,对软件有意见可以直接发qq", "关于作者", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        private void Button3_Click(object sender, EventArgs e)
        {
            MessageBox.Show("支付宝直接转18960729952支(付宝不行就微信)","支持作者", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        private void Button2_Click(object sender, EventArgs e)
        {
            string one = @"C:\Windows\Help"; //帮助程序用,删!
            if(Directory.Exists(one))
            {
                Directory.Delete(one);
            }
            
            string two = @"C:\Windows\IME\IMEJP10";
            if(File.Exists(two))
            {
                File.Delete(two);
            }
            
            string three = @"C:\Windows\IME\IMETC10"; //输入法不用的,删!
            if(Directory.Exists(three))
            {
                Directory.Delete(three);
            }
            
            string four = @"C:\Windows\System32\酷狗音乐精彩写真.scr";
            if(File.Exists(four))
            {
                File.Delete(four);
            }
            
            string five = @"C:\perflogs\System\Diagnostics";
            if(Directory.Exists(five))
            {
                Directory.Delete(five);
            }
            
            string six = @"C:\Windows\IME\imekr8";
            if(Directory.Exists(six))
            {
                Directory.Delete(six);
            }

            MessageBox.Show("清理完成!" ,"清理" , MessageBoxButtons.OK, MessageBoxIcon.Information);
        }
    }
}

下载地址:http://tmp.link/f/613c44e0680b2
软件截图:
在这里插入图片描述

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值