Expression > 포럼 홈 > Expression Blend + SketchFlow > how to disable WPF window.
질문하기질문하기
 

제안된 답변how to disable WPF window.

  • 2009년 6월 26일 금요일 오전 9:13Harshil Gandhi 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    I have two WPF window(.xaml) .
    If user login information is correct it should disable login window and open another window....


    How can I  achieve IT

    Thanks
    Harshil

모든 응답

  • 2009년 6월 26일 금요일 오전 11:21Stef S. 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    In the code behind of the button click (from the Login) you can check the credentials and if the user passes it, you simple can navigate to your second window or attach it to the root.
  • 2009년 6월 28일 일요일 오전 9:27Dieterdp 사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     
    do  you want to disable to login screen of hide, i would you a dialog screen and when the login/pass is correct close the dialog screen

    dieter
  • 2009년 7월 1일 수요일 오후 5:24prasad22MVP사용자 메달사용자 메달사용자 메달사용자 메달사용자 메달
     제안된 답변
    Hi,

    you can disable using the property   IsEnabled=false;

    if you do that then you will not have access to all the controls in that window, apart from that you will have access only to the standard minimize,maximize,resize buttons if available on top right corner of the title. which is non client area.


    Prasad - www.beautifulmind.blog.co.in
    Microsoft MVP
    • 답변으로 제안됨prasad22MVP2009년 7월 1일 수요일 오후 5:25
    •