private void returnare_Click(object sender, EventArgs e) { this.Hide(); Returnare f = new Returnare(); f.ShowDialog(); this.Close(); }
private void returnare_Click(object sender, EventArgs e) { DialogResult dg = MessageBox.Show("Vei fi redirectionat la meniu Returnare Carte,\nContinuati?", "Redirectionare", MessageBoxButtons.YesNo, MessageBoxIcon.Question); if (dg == DialogResult.Yes) { this.Hide(); Returnare f = new Returnare(); f.ShowDialog(); this.Close(); } }