• 大小: 224KB
    文件类型: .rar
    金币: 2
    下载: 1 次
    发布日期: 2021-06-07
  • 语言: C#
  • 标签:

资源简介

刚转C#时写的网页数据抓取,调试时请将代理设置好,或设置成不使用代理,好再调试

资源截图

代码片段和文件信息

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;

namespace GraphicSample
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        private Pen pen = new Pen(Color.Black2f);
        private Brush greenbrush = new SolidBrush(Color.FromArgb(0 255 0));
        private Brush redbrush=new SolidBrush(Color.FromArgb(25500));
        protected override void OnPaint(PaintEventArgs e)
        {
            base.OnPaint(e);
            Graphics dc = e.Graphics;
            Rectangle rect = new Rectangle(new Point(10 10) new Size(100 100));
            dc.DrawRectangle(pen rect);
            dc.DrawEllipse(pen rect);
            //dc.FillRectangle(redbrush rect);
            //dc.FillEllipse(greenbrush rect);
            dc.DrawBezier(pen new Point(120 120) new Point(145 149) new Point(133 129) new Point(129 133));
            
        }

    }
}

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

     文件       2417  2011-07-15 11:16  彩票数据查询.sln

     文件       8192  2011-07-19 16:58  GraphicSample\bin\Debug\GraphicSample.exe

     文件      26112  2011-07-19 16:58  GraphicSample\bin\Debug\GraphicSample.pdb

     文件      14328  2011-07-14 16:13  GraphicSample\bin\Debug\GraphicSample.vshost.exe

     文件        490  2007-07-21 01:33  GraphicSample\bin\Debug\GraphicSample.vshost.exe.manifest

     文件       1114  2011-07-19 16:58  GraphicSample\Form1.cs

     文件       1439  2011-07-14 16:05  GraphicSample\Form1.Designer.cs

     文件       5814  2011-07-14 16:05  GraphicSample\Form1.resx

     文件       3737  2011-07-14 15:29  GraphicSample\GraphicSample.csproj

     文件        974  2011-07-14 16:13  GraphicSample\obj\Debug\GraphicSample.csproj.FileListAbsolute.txt

     文件        847  2011-07-14 16:05  GraphicSample\obj\Debug\GraphicSample.csproj.GenerateResource.Cache

     文件       8192  2011-07-19 16:58  GraphicSample\obj\Debug\GraphicSample.exe

     文件        180  2011-07-14 16:05  GraphicSample\obj\Debug\GraphicSample.Form1.resources

     文件      26112  2011-07-19 16:58  GraphicSample\obj\Debug\GraphicSample.pdb

     文件        180  2011-07-14 15:29  GraphicSample\obj\Debug\GraphicSample.Properties.Resources.resources

     文件        494  2011-07-14 15:26  GraphicSample\Program.cs

     文件       1368  2011-07-14 15:26  GraphicSample\Properties\AssemblyInfo.cs

     文件       2876  2011-07-14 15:26  GraphicSample\Properties\Resources.Designer.cs

     文件       5612  2011-07-14 15:26  GraphicSample\Properties\Resources.resx

     文件       1098  2011-07-14 15:26  GraphicSample\Properties\Settings.Designer.cs

     文件        249  2011-07-14 15:26  GraphicSample\Properties\Settings.settings

     文件       4608  2011-07-19 16:58  PrincipalSample\bin\Debug\PrincipalSample.exe

     文件      11776  2011-07-19 16:58  PrincipalSample\bin\Debug\PrincipalSample.pdb

     文件      14328  2011-07-28 15:28  PrincipalSample\bin\Debug\PrincipalSample.vshost.exe

     文件        490  2007-07-21 01:33  PrincipalSample\bin\Debug\PrincipalSample.vshost.exe.manifest

     文件        769  2011-07-28 15:28  PrincipalSample\obj\Debug\PrincipalSample.csproj.FileListAbsolute.txt

     文件       4608  2011-07-19 16:58  PrincipalSample\obj\Debug\PrincipalSample.exe

     文件      11776  2011-07-19 16:58  PrincipalSample\obj\Debug\PrincipalSample.pdb

     文件       2550  2011-07-19 16:58  PrincipalSample\PrincipalSample.csproj

     文件        402  2011-07-19 16:58  PrincipalSample\Program.cs

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

评论

共有 条评论

相关资源