EvaluatorWindow.createComboCountries C# (CSharp) Method

createComboCountries() private method

private createComboCountries ( ) : void
return void
    private void createComboCountries()
    {
        combo_countries = ComboBox.NewText ();

        countries = new String[1];
        //record countries with id:english name:translatedName
        countries [0] = Constants.CountryUndefinedID + ":" + Constants.CountryUndefined + ":" + Catalog.GetString(Constants.CountryUndefined);

        string [] myCountries = new String[1];
        myCountries [0] = Catalog.GetString(Constants.CountryUndefined);
        UtilGtk.ComboUpdate(combo_countries, myCountries, "");
        combo_countries.Active = UtilGtk.ComboMakeActive(myCountries,
                Catalog.GetString(Constants.CountryUndefined));

        combo_countries.Changed += new EventHandler (on_combo_countries_changed);

        hbox_combo_countries.PackStart(combo_countries, true, true, 0);
        hbox_combo_countries.ShowAll();
        combo_countries.Sensitive = false;
    }