Example #1
0
        public BuildRepo(CheckedListBox addonsList, Label progressText, Windows7ProgressBar progressFile, TextBox buildLog, WindowIO windowIO, Button buildBtn, CheckBox checkBtn)
        {
            this.repoReader = new RepoReader();

            this.addonsList   = addonsList;
            this.progressText = progressText;
            this.progressFile = progressFile;
            this.buildLog     = buildLog;
            this.windowIO     = windowIO;
            this.buildBtn     = buildBtn;
            this.checkBtn     = checkBtn;

            this.builder.DoWork                    += Builder_DoWork;
            this.builder.RunWorkerCompleted        += Builder_RunWorkerCompleted;
            this.builder.WorkerSupportsCancellation = true;

            this.progressStatusText("Waiting for orders");
        }