public void Disconnect() { if (ConnectLogic != null) { ConnectLogic.Dispose(); ConnectLogic = null; IsConnected = false; } }
public void SetupBuilder() { Disconnect(); ConnectLogic = new FdkConnectLogic(Address, Login, Password) { RootPath = Path }; ConnectLogic.TradeWrapper.SetupBuilder(Address, Login, Password, this.Path); }