-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainForm.Designer.cs
205 lines (198 loc) · 10.2 KB
/
MainForm.Designer.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
namespace ExponentFlowerDrawer {
partial class MainForm {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing) {
if (disposing && (components != null)) {
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent() {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.view = new System.Windows.Forms.PictureBox();
this.cmd_log = new System.Windows.Forms.ListBox();
this.button1 = new System.Windows.Forms.Button();
this.cmd = new System.Windows.Forms.TextBox();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.view)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.SuspendLayout();
//
// view
//
this.view.BackColor = System.Drawing.SystemColors.Control;
this.view.Dock = System.Windows.Forms.DockStyle.Fill;
this.view.Location = new System.Drawing.Point(0, 0);
this.view.Name = "view";
this.view.Size = new System.Drawing.Size(507, 411);
this.view.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.view.TabIndex = 0;
this.view.TabStop = false;
//
// cmd_log
//
this.cmd_log.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.cmd_log.FormattingEnabled = true;
this.cmd_log.HorizontalScrollbar = true;
this.cmd_log.ItemHeight = 17;
this.cmd_log.Items.AddRange(new object[] {
"> help",
"ag {true|false} - prop - regenerate flower on prop change",
"ai {true|false} - prop - initiate pic on prop change",
"alpha {true|false} - prop - backgroung color mode",
"black - func - dark theme",
"cd {true|false} - prop - draw center dot",
"chd {true|false} - prop - draw dots on connections",
"cln - func - clean the log",
"df {float, not 0} - prop - deform exponent",
"draw - func - draw default flower",
"daw - typo - \"draw\" is correct",
"eul {float 0<} - prop - exponent generator y limit",
"gen - func - generate fllower with current props",
"gsq {lb|eul|df|rt} {float} {float} - func - generate sequence. Format: gsq cmd ma" +
"x/min step",
"help - func - show help info",
"ir {true|false} - prop - draw inner radius",
"iv {true|false} - prop - color inverse mode",
"lb {e|pi|float 1<} - prop - logoriphm basis",
"man {cmd} - func - typical usage info",
"pc {int 3+} - prop - count of petals",
"pinit - func - init pic",
"pg {true|false} - prop - draw polygon",
"pwp {float 0-100} - prop - pen width percent",
"qa {medium|high|int 100+} - prop - set pic quality",
"rot {float}[p] - func - rotate existing image by given degrees",
"rt {float}[p] - prop - rotate by given degrees",
"save - func - save image into file",
"sh - func - show current flower props",
"ss - func - show current props",
"sv {path} - func - save image into specefied file",
"white - func - light theme"});
this.cmd_log.Location = new System.Drawing.Point(2, 24);
this.cmd_log.Name = "cmd_log";
this.cmd_log.Size = new System.Drawing.Size(249, 327);
this.cmd_log.TabIndex = 2;
this.cmd_log.DoubleClick += new System.EventHandler(this.cmd_log_DoubleClick);
this.cmd_log.KeyUp += new System.Windows.Forms.KeyEventHandler(this.cmd_log_KeyUp);
//
// button1
//
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.button1.Font = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold);
this.button1.Location = new System.Drawing.Point(216, 375);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(36, 33);
this.button1.TabIndex = 2;
this.button1.TabStop = false;
this.button1.Text = "↳";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// cmd
//
this.cmd.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.cmd.Location = new System.Drawing.Point(3, 382);
this.cmd.Name = "cmd";
this.cmd.Size = new System.Drawing.Size(207, 25);
this.cmd.TabIndex = 1;
this.cmd.KeyUp += new System.Windows.Forms.KeyEventHandler(this.cmd_KeyUp);
//
// splitContainer1
//
this.splitContainer1.BackColor = System.Drawing.SystemColors.ControlLight;
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.view);
this.splitContainer1.Panel1MinSize = 500;
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.BackColor = System.Drawing.SystemColors.Control;
this.splitContainer1.Panel2.Controls.Add(this.label2);
this.splitContainer1.Panel2.Controls.Add(this.label1);
this.splitContainer1.Panel2.Controls.Add(this.cmd_log);
this.splitContainer1.Panel2.Controls.Add(this.button1);
this.splitContainer1.Panel2.Controls.Add(this.cmd);
this.splitContainer1.Panel2MinSize = 160;
this.splitContainer1.Size = new System.Drawing.Size(766, 411);
this.splitContainer1.SplitterDistance = 507;
this.splitContainer1.TabIndex = 3;
this.splitContainer1.TabStop = false;
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(4, 362);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(36, 17);
this.label2.TabIndex = 5;
this.label2.Text = "cmd:";
this.label2.UseMnemonic = false;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(4, 4);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(135, 17);
this.label1.TabIndex = 4;
this.label1.Text = "cmd history & output:";
this.label1.UseMnemonic = false;
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(766, 411);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("Segoe UI", 9.75F);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.MinimumSize = new System.Drawing.Size(720, 450);
this.Name = "MainForm";
this.Text = "Exponent Flower Generator";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
this.Shown += new System.EventHandler(this.MainForm_Shown);
((System.ComponentModel.ISupportInitialize)(this.view)).EndInit();
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.Panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.PictureBox view;
private System.Windows.Forms.ListBox cmd_log;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox cmd;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
}
}