Exemplo n.º 1
0
        protected void UpdateLabelsWithLang(CultureInfo info)
        {
            Localisation loc = Localisation.getInstance();

            this.Text                = loc.getString(info.TwoLetterISOLanguageName, this.Text);
            this.label1.Text         = loc.getString(info.TwoLetterISOLanguageName, this.label1.Text);
            this.ch_date.Text        = loc.getString(info.TwoLetterISOLanguageName, this.ch_date.Text);
            this.ch_subject.Text     = loc.getString(info.TwoLetterISOLanguageName, this.ch_subject.Text);
            this.ch_state.Text       = loc.getString(info.TwoLetterISOLanguageName, this.ch_state.Text);
            this.ch_destination.Text = loc.getString(info.TwoLetterISOLanguageName, this.ch_destination.Text);
            this.bt_close.Text       = loc.getString(info.TwoLetterISOLanguageName, this.bt_close.Text);
            this.bt_cancel.Text      = loc.getString(info.TwoLetterISOLanguageName, this.bt_cancel.Text);
        }
Exemplo n.º 2
0
        protected void UpdateLabelsWithLang(CultureInfo info)
        {
            Localisation loc = Localisation.getInstance();

            this.Text                         = loc.getString(info.TwoLetterISOLanguageName, this.Text);
            this.TB_RENAME.Text               = mailitem.Subject;
            this.LABEL_DESTINATION.Text       = loc.getString(info.TwoLetterISOLanguageName, this.LABEL_DESTINATION.Text);
            this.LABEL_RENAME.Text            = loc.getString(info.TwoLetterISOLanguageName, this.LABEL_RENAME.Text);
            this.bt_ok.Text                   = loc.getString(info.TwoLetterISOLanguageName, this.bt_ok.Text);
            this.bt_cancel.Text               = loc.getString(info.TwoLetterISOLanguageName, this.bt_cancel.Text);
            this.cb_explode_attachements.Text = loc.getString(info.TwoLetterISOLanguageName, this.cb_explode_attachements.Text);
        }
Exemplo n.º 3
0
        private void UpdateLabelsWithLang(CultureInfo info)
        {
            Localisation loc = Localisation.getInstance();

            this.Text                           = loc.getString(info.TwoLetterISOLanguageName, this.Text);
            this.label1.Text                    = loc.getString(info.TwoLetterISOLanguageName, this.label1.Text);
            this.textColumn1.Text               = loc.getString(info.TwoLetterISOLanguageName, this.textColumn1.Text);
            this.textColumn2.Text               = loc.getString(info.TwoLetterISOLanguageName, this.textColumn2.Text);
            this.bt_ok.Text                     = loc.getString(info.TwoLetterISOLanguageName, this.bt_ok.Text);
            this.cb_explode_attachments.Text    = loc.getString(info.TwoLetterISOLanguageName, this.cb_explode_attachments.Text);
            this.cb_truncate.Text               = loc.getString(info.TwoLetterISOLanguageName, this.cb_truncate.Text);
            this.cb_ask_path_too_long.Text      = loc.getString(info.TwoLetterISOLanguageName, this.cb_ask_path_too_long.Text);
            this.tabPage1.Text                  = loc.getString(info.TwoLetterISOLanguageName, this.tabPage1.Text);
            this.tabPage2.Text                  = loc.getString(info.TwoLetterISOLanguageName, this.tabPage2.Text);
            this.cb_add_categories_in_name.Text = loc.getString(info.TwoLetterISOLanguageName, this.cb_add_categories_in_name.Text);
        }
Exemplo n.º 4
0
        protected void UpdateLabelsWithLang(CultureInfo info)
        {
            Localisation loc = Localisation.getInstance();

            this.Text            = loc.getString(info.TwoLetterISOLanguageName, this.Text);
            this.label1.Text     = loc.getString(info.TwoLetterISOLanguageName, this.label1.Text);
            this.ch_date.Text    = loc.getString(info.TwoLetterISOLanguageName, this.ch_date.Text);
            this.ch_subject.Text = loc.getString(info.TwoLetterISOLanguageName, this.ch_subject.Text);
            this.ch_etat.Text    = loc.getString(info.TwoLetterISOLanguageName, this.ch_etat.Text);
            this.label2.Text     = loc.getString(info.TwoLetterISOLanguageName, this.label2.Text);
            this.bt_ok.Text      = loc.getString(info.TwoLetterISOLanguageName, this.bt_ok.Text);
            this.bt_close.Text   = loc.getString(info.TwoLetterISOLanguageName, this.bt_close.Text);
            this.label3.Text     = loc.getString(info.TwoLetterISOLanguageName, this.label3.Text);
            this.bt_cancel.Text  = loc.getString(info.TwoLetterISOLanguageName, this.bt_cancel.Text);
            this.cb_explode_attachements.Text = loc.getString(info.TwoLetterISOLanguageName, this.cb_explode_attachements.Text);
        }