Mercurial > pub > ImplabNet
annotate Implab.Fx.Test/Sample/MainForm.Designer.cs @ 203:4d9830a9bbb8 v2
Added 'Fail' method to RunnableComponent which allows component to move from
Running to Failed state.
Added PollingComponent a timer based runnable component
More tests
Added FailPromise a thin class to wrap exceptions
Fixed error handling in SuccessPromise classes.
author | cin |
---|---|
date | Tue, 18 Oct 2016 17:49:54 +0300 |
parents | f2559580b481 |
children |
rev | line source |
---|---|
5
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
1 namespace Implab.Fx.Test.Sample |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
2 { |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
3 partial class MainForm |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
4 { |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
5 /// <summary> |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
6 /// Required designer variable. |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
7 /// </summary> |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
8 private System.ComponentModel.IContainer components = null; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
9 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
10 /// <summary> |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
11 /// Clean up any resources being used. |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
12 /// </summary> |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
14 protected override void Dispose(bool disposing) |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
15 { |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
16 if (disposing && (components != null)) |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
17 { |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
18 components.Dispose(); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
19 } |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
20 base.Dispose(disposing); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
21 } |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
22 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
23 #region Windows Form Designer generated code |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
24 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
25 /// <summary> |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
26 /// Required method for Designer support - do not modify |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
27 /// the contents of this method with the code editor. |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
28 /// </summary> |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
29 private void InitializeComponent() |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
30 { |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
31 this.button1 = new System.Windows.Forms.Button(); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
32 this.comboBox1 = new System.Windows.Forms.ComboBox(); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
33 this.listBox1 = new System.Windows.Forms.ListBox(); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
34 this.SuspendLayout(); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
35 // |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
36 // button1 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
37 // |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
38 this.button1.Location = new System.Drawing.Point(138, 12); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
39 this.button1.Name = "button1"; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
40 this.button1.Size = new System.Drawing.Size(75, 23); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
41 this.button1.TabIndex = 0; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
42 this.button1.Text = "button1"; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
43 this.button1.UseVisualStyleBackColor = true; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
44 this.button1.Click += new System.EventHandler(this.button1_Click); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
45 // |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
46 // comboBox1 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
47 // |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
48 this.comboBox1.FormattingEnabled = true; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
49 this.comboBox1.Location = new System.Drawing.Point(138, 41); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
50 this.comboBox1.Name = "comboBox1"; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
51 this.comboBox1.Size = new System.Drawing.Size(121, 21); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
52 this.comboBox1.TabIndex = 1; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
53 // |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
54 // listBox1 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
55 // |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
56 this.listBox1.FormattingEnabled = true; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
57 this.listBox1.Location = new System.Drawing.Point(12, 12); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
58 this.listBox1.Name = "listBox1"; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
59 this.listBox1.Size = new System.Drawing.Size(120, 95); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
60 this.listBox1.TabIndex = 2; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
61 // |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
62 // MainForm |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
63 // |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
64 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
65 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
66 this.ClientSize = new System.Drawing.Size(284, 262); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
67 this.Controls.Add(this.listBox1); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
68 this.Controls.Add(this.comboBox1); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
69 this.Controls.Add(this.button1); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
70 this.Name = "MainForm"; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
71 this.Text = "MainForm"; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
72 this.ResumeLayout(false); |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
73 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
74 } |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
75 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
76 #endregion |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
77 |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
78 private System.Windows.Forms.Button button1; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
79 private System.Windows.Forms.ComboBox comboBox1; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
80 private System.Windows.Forms.ListBox listBox1; |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
81 } |
f2559580b481
implemented overlay helpers and some animation heplers improvments
cin
parents:
diff
changeset
|
82 } |