コード例 #1
0
 protected virtual void OnOperationUpdate(OperationType type,
                                          ProgressStyle style) =>
 OperationUpdate?.Invoke(this, new OperationUpdateEventArgs
 {
     Type      = type,
     Counter   = 0,
     MaxCount  = 0,
     Style     = style,
     StartTime = operationStartTime,
 });
コード例 #2
0
 protected virtual void OnOperationUpdate(OperationType type,
                                          int counter,
                                          int maxCount) =>
 OperationUpdate?.Invoke(this, new OperationUpdateEventArgs
 {
     Type      = type,
     Counter   = counter,
     MaxCount  = maxCount,
     Style     = ProgressStyle.Continuous,
     StartTime = operationStartTime,
 });