Ejemplo n.º 1
0
 public void AppendAContent(TKodUS kodUs)
 {
     var aContent = new GroupBox(0, _document.Width, Resources.ContainerTitleA);
     aContent.AddChild(new InputBox(new XRect(0, 0, _document.Width, 30))
         {
             Title = Resources.InputTitle7,
             Value = KodUSDictionary.GetCode(kodUs),
         });
     _document.AddContainer(aContent);
 }
Ejemplo n.º 2
0
 public static string GetCode(TKodUS code)
 {
     try
     {
         var s = code.ToString();
         var codeStr = RemoveSpecialCharacters(s);
         return CodesFactory.GetValue(codeStr);
     }
     catch
     {
         throw new Exception("Coulnd not find code:" + code);
     }
 }