Click here to Skip to main content
15,867,453 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to convert pdf file into FileStream? Pin
Code4Ever26-Jul-22 7:39
Code4Ever26-Jul-22 7:39 
GeneralRe: How to convert pdf file into FileStream? Pin
Dave Kreskowiak26-Jul-22 7:45
mveDave Kreskowiak26-Jul-22 7:45 
QuestionTechnic or best way to know if an application is "ready" when it is started from another application ? Pin
Maximilien25-Jul-22 1:14
Maximilien25-Jul-22 1:14 
AnswerRe: Technic or best way to know if an application is "ready" when it is started from another application ? Pin
Richard MacCutchan25-Jul-22 3:08
mveRichard MacCutchan25-Jul-22 3:08 
AnswerRe: Technic or best way to know if an application is "ready" when it is started from another application ? Pin
Gerry Schmitz27-Jul-22 6:43
mveGerry Schmitz27-Jul-22 6:43 
QuestionAsync web request Pin
moxol23-Jul-22 11:06
moxol23-Jul-22 11:06 
AnswerRe: Async web request Pin
Gerry Schmitz23-Jul-22 14:48
mveGerry Schmitz23-Jul-22 14:48 
QuestionPlease give me some explaination about the following Microsoft.ToolKit.MVVM Pin
Code4Ever23-Jul-22 7:17
Code4Ever23-Jul-22 7:17 
I want to learn about the Messenger feature of Microsoft.ToolKit.MVVM. In the documentation, I found the following code:

// Create a message
public class LoggedInUserRequestMessage : RequestMessage<User>
{
}

// Register the receiver in a module
WeakReferenceMessenger.Default.Register<MyViewModel, LoggedInUserRequestMessage>(this, (r, m) =>
{
    // Assume that "CurrentUser" is a private member in our viewmodel.
    // As before, we're accessing it through the recipient passed as
    // input to the handler, to avoid capturing "this" in the delegate.
    m.Reply(r.CurrentUser);
});

// Request the value from another module
User user = WeakReferenceMessenger.Default.Send<LoggedInUserRequestMessage>();


I don't know what this, r, and m are. Do we need to always inherit from RequestMessage<user>? I need a simple example of how to use the Messenger feature.
Please guide me.
AnswerRe: Please give me some explaination about the following Microsoft.ToolKit.MVVM Pin
OriginalGriff23-Jul-22 9:18
mveOriginalGriff23-Jul-22 9:18 
QuestionClient and Server side validations for Calendar control Pin
Member 995054522-Jul-22 4:20
Member 995054522-Jul-22 4:20 
AnswerRe: Client and Server side validations for Calendar control Pin
Gerry Schmitz22-Jul-22 5:18
mveGerry Schmitz22-Jul-22 5:18 
QuestionI still didnt figure out how to upate a DGV without pressing enter Pin
grennday21-Jul-22 19:22
grennday21-Jul-22 19:22 
AnswerRe: I still didnt figure out how to upate a DGV without pressing enter Pin
Richard MacCutchan22-Jul-22 1:05
mveRichard MacCutchan22-Jul-22 1:05 
GeneralRe: I still didnt figure out how to upate a DGV without pressing enter Pin
grennday26-Jul-22 2:15
grennday26-Jul-22 2:15 
GeneralRe: I still didnt figure out how to upate a DGV without pressing enter Pin
Richard MacCutchan26-Jul-22 2:25
mveRichard MacCutchan26-Jul-22 2:25 
QuestionPutting event handler codes inside DoWork delegate for asynchronous multi-threaded calculations Pin
Code4Ever15-Jul-22 18:35
Code4Ever15-Jul-22 18:35 
AnswerRe: Putting event handler codes inside DoWork delegate for asynchronous multi-threaded calculations Pin
OriginalGriff15-Jul-22 19:45
mveOriginalGriff15-Jul-22 19:45 
GeneralRe: Putting event handler codes inside DoWork delegate for asynchronous multi-threaded calculations Pin
Code4Ever15-Jul-22 19:50
Code4Ever15-Jul-22 19:50 
GeneralRe: Putting event handler codes inside DoWork delegate for asynchronous multi-threaded calculations Pin
OriginalGriff15-Jul-22 20:00
mveOriginalGriff15-Jul-22 20:00 
GeneralRe: Putting event handler codes inside DoWork delegate for asynchronous multi-threaded calculations Pin
Code4Ever15-Jul-22 19:52
Code4Ever15-Jul-22 19:52 
GeneralRe: Putting event handler codes inside DoWork delegate for asynchronous multi-threaded calculations Pin
OriginalGriff15-Jul-22 20:02
mveOriginalGriff15-Jul-22 20:02 
GeneralRe: Putting event handler codes inside DoWork delegate for asynchronous multi-threaded calculations Pin
Code4Ever15-Jul-22 20:04
Code4Ever15-Jul-22 20:04 
GeneralRe: Putting event handler codes inside DoWork delegate for asynchronous multi-threaded calculations Pin
Richard Andrew x6417-Jul-22 4:00
professionalRichard Andrew x6417-Jul-22 4:00 
AnswerRe: Putting event handler codes inside DoWork delegate for asynchronous multi-threaded calculations Pin
Gerry Schmitz16-Jul-22 5:13
mveGerry Schmitz16-Jul-22 5:13 
AnswerRe: Putting event handler codes inside DoWork delegate for asynchronous multi-threaded calculations Pin
Richard Deeming17-Jul-22 20:55
mveRichard Deeming17-Jul-22 20:55 

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.