private void button1_Click(object sender, EventArgs e) { Foodstore myForm = new Foodstore(); myForm.Show(this); this.Hide(); }
private void button1_Click(object sender, EventArgs e) { if (radioButton1.Checked == true) { MessageBox.Show("Ο γιατρός θα είναι στο σπίτι σας σε 10 λεπτά"); } else if (radioButton2.Checked == true) { //MessageBox.Show("Τα τρόφιμα θα είναι στο σπίτι σας σε μισή ώρα"); Foodstore myForm = new Foodstore(); myForm.Show(this); this.Hide(); } else if (radioButton3.Checked == true) { MessageBox.Show("Η αστυνομία έχει ειδοποιηθεί και θα είναι σπίτι σε 5 λεπτά "); } else if (radioButton4.Checked == true) { MessageBox.Show("Το συνεργείο καθαρισμού θα είναι εκεί σε 15 λεπτα "); } }