keeping control with the same handle between form loads <p>I got a form with a control i draw on with another application. The other application loads to slow to start it each time i show my window. So i load the secondary application in advance. I use a control handle as argument, telling the application wich handle to draw on. This works fine the first time. When i close my dialog (clicking the ok button, setting the dialog result to ok) and open it again, the control handle changed.</p> <p>How can i keep my control handle the same between two loads of the dialog?</p> <pre><code>public partial class ListForm : Form { FilterDialog filterDialog; public ListForm() { InitializeComponent(); filterDialog = new FilterDialog(); //this is where i load my second form, wich i draw in } </code></pre> <p>the Dialog i draw in</p> <pre><code>public FilterDialog() { InitializeComponent(); string applicationlocation = @"..."; //set the argument string hexvalue = btnImage.Handle.ToInt32().ToString("X8"); process.StartInfo.Arguments = "0x" + hexvalue; process.StartInfo.FileName = applicationlocation; process.StartInfo.UseShellExecute = false; process.Start(); } private void FilterDialog_Load(object sender, EventArgs e) { if (this.filter != string.Empty) txtFilter.Text = filter; } </code></pre>