forked from dc7jzb/radioddity_gd-77_cps2.0.5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSelectedItemUtils.cs
56 lines (48 loc) · 834 Bytes
/
SelectedItemUtils.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
using DMR;
using System;
using System.Diagnostics;
using System.IO.Ports;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Windows.Forms;
internal class SelectedItemUtils
{
public int Value
{
get;
set;
}
public string Name
{
get;
set;
}
int _DispNum;
[CompilerGenerated]
public int method_0()
{
return this._DispNum;
}
[CompilerGenerated]
public void method_1(int int_0)
{
this._DispNum = int_0;
}
public SelectedItemUtils(int int_0, int int_1, string string_0)
{
this.Value = int_1;
this.method_1(int_0);
this.Name = string_0;
}
public override string ToString()
{
if (this.method_0() < 0)
{
return this.Name;
}
string s = string.Format("{0:d3}:{1}", this.method_0() + 1, this.Name);
Console.WriteLine(s);
return s;
}
}