private void Button_Click(object sender, RoutedEventArgs e) { this.Hide(); Select_store st = new Select_store(); st.ShowDialog(); }
//בדיקה על המייל שהוזן האם הוא תקין private void Button_Click(object sender, RoutedEventArgs e) { if (!(EmailAddressHelper.Validate(mail.Text)) || mail.Text == "gmail.com" || mail.Text == "walla.com") { MessageBox.Show("the email is not correct"); } else { this.Hide(); Select_store s = new Select_store(); s.ShowDialog(); } }