Пример #1
0
 public void DeleteMessage(TLMessageBase message)
 {
     if (ActiveItem == Files)
     {
         Files.DeleteMessage(message);
     }
     else if (ActiveItem == Links)
     {
         Links.DeleteMessage(message);
     }
     else if (ActiveItem == Music)
     {
         Music.DeleteMessage(message);
     }
 }