forked from ahyahy/OneScriptForms
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAppearance.cs
More file actions
23 lines (20 loc) · 801 Bytes
/
Appearance.cs
File metadata and controls
23 lines (20 loc) · 801 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using ScriptEngine.Machine.Contexts;
namespace osf
{
[ContextClass ("КлОформление", "ClAppearance")]
public class ClAppearance : AutoContext<ClAppearance>
{
private int m_normal = (int)System.Windows.Forms.Appearance.Normal; // 0 Внешний вид по умолчанию, определенный классом элемента управления.
private int m_button = (int)System.Windows.Forms.Appearance.Button; // 1 Внешний вид кнопки Windows.
[ContextProperty("Кнопка", "Button")]
public int Button
{
get { return m_button; }
}
[ContextProperty("Стандартное", "Normal")]
public int Normal
{
get { return m_normal; }
}
}
}