36 lines
785 B
C#
36 lines
785 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.Windows.Forms;
|
|
|
|
namespace CrashDumpSender
|
|
{
|
|
public partial class CopyDisplay : Form
|
|
{
|
|
private CrashDumpSenderForm parent = null;
|
|
public CopyDisplay(CrashDumpSenderForm _parent)
|
|
{
|
|
parent = _parent;
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void abort()
|
|
{
|
|
parent.restoreSending();
|
|
}
|
|
|
|
private void btnAbort_Click(object sender, EventArgs e)
|
|
{
|
|
Close();
|
|
}
|
|
|
|
private void CopyDisplay_FormClosing(object sender, FormClosingEventArgs e)
|
|
{
|
|
abort();
|
|
}
|
|
}
|
|
}
|