示例#1
0
        private void Disconnect()
        {
            var name = _communicator.ConnectedTo;

            _communicator.Disconnect();
            StatusText = string.Format("Disconnected from {0}", name);
            FireOnConnectionPropertiesChanged();
        }
示例#2
0
        private void Disconnect()
        {
            var name = _communicator.ConnectedTo;

            _communicator.Disconnect();
            Model.StatusText = string.Format("Disconnected from {0}", name);
            Model.Title      = "DbTool";
            Connection.ShowConnected(true);
        }