45
|
1 using System;
|
|
2 using System.Collections.Generic;
|
|
3 using System.ComponentModel;
|
|
4 using System.Data;
|
|
5 using System.Drawing;
|
|
6 using System.Linq;
|
|
7 using System.Text;
|
|
8 using System.Threading.Tasks;
|
|
9 using System.Windows.Forms;
|
|
10
|
|
11 namespace Implab.Diagnostics.Interactive {
|
|
12 public partial class TraceForm : Form {
|
|
13 public TraceForm() {
|
|
14 InitializeComponent();
|
|
15 }
|
|
16
|
|
17 protected override void OnFormClosing(FormClosingEventArgs e) {
|
|
18 base.OnFormClosing(e);
|
|
19 if (!e.Cancel && e.CloseReason == CloseReason.UserClosing) {
|
|
20 e.Cancel = true;
|
|
21 Hide();
|
|
22 }
|
|
23 }
|
|
24 }
|
|
25 }
|