Exemple #1
0
 public bool Add(PrinterAttachCell attachCell, string key)
 {
     if (!attachs.ContainsKey(key))
     {
         if (attachCell.Properties.Value == null)
         {
             attachCell.Properties.Value = "";
         }
         attachs.Add(key, attachCell);
         return(true);
     }
     else
     {
         return(false);
     }
 }
Exemple #2
0
 public bool AttachCell(string key, PrinterAttachCell newCell)
 {
     return(attachs.SetItem(key, newCell));
 }
Exemple #3
0
 public bool AttachCell(int index, PrinterAttachCell newCell)
 {
     return(attachs.SetItem(index - 1, newCell));
 }