procedure InitializeComponent; begin self.components := new System.ComponentModel.Container(); var resources: System.ComponentModel.ComponentResourceManager := new System.ComponentModel.ComponentResourceManager(typeof(DA_Browser)); self.webBrowser1 := new System.Windows.Forms.WebBrowser(); self.serialPort1 := new System.IO.Ports.SerialPort(self.components); self.menuStrip1 := new System.Windows.Forms.MenuStrip(); self.toolStrip1 := new System.Windows.Forms.ToolStrip(); self.toolStripButton1 := new System.Windows.Forms.ToolStripButton(); self.toolStripButton2 := new System.Windows.Forms.ToolStripButton(); self.toolStripButton3 := new System.Windows.Forms.ToolStripButton(); self.toolStripButton4 := new System.Windows.Forms.ToolStripButton(); self.toolStripSeparator := new System.Windows.Forms.ToolStripSeparator(); self.toolStripButton5 := new System.Windows.Forms.ToolStripButton(); self.toolStripButton6 := new System.Windows.Forms.ToolStripButton(); self.toolStripButton7 := new System.Windows.Forms.ToolStripButton(); self.toolStripSeparator1 := new System.Windows.Forms.ToolStripSeparator(); self.toolStripButton8 := new System.Windows.Forms.ToolStripButton(); self.contextMenuStrip1 := new System.Windows.Forms.ContextMenuStrip(self.components); self.contextMenuStrip2 := new System.Windows.Forms.ContextMenuStrip(self.components); self.pictureBox1 := new System.Windows.Forms.PictureBox(); self.progressBar1 := new System.Windows.Forms.ProgressBar(); self.vScrollBar1 := new System.Windows.Forms.VScrollBar(); self.propertyGrid1 := new System.Windows.Forms.PropertyGrid(); self.helpProvider1 := new System.Windows.Forms.HelpProvider(); self.toolStrip1.SuspendLayout(); (System.ComponentModel.ISupportInitialize(self.pictureBox1)).BeginInit(); self.SuspendLayout(); // // webBrowser1 // self.webBrowser1.Dock := System.Windows.Forms.DockStyle.Right; self.webBrowser1.Location := new System.Drawing.Point(185, 24); self.webBrowser1.MinimumSize := new System.Drawing.Size(20, 20); self.webBrowser1.Name := 'webBrowser1'; self.webBrowser1.ScriptErrorsSuppressed := true; self.webBrowser1.Size := new System.Drawing.Size(693, 612); self.webBrowser1.TabIndex := 0; self.webBrowser1.Tag := 'Яндекс; Поисковик; Браузер; Программа.'; self.webBrowser1.Url := new System.Uri('https://www.yandex.ru/', System.UriKind.Absolute); // // serialPort1 // self.serialPort1.DataBits := 7; self.serialPort1.DtrEnable := true; self.serialPort1.PortName := 'COM6'; self.serialPort1.ReadBufferSize := 564346; self.serialPort1.ReadTimeout := 10000; self.serialPort1.StopBits := System.IO.Ports.StopBits.OnePointFive; self.serialPort1.WriteBufferSize := 1000000; // // menuStrip1 // self.menuStrip1.Location := new System.Drawing.Point(0, 0); self.menuStrip1.Name := 'menuStrip1'; self.menuStrip1.Size := new System.Drawing.Size(878, 24); self.menuStrip1.TabIndex := 1; self.menuStrip1.Text := 'menuStrip1'; // // toolStrip1 // self.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[10](self.toolStripButton1, self.toolStripButton2, self.toolStripButton3, self.toolStripButton4, self.toolStripSeparator, self.toolStripButton5, self.toolStripButton6, self.toolStripButton7, self.toolStripSeparator1, self.toolStripButton8)); self.toolStrip1.Location := new System.Drawing.Point(0, 24); self.toolStrip1.Name := 'toolStrip1'; self.toolStrip1.Size := new System.Drawing.Size(185, 25); self.toolStrip1.TabIndex := 2; self.toolStrip1.Text := 'toolStrip1'; self.toolStrip1.ItemClicked += toolStrip1_ItemClicked; // // toolStripButton1 // self.toolStripButton1.DisplayStyle := System.Windows.Forms.ToolStripItemDisplayStyle.Image; self.toolStripButton1.Image := (System.Drawing.Image(resources.GetObject('toolStripButton1.Image'))); self.toolStripButton1.ImageTransparentColor := System.Drawing.Color.Magenta; self.toolStripButton1.Name := 'toolStripButton1'; self.toolStripButton1.Size := new System.Drawing.Size(23, 22); self.toolStripButton1.Text := '&Создать'; // // toolStripButton2 // self.toolStripButton2.DisplayStyle := System.Windows.Forms.ToolStripItemDisplayStyle.Image; self.toolStripButton2.Image := (System.Drawing.Image(resources.GetObject('toolStripButton2.Image'))); self.toolStripButton2.ImageTransparentColor := System.Drawing.Color.Magenta; self.toolStripButton2.Name := 'toolStripButton2'; self.toolStripButton2.Size := new System.Drawing.Size(23, 22); self.toolStripButton2.Text := '&Открыть'; // // toolStripButton3 // self.toolStripButton3.DisplayStyle := System.Windows.Forms.ToolStripItemDisplayStyle.Image; self.toolStripButton3.Image := (System.Drawing.Image(resources.GetObject('toolStripButton3.Image'))); self.toolStripButton3.ImageTransparentColor := System.Drawing.Color.Magenta; self.toolStripButton3.Name := 'toolStripButton3'; self.toolStripButton3.Size := new System.Drawing.Size(23, 22); self.toolStripButton3.Text := '&Сохранить'; // // toolStripButton4 // self.toolStripButton4.DisplayStyle := System.Windows.Forms.ToolStripItemDisplayStyle.Image; self.toolStripButton4.Image := (System.Drawing.Image(resources.GetObject('toolStripButton4.Image'))); self.toolStripButton4.ImageTransparentColor := System.Drawing.Color.Magenta; self.toolStripButton4.Name := 'toolStripButton4'; self.toolStripButton4.Size := new System.Drawing.Size(23, 22); self.toolStripButton4.Text := '&Печать'; // // toolStripSeparator // self.toolStripSeparator.Name := 'toolStripSeparator'; self.toolStripSeparator.Size := new System.Drawing.Size(6, 25); // // toolStripButton5 // self.toolStripButton5.DisplayStyle := System.Windows.Forms.ToolStripItemDisplayStyle.Image; self.toolStripButton5.Image := (System.Drawing.Image(resources.GetObject('toolStripButton5.Image'))); self.toolStripButton5.ImageTransparentColor := System.Drawing.Color.Magenta; self.toolStripButton5.Name := 'toolStripButton5'; self.toolStripButton5.Size := new System.Drawing.Size(23, 22); self.toolStripButton5.Text := 'В&ырезать'; // // toolStripButton6 // self.toolStripButton6.DisplayStyle := System.Windows.Forms.ToolStripItemDisplayStyle.Image; self.toolStripButton6.Image := (System.Drawing.Image(resources.GetObject('toolStripButton6.Image'))); self.toolStripButton6.ImageTransparentColor := System.Drawing.Color.Magenta; self.toolStripButton6.Name := 'toolStripButton6'; self.toolStripButton6.Size := new System.Drawing.Size(23, 22); self.toolStripButton6.Text := '&Копировать'; // // toolStripButton7 // self.toolStripButton7.DisplayStyle := System.Windows.Forms.ToolStripItemDisplayStyle.Image; self.toolStripButton7.Image := (System.Drawing.Image(resources.GetObject('toolStripButton7.Image'))); self.toolStripButton7.ImageTransparentColor := System.Drawing.Color.Magenta; self.toolStripButton7.Name := 'toolStripButton7'; self.toolStripButton7.Size := new System.Drawing.Size(23, 20); self.toolStripButton7.Text := 'Вст&авка'; // // toolStripSeparator1 // self.toolStripSeparator1.Name := 'toolStripSeparator1'; self.toolStripSeparator1.Size := new System.Drawing.Size(6, 6); // // toolStripButton8 // self.toolStripButton8.DisplayStyle := System.Windows.Forms.ToolStripItemDisplayStyle.Image; self.toolStripButton8.Image := (System.Drawing.Image(resources.GetObject('toolStripButton8.Image'))); self.toolStripButton8.ImageTransparentColor := System.Drawing.Color.Magenta; self.toolStripButton8.Name := 'toolStripButton8'; self.toolStripButton8.Size := new System.Drawing.Size(23, 20); self.toolStripButton8.Text := 'Спр&авка'; // // contextMenuStrip1 // self.contextMenuStrip1.Name := 'contextMenuStrip1'; self.contextMenuStrip1.Size := new System.Drawing.Size(61, 4); // // contextMenuStrip2 // self.contextMenuStrip2.Name := 'contextMenuStrip2'; self.contextMenuStrip2.Size := new System.Drawing.Size(61, 4); // // pictureBox1 // self.pictureBox1.BackgroundImage := (System.Drawing.Image(resources.GetObject('pictureBox1.BackgroundImage'))); self.pictureBox1.Location := new System.Drawing.Point(0, 396); self.pictureBox1.Name := 'pictureBox1'; self.pictureBox1.Size := new System.Drawing.Size(185, 178); self.pictureBox1.TabIndex := 5; self.pictureBox1.TabStop := false; // // progressBar1 // self.progressBar1.AccessibleRole := System.Windows.Forms.AccessibleRole.Animation; self.progressBar1.ContextMenuStrip := self.contextMenuStrip1; self.progressBar1.ForeColor := System.Drawing.Color.LawnGreen; self.progressBar1.Location := new System.Drawing.Point(185, 603); self.progressBar1.Name := 'progressBar1'; self.progressBar1.Size := new System.Drawing.Size(674, 33); self.progressBar1.TabIndex := 6; self.progressBar1.UseWaitCursor := true; // // vScrollBar1 // self.vScrollBar1.Location := new System.Drawing.Point(160, 49); self.vScrollBar1.Name := 'vScrollBar1'; self.vScrollBar1.Size := new System.Drawing.Size(19, 344); self.vScrollBar1.TabIndex := 7; // // propertyGrid1 // self.propertyGrid1.AccessibleDescription := 'Закладки'; self.propertyGrid1.AccessibleName := 'PageTab'; self.propertyGrid1.AccessibleRole := System.Windows.Forms.AccessibleRole.PageTab; self.propertyGrid1.AllowDrop := true; self.propertyGrid1.Cursor := System.Windows.Forms.Cursors.WaitCursor; self.propertyGrid1.HelpBackColor := System.Drawing.SystemColors.Info; self.propertyGrid1.ImeMode := System.Windows.Forms.ImeMode.On; self.propertyGrid1.Location := new System.Drawing.Point(0, 52); self.propertyGrid1.Name := 'propertyGrid1'; self.propertyGrid1.Size := new System.Drawing.Size(157, 341); self.propertyGrid1.TabIndex := 8; self.propertyGrid1.Tag := 'Закладки'; self.propertyGrid1.UseCompatibleTextRendering := true; self.propertyGrid1.UseWaitCursor := true; // // helpProvider1 // self.helpProvider1.HelpNamespace := 'C:\Users\Test\Desktop\Новый текстовый документ.htm'; self.helpProvider1.Tag := 'Помощь (HELP)'; // // DA_Browser // self.BackColor := System.Drawing.SystemColors.Control; self.ClientSize := new System.Drawing.Size(878, 636); self.Controls.Add(self.propertyGrid1); self.Controls.Add(self.vScrollBar1); self.Controls.Add(self.progressBar1); self.Controls.Add(self.pictureBox1); self.Controls.Add(self.toolStrip1); self.Controls.Add(self.webBrowser1); self.Controls.Add(self.menuStrip1); self.ForeColor := System.Drawing.Color.CadetBlue; self.FormBorderStyle := System.Windows.Forms.FormBorderStyle.Fixed3D; self.HelpButton := true; self.MainMenuStrip := self.menuStrip1; self.MinimumSize := new System.Drawing.Size(5, 0); self.Name := 'DA_Browser'; self.Text := 'Form1'; self.toolStrip1.ResumeLayout(false); self.toolStrip1.PerformLayout(); (System.ComponentModel.ISupportInitialize(self.pictureBox1)).EndInit(); self.ResumeLayout(false); self.PerformLayout(); end; Найденные ошибки: Unit1.DA_Browser.inc(197) : Встречено 'On', а ожидался оператор