Example #1
0
        private void SaveConnectionOnEdit()
        {
            if (!mRemoteNG.Settings.Default.SaveConnectionsAfterEveryEdit)
            {
                return;
            }

            _connectionsService.SaveConnectionsAsync();
        }
Example #2
0
        private void SaveConnectionOnEdit(string propertyName = "")
        {
            if (!mRemoteNG.Settings.Default.SaveConnectionsAfterEveryEdit)
            {
                return;
            }
            if (FrmMain.Default.IsClosing)
            {
                return;
            }

            _connectionsService.SaveConnectionsAsync(propertyName);
        }