//public void WebPage1() //{ // mainWindowFrame.NavigationService.Navigate(webPage1); //} // PRICHOZĂ METODY // PRICHOZĂ METODY public void HesloPageAktivni(string stav) { if (stav == "on") { spravceZabezpeceni.VynulovatHeslo(); mainWindowFrame.NavigationService.Navigate(hesloPage1); } else { HomePage1(); } }
private void vynulovatHesloButton_Click(object sender, RoutedEventArgs e) { spravceZabezpeceni.VynulovatHeslo(); }