public void Stop() { Program.MainForm.tvData.AfterSelect -= treeView1_AfterSelect; Program.MainForm.Shown -= putScreenToFront; if (animationForm != null) { animationForm.Close(); } if (characterGenForm != null) { characterGenForm.Close(); } }
public void Stop() { Program.MainForm.tvData.AfterSelect -= treeView1_AfterSelect; form.Close(); }