Esempio n. 1
0
 private void Calculus_OnCalculusChange(CalculusInfoEventArgs calculusInfo)
 {
     threadsProgress[calculusInfo.threadNum] = calculusInfo.current;
     if (calculusInfo.msg != "")
     {
         threadsMsgs[calculusInfo.threadNum] = calculusInfo.msg;
     }
 }
Esempio n. 2
0
        public static void CreateEvent(int current, int threadNum, string msg)
        {
            CalculusInfoEventArgs e = new CalculusInfoEventArgs(current, threadNum, msg);

            if (OnCalculusChange != null)
            {
                OnCalculusChange(e);
            }
        }
Esempio n. 3
0
        public static void CreateEvent(int current)
        {
            CalculusInfoEventArgs e = new CalculusInfoEventArgs(current);

            if (OnCalculusChange != null)
            {
                OnCalculusChange(e);
            }
        }