Пример #1
0
 void aticket(object o, EventArgs e)
 {
     if (sel.Length == 0)
     {
         return;
     }
     foreach (int s in sel)
     {
         string name  = getname(s);
         string space = spacefromname(name);
         try
         {
             System.IO.StreamReader sr = new System.IO.StreamReader(getpath(s));
             string log = sr.ReadToEnd();
             sr.Close();
             ATW.Report(space, log, null, true, user, pw, loginsucceed, false);
         }
         catch { }
     }
 }
Пример #2
0
 void debugControl1_NewCreateTicketEvent(string msg)
 {
     TradeLink.AppKit.ATW.Report(Properties.Settings.Default.portal, debugControl1.Content, null, msg, Properties.Settings.Default.user, Properties.Settings.Default.pw, new TradeLink.AppKit.AssemblaTicketWindow.LoginSucceedDel(kadinamain.success), true, ATW.Summary(Properties.Settings.Default.portal));
 }