Formula una domandaFormula una domanda
 

Risposta suggeritahow to disable WPF window.

Tutte le risposte

  • venerdì 26 giugno 2009 11.21Stef S. Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    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.
  • domenica 28 giugno 2009 9.27Dieterdp Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     
    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
  • mercoledì 1 luglio 2009 17.24prasad22MVPMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     Risposta suggerita
    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
    • Proposto come rispostaprasad22MVPmercoledì 1 luglio 2009 17.25
    •