From 1f93ca1cf83be1c704c3ca6100b8f90be0488ecd Mon Sep 17 00:00:00 2001 From: Sean Kaim Date: Sun, 30 Dec 2018 21:47:06 -0500 Subject: [PATCH] white space and log message --- mRemoteV1/UI/Tabs/ConnectionTab.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mRemoteV1/UI/Tabs/ConnectionTab.cs b/mRemoteV1/UI/Tabs/ConnectionTab.cs index c751f7323..5272235b0 100644 --- a/mRemoteV1/UI/Tabs/ConnectionTab.cs +++ b/mRemoteV1/UI/Tabs/ConnectionTab.cs @@ -16,17 +16,15 @@ namespace mRemoteNG.UI.Tabs public ConnectionTab() { - InitializeComponent(); + InitializeComponent(); FormClosing += formClosingEventHandler; } - #region TabEvents private void formClosingEventHandler(object sender, FormClosingEventArgs e) { - try { if (Settings.Default.ConfirmCloseConnection == (int)ConfirmCloseEnum.All) @@ -42,11 +40,11 @@ namespace mRemoteNG.UI.Tabs } } var interfaceControl = (InterfaceControl)Tag; - interfaceControl.Protocol.Close(); + interfaceControl.Protocol.Close(); } catch (Exception ex) { - Runtime.MessageCollector.AddExceptionMessage("UI.Window.Connection.CloseConnectionTab() failed", ex); + Runtime.MessageCollector.AddExceptionMessage("UI.Tab.CloseConnectionTab() failed", ex); } }