Exemple #1
0
 private void gameDataManager_SelectedLanguageChangedEvent(object sender, EventArgs e)
 {
     foreach (TabPage tabPage in tabControl.TabPages)
     {
         IEditorControl editorControl = (IEditorControl)tabPage.Controls.OfType <Control>().FirstOrDefault(x => x is IEditorControl);
         if (editorControl != null && editorControl.IsInitialized())
         {
             editorControl.Rebuild();
         }
     }
 }