Click here to Skip to main content
15,793,707 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Application.Run C# equivalent Pin
Richard MacCutchan17-Apr-18 5:38
mveRichard MacCutchan17-Apr-18 5:38 
GeneralRe: Application.Run C# equivalent Pin
GregJ717-Apr-18 7:26
GregJ717-Apr-18 7:26 
GeneralRe: Application.Run C# equivalent Pin
Richard MacCutchan17-Apr-18 7:38
mveRichard MacCutchan17-Apr-18 7:38 
GeneralRe: Application.Run C# equivalent Pin
GregJ717-Apr-18 8:59
GregJ717-Apr-18 8:59 
GeneralRe: Application.Run C# equivalent Pin
Richard MacCutchan17-Apr-18 9:47
mveRichard MacCutchan17-Apr-18 9:47 
GeneralRe: Application.Run C# equivalent Pin
GregJ717-Apr-18 9:04
GregJ717-Apr-18 9:04 
GeneralRe: Application.Run C# equivalent Pin
Richard MacCutchan17-Apr-18 9:48
mveRichard MacCutchan17-Apr-18 9:48 
GeneralRe: Application.Run C# equivalent Pin
Richard Deeming19-Apr-18 2:52
mveRichard Deeming19-Apr-18 2:52 
Reference Source[^]
C#
public int Run()
{
    EventTrace.EasyTraceEvent(EventTrace.Keyword.KeywordGeneral | EventTrace.Keyword.KeywordPerf, EventTrace.Event.WClientAppRun);
    return this.Run(null);
}

public int Run(Window window)
{
    VerifyAccess();
    
    //
    // Browser hosted app should not explictly call App.Run(). We need to filter out those
    // calls here
    //
    if (InBrowserHostedApp())
    {
        throw new InvalidOperationException(SR.Get(SRID.CannotCallRunFromBrowserHostedApp));
    }
    else
    {
        return RunInternal(window);
    }
}




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Application.Run C# equivalent Pin
GregJ719-Apr-18 3:42
GregJ719-Apr-18 3:42 
AnswerRe: Application.Run C# equivalent Pin
GregJ717-Apr-18 12:52
GregJ717-Apr-18 12:52 
GeneralRe: Application.Run C# equivalent Pin
Richard MacCutchan17-Apr-18 21:53
mveRichard MacCutchan17-Apr-18 21:53 
GeneralRe: Application.Run C# equivalent Pin
GregJ718-Apr-18 2:24
GregJ718-Apr-18 2:24 
GeneralRe: Application.Run C# equivalent Pin
Richard MacCutchan18-Apr-18 2:37
mveRichard MacCutchan18-Apr-18 2:37 
AnswerRe: Application.Run C# equivalent Pin
Pete O'Hanlon18-Apr-18 2:52
subeditorPete O'Hanlon18-Apr-18 2:52 
GeneralRe: Application.Run C# equivalent Pin
GregJ718-Apr-18 2:57
GregJ718-Apr-18 2:57 
GeneralRe: Application.Run C# equivalent Pin
Pete O'Hanlon18-Apr-18 3:01
subeditorPete O'Hanlon18-Apr-18 3:01 
QuestionDragDrop In A Canvas Pin
Kevin Marois11-Apr-18 9:36
professionalKevin Marois11-Apr-18 9:36 
AnswerRe: DragDrop In A Canvas Pin
Mycroft Holmes11-Apr-18 15:18
professionalMycroft Holmes11-Apr-18 15:18 
GeneralRe: DragDrop In A Canvas Pin
Kevin Marois12-Apr-18 6:50
professionalKevin Marois12-Apr-18 6:50 
QuestionAbout drag-and-drop issues Pin
Member 1300190328-Mar-18 18:31
Member 1300190328-Mar-18 18:31 
AnswerRe: About drag-and-drop issues Pin
Richard Deeming29-Mar-18 4:04
mveRichard Deeming29-Mar-18 4:04 
GeneralRe: About drag-and-drop issues Pin
Member 1300190329-Mar-18 21:26
Member 1300190329-Mar-18 21:26 
GeneralRe: About drag-and-drop issues Pin
Gerry Schmitz2-Apr-18 8:18
mveGerry Schmitz2-Apr-18 8:18 
GeneralRe: About drag-and-drop issues Pin
Pete O'Hanlon2-Apr-18 8:50
subeditorPete O'Hanlon2-Apr-18 8:50 
GeneralRe: About drag-and-drop issues Pin
Gerry Schmitz2-Apr-18 9:08
mveGerry Schmitz2-Apr-18 9:08 

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.