示例#1
0
文件: MForm.cs 项目: linxon/dnsblc
        // Для обновления информации на главной форме
        private void UpdateForm(ListViewItem NewIp, int PGMax, int PGValue, string labelAll, string labelBack, string labelWhite)
        {
            ResultBox.Items.Add(NewIp);
            ResultBox.Refresh();

            toolStripProgressBar.Maximum = PGMax;
            toolStripProgressBar.Value   = PGValue;

            labelAllCount.Text   = labelAll;
            labelBackCount.Text  = labelBack;
            labelWhiteCount.Text = labelWhite;

            this.Text = "DNSBL Checker: Проверка...";

            // Автоскролл вниз формы
            ResultBox.EnsureVisible(ResultBox.Items.Count - 1);
        }