Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
AnswerRe: Spell checker for c# project Pin
Pete O'Hanlon21-Feb-17 23:19
mvePete O'Hanlon21-Feb-17 23:19 
QuestionSea trying to change the RichTextBox does not work ? Pin
Member 245846721-Feb-17 18:59
Member 245846721-Feb-17 18:59 
AnswerRe: Sea trying to change the RichTextBox does not work ? Pin
Pete O'Hanlon21-Feb-17 21:27
mvePete O'Hanlon21-Feb-17 21:27 
QuestionPrinting arabic from epson TM-T88V VB.NET, C# Pin
aliraza156721-Feb-17 2:02
professionalaliraza156721-Feb-17 2:02 
AnswerRe: Printing arabic from epson TM-T88V VB.NET, C# Pin
Jochen Arndt21-Feb-17 2:48
professionalJochen Arndt21-Feb-17 2:48 
AnswerRe: Printing arabic from epson TM-T88V VB.NET, C# Pin
tiochus23-Feb-17 22:26
tiochus23-Feb-17 22:26 
QuestionVerify Email problem with AdminControler.cs Pin
John Nederveen20-Feb-17 9:08
John Nederveen20-Feb-17 9:08 
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 
Hello. I have this backgroundTask whose output type is Windows Runtime Component.

I have absolutely no idea how to use this backgoundTask in my winform application. Basically this backgroundTask gets geolocation and retrieves long/lat. Here is the skeleton for reference
public sealed class LocationBackgroundTask : IBackgroundTask
{
   async void IBackgroundTask.Run(IBackgroundTaskInstance taskInstance)
   {
       BackgroundTaskDeferral deferral = taskInstance.GetDeferral();
       try
       {
              /*    SOME CODE FOR GETTING LOCATION */ 
       }
       catch(Exception ex) { }
       finally 
       {
           deferral.Complete();
       }
   }
}

Again, I have no idea how do I use this runtime component from my winform application (a button will invoke this). This code is in one project and my winform application is second project.

Thanks for any input
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 
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 

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.