using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using Maser.Palantir.Model; namespace HTOLHAST { public partial class FormSelectProject : Form { public Project Project; public FormSelectProject() { InitializeComponent(); midsProjectRetriever.OK_Clicked += MidsProjectRetriever_OK_Clicked; } private void MidsProjectRetriever_OK_Clicked(object sender, EventArgs e) { Project = midsProjectRetriever.Project; this.DialogResult = DialogResult.OK; this.Close(); } } }