TraceForm.cs
25 lines
| 674 B
| text/x-csharp
|
CSharpLexer
/ Implab.Diagnostics.Interactive / TraceForm.cs
cin
|
r45 | 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 Implab.Diagnostics.Interactive { | ||||
public partial class TraceForm : Form { | ||||
public TraceForm() { | ||||
InitializeComponent(); | ||||
} | ||||
protected override void OnFormClosing(FormClosingEventArgs e) { | ||||
base.OnFormClosing(e); | ||||
if (!e.Cancel && e.CloseReason == CloseReason.UserClosing) { | ||||
e.Cancel = true; | ||||
Hide(); | ||||
} | ||||
} | ||||
} | ||||
} | ||||