Click here to Skip to main content
15,895,606 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Accessing WPF Resources Pin
Snufflufugus8-Jan-09 14:44
Snufflufugus8-Jan-09 14:44 
QuestionHow to generate WPF controls Dynamically Pin
vsaratkar8-Jan-09 2:40
vsaratkar8-Jan-09 2:40 
AnswerRe: How to generate WPF controls Dynamically Pin
User 2710098-Jan-09 2:54
User 2710098-Jan-09 2:54 
QuestionWCF BasicHTTPBinding Thoughts Pin
Jammer7-Jan-09 23:38
Jammer7-Jan-09 23:38 
AnswerRe: WCF BasicHTTPBinding Thoughts Pin
Pete O'Hanlon8-Jan-09 1:08
mvePete O'Hanlon8-Jan-09 1:08 
GeneralRe: WCF BasicHTTPBinding Thoughts Pin
Jammer8-Jan-09 7:06
Jammer8-Jan-09 7:06 
AnswerRe: WCF BasicHTTPBinding Thoughts Pin
ColinM1238-Jan-09 11:33
ColinM1238-Jan-09 11:33 
QuestionExecutionEngineException when calling Application.Run Pin
Eslam Afifi7-Jan-09 5:07
Eslam Afifi7-Jan-09 5:07 
I'm trying to do a simple thing and WPF doesn't allow me to. I want to show a login form before running the main form. The login does run but the main form doesn't. It throws an ExecutionEngineException with message “Exception of type 'System.ExecutionEngineException' was thrown.” with no inner exception.
I hope someone tell me the right way to do it before I turn to a workaround. Thank you in advance.

public partial class App : Application
{
    protected override void OnStartup(StartupEventArgs e)
    {
        base.OnStartup(e);

        var login = new Login(); // a wpf window
        if (login.ShowDialog() == true)
        {
            var main = new MainForm(); // a wpf window
            Run(main); // exception here, .Show doesn't work, .ShowDialog doesn't work
        }
    }
}


Eslam Afifi

GeneralProblem solved. Please ignore. Pin
Eslam Afifi7-Jan-09 6:26
Eslam Afifi7-Jan-09 6:26 
QuestionSilverlight Error in Server Pin
avi_dadi20026-Jan-09 19:31
avi_dadi20026-Jan-09 19:31 
AnswerRe: Silverlight Error in Server Pin
ColinM1237-Jan-09 13:34
ColinM1237-Jan-09 13:34 
QuestionWCF SSL For Newbies Pin
Jammer6-Jan-09 3:26
Jammer6-Jan-09 3:26 
AnswerRe: WCF SSL For Newbies Pin
Mark Salsbery6-Jan-09 6:30
Mark Salsbery6-Jan-09 6:30 
GeneralRe: WCF SSL For Newbies Pin
Jammer6-Jan-09 22:18
Jammer6-Jan-09 22:18 
GeneralRe: WCF SSL For Newbies Pin
Pete O'Hanlon6-Jan-09 22:27
mvePete O'Hanlon6-Jan-09 22:27 
GeneralRe: WCF SSL For Newbies Pin
Jammer6-Jan-09 22:41
Jammer6-Jan-09 22:41 
QuestionWhat is the best solution for User Interface of VC++ app? Pin
xiaolin.lan5-Jan-09 22:22
xiaolin.lan5-Jan-09 22:22 
AnswerRe: What is the best solution for User Interface of VC++ app? Pin
Mark Salsbery6-Jan-09 6:37
Mark Salsbery6-Jan-09 6:37 
QuestionRe: What is the best solution for User Interface of VC++ app? [modified] Pin
xiaolin.lan6-Jan-09 14:33
xiaolin.lan6-Jan-09 14:33 
QuestionDragMove() method for other elements ? Pin
Mohammad Dayyan5-Jan-09 20:41
Mohammad Dayyan5-Jan-09 20:41 
AnswerRe: DragMove() method for other elements ? Pin
User 2710096-Jan-09 3:20
User 2710096-Jan-09 3:20 
GeneralRe: DragMove() method for other elements ? Pin
Mohammad Dayyan7-Jan-09 23:38
Mohammad Dayyan7-Jan-09 23:38 
GeneralRe: DragMove() method for other elements ? Pin
User 2710098-Jan-09 1:24
User 2710098-Jan-09 1:24 
QuestionIntegrating Onlinehelp(.chm file) with xbap application Pin
hemakrishnan5-Jan-09 19:19
hemakrishnan5-Jan-09 19:19 
QuestionHow to customize built in Commands in WPF C# Pin
Emir Gracanin5-Jan-09 16:11
Emir Gracanin5-Jan-09 16:11 

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.