Beispiel #1
0
        public SelectRegionForm(SelectRegion plugin, Framework.Interfaces.ICore core)
        {
            InitializeComponent();

            _plugin = plugin;
            _core   = core;

            this.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_TITLE);
            this.radioButtonAddToCurrent.Text    = Utils.LanguageSupport.Instance.GetTranslation(STR_ADDTOSELECTION);
            this.radioButtonWithinSelection.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_SEARCHWITHINSELECTION);
            this.radioButtonNewSearch.Text       = Utils.LanguageSupport.Instance.GetTranslation(STR_NEWSEARCH);
            this.groupBox1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_SELECTIONOPTIONS);
            this.groupBox2.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_REGIONSELECTION);
            this.label1.Text    = Utils.LanguageSupport.Instance.GetTranslation(STR_LEVEL);
            this.label4.Text    = Utils.LanguageSupport.Instance.GetTranslation(STR_AREA);
            this.label6.Text    = Utils.LanguageSupport.Instance.GetTranslation(STR_PREFIX);
            this.button1.Text   = Utils.LanguageSupport.Instance.GetTranslation(STR_SELECT);
            this.checkBox1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_INENVELOPE);

            comboBox1.Items.Add(Utils.LanguageSupport.Instance.GetTranslation(STR_COUNTRY));
            comboBox1.Items.Add(Utils.LanguageSupport.Instance.GetTranslation(STR_STATE));
            comboBox1.Items.Add(Utils.LanguageSupport.Instance.GetTranslation(STR_MUNICIPALITY));
            comboBox1.Items.Add(Utils.LanguageSupport.Instance.GetTranslation(STR_CITY));
            comboBox1.Items.Add(Utils.LanguageSupport.Instance.GetTranslation(STR_OTHER));

            comboBox1.SelectedIndex = 0;
        }
Beispiel #2
0
        public SelectRegionForm(SelectRegion plugin, Framework.Interfaces.ICore core)
        {
            InitializeComponent();

            _plugin = plugin;
            _core = core;

            this.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_TITLE);
            this.radioButtonAddToCurrent.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_ADDTOSELECTION);
            this.radioButtonWithinSelection.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_SEARCHWITHINSELECTION);
            this.radioButtonNewSearch.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_NEWSEARCH);
            this.groupBox1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_SELECTIONOPTIONS);
            this.groupBox2.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_REGIONSELECTION);
            this.label1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_LEVEL);
            this.label4.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_AREA);
            this.label6.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_PREFIX);
            this.button1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_SELECT);
            this.checkBox1.Text = Utils.LanguageSupport.Instance.GetTranslation(STR_INENVELOPE);

            comboBox1.Items.Add(Utils.LanguageSupport.Instance.GetTranslation(STR_COUNTRY));
            comboBox1.Items.Add(Utils.LanguageSupport.Instance.GetTranslation(STR_STATE));
            comboBox1.Items.Add(Utils.LanguageSupport.Instance.GetTranslation(STR_MUNICIPALITY));
            comboBox1.Items.Add(Utils.LanguageSupport.Instance.GetTranslation(STR_CITY));
            comboBox1.Items.Add(Utils.LanguageSupport.Instance.GetTranslation(STR_OTHER));

            comboBox1.SelectedIndex = 0;
        }