annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
45
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
1 using System;
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
2 using System.Collections.Generic;
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
3 using System.ComponentModel;
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
4 using System.Data;
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
5 using System.Drawing;
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
6 using System.Linq;
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
7 using System.Text;
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
8 using System.Threading.Tasks;
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
9 using System.Windows.Forms;
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
10
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
11 namespace Implab.Diagnostics.Interactive {
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
12 public partial class TraceForm : Form {
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
13 public TraceForm() {
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
14 InitializeComponent();
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
15 }
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
16
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
17 protected override void OnFormClosing(FormClosingEventArgs e) {
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
18 base.OnFormClosing(e);
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
19 if (!e.Cancel && e.CloseReason == CloseReason.UserClosing) {
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
20 e.Cancel = true;
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
21 Hide();
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
22 }
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
23 }
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
24 }
d10034588e38 initial work on interactive logger
cin
parents:
diff changeset
25 }