annotate Implab.Fx.Test/Sample/OverlayForm.Designer.cs @ 209:a867536c68fc v2

Bound promise to CancellationToken Added new states to ExecutionSate enum. Added Safe.Guard() method to handle cleanup of the result of the promise
author cin
date Wed, 16 Nov 2016 03:06:08 +0300
parents f2559580b481
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 OverlayForm
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.checkBox1 = new System.Windows.Forms.CheckBox();
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
33 this.label1 = new System.Windows.Forms.Label();
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
34 this.progressBar1 = new System.Windows.Forms.ProgressBar();
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
35 this.SuspendLayout();
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
36 //
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
37 // button1
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
38 //
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
39 this.button1.Location = new System.Drawing.Point(12, 12);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
40 this.button1.Name = "button1";
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
41 this.button1.Size = new System.Drawing.Size(75, 23);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
42 this.button1.TabIndex = 0;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
43 this.button1.Text = "button1";
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
44 this.button1.UseVisualStyleBackColor = true;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
45 this.button1.Click += new System.EventHandler(this.button1_Click);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
46 //
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
47 // checkBox1
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
48 //
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
49 this.checkBox1.AutoSize = true;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
50 this.checkBox1.Location = new System.Drawing.Point(12, 88);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
51 this.checkBox1.Name = "checkBox1";
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
52 this.checkBox1.Size = new System.Drawing.Size(80, 17);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
53 this.checkBox1.TabIndex = 1;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
54 this.checkBox1.Text = "checkBox1";
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
55 this.checkBox1.UseVisualStyleBackColor = true;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
56 //
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
57 // label1
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
58 //
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
59 this.label1.AutoSize = true;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
60 this.label1.Location = new System.Drawing.Point(13, 42);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
61 this.label1.Name = "label1";
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
62 this.label1.Size = new System.Drawing.Size(35, 13);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
63 this.label1.TabIndex = 2;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
64 this.label1.Text = "label1";
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
65 //
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
66 // progressBar1
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
67 //
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
68 this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
69 | System.Windows.Forms.AnchorStyles.Left)
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
70 | System.Windows.Forms.AnchorStyles.Right)));
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
71 this.progressBar1.Location = new System.Drawing.Point(12, 59);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
72 this.progressBar1.Name = "progressBar1";
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
73 this.progressBar1.Size = new System.Drawing.Size(260, 23);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
74 this.progressBar1.TabIndex = 3;
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 // OverlayForm
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 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
79 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
80 this.ClientSize = new System.Drawing.Size(284, 262);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
81 this.Controls.Add(this.progressBar1);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
82 this.Controls.Add(this.label1);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
83 this.Controls.Add(this.checkBox1);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
84 this.Controls.Add(this.button1);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
85 this.Name = "OverlayForm";
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
86 this.Text = "OverlayForm";
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
87 this.ResumeLayout(false);
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
88 this.PerformLayout();
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
89
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
90 }
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
91
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
92 #endregion
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
93
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
94 private System.Windows.Forms.Button button1;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
95 private System.Windows.Forms.CheckBox checkBox1;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
96 private System.Windows.Forms.Label label1;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
97 private System.Windows.Forms.ProgressBar progressBar1;
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
98 }
f2559580b481 implemented overlay helpers and some animation heplers improvments
cin
parents:
diff changeset
99 }