最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
C#第2个程序,读取偶网站的数据!
时间:2022-07-02 11:05:17 编辑:袖梨 来源:一聚教程网
由于偶网站是用XML搞D...说白了就是读XML而已(不要揍偶...)程序再最最下面,而且如果你觉得不一定是偶网站当前数据的话,欢迎http://www.j*o*y*sou.com 嘿嘿,正想拉点人呢..
以下是引用片段:Form1.cs
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Xml;
namespace hellojoysou
{
///
/// Form1 的摘要说明。
///
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.DataGrid Visitors;
private System.Windows.Forms.Button GetXML;
///
/// 必需的设计器变量。
///
private System.ComponentModel.Container components = null;
public Form1()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
///
/// 清理所有正在使用的资源。
///
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
///
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
///
private void InitializeComponent()
以下是引用片段:Form1.cs
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.Xml;
namespace hellojoysou
{
///
/// Form1 的摘要说明。
///
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.DataGrid Visitors;
private System.Windows.Forms.Button GetXML;
///
/// 必需的设计器变量。
///
private System.ComponentModel.Container components = null;
public Form1()
{
//
// Windows 窗体设计器支持所必需的
//
InitializeComponent();
//
// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
//
}
///
/// 清理所有正在使用的资源。
///
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows 窗体设计器生成的代码
///
/// 设计器支持所需的方法 - 不要使用代码编辑器修改
/// 此方法的内容。
///
private void InitializeComponent()
相关文章
- 洛克王国世界光灵石如何获取 10-14
- 三国志幻想大陆2枭之歌颜良有什么玩法技巧 10-14
- 荒原曙光银鬃怎么捕捉 10-14
- 崩坏因缘精灵阿斯维加斯强度如何 10-14
- 火环尼芙海姆位置在哪里 10-14
- 迷雾大陆机械师流派构筑指南-迷雾大陆机械师流派构筑参考 10-14