-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparametros.cs
More file actions
executable file
·30 lines (27 loc) · 863 Bytes
/
parametros.cs
File metadata and controls
executable file
·30 lines (27 loc) · 863 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
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Paranoya
{
public partial class parametros : Form
{
public parametros()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Form1.limiarCanto = Math.Abs(Double.Parse(this.limiarCantos.Text)) * -1;
Form1.nroMaxCantos = Int32.Parse(this.maxCantos.Text);
Form1.toleranciaCor = Double.Parse(this.toleranciaCor.Text);
Form1.tamJanelaCor = Int32.Parse(this.janelaCor.Text);
Form1.nroMaioresCantos = Int32.Parse(this.nroMaioresCantos.Text);
this.Dispose();
}
}
}