Exemple #1
0
 public NewInstance(CultureInfoHelper thisHelper)
 {
     InitializeComponent();
     helper = thisHelper;
     comboBoxLocale.Items.AddRange(helper.GetCultures(
                                       CultureTypes.InstalledWin32Cultures));
     comboBoxLocale.SelectedIndex = 0;
 }
Exemple #2
0
 public NewCulture(CultureInfoHelper thisHelper)
 {
     //
     // Required for Windows Form Designer support
     //
     InitializeComponent();
     helper = thisHelper;
 }
Exemple #3
0
        public CultureBuilder()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();
            DisplayCulture display = new DisplayCulture();

            helper = new CultureInfoHelper(display);
            display.LoadComboBox(helper.GetCultures(CultureTypes.AllCultures));
            panelDisplayCulture.Controls.Add(display);
        }
Exemple #4
0
        public MixCultures(CultureInfoHelper thisHelper)
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            helper = thisHelper;
            object[] arrayItems = helper.GetCultures(CultureTypes.InstalledWin32Cultures);
            comboBoxLocale1.Items.AddRange(arrayItems);
            comboBoxLocale2.Items.AddRange(arrayItems);

            Reset();
        }