forked from ispysoftware/iSpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfigureSeconds.cs
36 lines (31 loc) · 921 Bytes
/
ConfigureSeconds.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
using System;
using System.Windows.Forms;
namespace iSpyApplication
{
public partial class ConfigureSeconds : Form
{
public double Seconds = 0;
public ConfigureSeconds()
{
InitializeComponent();
RenderResources();
}
private void RenderResources()
{
Text = LocRm.GetString("Configure");
label48.Text = LocRm.GetString("Seconds");
label1.Text = LocRm.GetString("For");
button1.Text = LocRm.GetString("OK");
}
private void ForSecondsLoad(object sender, EventArgs e)
{
try {txtSeconds.Value = Convert.ToDecimal(Seconds);} catch{}
}
private void Button1Click(object sender, EventArgs e)
{
Seconds = Convert.ToDouble(txtSeconds.Value);
DialogResult = DialogResult.OK;
Close();
}
}
}