private void UpdateLockedControls()
{
this.ButtonAddResults.Enabled = !NTRConnection.LockControls && this.ControlEnabledButtonAddResults;
this.ButtonConnectDisconnect.Enabled = !NTRConnection.LockControls && this.ControlEnabledButtonConnectDisconnect;
this.ButtonOpenProcess.Enabled = !NTRConnection.LockControls && this.ControlEnabledButtonOpenProcess;
this.ButtonRefreshMemoryRange.Enabled = !NTRConnection.LockControls && this.ControlEnabledButtonRefreshMemoryRange;
this.IP.Enabled = !NTRConnection.LockControls && this.ControlEnabledIP;
this.MemoryRange.Enabled = !NTRConnection.LockControls && this.ControlEnabledMemoryRange;
this.SaveButton.Enabled = !NTRConnection.LockControls && this.ControlEnabledMemoryRange;
this.LoadButton.Enabled = !NTRConnection.LockControls && this.ControlEnabledMemoryRange;
this.ImportButton.Enabled = false;// !NTRConnection.LockControls && this.ControlEnabledMemoryRange;
this.Port.Enabled = !NTRConnection.LockControls && this.ControlEnabledPort;
this.Processes.Enabled = !NTRConnection.LockControls && this.ControlEnabledProcesses;
this.ResetButton.Enabled = !NTRConnection.LockControls && this.ControlEnabledResetButton;
this.ResultsGrid.Enabled = !NTRConnection.LockControls && this.ControlEnabledResultsGrid;
this.SearchButton.Enabled = !NTRConnection.LockControls && this.ControlEnabledSearchButton;
this.ComboSearchType.Enabled = !NTRConnection.LockControls && this.ControlEnabledSearchType;
this.ComboDataType.Enabled = !NTRConnection.LockControls && this.ControlEnabledDataType;
this.SearchValue.Enabled = !NTRConnection.LockControls && this.ControlEnabledSearchValue;
this.SearchValue2.Enabled = !NTRConnection.LockControls && this.ControlEnabledSearchValue2;
this.ValuesGrid.Enabled = !NTRConnection.LockControls && this.ControlEnabledValuesGrid;
this.MemoryStart.Enabled = !NTRConnection.LockControls && this.ControlEnabledStart;
this.MemorySize.Enabled = !NTRConnection.LockControls && this.ControlEnabledSize;
}