Пример #1
0
 private void Manage_PDW_ExecuteCode(object sender, EventArgs e)
 {
     if (ot.Equals(opType.TKandS) || ot.Equals(opType.S))
     {
         if (colMaskaSerwisu.Count > 0 &&
             (BLL.Tools.Has_ServiceMask(item, "PDW-*") | BLL.Tools.Has_ServiceMask(item, "PD*")))
         {
             if (BLL.Tools.Has_Service(klient, "PDW-*", "selSewisy"))
             {
                 PDW_Forms.CreateNew(item.Web, klient, okresId, zadania);
                 sbForms.AppendFormat("<li>{0}</li>", "PDW");
             }
         }
     }
     else
     {
         PDW_Forms.CreateNew(item.Web, klient, okresId, zadania);
         sbForms.AppendFormat("<li>{0}</li>", "PDW");
     }
 }
Пример #2
0
 private void Manage_PDW_ExecuteCode(object sender, EventArgs e)
 {
     PDW_Forms.CreateNew(item.Web, klient, okresId, null);
 }