private void NextButton_Click(object sender, EventArgs e) { if (Validation.IsFilled(MyCity) && Validation.IsFilled(MyStreet) && Validation.IsFilled(MyStreetNumber) && Validation.IsFilled(MyPostcode)) { Hide(); localPhoneNumber.Show(); } else { MessageBox.Show("Please enter your address.", "Warning!"); } }
private void BackButton_Click(object sender, EventArgs e) { Hide(); localPhoneNumber.Show(); }