예제 #1
0
 /// <summary>
 /// Change the symbol of the HostedSweep.
 /// </summary>
 /// <param name="sym"></param>
 private void m_creationData_SymbolChanged(ElementType sym)
 {
     try
     {
         StartTransaction();
         m_elemToModify.ChangeTypeId(sym.Id);
         CommitTransaction();
     }
     catch
     {
         RollbackTransaction();
     }
 }