private void btnTour_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.OK; this.result = QuickStartResult.ProductTour; this.Close(); }
/// <summary> /// Mark quick start as done. This resolves the Task for the caller. /// </summary> /// <param name="success">true, when started; false, when not started (e.g. restrictions)</param> public void MarkExecution(QuickStartResult success) { // _executionResult = success; _taskCompletionSource.SetResult(success); // _semaphoreResultAvailable.Release(); }