Example #1
0
 private void BtnRefresh_Click(object sender, EventArgs e)
 {
     if (!BckGWStati.IsBusy)
     {
         BckGWStati.RunWorkerAsync();
     }
 }
Example #2
0
        public BuildRepositories(string Name, string PathRepository, bool i586, bool x86_64, string RepoEndUrl)
        {
            ToolTip TT = new ToolTip();

            TT.IsBalloon    = true;
            TT.ToolTipTitle = "Info";
            TT.ToolTipIcon  = ToolTipIcon.Info;
            InitializeComponent();
            LblDistro.Text = Name;
            TT.SetToolTip(LblDistro, Name);
            LblDistroDescr.Text = PathRepository;
            TT.SetToolTip(LblDistroDescr, PathRepository);
            GrpBxI586.Visible      = i586;
            GrpBxX86_64.Visible    = x86_64;
            LblGotoRepository.Tag += RepoEndUrl;
            TT.SetToolTip(LblGotoRepository, RepoEndUrl);
            ChkBxStates();
            BtnDelRepo.ToolTipText = string.Format("Del {0} and all build RPM", Name);
            BtnRefresh.ToolTipText = string.Format("Refresh {0} build status", Name);
            if (!BckGWStati.IsBusy)
            {
                BckGWStati.RunWorkerAsync();
            }
        }