Пример #1
0
        public static void CreateEvent(int length, string task, int threadNum)
        {
            MaxLengthEventArgs e = new MaxLengthEventArgs(length, task, threadNum);

            if (OnCalculateStart != null)
            {
                OnCalculateStart(e);
                Application.DoEvents();
            }
        }
Пример #2
0
 private void CalculateStart_OnCalculateStart(MaxLengthEventArgs info)
 {
     ShowTask(info.task, info.length, info.threadNum);
     Application.DoEvents();
 }