Пример #1
0
 private void Page_Loaded(object sender, RoutedEventArgs e)
 {
     // set text for every TextBox
     foreach (string tag in Tags)
     {
         if (CoreManager.GetModuleByTag(tag) == null)
         {
             GetTextBoxByTag(tag).Text = "";
         }
         else
         {
             GetTextBoxByTag(tag).Text = CoreManager.GetModuleByTag(tag).Code;
         }
     }
 }