Files
StructureHelper/StructureHelperCommon/Infrastructures/Interfaces/ILongProcessLogic.cs
2023-11-12 20:38:11 +05:00

23 lines
674 B
C#

using StructureHelperCommon.Models.Calculators;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace StructureHelperCommon.Infrastructures.Interfaces
{
public interface ILongProcessLogic
{
int StepCount { get; }
Action<int> SetProgress { get; set; }
bool Result { get; set; }
void WorkerDoWork(object sender, DoWorkEventArgs e);
void WorkerProgressChanged(object sender, ProgressChangedEventArgs e);
void WorkerRunWorkCompleted(object sender, RunWorkerCompletedEventArgs e);
}
}