split ICA object initialization from setting Parent property. this had created an appearance bug. connected to #254

This commit is contained in:
David Sparer
2016-11-21 08:23:33 -07:00
parent d79687db53
commit 9c25a39b7b

View File

@@ -575,15 +575,9 @@ namespace mRemoteNG.UI.Window
try
{
using (var ica = new AxICAClient {Parent = this})
using (var ica = new AxICAClient())
{
//ica.CreateControl();
//while (!ica.Created)
//{
// Thread.Sleep(10);
// System.Windows.Forms.Application.DoEvents();
//}
ica.Parent = this;
pbCheck4.Image = Resources.Good_Symbol;
lblCheck4.ForeColor = Color.DarkOliveGreen;