private void _reporter_UpgradeCompleted(object sender, UpgradeCompletedEventArgs e) { _reporter = null; _upgrading = false; _statusLabel.Text = ""; UpdateUI(); if (e.UpgradeSucceeded) { MessageBox.Show("Upgrade Succeeded!", "", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { MessageBox.Show("Upgrade failed! Error: " + e.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void Handler_OnUpgradeCompleted(object sender, UpgradeCompletedEventArgs completeddata) { activeHandler = sender as WebSocketHttpServerHandler; var handler = OnOverlayConnected; if (handler != null) { handler(this, activeHandler.GetRemoteIPEndpoint().ToString()); } foreach (var key in m_ModuleCSS.Keys) { ComposeCssAdditionMessage(key, m_ModuleCSS[key]); } foreach (var key in m_ModuleJS.Keys) { ComposeJSAdditionMessage(key, m_ModuleJS[key]); } }
private void HandlerOnOnUpgradeCompleted(object sender, UpgradeCompletedEventArgs completeddata) { WebSocketHttpServerHandler obj = sender as WebSocketHttpServerHandler; _activeHandlers.Add(obj); }
private void _reporter_UpgradeCompleted(object sender, UpgradeCompletedEventArgs e) { _reporter = null; _upgrading = false; _statusLabel.Text = ""; UpdateUI(); if(e.UpgradeSucceeded) { MessageBox.Show("Upgrade Succeeded!", "", MessageBoxButtons.OK, MessageBoxIcon.Information); } else { MessageBox.Show("Upgrade failed! Error: " + e.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }
private void Handler_OnUpgradeCompleted(object sender, UpgradeCompletedEventArgs completeddata) { activeHandler = sender as WebSocketHttpServerHandler; }