/// <summary>
 /// Fires the event taking "EventsArgs" instance as parameter
 /// Just call this method where you want to fire the event
 /// </summary>
 /// <param name="e"></param>
 public void RaiseParamsEvent(EventsArgs e)
 {
     if (handleParamsEvent != null)
     {
         handleParamsEvent(this, e); //Fires the event
     }
 }
Beispiel #2
0
        private void ProcessCompleted(string strReturn)
        {
            try
            {
                try
                {
                    EventsArgs eArgs = new EventsArgs();
                    processCompletedEvent.RaiseProcessCompletedEvent(eArgs);
                }
                catch (Exception ex)
                {
                    Console.WriteLine("Error : " + ex.StackTrace);
                }

                try
                {
                    EventsArgs eArgs1 = new EventsArgs(strReturn);
                    processCompletedEventAllParsers.RaiseProcessCompletedEvent(eArgs1);
                }
                catch (Exception ex)
                {
                    GlobusLogHelper.log.Error(" Error : " + ex.StackTrace);
                }

                processCompletedEvent.UnSubscribeProcessCompletedHandler();


                threadStartedEvent.UnSubscribeProcessCompletedHandler();
                threadCompletedEvent.UnSubscribeProcessCompletedHandler();
            }
            catch (Exception ex)
            {
                GlobusLogHelper.log.Error(" Error : " + ex.StackTrace);
            }
        }
        public void bindGroupNamesToComboBox(string args)
        {
            EventsArgs objEventsArgs = new EventsArgs(args);
            objEvents.LogText_sharan(objEventsArgs);
            //CampaignStopLogevents.LogText(eArgs);    

        }
 public void IncreaseCounter(EventsArgs e)
 {
     if (incrementCount != null)
     {
         incrementCount(this, e);
     }
 }
 public void LogText(EventsArgs e)
 {
     if (addToLogger != null)
     {
         addToLogger(this, e); //Fires the event
     }
 }
Beispiel #6
0
 /// <summary>
 /// Fires the event taking "EventsArgs" instance as parameter
 /// Just call this method where you want to fire the event
 /// </summary>
 /// <param name="e"></param>
 public void RaiseParamsEvent(EventsArgs e)
 {
     if (handleParamsEvent != null)
     {
         handleParamsEvent(this, e); //Fires the event
     }
 }
 public void QuoteaddTo(EventsArgs e)
 {
     if (QuoteaddToLogger != null)
     {
         QuoteaddToLogger(this, e); //Fires the event
     }
 }
 public void LogText(EventsArgs e)
 {
     if (addToLogger != null)
     {
         addToLogger(this, e); //Fires the event
     }
 }
 public void QuoteaddTo(EventsArgs e)
 {
     if (QuoteaddToLogger != null)
     {
         QuoteaddToLogger(this, e); //Fires the event
     }
 }
 public void RaiseScheduler(EventsArgs e)
 {
     if (raiseScheduler != null)
     {
         raiseScheduler(this, e); //Fires the event
     }
 }
 public void IncreaseCounter(EventsArgs e)
 {
     if (incrementCount != null)
     {
         incrementCount(this, e);
     }
 }
 public void RaiseScheduler(EventsArgs e)
 {
     if (raiseScheduler != null)
     {
         raiseScheduler(this, e); //Fires the event
     }
 }
 /// <summary>
 /// Fires the event taking "EventsArgs" instance as parameter
 /// Just call this method where you want to fire the event
 /// </summary>
 /// <param name="e"></param>
 public void RaiseProcessCompletedEvent(EventsArgs e)
 {
     //lock (syncLock)
     {
         if (processCompletedEvent != null)
         {
             processCompletedEvent(this, e); //Fires the event
         }
     }
 }
 /// <summary>
 /// Fires the event taking "EventsArgs" instance as parameter
 /// Just call this method where you want to fire the event
 /// </summary>
 /// <param name="e"></param>
 public void RaiseProcessCompletedEvent(EventsArgs e)
 {
     //lock (syncLock)
     {
         if (processCompletedEvent != null)
         {
             processCompletedEvent(this, e); //Fires the event
         }
     }
 }
Beispiel #15
0
 private void Log(string log)
 {
     try
     {
         EventsArgs loggerEventsArgs = new EventsArgs(log);
         loggerEvent_AccountChecker.LogText(loggerEventsArgs);
     }
     catch (Exception ex)
     {
     }
 }
 private void Log(string message)
 {
     try
     {
         EventsArgs eventArgs = new EventsArgs(message);
         LinkedInStatusImageLogEvents.LogText(eventArgs);
     }
     catch
     {
     }
 }
Beispiel #17
0
 public void RaiseEventsgroupRequestUnique(params string[] paramValue)
 {
     try
     {
         EventsArgs eArgs = new EventsArgs(paramValue);
         groupRequestUnique.RaiseParamsEvent(eArgs);
     }
     catch (Exception ex)
     {
         GlobusLogHelper.log.Error(ex.StackTrace);
     }
 }
 public void LogText(EventsArgs e)
 {
     if (addToLogger != null)
     {
         addToLoggerIsNull = false;
         addToLogger(this, e); //Fires the event
     }
     else
     {
         addToLoggerIsNull = true;
     }
 }
 public void LogText(EventsArgs e)
 {
     if (addToLogger != null)
     {
         addToLoggerIsNull = false;
         addToLogger(this, e); //Fires the event
     }
     else
     {
         addToLoggerIsNull = true;
     }
 }
Beispiel #20
0
 private void ThreadStarted()
 {
     try
     {
         EventsArgs eArgs = new EventsArgs();
         threadStartedEvent.RaiseProcessCompletedEvent(eArgs);
     }
     catch (Exception ex)
     {
         GlobusLogHelper.log.Error(" Error : " + ex.StackTrace);
     }
 }
Beispiel #21
0
 private void RaiseEvent(DataSet ds, params string[] parameters)
 {
     try
     {
         EventsArgs eArgs = new EventsArgs(ds, parameters);
         SearchScraperEvent.RaiseParamsEvent(eArgs);
     }
     catch (Exception ex)
     {
        // GlobusLogHelper.log.Error(ex.StackTrace);
     }
 }
 private void LogFacebookCreator(string message)
 {
     EventsArgs eventArgs = new EventsArgs(message);
     LogEventsFacebookCreator.LogText(eventArgs);
 }
 private void Loger(string message)
 {
     EventsArgs eventArgs = new EventsArgs(message);
     InBoardProGetDataResultLogEvents.LogText(eventArgs);
 }
Beispiel #24
0
 private void PumpMessage(string message)
 {
     EventsArgs eventArgs = new EventsArgs(message);
     pumpMessageEvent.LogText(eventArgs);
 }
Beispiel #25
0
        private void LoggerEmailVerify(string message)
        {
            EventsArgs eventArgs = new EventsArgs(message);

            EmailVerifyLogEvent.LogText(eventArgs);
        }
Beispiel #26
0
        private void Log(string log)
        {
            EventsArgs args = new EventsArgs(log);

            loggerEvents.LogText(args);
        }
 private void Log(string message)
 {
     EventsArgs eventArgs = new EventsArgs(message);
     CampaignTweetLogEvents.LogText(eventArgs);
 }
Beispiel #28
0
 private void Log(string message)
 {
     EventsArgs eArgs = new EventsArgs(message);
     logEvents.LogText(eArgs);
 } 
Beispiel #29
0
        private void PumpMessage(string message)
        {
            EventsArgs eventArgs = new EventsArgs(message);

            pumpMessageEvent.LogText(eventArgs);
        }
        private void Log(string message)
        {
            try
            {
                EventsArgs eventArgs = new EventsArgs(message);
                acceptInvitationsLogEvents.LogText(eventArgs);
            }
            catch (Exception)
            {

            }
        }
 private void Log(string message)
 {
     EventsArgs eventArgs = new EventsArgs(message);
     //logEvents_static.LogText(eventArgs);
     logEvents.LogText(eventArgs);
 }
 public void RaiseCampaignSearchLogEvents(string log)
 {
     EventsArgs eArgs = new EventsArgs(log);
     CampaignStopLogevents.LogText(eArgs);
 }
        public static void ComboBoxDataBind(string log)
        {
            EventsArgs eArgs = new EventsArgs(log);
            CampaignStopLogevents.LogText(eArgs);

        }
 private void Log(DataSet ds,params string[] parameters)
 {
     try
     {
         EventsArgs eventArgs = new EventsArgs(ds,parameters);
         LogEvents.RaiseParamsEvent(eventArgs);
     }
     catch (Exception ex)
     {
         GlobusLogHelper.log.Error("Error : " + ex.StackTrace);
     }
 }
        private void Log(string message)
        {
            try
            {
                EventsArgs eventArgs = new EventsArgs(message);
                scrapGroupMemberLogEvents.LogText(eventArgs);
            }
            catch (Exception)
            {

            }
        }
        private void Log(string log)
        {
            try
             {
                 EventsArgs loggerEventsArgs = new EventsArgs(log);
                 logger.LogText(loggerEventsArgs);
             }
             catch (Exception ex)
             {

             }
        }
		public static void AddToLogger_GlobusHttpHelper(string log)
		{
			EventsArgs eArgs = new EventsArgs(log);
			CampaignStopLogevents.LogText(eArgs);
		}
Beispiel #38
0
 /// <summary>
 /// Adds to logger list box in Mainfrm...
 /// </summary>
 /// <param name="log">String to log</param>
 public void Log(string log)
 {
     EventsArgs eArgs = new EventsArgs(log);
     logEvents.LogText(eArgs);
 }
Beispiel #39
0
        private void Log_Endorse(string log)
        {
            try
            {
                EventsArgs loggerEventsArgs = new EventsArgs(log);
                loggerEndorseCampaign.LogText(loggerEventsArgs);
            }
            catch (Exception ex)
            {

            }
        }
 private void LoggerManageConnection(string message)
 {
     EventsArgs eventArgs = new EventsArgs(message);
     ConnectSearchLogEvents.LogText(eventArgs);
 }
 public void RaiseCampaignFineshedEvent(string log)
 {
     EventsArgs eArgs = new EventsArgs(log);
     CampaignFinishedLogevents.LogText(eArgs);
 }
 private void Log(string message)
 {
     EventsArgs eventArgs = new EventsArgs(message);
     Sm_CoountCreatorLogEvents.LogText(eventArgs);
 }
 public void BindingGroupNames()
 {
     EventsArgs objEventsArgs = new EventsArgs("how where");
     objEvents.BindGroupMembersToCheckedListBox(objEventsArgs);
 }