old_flsystem/应用/QQ采集项目/QQ采集项目/MainForm.cs

47 lines
977 B
C#

using Api.Framework;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Demo
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
}
/// <summary>
/// 窗体的关闭
/// </summary>
public void CloseForm()
{
try
{
if (!this.IsDisposed)
{
this.Invoke(new Action(delegate
{
this.Close();
this.Dispose();
}));
}
}
catch (Exception) { }
}
private void MainForm_Load(object sender, EventArgs e)
{
string[] vs = new string[] {""};
}
}
}