Skip to content

Template Map don't working in Windows Pt Language. #2

@OntJames

Description

@OntJames

I found an Issue when i build a new template from image (on Design) and Save.
When I Load this template, the page border references saves the X,Y Coordinates wrong.
I think it can be the Float property.
In en-US language float is (ex.) 10.00.
In pt-Br language float is (ex.) 10,00.

I can fix this issue adding the following code in Program.cs >> Main() thread:

[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
System.Globalization.CultureInfo cultureInfo = new System.Globalization.CultureInfo("en-US");
Application.CurrentCulture = cultureInfo;
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frmMain());
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions