forked from ispysoftware/iSpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfigureObjectCount.cs
More file actions
35 lines (30 loc) · 842 Bytes
/
ConfigureObjectCount.cs
File metadata and controls
35 lines (30 loc) · 842 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
31
32
33
34
35
using System;
using System.Windows.Forms;
namespace iSpyApplication
{
public partial class ConfigureObjectCount : Form
{
public int Objects = 0;
public ConfigureObjectCount()
{
InitializeComponent();
RenderResources();
}
private void RenderResources()
{
Text = LocRm.GetString("Configure");
label48.Text = LocRm.GetString("Objects");
button1.Text = LocRm.GetString("OK");
}
private void ForSecondsLoad(object sender, EventArgs e)
{
numObjects.Value = Objects;
}
private void Button1Click(object sender, EventArgs e)
{
Objects = Convert.ToInt32(numObjects.Value);
DialogResult = DialogResult.OK;
Close();
}
}
}