forked from ahyahy/OneScriptForms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBorderStyle.cs
More file actions
30 lines (26 loc) · 998 Bytes
/
BorderStyle.cs
File metadata and controls
30 lines (26 loc) · 998 Bytes
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
using ScriptEngine.Machine.Contexts;
namespace osf
{
[ContextClass ("КлСтильГраницы", "ClBorderStyle")]
public class ClBorderStyle : AutoContext<ClBorderStyle>
{
private int m_none = (int)System.Windows.Forms.BorderStyle.None; // 0 Граница отсутствует.
private int m_fixedSingle = (int)System.Windows.Forms.BorderStyle.FixedSingle; // 1 Одинарная граница.
private int m_fixed3D = (int)System.Windows.Forms.BorderStyle.Fixed3D; // 2 Трехмерная граница.
[ContextProperty("Одинарная", "FixedSingle")]
public int FixedSingle
{
get { return m_fixedSingle; }
}
[ContextProperty("Отсутствие", "None")]
public int None
{
get { return m_none; }
}
[ContextProperty("Трехмерная", "Fixed3D")]
public int Fixed3D
{
get { return m_fixed3D; }
}
}
}