mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
split ICA object initialization from setting Parent property. this had created an appearance bug. connected to #254
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user