资源简介

一个网友写的淘宝抢拍神器源码,好东西觉得不错就拿出来分享下了,希望对各位朋友有一定的参考价值和帮助。

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;
using System.IO;

namespace TBAuction
{
    class AuctionLog
    {
        StringBuilder logText;
        LogForm logForm;
        bool isShow;

        public AuctionLog(bool isShow)
        {
            this.logText = new StringBuilder();
            this.logForm = new LogForm();
            this.isShow = isShow;
        }
        
        public void Log(string content)
        {
            logText.Append(content + “\r\n“);
            logForm.logBox.Text += content + “\r\n“;
            //logForm.Refresh();
        }

        public void WriteToFile()
        {
            FileStream outfile = File.Create(“d:\\log.txt“);
            StreamWriter sw = new StreamWriter(outfile Encoding.Default);
            sw.Write(logText.ToString());
            sw.Close();
        }

        public void SetShow(bool isShow)
        {
            this.isShow = isShow;
        }

        public void ShowForm()
        {
            if (isShow)
            {
                logForm.Show();
            }
        }

        public void ShowFormForce()
        {
            logForm.Show();
        }

        public void ShowTextInForm(string address string content)
        {
            if (isShow)
            {
                LogForm lf = new LogForm();
                lf.Text = address;
                lf.logBox.Text = content;
                lf.Show();
            }
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     133638  2011-10-12 00:09  TBAuction\backup.saz

     文件        144  2012-07-11 17:03  TBAuction\TBAuction\app.config

     文件       1534  2011-10-11 09:43  TBAuction\TBAuction\AuctionLog.cs

     文件      19264  2011-11-19 10:20  TBAuction\TBAuction\AuctionOperations.cs

     文件      84480  2011-10-18 09:46  TBAuction\TBAuction\bin\Debug\app.publish\Application Files\TBAuction_1_0_0_3\TBAuction.exe.deploy

     文件       6755  2011-10-18 09:46  TBAuction\TBAuction\bin\Debug\app.publish\Application Files\TBAuction_1_0_0_3\TBAuction.exe.manifest

     文件         45  2011-10-18 09:47  TBAuction\TBAuction\bin\Debug\app.publish\autorun.inf

     文件     429024  2011-10-18 09:47  TBAuction\TBAuction\bin\Debug\app.publish\setup.exe

     文件       5664  2011-10-18 09:46  TBAuction\TBAuction\bin\Debug\app.publish\TBAuction.application

     文件     110650  2011-09-30 12:24  TBAuction\TBAuction\bin\Debug\locale.html

     文件       1894  2011-12-16 09:54  TBAuction\TBAuction\bin\Debug\TBAuction.application

     文件     103424  2011-12-16 09:54  TBAuction\TBAuction\bin\Debug\TBAuction.exe

     文件       3023  2011-12-16 09:54  TBAuction\TBAuction\bin\Debug\TBAuction.exe.manifest

     文件     163328  2011-12-16 09:54  TBAuction\TBAuction\bin\Debug\TBAuction.pdb

     文件       1894  2011-12-16 09:54  TBAuction\TBAuction\bin\Debug\TBAuction.vshost.application

     文件      11600  2011-12-23 09:46  TBAuction\TBAuction\bin\Debug\TBAuction.vshost.exe

     文件       3023  2011-12-16 09:54  TBAuction\TBAuction\bin\Debug\TBAuction.vshost.exe.manifest

     文件      80384  2011-10-30 16:21  TBAuction\TBAuction\bin\Release\app.publish\Application Files\TBAuction_1_0_0_4\TBAuction.exe.deploy

     文件       6755  2011-10-30 16:21  TBAuction\TBAuction\bin\Release\app.publish\Application Files\TBAuction_1_0_0_4\TBAuction.exe.manifest

     文件         45  2011-10-30 16:21  TBAuction\TBAuction\bin\Release\app.publish\autorun.inf

     文件     429024  2011-10-30 16:21  TBAuction\TBAuction\bin\Release\app.publish\setup.exe

     文件       5664  2011-10-30 16:21  TBAuction\TBAuction\bin\Release\app.publish\TBAuction.application

     文件       1894  2011-12-12 17:12  TBAuction\TBAuction\bin\Release\TBAuction.application

     文件      95232  2011-12-12 17:12  TBAuction\TBAuction\bin\Release\TBAuction.exe

     文件       3057  2011-12-12 17:12  TBAuction\TBAuction\bin\Release\TBAuction.exe.manifest

     文件     128512  2011-12-12 17:12  TBAuction\TBAuction\bin\Release\TBAuction.pdb

     文件       1894  2011-12-12 17:12  TBAuction\TBAuction\bin\Release\TBAuction.vshost.application

     文件      11600  2011-12-12 20:00  TBAuction\TBAuction\bin\Release\TBAuction.vshost.exe

     文件       3057  2011-12-12 17:12  TBAuction\TBAuction\bin\Release\TBAuction.vshost.exe.manifest

     文件        487  2011-10-10 08:29  TBAuction\TBAuction\CheckCodeForm.cs

............此处省略82个文件信息

评论

共有 条评论