1
0
mirror of https://github.com/mastercodeon314/KsDumper-11.git synced 2024-11-27 16:00:53 +01:00
KsDumper-11/KsDumper11/Trigger.cs
Dennis Nedry 58a0d27fd7 v1.3.4
2024-02-22 00:51:22 -06:00

44 lines
978 B
C#

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 KsDumper11
{
public partial class Trigger : UserControl
{
TriggerForm triggerFrm;
public Trigger()
{
InitializeComponent();
triggerFrm = new TriggerForm();
this.Click += Trigger_Click;
}
private void Trigger_Click(object sender, EventArgs e)
{
if (triggerFrm == null)
{
triggerFrm = new TriggerForm();
}
else
{
if (triggerFrm.IsDisposed)
{
triggerFrm = new TriggerForm();
}
}
if (!triggerFrm.Visible)
{
triggerFrm.ShowDialog();
}
}
}
}