waf

FORK: waf with some random patches
git clone https://git.neptards.moe/neptards/waf.git
Log | Files | Refs | README

program.cs (811B)


      1 using System;
      2 using System.Windows.Forms;
      3 using System.Globalization;
      4 using System.Threading;
      5 using Funi;
      6 
      7 namespace Funi
      8 {
      9     static class Program
     10     {
     11         [STAThread]
     12         static void Main()
     13         {
     14 
     15 //            /* for testing only:
     16 //             * the according Satellite Assembly is chosen based on CurrentThread.CurrentCulture
     17             CultureInfo culture;
     18             culture = CultureInfo.CreateSpecificCulture("fr");
     19 
     20             CultureInfo.DefaultThreadCurrentCulture = culture;
     21             CultureInfo.DefaultThreadCurrentUICulture = culture;
     22 
     23             Thread.CurrentThread.CurrentCulture = culture;
     24             Thread.CurrentThread.CurrentUICulture = culture;
     25 //             * fallback is english
     26 //             */
     27 
     28             Application.Run(new FormFuni());
     29         }
     30     }
     31 }