private void ButtonAddNew_Click(object sender, EventArgs e) { Register_Food food = new Register_Food(); CreateFood here = new CreateFood(); this.Hide(); this.Closed += (s, args) => here.Close(); food.Show(); }
private void ButtonVoltar_Click_1(object sender, EventArgs e) { CreateFood here = new CreateFood(); Dashboard dash = new Dashboard(); this.Hide(); this.Closed += (s, args) => here.Close(); dash.Show(); }