OLD | NEW |
| (Empty) |
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.Windows.Forms; | |
9 | |
10 namespace Google.NaClVsx.Installation | |
11 { | |
12 public partial class ProgressForm : Form | |
13 { | |
14 public ProgressForm() | |
15 { | |
16 InitializeComponent(); | |
17 } | |
18 | |
19 public string Message { | |
20 get { return message_.Text; } | |
21 set { message_.Text = value; } | |
22 } | |
23 | |
24 public void Cancel() { | |
25 if (Cancelled != null) { | |
26 Cancelled(this, null); | |
27 } | |
28 this.DialogResult = DialogResult.Cancel; | |
29 Close(); | |
30 } | |
31 | |
32 public event EventHandler Cancelled; | |
33 | |
34 private void cancel__Click(object sender, EventArgs e) | |
35 { | |
36 Cancel(); | |
37 } | |
38 | |
39 | |
40 } | |
41 } | |
OLD | NEW |