Beispiel #1
0
 private void Mn_OnMinerEvent(object sender, minerEventArgs e)
 {
     Invoke(new Action(() =>
     {
         lstLog.Items.Add(e.Line);
         lstLog.SelectedIndex = lstLog.Items.Count - 1;
     }));
 }
Beispiel #2
0
        public void MinerEvent(string Line)
        {
            // Make sure someone is listening to event
            if (OnMinerEvent == null)
            {
                return;
            }

            minerEventArgs args = new minerEventArgs(Line);

            OnMinerEvent(this, args);
        }
Beispiel #3
0
 private void InOnMinerEvent(object sender, minerEventArgs e)
 {
     MinerEvent(e.Line);
 }