FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
flashdevelop/FlashDevelop/Controls/ArgEditor.cs at development · SandersAlex/flashdevelop · GitHub
SandersAlex
flashdevelop
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
flashdevelop
/
FlashDevelop
/
Controls
/
ArgEditor.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
102 lines (89 loc) · 3.06 KB
Breadcrumbs
flashdevelop
/
FlashDevelop
/
Controls
/
ArgEditor.cs
Copy path
File metadata and controls
102 lines (89 loc) · 3.06 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
using
System
;
using
System
.
Windows
.
Forms
;
namespace
FlashDevelop
.
Controls
{
public
class
ArgEditor
:
UserControl
{
private
System
.
Windows
.
Forms
.
Label
argLabel
;
private
System
.
Windows
.
Forms
.
ComboBox
argValues
;
public
ArgEditor
(
String
args
,
String
[
]
values
)
{
this
.
InitializeComponent
(
)
;
this
.
argLabel
.
Text
=
args
;
this
.
Font
=
PluginCore
.
PluginBase
.
Settings
.
DefaultFont
;
if
(
values
.
Length
>
0
)
{
this
.
argValues
.
Items
.
AddRange
(
values
)
;
this
.
Value
=
values
[
0
]
;
}
}
#region Windows Forms 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
(
)
{
this
.
argLabel
=
new
System
.
Windows
.
Forms
.
Label
(
)
;
this
.
argValues
=
new
System
.
Windows
.
Forms
.
FlatCombo
(
)
;
this
.
SuspendLayout
(
)
;
//
// argLabel
//
this
.
argLabel
.
FlatStyle
=
System
.
Windows
.
Forms
.
FlatStyle
.
System
;
this
.
argLabel
.
Location
=
new
System
.
Drawing
.
Point
(
0
,
3
)
;
this
.
argLabel
.
Margin
=
new
System
.
Windows
.
Forms
.
Padding
(
0
)
;
this
.
argLabel
.
Name
=
"argLabel"
;
this
.
argLabel
.
Size
=
new
System
.
Drawing
.
Size
(
100
,
22
)
;
this
.
argLabel
.
TabIndex
=
0
;
this
.
argLabel
.
Text
=
"Argument"
;
this
.
argLabel
.
TextAlign
=
System
.
Drawing
.
ContentAlignment
.
MiddleRight
;
//
// argValues
//
this
.
argValues
.
FormattingEnabled
=
true
;
this
.
argValues
.
Location
=
new
System
.
Drawing
.
Point
(
105
,
1
)
;
this
.
argValues
.
Name
=
"argValues"
;
this
.
argValues
.
Size
=
new
System
.
Drawing
.
Size
(
160
,
22
)
;
this
.
argValues
.
TabIndex
=
1
;
//
// ArgEditor
//
this
.
AutoSize
=
true
;
this
.
Controls
.
Add
(
this
.
argValues
)
;
this
.
Controls
.
Add
(
this
.
argLabel
)
;
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
13F
)
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
Name
=
"ArgEditor"
;
this
.
Size
=
new
System
.
Drawing
.
Size
(
270
,
25
)
;
this
.
ResumeLayout
(
false
)
;
}
#endregion
#region Methods And Event Handlers
/// <summary>
///
/// </summary>
protected
override
void
OnGotFocus
(
EventArgs
e
)
{
base
.
OnGotFocus
(
e
)
;
this
.
argValues
.
Focus
(
)
;
}
/// <summary>
///
/// </summary>
public
String
Argument
{
get
{
return
this
.
argLabel
.
Text
;
}
set
{
this
.
argLabel
.
Text
=
value
;
}
}
/// <summary>
///
/// </summary>
public
String
Value
{
get
{
return
this
.
argValues
.
Text
;
}
set
{
this
.
argValues
.
Text
=
value
;
}
}
#endregion
}
}
Back
|
FazBrowse Home
|
New Git URL