Exemplo n.º 1
0
        private void SaveConnectionOnEdit()
        {
            if (!mRemoteNG.Settings.Default.SaveConnectionsAfterEveryEdit)
            {
                return;
            }

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

            _connectionsService.SaveConnectionsAsync(propertyName);
        }