示例#1
0
        private void OnGetStarted()
        {
            if (!_storage.IsLogined)
            {
                var dialog = _viewFactory.GetView <Dialog>(ViewTypes.Login);
                _shell.ShowDialog(string.Format(Strings.Login_ConnectTo, Strings.Name), dialog);
            }

            if (_storage.IsLogined)
            {
                ShowGetStarted = false;
                IsStarted      = true;
                if (Owners.Count > 0)
                {
                    SelectedOwner = Owners[0];
                }
                RepositoryName = System.IO.Path.GetFileNameWithoutExtension(_tes.GetSolutionFullPath());
            }
        }