private void ContextMenu_OnDisconnect(object sender, RoutedEventArgs e) { try { SessionsCTRL.Delete(CommandBTN.Tag as Session); } catch (Exception exception) { GuiUtils.HandleException(String.Empty, GuiUtils.CallerName(), exception); } }