public void RequestClose() { try { if (m_closePending) { return; } if (this.InvokeRequired) { RequestCloseDelegate inv = new RequestCloseDelegate(this.RequestClose); this.Invoke(inv, new object[] { }); } else { Close(); UiClient.Instance.SplashWindow = null; } } catch (Exception ex) { Engine.Instance.Logs.LogUnexpected(ex); } }
public void RequestClose() { if (this.InvokeRequired) { RequestCloseDelegate inv = new RequestCloseDelegate(this.RequestClose); this.BeginInvoke(inv, new object[] { }); } else { tmrTimer.Enabled = true; } }
public void RequestClose() { if (m_closePending) { return; } if (this.InvokeRequired) { RequestCloseDelegate inv = new RequestCloseDelegate(this.RequestClose); this.Invoke(inv, new object[] { }); } else { Close(); UiClient.Instance.SplashWindow = null; } }