Hello my name is Badr and I am a newbie and now I am building a project using WPF. My problem is that I want to hide / close the window when moving from page to another window.
i tried this
win_Main win_main = new win_Main();
win_main.ShowDialog();
win_Login win_login=new win_Login();win_login.close();
and this also :
this.close();
it's not working

Vilas ShendeRank #1,114 · 1.7K reputationPosted Nov 1, 2018, 10:05 PM EDT
Badr Akara72 reputationPosted Nov 1, 2018, 11:12 PM EDT
Vilas ShendeRank #1,114 · 1.7K reputationPosted Nov 3, 2018, 7:29 PM EDT
Badr Akara72 reputationPosted Nov 4, 2018, 6:16 PM EST
Devendra KumarRank #2,966 · 487 reputationPosted Nov 5, 2018, 4:33 AM EST