-
Notifications
You must be signed in to change notification settings - Fork 14
/
EVEUICombo.cs
83 lines (67 loc) · 2.22 KB
/
EVEUICombo.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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Globalization;
using EVE.ISXEVE.Extensions;
using LavishScriptAPI;
namespace EVE.ISXEVE
{
public class EVEUICombo : LavishScriptObject
{
#region Constructors
public EVEUICombo(LavishScriptObject copy) : base(copy)
{
}
#endregion
#region Members
private string _Index;
public string Index
{
get { return _Index ?? (_Index = this.GetString("Index")); }
}
private string _Key;
public string Key
{
get { return _Key ?? (_Key = this.GetString("Key")); }
}
private string _Value;
public string Value
{
get { return _Value ?? (_Value = this.GetString("Value")); }
}
#endregion
#region Method
/// <summary>
/// Wraps the SelectByIndex method of the EVEUISingleLineEdit datatype.
/// </summary>
/// <param name="index">set index value</param>
/// <returns></returns>
public bool SelectByIndex(string index)
{
Tracing.SendCallback("EVEUICombo.SelectByIndex", index);
return ExecuteMethod("SelectByIndex", index.ToString(CultureInfo.CurrentCulture));
}
/// <summary>
/// Wraps the SelectByValue method of the EVEUISingleLineEdit datatype.
/// </summary>
/// <param name="value">set Value value</param>
/// <returns></returns>
public bool SelectByValue(string value)
{
Tracing.SendCallback("EVEUICombo.SelectByValue", value);
return ExecuteMethod("SelectByValue", value.ToString(CultureInfo.CurrentCulture));
}
/// <summary>
/// Wraps the SelectByLabel method of the EVEUISingleLineEdit datatype.
/// </summary>
/// <param name="label">set Label value</param>
/// <returns></returns>
public bool SelectByLabel(string label)
{
Tracing.SendCallback("EVEUICombo.SelectByLabel", label);
return ExecuteMethod("SelectByLabel", label.ToString(CultureInfo.CurrentCulture));
}
#endregion
}
}