Exemplo n.º 1
0
        public AddRepositoryDialog(IWorkingEnvironment environment, LocalRepositoriesListBox repositoriyList)
        {
            Verify.Argument.IsNotNull(environment, "environment");
            Verify.Argument.IsNotNull(repositoriyList, "repositoriyList");

            _environment = environment;
            _repositoryList = repositoriyList;

            InitializeComponent();

            Text = Resources.StrAddRepository;

            _lblPath.Text = Resources.StrPath.AddColon();
            _lblDescription.Text = Resources.StrDescription.AddColon();

            GitterApplication.FontManager.InputFont.Apply(_txtPath, _txtDescription);
        }
Exemplo n.º 2
0
        public AddRepositoryDialog(IWorkingEnvironment environment, LocalRepositoriesListBox repositoriyList)
        {
            Verify.Argument.IsNotNull(environment, nameof(environment));
            Verify.Argument.IsNotNull(repositoriyList, nameof(repositoriyList));

            _environment    = environment;
            _repositoryList = repositoriyList;

            InitializeComponent();

            Text = Resources.StrAddRepository;

            _lblPath.Text        = Resources.StrPath.AddColon();
            _lblDescription.Text = Resources.StrDescription.AddColon();

            GitterApplication.FontManager.InputFont.Apply(_txtPath, _txtDescription);
        }