Example #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            notifyIcon1.Text = Text = $"Repos watcher ver.{AppVersion.AssemblyVersion}";
            CheckGitSetup();
            if (appConfiguration.Any())
            {
                tabsRepoBuilder.BuildTabs(reposCatalogs, Repo_OnSelectRepo);
                reposCatalogs.Selected += ReposCatalogs_TabIndexChanged;
                SetCurrentTab();
                GenerateAndUpdateRepos();
            }
            else
            {
                SetMenuFunctionIfNoRepos(true);
                MessageBox.Show("No repositories configured.");
            }

            loggingService.LogDebug($"[{nameof(Form1_Load)}] Loading repos to App");
        }