private void Menu_OnMouseDown_changelot(object sender, MouseButtonEventArgs e) { Start_lotto _cambia_lotto = new Start_lotto(this); App.Current.MainWindow = _cambia_lotto; this.Close(); _cambia_lotto.Show(); popup_domande_lotto.IsOpen = true; }
private void Menu_OnMouseDown_completa(object sender, MouseButtonEventArgs e) { //andiamo a completare il Lotto corrente; (il file tmp verrà salvato in .dat) LottoCurrent.completa(); log_totals(); // salva i log con il totale per colore Start_lotto _cambia_lotto = new Start_lotto(this); App.Current.MainWindow = _cambia_lotto; this.Close(); _cambia_lotto.Show(); }