22 lines
391 B
C#
22 lines
391 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace ZipTool
|
|
{
|
|
public partial class MainForm : Form
|
|
{
|
|
public MainForm()
|
|
{
|
|
InitializeComponent();
|
|
|
|
// 测试压缩文件方法
|
|
ZipHelper.CompressDirectory();
|
|
}
|
|
|
|
private void MainForm_Load(object sender, EventArgs e)
|
|
{
|
|
Close();
|
|
}
|
|
}
|
|
}
|