Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: What is the best approach to changing the local admin password? Pin
robwm14-Nov-14 19:41
robwm14-Nov-14 19:41 
GeneralRe: What is the best approach to changing the local admin password? Pin
Garth J Lancaster4-Nov-14 19:43
professionalGarth J Lancaster4-Nov-14 19:43 
GeneralRe: What is the best approach to changing the local admin password? Pin
robwm15-Nov-14 3:50
robwm15-Nov-14 3:50 
GeneralRe: What is the best approach to changing the local admin password? Pin
Garth J Lancaster5-Nov-14 12:21
professionalGarth J Lancaster5-Nov-14 12:21 
GeneralRe: What is the best approach to changing the local admin password? Pin
robwm15-Nov-14 12:36
robwm15-Nov-14 12:36 
QuestionWindows Workflow Foundation - Implement conditional Activites Through C# Code Pin
Member 86262243-Nov-14 19:26
Member 86262243-Nov-14 19:26 
AnswerRe: Windows Workflow Foundation - Implement conditional Activites Through C# Code Pin
OriginalGriff3-Nov-14 20:44
mveOriginalGriff3-Nov-14 20:44 
QuestionGenerate a report after finishing producer-consumer Pin
zhshqzyc3-Nov-14 11:06
zhshqzyc3-Nov-14 11:06 
In my WPF application, if I click a button, it invokes a producer-consumer process.
C#
 private async void Start_Click(object sender, RoutedEventArgs e)
{
   try
   {
      var producer = Producer();
      var consumer = Consumer();
      await Task.WhenAll(producer, consumer);

It will create some static results.
I want to generate a report by them then.
C#
private void Summary()
{
    // assign values from producer-consumer result
}

My question is where can I call the method Summary()
I think is that to create another task, then still place it in the button event.
So the code will be like:
C#
await Task.WhenAll(producer, consumer,Summary);

Is that correct?
Thanks.
QuestionWeb service with C# Pin
Patient122213-Nov-14 4:19
Patient122213-Nov-14 4:19 
AnswerRe: Web service with C# Pin
OriginalGriff3-Nov-14 5:05
mveOriginalGriff3-Nov-14 5:05 
AnswerRe: Web service with C# Pin
shaluIT8-Nov-14 14:41
shaluIT8-Nov-14 14:41 
QuestionMessage Closed Pin
3-Nov-14 1:09
Member 112020153-Nov-14 1:09 
AnswerMessage Removed Pin
3-Nov-14 1:24
professionalEddy Vluggen3-Nov-14 1:24 
Questionhow to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Member 112000472-Nov-14 7:51
Member 112000472-Nov-14 7:51 
AnswerRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
CHill602-Nov-14 10:07
mveCHill602-Nov-14 10:07 
GeneralRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Member 112000472-Nov-14 20:22
Member 112000472-Nov-14 20:22 
GeneralRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Pete O'Hanlon2-Nov-14 20:33
mvePete O'Hanlon2-Nov-14 20:33 
GeneralRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Member 112000473-Nov-14 4:38
Member 112000473-Nov-14 4:38 
GeneralRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Member 112000473-Nov-14 4:39
Member 112000473-Nov-14 4:39 
GeneralRe: how to show image in picture box in C# which is there in dynamicDotNetTwain1 Pin
Pete O'Hanlon3-Nov-14 5:18
mvePete O'Hanlon3-Nov-14 5:18 
QuestionCoding in C# Pin
Member 111998292-Nov-14 3:33
Member 111998292-Nov-14 3:33 
AnswerRe: Coding in C# PinPopular
OriginalGriff2-Nov-14 3:44
mveOriginalGriff2-Nov-14 3:44 
AnswerRe: Coding in C# Pin
ZurdoDev3-Nov-14 2:44
professionalZurdoDev3-Nov-14 2:44 
AnswerRe: Coding in C# Pin
Simon_Whale3-Nov-14 5:12
Simon_Whale3-Nov-14 5:12 
GeneralRe: Coding in C# Pin
Member 111998293-Nov-14 5:22
Member 111998293-Nov-14 5:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.