forme active

// using Linq:
var lastOpenedForm = Application.OpenForms.Cast<Form>().Last()
Concerned Centipede