Example #1
0
        /// <summary>
        /// Add additional language
        /// </summary>
        public override void SetAdditionalLanguage()
        {
            DentneDModel dentnedModel = new DentneDModel();

            dentnedModel.LanguageHelper.LoadFromFile(Program.uighfApplication.LanguageFilename);
            LanguageHelper.AddAdditionalLanguage(dentnedModel.LanguageHelper.Get());
        }
Example #2
0
        /// <summary>
        /// Add additional language
        /// </summary>
        public override void SetAdditionalLanguage()
        {
            //set models languages
            DentneDModel dentnedModel = new DentneDModel();

            dentnedModel.LanguageHelper.LoadFromFile(Program.uighfApplication.LanguageFilename);
            LanguageHelper.AddAdditionalLanguage(dentnedModel.LanguageHelper.Get());
            //set AdvancedDataGridView languages
            LanguageHelper.AddAdditionalLanguage(AdvancedDataGridView.LoadTranslationsFromFile(Program.uighfApplication.LanguageFilename));
            LanguageHelper.AddAdditionalLanguage(AdvancedDataGridViewSearchToolBar.LoadTranslationsFromFile(Program.uighfApplication.LanguageFilename));
        }
Example #3
0
 public override void SetAdditionalLanguage()
 {
     samplemodel = new DGUIGHFSampleModel();
     samplemodel.LanguageHelper.LoadFromFile(Program.uighfApplication.LanguageFilename);
     LanguageHelper.AddAdditionalLanguage(samplemodel.LanguageHelper.Get());
 }