comparison Implab.Diagnostics.Interactive/TraceForm.cs @ 45:d10034588e38 interactive logger

initial work on interactive logger
author cin
date Thu, 17 Apr 2014 03:05:53 +0400
parents
children b181f7bcb259
comparison
equal deleted inserted replaced
42:3ba6778ed336 45:d10034588e38
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 }