private void guna2Button2_Click(object sender, EventArgs e) { if (ParserHtml.ValidateUri(Url.Text)) { log.Text = ""; Parser ViewPages = new Parser(Url.Text); ListSR = ViewPages.StartGetPages(); MakesChoicePages(ListSR); Guna.UI2.WinForms.Guna2Button parserB = new Guna.UI2.WinForms.Guna2Button(); parserB.BorderRadius = 15; parserB.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(192))))); parserB.Size = new System.Drawing.Size(141, 27); parserB.Text = "Спарсить"; parserB.Location = new Point(239, 321); parserB.Click += new System.EventHandler(this.Start); parserB.ForeColor = Color.FromKnownColor(KnownColor.Black); this.Controls.Add(parserB); } else { log.Text = "Не валидный Url"; } }