using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Mafia_IB___12 { public partial class Mafia_IB : Form { public Mafia_IB() { InitializeComponent(); } WebBrowser[] IB ; private void Mafia_IB_Load(object sender, EventArgs e) { IB = new WebBrowser[100]; Tabs ta = new Tabs(); int ibx=this.Size.Width - 10 , iby = this.Size.Height-10; int x = this.Left = Screen.PrimaryScreen.WorkingArea.Left, y = this.Top = Screen.PrimaryScreen.WorkingArea.Bottom - this.Height / 2; int x1 = this.Left = Screen.PrimaryScreen.WorkingArea.Right - backward.Width, y1 = this.Top = Screen.PrimaryScreen.WorkingArea.Bottom - this.Height / 2; int xrest = (this.Width - 1100) / 5; backward.Location = new Point(x, y); Forward.Location = new Point(x1, y1); IB[1].Size = new Size(ibx, iby); IB[1].Location = new Point(5, 5); tools.Dock = DockStyle.Bottom; tools.Width = Screen.PrimaryScreen.WorkingArea.Width; Gostrip.Width = xrest; refreshstrip.Width = xrest; Homestrip.Width = xrest; Pinstrip.Width = xrest; forwardstrip.Width = xrest; //tools.Visible = false; Loading.Width = this.Width; IB[1].Show(); IB[1].Dock = DockStyle.Fill; IB[1].ProgressChanged+=new WebBrowserProgressChangedEventHandler(IB_ProgressChanged); IB[1].DocumentCompleted+=new WebBrowserDocumentCompletedEventHandler(IB_DocumentCompleted); }
WebBrowser[] IB = new WebBrowser[100];
IB[x] = new WebBrowser();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)