EditEventWindow.fillWindowTitleAndLabelHeader C# (CSharp) Method

fillWindowTitleAndLabelHeader() protected method

protected fillWindowTitleAndLabelHeader ( ) : void
return void
    protected void fillWindowTitleAndLabelHeader()
    {
        edit_event.Title = string.Format(Catalog.GetString("Edit {0}"), eventBigTypeString);

        System.Globalization.NumberFormatInfo localeInfo = new System.Globalization.NumberFormatInfo();
        localeInfo = System.Globalization.NumberFormatInfo.CurrentInfo;
        label_header.Text = string.Format(Catalog.GetString("Use this window to edit a {0}."), eventBigTypeString);
        if(headerShowDecimal)
            label_header.Text += string.Format(Catalog.GetString("\n(decimal separator: '{0}')"), localeInfo.NumberDecimalSeparator);
    }