Beispiel #1
0
        private void Init()
        {
            if (s_schemaLoader == null)
                s_schemaLoader = new SchemaLoader();
            m_PropertyGrid = new PropertyGrid(PropertyGridMode.PropertySorting | PropertyGridMode.DisplayDescriptions | PropertyGridMode.HideResetAllButton);
            m_treeControl = new TreeControl();
            m_menu = new MenuStrip();
            var fileMenu = new ToolStripMenuItem();
            var newMenu = new ToolStripMenuItem();
            var openMenu = new ToolStripMenuItem();

            var exitMenu = new ToolStripMenuItem();
            var splitter = new SplitContainer();

            m_menu.SuspendLayout();
            splitter.BeginInit();
            splitter.Panel1.SuspendLayout();
            splitter.Panel2.SuspendLayout();
            splitter.SuspendLayout();

            SuspendLayout();

            // m_menu
            m_menu.Location = new System.Drawing.Point(0, 0);
            m_menu.Name = "m_menu";
            m_menu.TabIndex = 0;
            m_menu.Text = "m_menu";
            m_menu.Items.Add(fileMenu);


            // file            
            fileMenu.Name = "fileToolStripMenuItem";
            fileMenu.Size = new System.Drawing.Size(37, 20);
            fileMenu.Text = "File".Localize();
            fileMenu.DropDownOpening += new EventHandler(fileMenu_DropDownOpening);
            fileMenu.DropDownItems.AddRange(new ToolStripItem[]
            {
                newMenu,             
                openMenu,
                m_openFolderMenu,
                m_saveMenu,
                m_saveAsMenu,
                exitMenu
            });

            // new
            newMenu.Name = "newToolStripMenuItem";
            newMenu.ShortcutKeys = Keys.Control | Keys.N;
            newMenu.Text = "New".Localize();
            newMenu.Click += NewToolStripMenuItem_Click;

            //open
            openMenu.Name = "openToolStripMenuItem";
            openMenu.ShortcutKeys = Keys.Control | Keys.O;
            openMenu.Text = "Open...".Localize();
            openMenu.Click += OpenToolStripMenuItem_Click;


            // open containing folder
            m_openFolderMenu.Name = "OpenFolderMenu";
            m_openFolderMenu.Text = "Open Containing Folder".Localize();
            m_openFolderMenu.Click += new EventHandler(OpenFolderMenu_Click);

            //save
            m_saveMenu.Name = "saveToolStripMenuItem";
            m_saveMenu.ShortcutKeys = Keys.Control | Keys.S;
            m_saveMenu.Text = "Save".Localize();
            m_saveMenu.Click += SaveToolStripMenuItem_Click;

            // save as
            m_saveAsMenu.Name = "saveAsToolStripMenuItem";
            m_saveAsMenu.Text = "Save As...".Localize();
            m_saveAsMenu.Click += SaveAsToolStripMenuItem_Click;

            // exit
            exitMenu.Name = "exitToolStripMenuItem";
            exitMenu.Text = "Exit".Localize();
            exitMenu.Click += ExitToolStripMenuItem_Click;

            // tree control
            m_treeControl.Dock = DockStyle.Fill;
            m_treeControl.Name = "m_treeControl";
            m_treeControl.TabIndex = 1;
            m_treeControl.Width = 150;
            m_treeControl.ShowRoot = false;
            m_treeControl.AllowDrop = false;
            m_treeControl.SelectionMode = SelectionMode.One;
            m_treeControlAdapter = new TreeControlAdapter(m_treeControl);

            // propertyGrid1            
            m_PropertyGrid.Dock = DockStyle.Fill;
            m_PropertyGrid.Name = "propertyGrid1";
            m_PropertyGrid.TabIndex = 3;
            m_PropertyGrid.PropertySorting = PropertySorting.None;

            // splitter           
            splitter.Dock = DockStyle.Fill;
            splitter.Name = "splitContainer1";
            splitter.Panel1.Controls.Add(m_treeControl);
            splitter.Panel2.Controls.Add(m_PropertyGrid);
            splitter.SplitterDistance = 100;
            splitter.TabIndex = 1;

            AutoScaleMode = AutoScaleMode.Font;
            ClientSize = new System.Drawing.Size(600, 400);
            Controls.Add(splitter);
            Controls.Add(m_menu);
            MainMenuStrip = m_menu;
            Name = "SkinEditor";
            Icon = GdiUtil.CreateIcon(ResourceUtil.GetImage(Sce.Atf.Resources.AtfIconImage));
            UpdateTitleText();
            m_menu.ResumeLayout(false);
            m_menu.PerformLayout();
            splitter.Panel1.ResumeLayout(false);
            splitter.Panel2.ResumeLayout(false);
            splitter.EndInit();
            splitter.ResumeLayout(false);

            ResumeLayout(false);
            PerformLayout();
            splitter.SplitterDistance = 170;
        }
Beispiel #2
0
 private void InitializeComponent()
 {
     components = new Container();
     ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Main));
     tabControl1 = new TabControl();
     mainPage = new TabPage();
     newVersionCheck = new CheckBox();
     groupBox1 = new GroupBox();
     newsBox = new Label();
     userGroupLabel = new Label();
     hackVersionLabel = new Label();
     loaderVersionLabel = new Label();
     startButton = new Button();
     reloadButton = new Button();
     label1 = new Label();
     chatPage = new TabPage();
     ircTabControl = new TabControl();
     tabPage1 = new TabPage();
     splitContainer1 = new SplitContainer();
     label4 = new Label();
     ircLanguage = new ComboBox();
     label2 = new Label();
     label3 = new Label();
     enterChatButton = new Button();
     autoEnterChatCheckBox = new CheckBox();
     statusBox = new ListBox();
     tabPage2 = new TabPage();
     splitContainer2 = new SplitContainer();
     splitContainer3 = new SplitContainer();
     ircMessageBox = new RichTextBox();
     ircUserList = new ListBox();
     flowLayoutPanel1 = new FlowLayoutPanel();
     ircSendButton = new Button();
     ircChatText = new TextBox();
     ircCloseButton = new Button();
     scriptsPage = new TabPage();
     scriptsDataGrid = new DataGridView();
     LoadScript = new DataGridViewCheckBoxColumn();
     ScriptName = new DataGridViewTextBoxColumn();
     ScriptDescription = new DataGridViewTextBoxColumn();
     State = new DataGridViewImageColumn();
     ConfigColumn = new DataGridViewImageColumn();
     listBinding = new BindingSource(components);
     scriptConfigPage = new TabPage();
     scriptConfigGrid = new PropertyGrid();
     repository = new TabPage();
     tableLayoutPanel1 = new TableLayoutPanel();
     tableLayoutPanel2 = new TableLayoutPanel();
     tableLayoutPanel3 = new TableLayoutPanel();
     repoName = new TextBox();
     addRepo = new Button();
     removeRepo = new Button();
     repoScripts = new TreeView();
     configPage = new TabPage();
     configGrid = new PropertyGrid();
     helpPage = new TabPage();
     changelogLink = new LinkLabel();
     bugLink = new LinkLabel();
     scriptsLink = new LinkLabel();
     installLink = new LinkLabel();
     dotaFindTimer = new System.Windows.Forms.Timer(components);
     taskbarIcon = new NotifyIcon(components);
     injectWorker = new BackgroundWorker();
     pipeWorker = new BackgroundWorker();
     serverWorker = new BackgroundWorker();
     updateTimer = new System.Windows.Forms.Timer(components);
     loadWorker = new BackgroundWorker();
     DisableVAC = new CheckBox();
     tabControl1.SuspendLayout();
     mainPage.SuspendLayout();
     groupBox1.SuspendLayout();
     chatPage.SuspendLayout();
     ircTabControl.SuspendLayout();
     tabPage1.SuspendLayout();
     splitContainer1.BeginInit();
     splitContainer1.Panel1.SuspendLayout();
     splitContainer1.Panel2.SuspendLayout();
     splitContainer1.SuspendLayout();
     tabPage2.SuspendLayout();
     splitContainer2.BeginInit();
     splitContainer2.Panel1.SuspendLayout();
     splitContainer2.Panel2.SuspendLayout();
     splitContainer2.SuspendLayout();
     splitContainer3.BeginInit();
     splitContainer3.Panel1.SuspendLayout();
     splitContainer3.Panel2.SuspendLayout();
     splitContainer3.SuspendLayout();
     flowLayoutPanel1.SuspendLayout();
     scriptsPage.SuspendLayout();
     ((ISupportInitialize)scriptsDataGrid).BeginInit();
     ((ISupportInitialize)listBinding).BeginInit();
     scriptConfigPage.SuspendLayout();
     repository.SuspendLayout();
     tableLayoutPanel1.SuspendLayout();
     tableLayoutPanel2.SuspendLayout();
     tableLayoutPanel3.SuspendLayout();
     configPage.SuspendLayout();
     helpPage.SuspendLayout();
     SuspendLayout();
     tabControl1.Controls.Add(mainPage);
     tabControl1.Controls.Add(chatPage);
     tabControl1.Controls.Add(scriptsPage);
     tabControl1.Controls.Add(scriptConfigPage);
     tabControl1.Controls.Add(repository);
     tabControl1.Controls.Add(configPage);
     tabControl1.Controls.Add(helpPage);
     tabControl1.Dock = DockStyle.Fill;
     tabControl1.Location = new Point(0, 0);
     tabControl1.Name = "tabControl1";
     tabControl1.SelectedIndex = 0;
     tabControl1.Size = new Size(683, 428);
     tabControl1.TabIndex = 0;
     tabControl1.SelectedIndexChanged += new EventHandler(tabControl1_SelectedIndexChanged);
     mainPage.Controls.Add(DisableVAC);
     mainPage.Controls.Add(newVersionCheck);
     mainPage.Controls.Add(groupBox1);
     mainPage.Controls.Add(userGroupLabel);
     mainPage.Controls.Add(hackVersionLabel);
     mainPage.Controls.Add(loaderVersionLabel);
     mainPage.Controls.Add(startButton);
     mainPage.Controls.Add(reloadButton);
     mainPage.Controls.Add(label1);
     mainPage.Location = new Point(4, 22);
     mainPage.Name = "mainPage";
     mainPage.Padding = new Padding(3);
     mainPage.Size = new Size(675, 402);
     mainPage.TabIndex = 0;
     mainPage.Text = "Main";
     mainPage.UseVisualStyleBackColor = true;
     newVersionCheck.AutoSize = true;
     newVersionCheck.Location = new Point(9, 94);
     newVersionCheck.Name = "newVersionCheck";
     newVersionCheck.Size = new Size(105, 17);
     newVersionCheck.TabIndex = 8;
     newVersionCheck.Text = "Use new version";
     newVersionCheck.UseVisualStyleBackColor = true;
     newVersionCheck.Visible = false;
     groupBox1.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
     groupBox1.Controls.Add(newsBox);
     groupBox1.Location = new Point(194, 6);
     groupBox1.Name = "groupBox1";
     groupBox1.Size = new Size(462, 358);
     groupBox1.TabIndex = 7;
     groupBox1.TabStop = false;
     groupBox1.Text = "News";
     newsBox.Dock = DockStyle.Fill;
     newsBox.Location = new Point(3, 16);
     newsBox.Name = "newsBox";
     newsBox.Size = new Size(456, 339);
     newsBox.TabIndex = 0;
     userGroupLabel.AutoSize = true;
     userGroupLabel.Dock = DockStyle.Bottom;
     userGroupLabel.Location = new Point(3, 360);
     userGroupLabel.Name = "userGroupLabel";
     userGroupLabel.Size = new Size(86, 13);
     userGroupLabel.TabIndex = 6;
     userGroupLabel.Text = "Account Status: ";
     hackVersionLabel.AutoSize = true;
     hackVersionLabel.Dock = DockStyle.Bottom;
     hackVersionLabel.Location = new Point(3, 373);
     hackVersionLabel.Name = "hackVersionLabel";
     hackVersionLabel.Size = new Size(76, 13);
     hackVersionLabel.TabIndex = 5;
     hackVersionLabel.Text = "Hack version: ";
     loaderVersionLabel.AutoSize = true;
     loaderVersionLabel.Dock = DockStyle.Bottom;
     loaderVersionLabel.Location = new Point(3, 386);
     loaderVersionLabel.Name = "loaderVersionLabel";
     loaderVersionLabel.Size = new Size(83, 13);
     loaderVersionLabel.TabIndex = 4;
     loaderVersionLabel.Text = "Loader version: ";
     startButton.Enabled = false;
     startButton.Location = new Point(9, 28);
     startButton.Name = "startButton";
     startButton.Size = new Size(121, 23);
     startButton.TabIndex = 3;
     startButton.Text = "Start Dota2";
     startButton.UseVisualStyleBackColor = true;
     startButton.Click += new EventHandler(startButton_Click);
     reloadButton.Location = new Point(9, 57);
     reloadButton.Name = "reloadButton";
     reloadButton.Size = new Size(121, 21);
     reloadButton.TabIndex = 2;
     reloadButton.Text = "Reload Scripts";
     reloadButton.UseVisualStyleBackColor = true;
     reloadButton.Click += new EventHandler(reloadButton_Click);
     label1.AutoSize = true;
     label1.Location = new Point(8, 3);
     label1.Name = "label1";
     label1.Size = new Size(40, 13);
     label1.TabIndex = 1;
     label1.Text = "Status:";
     chatPage.Controls.Add(ircTabControl);
     chatPage.Location = new Point(4, 22);
     chatPage.Name = "chatPage";
     chatPage.Size = new Size(675, 402);
     chatPage.TabIndex = 6;
     chatPage.Text = "Chat";
     chatPage.UseVisualStyleBackColor = true;
     ircTabControl.Appearance = TabAppearance.Buttons;
     ircTabControl.Controls.Add(tabPage1);
     ircTabControl.Controls.Add(tabPage2);
     ircTabControl.Dock = DockStyle.Fill;
     ircTabControl.ItemSize = new Size(0, 1);
     ircTabControl.Location = new Point(0, 0);
     ircTabControl.Name = "ircTabControl";
     ircTabControl.SelectedIndex = 0;
     ircTabControl.Size = new Size(675, 402);
     ircTabControl.SizeMode = TabSizeMode.Fixed;
     ircTabControl.TabIndex = 7;
     tabPage1.Controls.Add(splitContainer1);
     tabPage1.Location = new Point(4, 5);
     tabPage1.Name = "tabPage1";
     tabPage1.Padding = new Padding(3);
     tabPage1.Size = new Size(667, 393);
     tabPage1.TabIndex = 0;
     tabPage1.Text = "tabPage1";
     tabPage1.UseVisualStyleBackColor = true;
     splitContainer1.Dock = DockStyle.Fill;
     splitContainer1.FixedPanel = FixedPanel.Panel1;
     splitContainer1.IsSplitterFixed = true;
     splitContainer1.Location = new Point(3, 3);
     splitContainer1.Name = "splitContainer1";
     splitContainer1.Orientation = Orientation.Horizontal;
     splitContainer1.Panel1.Controls.Add(label4);
     splitContainer1.Panel1.Controls.Add(ircLanguage);
     splitContainer1.Panel1.Controls.Add(label2);
     splitContainer1.Panel1.Controls.Add(label3);
     splitContainer1.Panel1.Controls.Add(enterChatButton);
     splitContainer1.Panel1.Controls.Add(autoEnterChatCheckBox);
     splitContainer1.Panel2.Controls.Add(statusBox);
     splitContainer1.Size = new Size(661, 387);
     splitContainer1.SplitterDistance = 70;
     splitContainer1.TabIndex = 5;
     label4.AutoSize = true;
     label4.Location = new Point(270, 20);
     label4.Name = "label4";
     label4.Size = new Size(58, 13);
     label4.TabIndex = 6;
     label4.Text = "Language:";
     ircLanguage.DropDownStyle = ComboBoxStyle.DropDownList;
     ircLanguage.FormattingEnabled = true;
     ircLanguage.Items.AddRange(new object[3]
     {
      "English",
      "Russian",
      "German"
     });
     ircLanguage.Location = new Point(334, 16);
     ircLanguage.Name = "ircLanguage";
     ircLanguage.Size = new Size(121, 21);
     ircLanguage.TabIndex = 5;
     label2.AutoSize = true;
     label2.Location = new Point(3, 0);
     label2.Name = "label2";
     label2.Size = new Size(385, 13);
     label2.TabIndex = 2;
     label2.Text = "The chat will connect to irc.rizon.net:6697/zynox with your forum account name.";
     label3.AutoSize = true;
     label3.Location = new Point(3, 53);
     label3.Name = "label3";
     label3.Size = new Size(40, 13);
     label3.TabIndex = 4;
     label3.Text = "Status:";
     enterChatButton.Location = new Point(6, 16);
     enterChatButton.Name = "enterChatButton";
     enterChatButton.Size = new Size(75, 22);
     enterChatButton.TabIndex = 0;
     enterChatButton.Text = "Enter chat";
     enterChatButton.UseVisualStyleBackColor = true;
     enterChatButton.Click += new EventHandler(enterChatButton_Click);
     autoEnterChatCheckBox.AutoSize = true;
     autoEnterChatCheckBox.Location = new Point(87, 20);
     autoEnterChatCheckBox.Name = "autoEnterChatCheckBox";
     autoEnterChatCheckBox.Size = new Size(125, 17);
     autoEnterChatCheckBox.TabIndex = 1;
     autoEnterChatCheckBox.Text = "Enter chat on startup";
     autoEnterChatCheckBox.UseVisualStyleBackColor = true;
     autoEnterChatCheckBox.CheckedChanged += new EventHandler(autoEnterChatCheckBox_CheckedChanged);
     statusBox.Dock = DockStyle.Fill;
     statusBox.FormattingEnabled = true;
     statusBox.Location = new Point(0, 0);
     statusBox.Name = "statusBox";
     statusBox.Size = new Size(661, 313);
     statusBox.TabIndex = 3;
     tabPage2.Controls.Add(splitContainer2);
     tabPage2.Location = new Point(4, 5);
     tabPage2.Name = "tabPage2";
     tabPage2.Padding = new Padding(3);
     tabPage2.Size = new Size(667, 393);
     tabPage2.TabIndex = 1;
     tabPage2.Text = "tabPage2";
     tabPage2.UseVisualStyleBackColor = true;
     splitContainer2.Dock = DockStyle.Fill;
     splitContainer2.FixedPanel = FixedPanel.Panel2;
     splitContainer2.IsSplitterFixed = true;
     splitContainer2.Location = new Point(3, 3);
     splitContainer2.Name = "splitContainer2";
     splitContainer2.Orientation = Orientation.Horizontal;
     splitContainer2.Panel1.Controls.Add(splitContainer3);
     splitContainer2.Panel2.Controls.Add(flowLayoutPanel1);
     splitContainer2.Size = new Size(661, 387);
     splitContainer2.SplitterDistance = 354;
     splitContainer2.TabIndex = 5;
     splitContainer3.Dock = DockStyle.Fill;
     splitContainer3.Location = new Point(0, 0);
     splitContainer3.Name = "splitContainer3";
     splitContainer3.Panel1.Controls.Add(ircMessageBox);
     splitContainer3.Panel2.Controls.Add(ircUserList);
     splitContainer3.Size = new Size(661, 354);
     splitContainer3.SplitterDistance = 509;
     splitContainer3.TabIndex = 0;
     ircMessageBox.Dock = DockStyle.Fill;
     ircMessageBox.Location = new Point(0, 0);
     ircMessageBox.Name = "ircMessageBox";
     ircMessageBox.ReadOnly = true;
     ircMessageBox.Size = new Size(509, 354);
     ircMessageBox.TabIndex = 4;
     ircMessageBox.Text = "";
     ircUserList.Dock = DockStyle.Fill;
     ircUserList.DrawMode = DrawMode.OwnerDrawVariable;
     ircUserList.FormattingEnabled = true;
     ircUserList.Location = new Point(0, 0);
     ircUserList.Name = "ircUserList";
     ircUserList.Size = new Size(148, 354);
     ircUserList.TabIndex = 4;
     ircUserList.DrawItem += new DrawItemEventHandler(ircUserList_DrawItem);
     ircUserList.SelectedIndexChanged += new EventHandler(ircUserList_SelectedIndexChanged);
     ircUserList.Resize += new EventHandler(ircUserList_Resize);
     flowLayoutPanel1.Controls.Add(ircSendButton);
     flowLayoutPanel1.Controls.Add(ircChatText);
     flowLayoutPanel1.Controls.Add(ircCloseButton);
     flowLayoutPanel1.Dock = DockStyle.Fill;
     flowLayoutPanel1.Location = new Point(0, 0);
     flowLayoutPanel1.Name = "flowLayoutPanel1";
     flowLayoutPanel1.Size = new Size(661, 29);
     flowLayoutPanel1.TabIndex = 4;
     flowLayoutPanel1.Resize += new EventHandler(flowLayoutPanel1_Resize);
     ircSendButton.Location = new Point(3, 3);
     ircSendButton.Name = "ircSendButton";
     ircSendButton.Size = new Size(75, 20);
     ircSendButton.TabIndex = 1;
     ircSendButton.Text = "Send";
     ircSendButton.UseVisualStyleBackColor = true;
     ircSendButton.Click += new EventHandler(ircSendButton_Click);
     ircChatText.AcceptsTab = true;
     ircChatText.Location = new Point(84, 3);
     ircChatText.Multiline = true;
     ircChatText.Name = "ircChatText";
     ircChatText.Size = new Size(492, 20);
     ircChatText.TabIndex = 2;
     ircChatText.KeyDown += new KeyEventHandler(ircChatText_KeyDown);
     ircChatText.KeyPress += new KeyPressEventHandler(ircChatText_KeyPress);
     ircCloseButton.Location = new Point(582, 3);
     ircCloseButton.Name = "ircCloseButton";
     ircCloseButton.Size = new Size(74, 20);
     ircCloseButton.TabIndex = 0;
     ircCloseButton.Text = "Quit Chat";
     ircCloseButton.UseVisualStyleBackColor = true;
     ircCloseButton.Click += new EventHandler(ircCloseButton_Click);
     scriptsPage.Controls.Add(scriptsDataGrid);
     scriptsPage.Location = new Point(4, 22);
     scriptsPage.Name = "scriptsPage";
     scriptsPage.Padding = new Padding(3);
     scriptsPage.Size = new Size(675, 402);
     scriptsPage.TabIndex = 1;
     scriptsPage.Text = "Scripts";
     scriptsPage.UseVisualStyleBackColor = true;
     scriptsDataGrid.AllowUserToAddRows = false;
     scriptsDataGrid.AllowUserToDeleteRows = false;
     scriptsDataGrid.AllowUserToResizeColumns = false;
     scriptsDataGrid.AllowUserToResizeRows = false;
     scriptsDataGrid.AutoGenerateColumns = false;
     scriptsDataGrid.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     scriptsDataGrid.Columns.AddRange(LoadScript, ScriptName, ScriptDescription, State, ConfigColumn);
     scriptsDataGrid.DataSource = listBinding;
     scriptsDataGrid.Dock = DockStyle.Fill;
     scriptsDataGrid.Location = new Point(3, 3);
     scriptsDataGrid.Name = "scriptsDataGrid";
     scriptsDataGrid.Size = new Size(669, 396);
     scriptsDataGrid.TabIndex = 0;
     scriptsDataGrid.CellContentClick += new DataGridViewCellEventHandler(scriptsDataGrid_CellContentClick);
     scriptsDataGrid.CellFormatting += new DataGridViewCellFormattingEventHandler(scriptsDataGrid_CellFormatting);
     LoadScript.DataPropertyName = "LoadScript";
     LoadScript.HeaderText = "Load";
     LoadScript.Name = "LoadScript";
     LoadScript.Width = 38;
     ScriptName.AutoSizeMode = DataGridViewAutoSizeColumnMode.AllCells;
     ScriptName.DataPropertyName = "ScriptName";
     ScriptName.HeaderText = "Name";
     ScriptName.Name = "ScriptName";
     ScriptName.ReadOnly = true;
     ScriptName.Width = 60;
     ScriptDescription.AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
     ScriptDescription.DataPropertyName = "ScriptDescription";
     ScriptDescription.HeaderText = "Description";
     ScriptDescription.Name = "ScriptDescription";
     ScriptDescription.ReadOnly = true;
     State.AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader;
     State.HeaderText = "Libs";
     State.MinimumWidth = 16;
     State.Name = "State";
     State.ReadOnly = true;
     State.Width = 32;
     ConfigColumn.AutoSizeMode = DataGridViewAutoSizeColumnMode.ColumnHeader;
     ConfigColumn.HeaderText = "Config";
     ConfigColumn.Name = "ConfigColumn";
     ConfigColumn.ReadOnly = true;
     ConfigColumn.Width = 43;
     scriptConfigPage.Controls.Add(scriptConfigGrid);
     scriptConfigPage.Location = new Point(4, 22);
     scriptConfigPage.Name = "scriptConfigPage";
     scriptConfigPage.Size = new Size(675, 402);
     scriptConfigPage.TabIndex = 5;
     scriptConfigPage.Text = "Script-Config";
     scriptConfigPage.UseVisualStyleBackColor = true;
     scriptConfigGrid.Dock = DockStyle.Fill;
     scriptConfigGrid.HelpVisible = false;
     scriptConfigGrid.Location = new Point(0, 0);
     scriptConfigGrid.Name = "scriptConfigGrid";
     scriptConfigGrid.Size = new Size(675, 402);
     scriptConfigGrid.TabIndex = 0;
     scriptConfigGrid.PropertyValueChanged += new PropertyValueChangedEventHandler(scriptConfigGrid_PropertyValueChanged);
     repository.Controls.Add(tableLayoutPanel1);
     repository.Location = new Point(4, 22);
     repository.Name = "repository";
     repository.Padding = new Padding(3);
     repository.Size = new Size(675, 402);
     repository.TabIndex = 4;
     repository.Text = "Repository";
     repository.UseVisualStyleBackColor = true;
     tableLayoutPanel1.ColumnCount = 1;
     tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 32.61868f));
     tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 67.38132f));
     tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 0);
     tableLayoutPanel1.Dock = DockStyle.Fill;
     tableLayoutPanel1.Location = new Point(3, 3);
     tableLayoutPanel1.Name = "tableLayoutPanel1";
     tableLayoutPanel1.RowCount = 1;
     tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 50f));
     tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 396f));
     tableLayoutPanel1.Size = new Size(669, 396);
     tableLayoutPanel1.TabIndex = 0;
     tableLayoutPanel2.ColumnCount = 1;
     tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
     tableLayoutPanel2.Controls.Add(tableLayoutPanel3, 0, 2);
     tableLayoutPanel2.Controls.Add(repoScripts, 0, 0);
     tableLayoutPanel2.Dock = DockStyle.Fill;
     tableLayoutPanel2.Location = new Point(0, 0);
     tableLayoutPanel2.Margin = new Padding(0);
     tableLayoutPanel2.Name = "tableLayoutPanel2";
     tableLayoutPanel2.RowCount = 3;
     tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
     tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 25f));
     tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Absolute, 25f));
     tableLayoutPanel2.Size = new Size(669, 396);
     tableLayoutPanel2.TabIndex = 1;
     tableLayoutPanel3.ColumnCount = 4;
     tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100f));
     tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 120f));
     tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 80f));
     tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 120f));
     tableLayoutPanel3.Controls.Add(repoName, 0, 0);
     tableLayoutPanel3.Controls.Add(addRepo, 1, 0);
     tableLayoutPanel3.Controls.Add(removeRepo, 3, 0);
     tableLayoutPanel3.Dock = DockStyle.Fill;
     tableLayoutPanel3.Location = new Point(0, 371);
     tableLayoutPanel3.Margin = new Padding(0);
     tableLayoutPanel3.Name = "tableLayoutPanel3";
     tableLayoutPanel3.RowCount = 1;
     tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 100f));
     tableLayoutPanel3.Size = new Size(669, 25);
     tableLayoutPanel3.TabIndex = 0;
     repoName.Dock = DockStyle.Fill;
     repoName.Location = new Point(3, 3);
     repoName.Name = "repoName";
     repoName.Size = new Size(343, 20);
     repoName.TabIndex = 1;
     repoName.TextChanged += new EventHandler(repoName_TextChanged);
     addRepo.Dock = DockStyle.Fill;
     addRepo.Enabled = false;
     addRepo.Location = new Point(352, 3);
     addRepo.Name = "addRepo";
     addRepo.Size = new Size(114, 19);
     addRepo.TabIndex = 0;
     addRepo.Text = "Add";
     addRepo.UseVisualStyleBackColor = true;
     addRepo.Click += new EventHandler(addRepo_Click);
     removeRepo.Dock = DockStyle.Fill;
     removeRepo.Enabled = false;
     removeRepo.Location = new Point(552, 3);
     removeRepo.Name = "removeRepo";
     removeRepo.Size = new Size(114, 19);
     removeRepo.TabIndex = 1;
     removeRepo.Text = "Remove";
     removeRepo.UseVisualStyleBackColor = true;
     removeRepo.Click += new EventHandler(removeRepo_Click);
     repoScripts.CheckBoxes = true;
     repoScripts.Dock = DockStyle.Fill;
     repoScripts.Location = new Point(3, 3);
     repoScripts.Name = "repoScripts";
     repoScripts.Size = new Size(663, 340);
     repoScripts.TabIndex = 1;
     repoScripts.AfterCheck += new TreeViewEventHandler(repoScripts_AfterCheck);
     repoScripts.NodeMouseClick += new TreeNodeMouseClickEventHandler(repoScripts_NodeMouseClick);
     configPage.Controls.Add(configGrid);
     configPage.Location = new Point(4, 22);
     configPage.Name = "configPage";
     configPage.Size = new Size(675, 402);
     configPage.TabIndex = 2;
     configPage.Text = "Options";
     configPage.UseVisualStyleBackColor = true;
     configGrid.Dock = DockStyle.Fill;
     configGrid.Location = new Point(0, 0);
     configGrid.Name = "configGrid";
     configGrid.Size = new Size(675, 402);
     configGrid.TabIndex = 0;
     configGrid.PropertyValueChanged += new PropertyValueChangedEventHandler(configGrid_PropertyValueChanged);
     helpPage.Controls.Add(changelogLink);
     helpPage.Controls.Add(bugLink);
     helpPage.Controls.Add(scriptsLink);
     helpPage.Controls.Add(installLink);
     helpPage.Location = new Point(4, 22);
     helpPage.Name = "helpPage";
     helpPage.Size = new Size(675, 402);
     helpPage.TabIndex = 3;
     helpPage.Text = "Help";
     helpPage.UseVisualStyleBackColor = true;
     changelogLink.AutoSize = true;
     changelogLink.Location = new Point(8, 55);
     changelogLink.Name = "changelogLink";
     changelogLink.Size = new Size(58, 13);
     changelogLink.TabIndex = 3;
     changelogLink.TabStop = true;
     changelogLink.Text = "Changelog";
     changelogLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     bugLink.AutoSize = true;
     bugLink.Location = new Point(8, 78);
     bugLink.Name = "bugLink";
     bugLink.Size = new Size(61, 13);
     bugLink.TabIndex = 2;
     bugLink.TabStop = true;
     bugLink.Text = "Bug reports";
     bugLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     scriptsLink.AutoSize = true;
     scriptsLink.Location = new Point(8, 34);
     scriptsLink.Name = "scriptsLink";
     scriptsLink.Size = new Size(68, 13);
     scriptsLink.TabIndex = 1;
     scriptsLink.TabStop = true;
     scriptsLink.Text = "Scripts forum";
     scriptsLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     installLink.AutoSize = true;
     installLink.Location = new Point(8, 12);
     installLink.Name = "installLink";
     installLink.Size = new Size(86, 13);
     installLink.TabIndex = 0;
     installLink.TabStop = true;
     installLink.Text = "Installation guide";
     installLink.LinkClicked += new LinkLabelLinkClickedEventHandler(LinkClicked);
     dotaFindTimer.Interval = 125;
     dotaFindTimer.Tick += new EventHandler(dotaFindTimer_Tick);
     taskbarIcon.Icon = (Icon)componentResourceManager.GetObject("taskbarIcon.Icon");
     taskbarIcon.Text = "Ensage";
     taskbarIcon.Visible = true;
     taskbarIcon.Click += new EventHandler(notifyIcon1_Click);
     injectWorker.WorkerReportsProgress = true;
     injectWorker.DoWork += new DoWorkEventHandler(injectWorker_DoWork);
     injectWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(injectWorker_RunWorkerCompleted);
     pipeWorker.WorkerReportsProgress = true;
     pipeWorker.DoWork += new DoWorkEventHandler(pipeWorker_DoWork);
     pipeWorker.ProgressChanged += new ProgressChangedEventHandler(pipeWorker_ProgressChanged);
     serverWorker.DoWork += new DoWorkEventHandler(serverWorker_DoWork);
     updateTimer.Interval = 60000;
     updateTimer.Tick += new EventHandler(updateTimer_Tick);
     loadWorker.WorkerReportsProgress = true;
     loadWorker.DoWork += new DoWorkEventHandler(loadWorker_DoWork);
     loadWorker.ProgressChanged += new ProgressChangedEventHandler(loadWorker_ProgressChanged);
     DisableVAC.AutoSize = true;
     DisableVAC.Location = new Point(11, 151);
     DisableVAC.Name = "DisableVAC";
     DisableVAC.Size = new Size(103, 17);
     DisableVAC.TabIndex = 9;
     DisableVAC.Text = "disable anti-VAC";
     DisableVAC.UseVisualStyleBackColor = true;
     AutoScaleDimensions = new SizeF(6f, 13f);
     AutoScaleMode = AutoScaleMode.Font;
     ClientSize = new Size(683, 428);
     Controls.Add(tabControl1);
     Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
     MinimumSize = new Size(683, 428);
     Name = "Main";
     Text = "Ensage - Main";
     FormClosing += new FormClosingEventHandler(Main_FormClosing);
     Shown += new EventHandler(Main_Shown);
     Resize += new EventHandler(Main_Resize);
     tabControl1.ResumeLayout(false);
     mainPage.ResumeLayout(false);
     mainPage.PerformLayout();
     groupBox1.ResumeLayout(false);
     chatPage.ResumeLayout(false);
     ircTabControl.ResumeLayout(false);
     tabPage1.ResumeLayout(false);
     splitContainer1.Panel1.ResumeLayout(false);
     splitContainer1.Panel1.PerformLayout();
     splitContainer1.Panel2.ResumeLayout(false);
     splitContainer1.EndInit();
     splitContainer1.ResumeLayout(false);
     tabPage2.ResumeLayout(false);
     splitContainer2.Panel1.ResumeLayout(false);
     splitContainer2.Panel2.ResumeLayout(false);
     splitContainer2.EndInit();
     splitContainer2.ResumeLayout(false);
     splitContainer3.Panel1.ResumeLayout(false);
     splitContainer3.Panel2.ResumeLayout(false);
     splitContainer3.EndInit();
     splitContainer3.ResumeLayout(false);
     flowLayoutPanel1.ResumeLayout(false);
     flowLayoutPanel1.PerformLayout();
     scriptsPage.ResumeLayout(false);
     ((ISupportInitialize)scriptsDataGrid).EndInit();
     ((ISupportInitialize)listBinding).EndInit();
     scriptConfigPage.ResumeLayout(false);
     repository.ResumeLayout(false);
     tableLayoutPanel1.ResumeLayout(false);
     tableLayoutPanel2.ResumeLayout(false);
     tableLayoutPanel3.ResumeLayout(false);
     tableLayoutPanel3.PerformLayout();
     configPage.ResumeLayout(false);
     helpPage.ResumeLayout(false);
     helpPage.PerformLayout();
     ResumeLayout(false);
 }