old_flsystem/应用/PDDGroupAD/MainForm.cs

57 lines
1.1 KiB
C#
Raw Normal View History

2022-09-20 03:10:29 +00:00
using PDDGroupAD.Properties;
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;
using UI.Framework.Forms;
namespace PDDGroupAD
{
public partial class MainForm : BaseForm
{
public MainForm()
{
InitializeComponent();
this.Text = Resources.MainFormTitle;
}
public void CloseForm()
{
try
{
if (!this.IsDisposed)
{
this.Invoke(new Action(delegate {
this.Close();
this.Dispose();
}));
}
}
catch (Exception ex)
{
ShowError(ex.Message);
}
}
private void MainForm_Load(object sender, EventArgs e)
{
try
{
}
catch (Exception ex)
{
ShowError(ex);
}
}
}
}