Beispiel #1
0
 private object getControlOrSection(cEditor editor, string key)
 {
     if (key.Length > 1)
     {
         if (key.Substring(0, 1) == "S")
         {
             return(editor.getSectionOrSectionLineFromKey(key.Substring(1)));
         }
         else
         {
             return(editor.getReport().getControls().item(key));
         }
     }
     else
     {
         return(null);
     }
 }