private void Switch() { SysManager.PreOnlineTrading(); if (SelectedSetup.Online) { ExitOnlineMode(); } else { EnterOnlineMode(); } RaisePropertyChanged(() => TradingButton); }