-
Notifications
You must be signed in to change notification settings - Fork 0
/
Program.cs
26 lines (24 loc) · 943 Bytes
/
Program.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
using System;
using System.Windows.Forms;
using System.Globalization;
using System.Threading;
namespace Controles2016
{
static class Program
{
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
//cambio de cultura para usar el . como separador decimal.
CultureInfo current = (CultureInfo)CultureInfo.CurrentCulture.Clone();
//MessageBox.Show("The current delimiter is : "+ current.NumberFormat.NumberDecimalSeparator);
current.NumberFormat.NumberDecimalSeparator = ",";
// MessageBox.Show("The current delimiter is : "+ current.NumberFormat.NumberDecimalSeparator);
Thread.CurrentThread.CurrentCulture = current;
Thread.CurrentThread.CurrentUICulture = current;
Application.Run(new Form1());
}
}
}