frmreport.cs
来自「用C#编写的一个款搜索engine的源代码!摘自<Visual c#200」· CS 代码 · 共 38 行
CS
38 行
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace SECompare.Forms
{
public partial class FrmReport : Form
{
public FrmReport()
{
InitializeComponent();
}
private void btnRun_Click(object sender, EventArgs e)
{
SaveFileDialog sfd = new SaveFileDialog();
sfd.Filter = "HTML files (*.html)|*.html|All files (*.*)|*.*";
sfd.FileName = "Report_CDR.html";
sfd.FilterIndex = 0;
sfd.RestoreDirectory = true;
if (sfd.ShowDialog() == DialogResult.OK)
{
report = new SECompare.Kernel.Report(sfd.FileName);
report.Start();
this.threadMsgMonitor.ThreadStatus = report;
this.threadMsgMonitor.StartButton = this.btnRun;
this.threadMsgMonitor.Title = "Crawled Data Report";
this.threadMsgMonitor.Start();
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?