private void OpenConnectDropboxView(object obj) { if (_connectDropboxView == null) { _logger.Info("show connect dropbox view"); _connectDropboxView = Container.Resolve <ConnectDropboxView>(); _connectDropboxView.Show(); } else { _logger.Warn("connect dropbox view already open"); _logger.Info("push view in foreground"); _connectDropboxView.Focus(); } }
private void OnConnectDropboxViewClosedMsg(ConnectDropboxViewClosedMsg msg) { _logger.Info("set connect dropbox view to null"); _connectDropboxView = null; }