Click here to Skip to main content
15,887,175 members
Home / Discussions / C#
   

C#

 
AnswerRe: Verify Email problem with AdminControler.cs Pin
Afzaal Ahmad Zeeshan20-Feb-17 11:09
professionalAfzaal Ahmad Zeeshan20-Feb-17 11:09 
GeneralRe: Verify Email problem with AdminControler.cs Pin
John Nederveen20-Feb-17 12:57
John Nederveen20-Feb-17 12:57 
SuggestionRe: Verify Email problem with AdminControler.cs Pin
Afzaal Ahmad Zeeshan20-Feb-17 22:49
professionalAfzaal Ahmad Zeeshan20-Feb-17 22:49 
GeneralRe: Verify Email problem with AdminControler.cs Pin
John Nederveen21-Feb-17 6:03
John Nederveen21-Feb-17 6:03 
GeneralRe: Verify Email problem with AdminControler.cs Pin
Afzaal Ahmad Zeeshan21-Feb-17 6:06
professionalAfzaal Ahmad Zeeshan21-Feb-17 6:06 
GeneralRe: Verify Email problem with AdminControler.cs Pin
John Nederveen21-Feb-17 8:20
John Nederveen21-Feb-17 8:20 
QuestionHow To Use Windows Runtime Component in WinForm App Pin
Django_Untaken20-Feb-17 7:14
Django_Untaken20-Feb-17 7:14 
AnswerRe: How To Use Windows Runtime Component in WinForm App Pin
Afzaal Ahmad Zeeshan20-Feb-17 11:23
professionalAfzaal Ahmad Zeeshan20-Feb-17 11:23 
Where did you find that code, or API? That requires you to involve Windows Runtime with Windows Forms? Although I am not saying that WinRT and .NET do not go well, they do and that is the beauty of C# itself.

But, what I wanted to know was, why would you need to do that, when there are many easy cases? Secondly, if an API does expose these types, then it would also expose some wrapper types, too. Are you a bit confused about the term, "component"?

Finally, as I can see, your IBackgroundTask.Run function has a void return type — void can be captured in .NET itself, no need for any Windows Runtime component. That looks like the default Windows Runtime background task interface, you should read a bit more about it here, Background Tasks in Windows Store Apps -- Visual Studio Magazine, it shows a good example of handling these background tasks. That will help you understand how it works.

Anyways, please do read this by Scott Hanselman as well, How to call WinRT APIs in Windows 8 from C# Desktop Applications - WinRT Diagram - Scott Hanselman
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~

GeneralRe: How To Use Windows Runtime Component in WinForm App Pin
Django_Untaken20-Feb-17 20:20
Django_Untaken20-Feb-17 20:20 
GeneralRe: How To Use Windows Runtime Component in WinForm App Pin
Afzaal Ahmad Zeeshan20-Feb-17 22:46
professionalAfzaal Ahmad Zeeshan20-Feb-17 22:46 
QuestionError Could not open form interface design in C# ? Pin
Member 245846719-Feb-17 22:59
Member 245846719-Feb-17 22:59 
AnswerRe: Error Could not open form interface design in C# ? Pin
Eddy Vluggen19-Feb-17 23:05
professionalEddy Vluggen19-Feb-17 23:05 
AnswerRe: Error Could not open form interface design in C# ? Pin
OriginalGriff19-Feb-17 23:23
mveOriginalGriff19-Feb-17 23:23 
GeneralRe: Error Could not open form interface design in C# ? Pin
Rob Philpott20-Feb-17 5:02
Rob Philpott20-Feb-17 5:02 
GeneralRe: Error Could not open form interface design in C# ? Pin
OriginalGriff20-Feb-17 5:07
mveOriginalGriff20-Feb-17 5:07 
QuestionAccessing the parameters of a method assigned to a delegate Pin
Jörgen Andersson19-Feb-17 10:47
professionalJörgen Andersson19-Feb-17 10:47 
AnswerRe: Accessing the parameters of a method assigned to a delegate Pin
Dave Kreskowiak19-Feb-17 11:33
mveDave Kreskowiak19-Feb-17 11:33 
GeneralRe: Accessing the parameters of a method assigned to a delegate Pin
Jörgen Andersson19-Feb-17 21:09
professionalJörgen Andersson19-Feb-17 21:09 
AnswerRe: Accessing the parameters of a method assigned to a delegate Pin
Gerry Schmitz19-Feb-17 15:06
mveGerry Schmitz19-Feb-17 15:06 
GeneralRe: Accessing the parameters of a method assigned to a delegate Pin
Jörgen Andersson19-Feb-17 21:04
professionalJörgen Andersson19-Feb-17 21:04 
GeneralRe: Accessing the parameters of a method assigned to a delegate Pin
Gerry Schmitz20-Feb-17 8:25
mveGerry Schmitz20-Feb-17 8:25 
AnswerRe: Accessing the parameters of a method assigned to a delegate Pin
Richard Deeming20-Feb-17 2:44
mveRichard Deeming20-Feb-17 2:44 
GeneralRe: Accessing the parameters of a method assigned to a delegate Pin
Jörgen Andersson28-Feb-17 20:34
professionalJörgen Andersson28-Feb-17 20:34 
QuestionWindows form application connectivity Pin
Member 1301073119-Feb-17 8:54
Member 1301073119-Feb-17 8:54 
AnswerRe: Windows form application connectivity Pin
NotPolitcallyCorrect19-Feb-17 9:47
NotPolitcallyCorrect19-Feb-17 9:47 

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.