diff --git a/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.Designer.cs b/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.Designer.cs index 9fb14f3aa9..ef5d79b90d 100644 --- a/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.Designer.cs +++ b/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.Designer.cs @@ -28,107 +28,131 @@ /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BasicBot)); - this.BotMenu = new MenuStripEx(); - this.FileSubMenu = new System.Windows.Forms.ToolStripMenuItem(); - this.NewMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.OpenMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.SaveMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.SaveAsMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.RecentSubMenu = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); - this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); - this.ExitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.OptionsSubMenu = new System.Windows.Forms.ToolStripMenuItem(); - this.MemoryDomainsMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); - this.DataSizeMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this._1ByteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this._2ByteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this._4ByteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.BigEndianMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); - this.TurboWhileBottingMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.RunBtn = new System.Windows.Forms.Button(); - this.BotStatusStrip = new System.Windows.Forms.StatusStrip(); - this.BotStatusButton = new System.Windows.Forms.ToolStripStatusLabel(); - this.MessageLabel = new System.Windows.Forms.ToolStripStatusLabel(); - this.ControlsBox = new System.Windows.Forms.GroupBox(); - this.ControlProbabilityPanel = new System.Windows.Forms.Panel(); - this.BestGroupBox = new System.Windows.Forms.GroupBox(); - this.PlayBestButton = new System.Windows.Forms.Button(); - this.ClearBestButton = new System.Windows.Forms.Button(); - this.BestAttemptNumberLabel = new System.Windows.Forms.Label(); - this.label17 = new System.Windows.Forms.Label(); - this.panel1 = new System.Windows.Forms.Panel(); - this.BestAttemptLogLabel = new System.Windows.Forms.Label(); - this.BestTieBreak3Box = new System.Windows.Forms.TextBox(); - this.BestTieBreak2Box = new System.Windows.Forms.TextBox(); - this.BestTieBreak1Box = new System.Windows.Forms.TextBox(); - this.BestMaximizeBox = new System.Windows.Forms.TextBox(); - this.label16 = new System.Windows.Forms.Label(); - this.label15 = new System.Windows.Forms.Label(); - this.label14 = new System.Windows.Forms.Label(); - this.label13 = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.label2 = new System.Windows.Forms.Label(); - this.AttemptsLabel = new System.Windows.Forms.Label(); - this.FramesLabel = new System.Windows.Forms.Label(); - this.GoalGroupBox = new System.Windows.Forms.GroupBox(); - this.Tiebreak3Operator = new System.Windows.Forms.ComboBox(); - this.Tiebreak2Operator = new System.Windows.Forms.ComboBox(); - this.Tiebreak1Operator = new System.Windows.Forms.ComboBox(); - this.mainOperator = new System.Windows.Forms.ComboBox(); - this.label12 = new System.Windows.Forms.Label(); - this.label11 = new System.Windows.Forms.Label(); - this.label10 = new System.Windows.Forms.Label(); - this.label9 = new System.Windows.Forms.Label(); - this.label7 = new System.Windows.Forms.Label(); - this.label6 = new System.Windows.Forms.Label(); - this.TieBreaker1Box = new BizHawk.Client.EmuHawk.HexTextBox(); - this.TieBreaker2Box = new BizHawk.Client.EmuHawk.HexTextBox(); - this.TieBreaker3Box = new BizHawk.Client.EmuHawk.HexTextBox(); - this.label5 = new System.Windows.Forms.Label(); - this.MaximizeAddressBox = new BizHawk.Client.EmuHawk.HexTextBox(); - this.maximizeLabeltext = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); - this.FrameLengthNumeric = new System.Windows.Forms.NumericUpDown(); - this.label3 = new System.Windows.Forms.Label(); - this.StopBtn = new System.Windows.Forms.Button(); - this.label8 = new System.Windows.Forms.Label(); - this.StartFromSlotBox = new System.Windows.Forms.ComboBox(); - this.ControlGroupBox = new System.Windows.Forms.GroupBox(); - this.panel2 = new System.Windows.Forms.Panel(); - this.StatsContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); - this.ClearStatsContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); - this.BotMenu.SuspendLayout(); - this.BotStatusStrip.SuspendLayout(); - this.ControlsBox.SuspendLayout(); - this.BestGroupBox.SuspendLayout(); - this.panel1.SuspendLayout(); - this.GoalGroupBox.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.FrameLengthNumeric)).BeginInit(); - this.ControlGroupBox.SuspendLayout(); - this.panel2.SuspendLayout(); - this.StatsContextMenu.SuspendLayout(); - this.SuspendLayout(); - // - // BotMenu - // - this.BotMenu.ClickThrough = true; - this.BotMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BasicBot)); + this.BotMenu = new MenuStripEx(); + this.FileSubMenu = new System.Windows.Forms.ToolStripMenuItem(); + this.NewMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.OpenMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SaveMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.SaveAsMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.RecentSubMenu = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.ExitMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.OptionsSubMenu = new System.Windows.Forms.ToolStripMenuItem(); + this.MemoryDomainsMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); + this.DataSizeMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this._1ByteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this._2ByteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this._4ByteMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.BigEndianMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.TurboWhileBottingMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.RunBtn = new System.Windows.Forms.Button(); + this.BotStatusStrip = new System.Windows.Forms.StatusStrip(); + this.BotStatusButton = new System.Windows.Forms.ToolStripStatusLabel(); + this.MessageLabel = new System.Windows.Forms.ToolStripStatusLabel(); + this.ControlsBox = new System.Windows.Forms.GroupBox(); + this.ControlProbabilityPanel = new System.Windows.Forms.Panel(); + this.BestGroupBox = new System.Windows.Forms.GroupBox(); + this.PlayBestButton = new System.Windows.Forms.Button(); + this.ClearBestButton = new System.Windows.Forms.Button(); + this.BestAttemptNumberLabel = new System.Windows.Forms.Label(); + this.label17 = new System.Windows.Forms.Label(); + this.panel1 = new System.Windows.Forms.Panel(); + this.BestAttemptLogLabel = new System.Windows.Forms.Label(); + this.BestTieBreak3Box = new System.Windows.Forms.TextBox(); + this.BestTieBreak2Box = new System.Windows.Forms.TextBox(); + this.BestTieBreak1Box = new System.Windows.Forms.TextBox(); + this.BestMaximizeBox = new System.Windows.Forms.TextBox(); + this.label16 = new System.Windows.Forms.Label(); + this.label15 = new System.Windows.Forms.Label(); + this.label14 = new System.Windows.Forms.Label(); + this.label13 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.AttemptsLabel = new System.Windows.Forms.Label(); + this.FramesLabel = new System.Windows.Forms.Label(); + this.GoalGroupBox = new System.Windows.Forms.GroupBox(); + this.panel6 = new System.Windows.Forms.Panel(); + this.Tiebreak3Operator = new System.Windows.Forms.ComboBox(); + this.label12 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.TieBreaker3Box = new BizHawk.Client.EmuHawk.HexTextBox(); + this.TieBreak3Numeric = new System.Windows.Forms.NumericUpDown(); + this.TieBreak3ValueRadio = new System.Windows.Forms.RadioButton(); + this.TieBreak3BestRadio = new System.Windows.Forms.RadioButton(); + this.label4 = new System.Windows.Forms.Label(); + this.FrameLengthNumeric = new System.Windows.Forms.NumericUpDown(); + this.label3 = new System.Windows.Forms.Label(); + this.panel3 = new System.Windows.Forms.Panel(); + this.MainValueNumeric = new System.Windows.Forms.NumericUpDown(); + this.MainValueRadio = new System.Windows.Forms.RadioButton(); + this.MainBestRadio = new System.Windows.Forms.RadioButton(); + this.MainOperator = new System.Windows.Forms.ComboBox(); + this.label9 = new System.Windows.Forms.Label(); + this.MaximizeAddressBox = new BizHawk.Client.EmuHawk.HexTextBox(); + this.maximizeLabeltext = new System.Windows.Forms.Label(); + this.panel4 = new System.Windows.Forms.Panel(); + this.TieBreak1Numeric = new System.Windows.Forms.NumericUpDown(); + this.TieBreak1ValueRadio = new System.Windows.Forms.RadioButton(); + this.Tiebreak1Operator = new System.Windows.Forms.ComboBox(); + this.TieBreak1BestRadio = new System.Windows.Forms.RadioButton(); + this.label5 = new System.Windows.Forms.Label(); + this.TieBreaker1Box = new BizHawk.Client.EmuHawk.HexTextBox(); + this.label10 = new System.Windows.Forms.Label(); + this.panel5 = new System.Windows.Forms.Panel(); + this.TieBreak2Numeric = new System.Windows.Forms.NumericUpDown(); + this.Tiebreak2Operator = new System.Windows.Forms.ComboBox(); + this.TieBreak2ValueRadio = new System.Windows.Forms.RadioButton(); + this.TieBreak2BestRadio = new System.Windows.Forms.RadioButton(); + this.label11 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.TieBreaker2Box = new BizHawk.Client.EmuHawk.HexTextBox(); + this.StopBtn = new System.Windows.Forms.Button(); + this.label8 = new System.Windows.Forms.Label(); + this.StartFromSlotBox = new System.Windows.Forms.ComboBox(); + this.ControlGroupBox = new System.Windows.Forms.GroupBox(); + this.panel2 = new System.Windows.Forms.Panel(); + this.StatsContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components); + this.ClearStatsContextMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.BotMenu.SuspendLayout(); + this.BotStatusStrip.SuspendLayout(); + this.ControlsBox.SuspendLayout(); + this.BestGroupBox.SuspendLayout(); + this.panel1.SuspendLayout(); + this.GoalGroupBox.SuspendLayout(); + this.panel6.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.TieBreak3Numeric)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.FrameLengthNumeric)).BeginInit(); + this.panel3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.MainValueNumeric)).BeginInit(); + this.panel4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.TieBreak1Numeric)).BeginInit(); + this.panel5.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.TieBreak2Numeric)).BeginInit(); + this.ControlGroupBox.SuspendLayout(); + this.panel2.SuspendLayout(); + this.StatsContextMenu.SuspendLayout(); + this.SuspendLayout(); + // + // BotMenu + // + this.BotMenu.ClickThrough = true; + this.BotMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.FileSubMenu, this.OptionsSubMenu}); - this.BotMenu.Location = new System.Drawing.Point(0, 0); - this.BotMenu.Name = "BotMenu"; - this.BotMenu.Size = new System.Drawing.Size(587, 24); - this.BotMenu.TabIndex = 0; - this.BotMenu.Text = "menuStrip1"; - // - // FileSubMenu - // - this.FileSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.BotMenu.Location = new System.Drawing.Point(0, 0); + this.BotMenu.Name = "BotMenu"; + this.BotMenu.Size = new System.Drawing.Size(842, 24); + this.BotMenu.TabIndex = 0; + this.BotMenu.Text = "menuStrip1"; + // + // FileSubMenu + // + this.FileSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.NewMenuItem, this.OpenMenuItem, this.SaveMenuItem, @@ -136,694 +160,905 @@ this.RecentSubMenu, this.toolStripSeparator1, this.ExitMenuItem}); - this.FileSubMenu.Name = "FileSubMenu"; - this.FileSubMenu.Size = new System.Drawing.Size(37, 20); - this.FileSubMenu.Text = "&File"; - this.FileSubMenu.DropDownOpened += new System.EventHandler(this.FileSubMenu_DropDownOpened); - // - // NewMenuItem - // - this.NewMenuItem.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.NewFile; - this.NewMenuItem.Name = "NewMenuItem"; - this.NewMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); - this.NewMenuItem.Size = new System.Drawing.Size(195, 22); - this.NewMenuItem.Text = "&New"; - this.NewMenuItem.Click += new System.EventHandler(this.NewMenuItem_Click); - // - // OpenMenuItem - // - this.OpenMenuItem.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.OpenFile; - this.OpenMenuItem.Name = "OpenMenuItem"; - this.OpenMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); - this.OpenMenuItem.Size = new System.Drawing.Size(195, 22); - this.OpenMenuItem.Text = "&Open..."; - this.OpenMenuItem.Click += new System.EventHandler(this.OpenMenuItem_Click); - // - // SaveMenuItem - // - this.SaveMenuItem.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.SaveAs; - this.SaveMenuItem.Name = "SaveMenuItem"; - this.SaveMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); - this.SaveMenuItem.Size = new System.Drawing.Size(195, 22); - this.SaveMenuItem.Text = "&Save"; - this.SaveMenuItem.Click += new System.EventHandler(this.SaveMenuItem_Click); - // - // SaveAsMenuItem - // - this.SaveAsMenuItem.Name = "SaveAsMenuItem"; - this.SaveAsMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) + this.FileSubMenu.Name = "FileSubMenu"; + this.FileSubMenu.Size = new System.Drawing.Size(37, 20); + this.FileSubMenu.Text = "&File"; + this.FileSubMenu.DropDownOpened += new System.EventHandler(this.FileSubMenu_DropDownOpened); + // + // NewMenuItem + // + this.NewMenuItem.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.NewFile; + this.NewMenuItem.Name = "NewMenuItem"; + this.NewMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.N))); + this.NewMenuItem.Size = new System.Drawing.Size(195, 22); + this.NewMenuItem.Text = "&New"; + this.NewMenuItem.Click += new System.EventHandler(this.NewMenuItem_Click); + // + // OpenMenuItem + // + this.OpenMenuItem.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.OpenFile; + this.OpenMenuItem.Name = "OpenMenuItem"; + this.OpenMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O))); + this.OpenMenuItem.Size = new System.Drawing.Size(195, 22); + this.OpenMenuItem.Text = "&Open..."; + this.OpenMenuItem.Click += new System.EventHandler(this.OpenMenuItem_Click); + // + // SaveMenuItem + // + this.SaveMenuItem.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.SaveAs; + this.SaveMenuItem.Name = "SaveMenuItem"; + this.SaveMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); + this.SaveMenuItem.Size = new System.Drawing.Size(195, 22); + this.SaveMenuItem.Text = "&Save"; + this.SaveMenuItem.Click += new System.EventHandler(this.SaveMenuItem_Click); + // + // SaveAsMenuItem + // + this.SaveAsMenuItem.Name = "SaveAsMenuItem"; + this.SaveAsMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.S))); - this.SaveAsMenuItem.Size = new System.Drawing.Size(195, 22); - this.SaveAsMenuItem.Text = "Save &As..."; - this.SaveAsMenuItem.Click += new System.EventHandler(this.SaveAsMenuItem_Click); - // - // RecentSubMenu - // - this.RecentSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.SaveAsMenuItem.Size = new System.Drawing.Size(195, 22); + this.SaveAsMenuItem.Text = "Save &As..."; + this.SaveAsMenuItem.Click += new System.EventHandler(this.SaveAsMenuItem_Click); + // + // RecentSubMenu + // + this.RecentSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripSeparator2}); - this.RecentSubMenu.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Recent; - this.RecentSubMenu.Name = "RecentSubMenu"; - this.RecentSubMenu.Size = new System.Drawing.Size(195, 22); - this.RecentSubMenu.Text = "Recent"; - this.RecentSubMenu.DropDownOpened += new System.EventHandler(this.RecentSubMenu_DropDownOpened); - // - // toolStripSeparator2 - // - this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(57, 6); - // - // toolStripSeparator1 - // - this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(192, 6); - // - // ExitMenuItem - // - this.ExitMenuItem.Name = "ExitMenuItem"; - this.ExitMenuItem.ShortcutKeyDisplayString = "Alt+F4"; - this.ExitMenuItem.Size = new System.Drawing.Size(195, 22); - this.ExitMenuItem.Text = "E&xit"; - this.ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click); - // - // OptionsSubMenu - // - this.OptionsSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.RecentSubMenu.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Recent; + this.RecentSubMenu.Name = "RecentSubMenu"; + this.RecentSubMenu.Size = new System.Drawing.Size(195, 22); + this.RecentSubMenu.Text = "Recent"; + this.RecentSubMenu.DropDownOpened += new System.EventHandler(this.RecentSubMenu_DropDownOpened); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(57, 6); + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(192, 6); + // + // ExitMenuItem + // + this.ExitMenuItem.Name = "ExitMenuItem"; + this.ExitMenuItem.ShortcutKeyDisplayString = "Alt+F4"; + this.ExitMenuItem.Size = new System.Drawing.Size(195, 22); + this.ExitMenuItem.Text = "E&xit"; + this.ExitMenuItem.Click += new System.EventHandler(this.ExitMenuItem_Click); + // + // OptionsSubMenu + // + this.OptionsSubMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.MemoryDomainsMenuItem, this.DataSizeMenuItem, this.BigEndianMenuItem, this.toolStripSeparator4, this.TurboWhileBottingMenuItem}); - this.OptionsSubMenu.Name = "OptionsSubMenu"; - this.OptionsSubMenu.Size = new System.Drawing.Size(61, 20); - this.OptionsSubMenu.Text = "&Options"; - this.OptionsSubMenu.DropDownOpened += new System.EventHandler(this.OptionsSubMenu_DropDownOpened); - // - // MemoryDomainsMenuItem - // - this.MemoryDomainsMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.OptionsSubMenu.Name = "OptionsSubMenu"; + this.OptionsSubMenu.Size = new System.Drawing.Size(61, 20); + this.OptionsSubMenu.Text = "&Options"; + this.OptionsSubMenu.DropDownOpened += new System.EventHandler(this.OptionsSubMenu_DropDownOpened); + // + // MemoryDomainsMenuItem + // + this.MemoryDomainsMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripSeparator3}); - this.MemoryDomainsMenuItem.Name = "MemoryDomainsMenuItem"; - this.MemoryDomainsMenuItem.Size = new System.Drawing.Size(181, 22); - this.MemoryDomainsMenuItem.Text = "Memory Domains"; - this.MemoryDomainsMenuItem.DropDownOpened += new System.EventHandler(this.MemoryDomainsMenuItem_DropDownOpened); - // - // toolStripSeparator3 - // - this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(57, 6); - // - // DataSizeMenuItem - // - this.DataSizeMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.MemoryDomainsMenuItem.Name = "MemoryDomainsMenuItem"; + this.MemoryDomainsMenuItem.Size = new System.Drawing.Size(181, 22); + this.MemoryDomainsMenuItem.Text = "Memory Domains"; + this.MemoryDomainsMenuItem.DropDownOpened += new System.EventHandler(this.MemoryDomainsMenuItem_DropDownOpened); + // + // toolStripSeparator3 + // + this.toolStripSeparator3.Name = "toolStripSeparator3"; + this.toolStripSeparator3.Size = new System.Drawing.Size(57, 6); + // + // DataSizeMenuItem + // + this.DataSizeMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this._1ByteMenuItem, this._2ByteMenuItem, this._4ByteMenuItem}); - this.DataSizeMenuItem.Name = "DataSizeMenuItem"; - this.DataSizeMenuItem.Size = new System.Drawing.Size(181, 22); - this.DataSizeMenuItem.Text = "Data Size"; - this.DataSizeMenuItem.DropDownOpened += new System.EventHandler(this.DataSizeMenuItem_DropDownOpened); - // - // _1ByteMenuItem - // - this._1ByteMenuItem.Name = "_1ByteMenuItem"; - this._1ByteMenuItem.Size = new System.Drawing.Size(111, 22); - this._1ByteMenuItem.Text = "1 Byte"; - this._1ByteMenuItem.Click += new System.EventHandler(this._1ByteMenuItem_Click); - // - // _2ByteMenuItem - // - this._2ByteMenuItem.Name = "_2ByteMenuItem"; - this._2ByteMenuItem.Size = new System.Drawing.Size(111, 22); - this._2ByteMenuItem.Text = "2 Bytes"; - this._2ByteMenuItem.Click += new System.EventHandler(this._2ByteMenuItem_Click); - // - // _4ByteMenuItem - // - this._4ByteMenuItem.Name = "_4ByteMenuItem"; - this._4ByteMenuItem.Size = new System.Drawing.Size(111, 22); - this._4ByteMenuItem.Text = "4 Bytes"; - this._4ByteMenuItem.Click += new System.EventHandler(this._4ByteMenuItem_Click); - // - // BigEndianMenuItem - // - this.BigEndianMenuItem.Name = "BigEndianMenuItem"; - this.BigEndianMenuItem.Size = new System.Drawing.Size(181, 22); - this.BigEndianMenuItem.Text = "Big Endian"; - this.BigEndianMenuItem.Click += new System.EventHandler(this.BigEndianMenuItem_Click); - // - // toolStripSeparator4 - // - this.toolStripSeparator4.Name = "toolStripSeparator4"; - this.toolStripSeparator4.Size = new System.Drawing.Size(178, 6); - // - // TurboWhileBottingMenuItem - // - this.TurboWhileBottingMenuItem.Name = "TurboWhileBottingMenuItem"; - this.TurboWhileBottingMenuItem.Size = new System.Drawing.Size(181, 22); - this.TurboWhileBottingMenuItem.Text = "Turbo While Botting"; - this.TurboWhileBottingMenuItem.Click += new System.EventHandler(this.TurboWhileBottingMenuItem_Click); - // - // RunBtn - // - this.RunBtn.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Play; - this.RunBtn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.RunBtn.Location = new System.Drawing.Point(6, 56); - this.RunBtn.Name = "RunBtn"; - this.RunBtn.Size = new System.Drawing.Size(75, 23); - this.RunBtn.TabIndex = 2001; - this.RunBtn.Text = "&Run"; - this.RunBtn.UseVisualStyleBackColor = true; - this.RunBtn.Click += new System.EventHandler(this.RunBtn_Click); - // - // BotStatusStrip - // - this.BotStatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.DataSizeMenuItem.Name = "DataSizeMenuItem"; + this.DataSizeMenuItem.Size = new System.Drawing.Size(181, 22); + this.DataSizeMenuItem.Text = "Data Size"; + this.DataSizeMenuItem.DropDownOpened += new System.EventHandler(this.DataSizeMenuItem_DropDownOpened); + // + // _1ByteMenuItem + // + this._1ByteMenuItem.Name = "_1ByteMenuItem"; + this._1ByteMenuItem.Size = new System.Drawing.Size(111, 22); + this._1ByteMenuItem.Text = "1 Byte"; + this._1ByteMenuItem.Click += new System.EventHandler(this._1ByteMenuItem_Click); + // + // _2ByteMenuItem + // + this._2ByteMenuItem.Name = "_2ByteMenuItem"; + this._2ByteMenuItem.Size = new System.Drawing.Size(111, 22); + this._2ByteMenuItem.Text = "2 Bytes"; + this._2ByteMenuItem.Click += new System.EventHandler(this._2ByteMenuItem_Click); + // + // _4ByteMenuItem + // + this._4ByteMenuItem.Name = "_4ByteMenuItem"; + this._4ByteMenuItem.Size = new System.Drawing.Size(111, 22); + this._4ByteMenuItem.Text = "4 Bytes"; + this._4ByteMenuItem.Click += new System.EventHandler(this._4ByteMenuItem_Click); + // + // BigEndianMenuItem + // + this.BigEndianMenuItem.Name = "BigEndianMenuItem"; + this.BigEndianMenuItem.Size = new System.Drawing.Size(181, 22); + this.BigEndianMenuItem.Text = "Big Endian"; + this.BigEndianMenuItem.Click += new System.EventHandler(this.BigEndianMenuItem_Click); + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(178, 6); + // + // TurboWhileBottingMenuItem + // + this.TurboWhileBottingMenuItem.Name = "TurboWhileBottingMenuItem"; + this.TurboWhileBottingMenuItem.Size = new System.Drawing.Size(181, 22); + this.TurboWhileBottingMenuItem.Text = "Turbo While Botting"; + this.TurboWhileBottingMenuItem.Click += new System.EventHandler(this.TurboWhileBottingMenuItem_Click); + // + // RunBtn + // + this.RunBtn.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Play; + this.RunBtn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.RunBtn.Location = new System.Drawing.Point(6, 56); + this.RunBtn.Name = "RunBtn"; + this.RunBtn.Size = new System.Drawing.Size(75, 23); + this.RunBtn.TabIndex = 2001; + this.RunBtn.Text = "&Run"; + this.RunBtn.UseVisualStyleBackColor = true; + this.RunBtn.Click += new System.EventHandler(this.RunBtn_Click); + // + // BotStatusStrip + // + this.BotStatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.BotStatusButton, this.MessageLabel}); - this.BotStatusStrip.Location = new System.Drawing.Point(0, 565); - this.BotStatusStrip.Name = "BotStatusStrip"; - this.BotStatusStrip.Size = new System.Drawing.Size(587, 22); - this.BotStatusStrip.TabIndex = 2; - this.BotStatusStrip.Text = "statusStrip1"; - // - // BotStatusButton - // - this.BotStatusButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.BotStatusButton.Image = ((System.Drawing.Image)(resources.GetObject("BotStatusButton.Image"))); - this.BotStatusButton.ImageTransparentColor = System.Drawing.Color.Magenta; - this.BotStatusButton.Name = "BotStatusButton"; - this.BotStatusButton.RightToLeftAutoMirrorImage = true; - this.BotStatusButton.Size = new System.Drawing.Size(16, 17); - this.BotStatusButton.Text = " "; - this.BotStatusButton.ToolTipText = " "; - // - // MessageLabel - // - this.MessageLabel.Name = "MessageLabel"; - this.MessageLabel.Size = new System.Drawing.Size(109, 17); - this.MessageLabel.Text = " "; - // - // ControlsBox - // - this.ControlsBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.BotStatusStrip.Location = new System.Drawing.Point(0, 565); + this.BotStatusStrip.Name = "BotStatusStrip"; + this.BotStatusStrip.Size = new System.Drawing.Size(842, 22); + this.BotStatusStrip.TabIndex = 2; + this.BotStatusStrip.Text = "statusStrip1"; + // + // BotStatusButton + // + this.BotStatusButton.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.BotStatusButton.Image = ((System.Drawing.Image)(resources.GetObject("BotStatusButton.Image"))); + this.BotStatusButton.ImageTransparentColor = System.Drawing.Color.Magenta; + this.BotStatusButton.Name = "BotStatusButton"; + this.BotStatusButton.RightToLeftAutoMirrorImage = true; + this.BotStatusButton.Size = new System.Drawing.Size(16, 17); + this.BotStatusButton.Text = " "; + this.BotStatusButton.ToolTipText = " "; + // + // MessageLabel + // + this.MessageLabel.Name = "MessageLabel"; + this.MessageLabel.Size = new System.Drawing.Size(109, 17); + this.MessageLabel.Text = " "; + // + // ControlsBox + // + this.ControlsBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.ControlsBox.Controls.Add(this.ControlProbabilityPanel); - this.ControlsBox.Location = new System.Drawing.Point(12, 183); - this.ControlsBox.Name = "ControlsBox"; - this.ControlsBox.Size = new System.Drawing.Size(312, 369); - this.ControlsBox.TabIndex = 3; - this.ControlsBox.TabStop = false; - this.ControlsBox.Text = "Controls"; - // - // ControlProbabilityPanel - // - this.ControlProbabilityPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.ControlsBox.Controls.Add(this.ControlProbabilityPanel); + this.ControlsBox.Location = new System.Drawing.Point(12, 183); + this.ControlsBox.Name = "ControlsBox"; + this.ControlsBox.Size = new System.Drawing.Size(567, 369); + this.ControlsBox.TabIndex = 3; + this.ControlsBox.TabStop = false; + this.ControlsBox.Text = "Controls"; + // + // ControlProbabilityPanel + // + this.ControlProbabilityPanel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.ControlProbabilityPanel.AutoScroll = true; - this.ControlProbabilityPanel.Location = new System.Drawing.Point(6, 19); - this.ControlProbabilityPanel.Name = "ControlProbabilityPanel"; - this.ControlProbabilityPanel.Size = new System.Drawing.Size(299, 344); - this.ControlProbabilityPanel.TabIndex = 0; - // - // BestGroupBox - // - this.BestGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.ControlProbabilityPanel.AutoScroll = true; + this.ControlProbabilityPanel.Location = new System.Drawing.Point(6, 19); + this.ControlProbabilityPanel.Name = "ControlProbabilityPanel"; + this.ControlProbabilityPanel.Size = new System.Drawing.Size(554, 344); + this.ControlProbabilityPanel.TabIndex = 0; + // + // BestGroupBox + // + this.BestGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); - this.BestGroupBox.Controls.Add(this.PlayBestButton); - this.BestGroupBox.Controls.Add(this.ClearBestButton); - this.BestGroupBox.Controls.Add(this.BestAttemptNumberLabel); - this.BestGroupBox.Controls.Add(this.label17); - this.BestGroupBox.Controls.Add(this.panel1); - this.BestGroupBox.Controls.Add(this.BestTieBreak3Box); - this.BestGroupBox.Controls.Add(this.BestTieBreak2Box); - this.BestGroupBox.Controls.Add(this.BestTieBreak1Box); - this.BestGroupBox.Controls.Add(this.BestMaximizeBox); - this.BestGroupBox.Controls.Add(this.label16); - this.BestGroupBox.Controls.Add(this.label15); - this.BestGroupBox.Controls.Add(this.label14); - this.BestGroupBox.Controls.Add(this.label13); - this.BestGroupBox.Location = new System.Drawing.Point(330, 183); - this.BestGroupBox.Name = "BestGroupBox"; - this.BestGroupBox.Size = new System.Drawing.Size(245, 369); - this.BestGroupBox.TabIndex = 4; - this.BestGroupBox.TabStop = false; - this.BestGroupBox.Text = "Best"; - // - // PlayBestButton - // - this.PlayBestButton.Enabled = false; - this.PlayBestButton.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Play; - this.PlayBestButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.PlayBestButton.Location = new System.Drawing.Point(12, 46); - this.PlayBestButton.Name = "PlayBestButton"; - this.PlayBestButton.Size = new System.Drawing.Size(75, 23); - this.PlayBestButton.TabIndex = 2004; - this.PlayBestButton.Text = "&Play"; - this.PlayBestButton.UseVisualStyleBackColor = true; - this.PlayBestButton.Click += new System.EventHandler(this.PlayBestButton_Click); - // - // ClearBestButton - // - this.ClearBestButton.Enabled = false; - this.ClearBestButton.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Close; - this.ClearBestButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.ClearBestButton.Location = new System.Drawing.Point(12, 70); - this.ClearBestButton.Name = "ClearBestButton"; - this.ClearBestButton.Size = new System.Drawing.Size(75, 23); - this.ClearBestButton.TabIndex = 2003; - this.ClearBestButton.Text = "&Clear"; - this.ClearBestButton.UseVisualStyleBackColor = true; - this.ClearBestButton.Click += new System.EventHandler(this.ClearBestButton_Click); - // - // BestAttemptNumberLabel - // - this.BestAttemptNumberLabel.AutoSize = true; - this.BestAttemptNumberLabel.Location = new System.Drawing.Point(59, 20); - this.BestAttemptNumberLabel.Name = "BestAttemptNumberLabel"; - this.BestAttemptNumberLabel.Size = new System.Drawing.Size(13, 13); - this.BestAttemptNumberLabel.TabIndex = 23; - this.BestAttemptNumberLabel.Text = "0"; - // - // label17 - // - this.label17.AutoSize = true; - this.label17.Location = new System.Drawing.Point(17, 20); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(46, 13); - this.label17.TabIndex = 22; - this.label17.Text = "Attempt:"; - // - // panel1 - // - this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.BestGroupBox.Controls.Add(this.PlayBestButton); + this.BestGroupBox.Controls.Add(this.ClearBestButton); + this.BestGroupBox.Controls.Add(this.BestAttemptNumberLabel); + this.BestGroupBox.Controls.Add(this.label17); + this.BestGroupBox.Controls.Add(this.panel1); + this.BestGroupBox.Controls.Add(this.BestTieBreak3Box); + this.BestGroupBox.Controls.Add(this.BestTieBreak2Box); + this.BestGroupBox.Controls.Add(this.BestTieBreak1Box); + this.BestGroupBox.Controls.Add(this.BestMaximizeBox); + this.BestGroupBox.Controls.Add(this.label16); + this.BestGroupBox.Controls.Add(this.label15); + this.BestGroupBox.Controls.Add(this.label14); + this.BestGroupBox.Controls.Add(this.label13); + this.BestGroupBox.Location = new System.Drawing.Point(585, 183); + this.BestGroupBox.Name = "BestGroupBox"; + this.BestGroupBox.Size = new System.Drawing.Size(245, 369); + this.BestGroupBox.TabIndex = 4; + this.BestGroupBox.TabStop = false; + this.BestGroupBox.Text = "Best"; + // + // PlayBestButton + // + this.PlayBestButton.Enabled = false; + this.PlayBestButton.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Play; + this.PlayBestButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.PlayBestButton.Location = new System.Drawing.Point(12, 46); + this.PlayBestButton.Name = "PlayBestButton"; + this.PlayBestButton.Size = new System.Drawing.Size(75, 23); + this.PlayBestButton.TabIndex = 2004; + this.PlayBestButton.Text = "&Play"; + this.PlayBestButton.UseVisualStyleBackColor = true; + this.PlayBestButton.Click += new System.EventHandler(this.PlayBestButton_Click); + // + // ClearBestButton + // + this.ClearBestButton.Enabled = false; + this.ClearBestButton.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Close; + this.ClearBestButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.ClearBestButton.Location = new System.Drawing.Point(12, 70); + this.ClearBestButton.Name = "ClearBestButton"; + this.ClearBestButton.Size = new System.Drawing.Size(75, 23); + this.ClearBestButton.TabIndex = 2003; + this.ClearBestButton.Text = "&Clear"; + this.ClearBestButton.UseVisualStyleBackColor = true; + this.ClearBestButton.Click += new System.EventHandler(this.ClearBestButton_Click); + // + // BestAttemptNumberLabel + // + this.BestAttemptNumberLabel.AutoSize = true; + this.BestAttemptNumberLabel.Location = new System.Drawing.Point(59, 20); + this.BestAttemptNumberLabel.Name = "BestAttemptNumberLabel"; + this.BestAttemptNumberLabel.Size = new System.Drawing.Size(13, 13); + this.BestAttemptNumberLabel.TabIndex = 23; + this.BestAttemptNumberLabel.Text = "0"; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Location = new System.Drawing.Point(17, 20); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(46, 13); + this.label17.TabIndex = 22; + this.label17.Text = "Attempt:"; + // + // panel1 + // + this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.panel1.AutoScroll = true; - this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; - this.panel1.Controls.Add(this.BestAttemptLogLabel); - this.panel1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.panel1.Location = new System.Drawing.Point(12, 112); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(227, 251); - this.panel1.TabIndex = 21; - // - // BestAttemptLogLabel - // - this.BestAttemptLogLabel.AutoSize = true; - this.BestAttemptLogLabel.Location = new System.Drawing.Point(8, 8); - this.BestAttemptLogLabel.Name = "BestAttemptLogLabel"; - this.BestAttemptLogLabel.Size = new System.Drawing.Size(294, 14); - this.BestAttemptLogLabel.TabIndex = 0; - this.BestAttemptLogLabel.Text = " "; - // - // BestTieBreak3Box - // - this.BestTieBreak3Box.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.BestTieBreak3Box.Location = new System.Drawing.Point(178, 73); - this.BestTieBreak3Box.Name = "BestTieBreak3Box"; - this.BestTieBreak3Box.ReadOnly = true; - this.BestTieBreak3Box.Size = new System.Drawing.Size(58, 20); - this.BestTieBreak3Box.TabIndex = 20; - this.BestTieBreak3Box.TabStop = false; - // - // BestTieBreak2Box - // - this.BestTieBreak2Box.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.BestTieBreak2Box.Location = new System.Drawing.Point(178, 53); - this.BestTieBreak2Box.Name = "BestTieBreak2Box"; - this.BestTieBreak2Box.ReadOnly = true; - this.BestTieBreak2Box.Size = new System.Drawing.Size(58, 20); - this.BestTieBreak2Box.TabIndex = 19; - this.BestTieBreak2Box.TabStop = false; - // - // BestTieBreak1Box - // - this.BestTieBreak1Box.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.BestTieBreak1Box.Location = new System.Drawing.Point(178, 33); - this.BestTieBreak1Box.Name = "BestTieBreak1Box"; - this.BestTieBreak1Box.ReadOnly = true; - this.BestTieBreak1Box.Size = new System.Drawing.Size(58, 20); - this.BestTieBreak1Box.TabIndex = 18; - this.BestTieBreak1Box.TabStop = false; - // - // BestMaximizeBox - // - this.BestMaximizeBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.BestMaximizeBox.Location = new System.Drawing.Point(178, 13); - this.BestMaximizeBox.Name = "BestMaximizeBox"; - this.BestMaximizeBox.ReadOnly = true; - this.BestMaximizeBox.Size = new System.Drawing.Size(58, 20); - this.BestMaximizeBox.TabIndex = 17; - this.BestMaximizeBox.TabStop = false; - // - // label16 - // - this.label16.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.label16.AutoSize = true; - this.label16.Location = new System.Drawing.Point(111, 76); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(61, 13); - this.label16.TabIndex = 16; - this.label16.Text = "Tiebreak 3:"; - // - // label15 - // - this.label15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(111, 56); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(61, 13); - this.label15.TabIndex = 15; - this.label15.Text = "Tiebreak 2:"; - // - // label14 - // - this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(111, 36); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(61, 13); - this.label14.TabIndex = 6; - this.label14.Text = "Tiebreak 1:"; - // - // label13 - // - this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(119, 16); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(53, 13); - this.label13.TabIndex = 0; - this.label13.Text = "Main Value:"; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(3, 2); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(51, 13); - this.label1.TabIndex = 5; - this.label1.Text = "Attempts:"; - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(10, 17); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(44, 13); - this.label2.TabIndex = 6; - this.label2.Text = "Frames:"; - // - // AttemptsLabel - // - this.AttemptsLabel.AutoSize = true; - this.AttemptsLabel.Location = new System.Drawing.Point(61, 2); - this.AttemptsLabel.Name = "AttemptsLabel"; - this.AttemptsLabel.Size = new System.Drawing.Size(13, 13); - this.AttemptsLabel.TabIndex = 7; - this.AttemptsLabel.Text = "0"; - // - // FramesLabel - // - this.FramesLabel.AutoSize = true; - this.FramesLabel.Location = new System.Drawing.Point(61, 17); - this.FramesLabel.Name = "FramesLabel"; - this.FramesLabel.Size = new System.Drawing.Size(13, 13); - this.FramesLabel.TabIndex = 8; - this.FramesLabel.Text = "0"; - // - // GoalGroupBox - // - this.GoalGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.panel1.AutoScroll = true; + this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; + this.panel1.Controls.Add(this.BestAttemptLogLabel); + this.panel1.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.panel1.Location = new System.Drawing.Point(12, 112); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(227, 251); + this.panel1.TabIndex = 21; + // + // BestAttemptLogLabel + // + this.BestAttemptLogLabel.AutoSize = true; + this.BestAttemptLogLabel.Location = new System.Drawing.Point(8, 8); + this.BestAttemptLogLabel.Name = "BestAttemptLogLabel"; + this.BestAttemptLogLabel.Size = new System.Drawing.Size(294, 14); + this.BestAttemptLogLabel.TabIndex = 0; + this.BestAttemptLogLabel.Text = " "; + // + // BestTieBreak3Box + // + this.BestTieBreak3Box.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.BestTieBreak3Box.Location = new System.Drawing.Point(178, 73); + this.BestTieBreak3Box.Name = "BestTieBreak3Box"; + this.BestTieBreak3Box.ReadOnly = true; + this.BestTieBreak3Box.Size = new System.Drawing.Size(58, 20); + this.BestTieBreak3Box.TabIndex = 20; + this.BestTieBreak3Box.TabStop = false; + // + // BestTieBreak2Box + // + this.BestTieBreak2Box.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.BestTieBreak2Box.Location = new System.Drawing.Point(178, 53); + this.BestTieBreak2Box.Name = "BestTieBreak2Box"; + this.BestTieBreak2Box.ReadOnly = true; + this.BestTieBreak2Box.Size = new System.Drawing.Size(58, 20); + this.BestTieBreak2Box.TabIndex = 19; + this.BestTieBreak2Box.TabStop = false; + // + // BestTieBreak1Box + // + this.BestTieBreak1Box.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.BestTieBreak1Box.Location = new System.Drawing.Point(178, 33); + this.BestTieBreak1Box.Name = "BestTieBreak1Box"; + this.BestTieBreak1Box.ReadOnly = true; + this.BestTieBreak1Box.Size = new System.Drawing.Size(58, 20); + this.BestTieBreak1Box.TabIndex = 18; + this.BestTieBreak1Box.TabStop = false; + // + // BestMaximizeBox + // + this.BestMaximizeBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.BestMaximizeBox.Location = new System.Drawing.Point(178, 13); + this.BestMaximizeBox.Name = "BestMaximizeBox"; + this.BestMaximizeBox.ReadOnly = true; + this.BestMaximizeBox.Size = new System.Drawing.Size(58, 20); + this.BestMaximizeBox.TabIndex = 17; + this.BestMaximizeBox.TabStop = false; + // + // label16 + // + this.label16.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(111, 76); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(61, 13); + this.label16.TabIndex = 16; + this.label16.Text = "Tiebreak 3:"; + // + // label15 + // + this.label15.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label15.AutoSize = true; + this.label15.Location = new System.Drawing.Point(111, 56); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(61, 13); + this.label15.TabIndex = 15; + this.label15.Text = "Tiebreak 2:"; + // + // label14 + // + this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label14.AutoSize = true; + this.label14.Location = new System.Drawing.Point(111, 36); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(61, 13); + this.label14.TabIndex = 6; + this.label14.Text = "Tiebreak 1:"; + // + // label13 + // + this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.label13.AutoSize = true; + this.label13.Location = new System.Drawing.Point(119, 16); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(63, 13); + this.label13.TabIndex = 0; + this.label13.Text = "Main Value:"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(3, 2); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(51, 13); + this.label1.TabIndex = 5; + this.label1.Text = "Attempts:"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(10, 17); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(44, 13); + this.label2.TabIndex = 6; + this.label2.Text = "Frames:"; + // + // AttemptsLabel + // + this.AttemptsLabel.AutoSize = true; + this.AttemptsLabel.Location = new System.Drawing.Point(61, 2); + this.AttemptsLabel.Name = "AttemptsLabel"; + this.AttemptsLabel.Size = new System.Drawing.Size(13, 13); + this.AttemptsLabel.TabIndex = 7; + this.AttemptsLabel.Text = "0"; + // + // FramesLabel + // + this.FramesLabel.AutoSize = true; + this.FramesLabel.Location = new System.Drawing.Point(61, 17); + this.FramesLabel.Name = "FramesLabel"; + this.FramesLabel.Size = new System.Drawing.Size(13, 13); + this.FramesLabel.TabIndex = 8; + this.FramesLabel.Text = "0"; + // + // GoalGroupBox + // + this.GoalGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.GoalGroupBox.Controls.Add(this.Tiebreak3Operator); - this.GoalGroupBox.Controls.Add(this.Tiebreak2Operator); - this.GoalGroupBox.Controls.Add(this.Tiebreak1Operator); - this.GoalGroupBox.Controls.Add(this.mainOperator); - this.GoalGroupBox.Controls.Add(this.label12); - this.GoalGroupBox.Controls.Add(this.label11); - this.GoalGroupBox.Controls.Add(this.label10); - this.GoalGroupBox.Controls.Add(this.label9); - this.GoalGroupBox.Controls.Add(this.label7); - this.GoalGroupBox.Controls.Add(this.label6); - this.GoalGroupBox.Controls.Add(this.TieBreaker1Box); - this.GoalGroupBox.Controls.Add(this.TieBreaker2Box); - this.GoalGroupBox.Controls.Add(this.TieBreaker3Box); - this.GoalGroupBox.Controls.Add(this.label5); - this.GoalGroupBox.Controls.Add(this.MaximizeAddressBox); - this.GoalGroupBox.Controls.Add(this.maximizeLabeltext); - this.GoalGroupBox.Controls.Add(this.label4); - this.GoalGroupBox.Controls.Add(this.FrameLengthNumeric); - this.GoalGroupBox.Controls.Add(this.label3); - this.GoalGroupBox.Location = new System.Drawing.Point(12, 27); - this.GoalGroupBox.Name = "GoalGroupBox"; - this.GoalGroupBox.Size = new System.Drawing.Size(312, 150); - this.GoalGroupBox.TabIndex = 9; - this.GoalGroupBox.TabStop = false; - this.GoalGroupBox.Text = " "; - // - // Tiebreak3Operator - // - this.Tiebreak3Operator.FormattingEnabled = true; - this.Tiebreak3Operator.Items.AddRange(new object[] { + this.GoalGroupBox.Controls.Add(this.panel6); + this.GoalGroupBox.Controls.Add(this.label4); + this.GoalGroupBox.Controls.Add(this.FrameLengthNumeric); + this.GoalGroupBox.Controls.Add(this.label3); + this.GoalGroupBox.Controls.Add(this.panel3); + this.GoalGroupBox.Controls.Add(this.panel4); + this.GoalGroupBox.Controls.Add(this.panel5); + this.GoalGroupBox.Location = new System.Drawing.Point(12, 27); + this.GoalGroupBox.Name = "GoalGroupBox"; + this.GoalGroupBox.Size = new System.Drawing.Size(567, 150); + this.GoalGroupBox.TabIndex = 9; + this.GoalGroupBox.TabStop = false; + this.GoalGroupBox.Text = " "; + // + // panel6 + // + this.panel6.Controls.Add(this.Tiebreak3Operator); + this.panel6.Controls.Add(this.label12); + this.panel6.Controls.Add(this.label7); + this.panel6.Controls.Add(this.TieBreaker3Box); + this.panel6.Controls.Add(this.TieBreak3Numeric); + this.panel6.Controls.Add(this.TieBreak3ValueRadio); + this.panel6.Controls.Add(this.TieBreak3BestRadio); + this.panel6.Location = new System.Drawing.Point(9, 120); + this.panel6.Name = "panel6"; + this.panel6.Size = new System.Drawing.Size(546, 26); + this.panel6.TabIndex = 3; + // + // Tiebreak3Operator + // + this.Tiebreak3Operator.FormattingEnabled = true; + this.Tiebreak3Operator.Items.AddRange(new object[] { ">", ">=", "=", "<=", "<"}); - this.Tiebreak3Operator.Location = new System.Drawing.Point(266, 119); - this.Tiebreak3Operator.Name = "Tiebreak3Operator"; - this.Tiebreak3Operator.Size = new System.Drawing.Size(40, 21); - this.Tiebreak3Operator.TabIndex = 1009; - Tiebreak3Operator.SelectedIndex = 0; - // - // Tiebreak2Operator - // - this.Tiebreak2Operator.FormattingEnabled = true; - this.Tiebreak2Operator.Items.AddRange(new object[] { - ">", - ">=", - "=", - "<=", - "<"}); - this.Tiebreak2Operator.Location = new System.Drawing.Point(266, 98); - this.Tiebreak2Operator.Name = "Tiebreak2Operator"; - this.Tiebreak2Operator.Size = new System.Drawing.Size(40, 21); - this.Tiebreak2Operator.TabIndex = 1008; - Tiebreak2Operator.SelectedIndex = 0; - // - // Tiebreak1Operator - // - this.Tiebreak1Operator.FormattingEnabled = true; - this.Tiebreak1Operator.Items.AddRange(new object[] { - ">", - ">=", - "=", - "<=", - "<"}); - this.Tiebreak1Operator.Location = new System.Drawing.Point(266, 76); - this.Tiebreak1Operator.Name = "Tiebreak1Operator"; - this.Tiebreak1Operator.Size = new System.Drawing.Size(40, 21); - this.Tiebreak1Operator.TabIndex = 1007; - Tiebreak1Operator.SelectedIndex = 0; - // - // mainOperator - // - this.mainOperator.FormattingEnabled = true; - this.mainOperator.Items.AddRange(new object[] { - ">", - ">=", - "=", - "<=", - "<"}); - this.mainOperator.Location = new System.Drawing.Point(266, 54); - this.mainOperator.Name = "mainOperator"; - this.mainOperator.Size = new System.Drawing.Size(40, 21); - this.mainOperator.TabIndex = 1006; - mainOperator.SelectedIndex = 0; - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(74, 122); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(59, 13); - this.label12.TabIndex = 14; - this.label12.Text = "Address 0x"; - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(73, 101); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(59, 13); - this.label11.TabIndex = 13; - this.label11.Text = "Address 0x"; - // - // label10 - // - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(73, 79); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(59, 13); - this.label10.TabIndex = 12; - this.label10.Text = "Address 0x"; - // - // label9 - // - this.label9.AutoSize = true; - this.label9.Location = new System.Drawing.Point(73, 57); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(59, 13); - this.label9.TabIndex = 11; - this.label9.Text = "Address 0x"; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Location = new System.Drawing.Point(6, 122); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(61, 13); - this.label7.TabIndex = 10; - this.label7.Text = "Tiebreak 3:"; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(6, 101); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(61, 13); - this.label6.TabIndex = 9; - this.label6.Text = "Tiebreak 2:"; - // - // TieBreaker1Box - // - this.TieBreaker1Box.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.Tiebreak3Operator.Location = new System.Drawing.Point(262, 3); + this.Tiebreak3Operator.Name = "Tiebreak3Operator"; + this.Tiebreak3Operator.Size = new System.Drawing.Size(40, 21); + this.Tiebreak3Operator.TabIndex = 1017; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(67, 7); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(59, 13); + this.label12.TabIndex = 1015; + this.label12.Text = "Address 0x"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Location = new System.Drawing.Point(1, 7); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(61, 13); + this.label7.TabIndex = 1014; + this.label7.Text = "Tiebreak 3:"; + // + // TieBreaker3Box + // + this.TieBreaker3Box.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.TieBreaker1Box.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; - this.TieBreaker1Box.Location = new System.Drawing.Point(139, 76); - this.TieBreaker1Box.Name = "TieBreaker1Box"; - this.TieBreaker1Box.Nullable = true; - this.TieBreaker1Box.Size = new System.Drawing.Size(121, 20); - this.TieBreaker1Box.TabIndex = 1002; - // - // TieBreaker2Box - // - this.TieBreaker2Box.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.TieBreaker2Box.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; - this.TieBreaker2Box.Location = new System.Drawing.Point(139, 98); - this.TieBreaker2Box.Name = "TieBreaker2Box"; - this.TieBreaker2Box.Nullable = true; - this.TieBreaker2Box.Size = new System.Drawing.Size(121, 20); - this.TieBreaker2Box.TabIndex = 1003; - // - // TieBreaker3Box - // - this.TieBreaker3Box.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.TieBreaker3Box.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; - this.TieBreaker3Box.Location = new System.Drawing.Point(139, 119); - this.TieBreaker3Box.Name = "TieBreaker3Box"; - this.TieBreaker3Box.Nullable = true; - this.TieBreaker3Box.Size = new System.Drawing.Size(121, 20); - this.TieBreaker3Box.TabIndex = 1004; - // - // label5 - // - this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(7, 79); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(61, 13); - this.label5.TabIndex = 5; - this.label5.Text = "Tiebreak 1:"; - // - // MaximizeAddressBox - // - this.MaximizeAddressBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) - | System.Windows.Forms.AnchorStyles.Right))); - this.MaximizeAddressBox.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; - this.MaximizeAddressBox.Location = new System.Drawing.Point(139, 54); - this.MaximizeAddressBox.Name = "MaximizeAddressBox"; - this.MaximizeAddressBox.Nullable = true; - this.MaximizeAddressBox.Size = new System.Drawing.Size(121, 20); - this.MaximizeAddressBox.TabIndex = 1001; - this.MaximizeAddressBox.TextChanged += new System.EventHandler(this.FrameLengthNumeric_ValueChanged); - // - // maximizeLabeltext - // - this.maximizeLabeltext.AutoSize = true; - this.maximizeLabeltext.Location = new System.Drawing.Point(7, 57); - this.maximizeLabeltext.Name = "maximizeLabeltext"; - this.maximizeLabeltext.Size = new System.Drawing.Size(63, 13); - this.maximizeLabeltext.TabIndex = 3; - this.maximizeLabeltext.Text = "Main Value:"; - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(113, 29); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(38, 13); - this.label4.TabIndex = 2; - this.label4.Text = "frames"; - // - // FrameLengthNumeric - // - this.FrameLengthNumeric.Location = new System.Drawing.Point(60, 25); - this.FrameLengthNumeric.Maximum = new decimal(new int[] { + this.TieBreaker3Box.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; + this.TieBreaker3Box.Location = new System.Drawing.Point(133, 4); + this.TieBreaker3Box.Name = "TieBreaker3Box"; + this.TieBreaker3Box.Nullable = true; + this.TieBreaker3Box.Size = new System.Drawing.Size(123, 20); + this.TieBreaker3Box.TabIndex = 1016; + // + // TieBreak3Numeric + // + this.TieBreak3Numeric.Enabled = false; + this.TieBreak3Numeric.Location = new System.Drawing.Point(417, 4); + this.TieBreak3Numeric.Maximum = new decimal(new int[] { + 100000, + 0, + 0, + 0}); + this.TieBreak3Numeric.Minimum = new decimal(new int[] { + 100000, + 0, + 0, + -2147483648}); + this.TieBreak3Numeric.Name = "TieBreak3Numeric"; + this.TieBreak3Numeric.Size = new System.Drawing.Size(120, 20); + this.TieBreak3Numeric.TabIndex = 1013; + this.TieBreak3Numeric.ValueChanged += new System.EventHandler(this.TieBreak3Numeric_ValueChanged); + // + // TieBreak3ValueRadio + // + this.TieBreak3ValueRadio.AutoSize = true; + this.TieBreak3ValueRadio.Location = new System.Drawing.Point(359, 6); + this.TieBreak3ValueRadio.Name = "TieBreak3ValueRadio"; + this.TieBreak3ValueRadio.Size = new System.Drawing.Size(52, 17); + this.TieBreak3ValueRadio.TabIndex = 1012; + this.TieBreak3ValueRadio.Text = "Value"; + this.TieBreak3ValueRadio.UseVisualStyleBackColor = true; + this.TieBreak3ValueRadio.CheckedChanged += new System.EventHandler(this.TieBreak3ValueRadio_CheckedChanged); + // + // TieBreak3BestRadio + // + this.TieBreak3BestRadio.AutoSize = true; + this.TieBreak3BestRadio.Checked = true; + this.TieBreak3BestRadio.Location = new System.Drawing.Point(307, 6); + this.TieBreak3BestRadio.Name = "TieBreak3BestRadio"; + this.TieBreak3BestRadio.Size = new System.Drawing.Size(46, 17); + this.TieBreak3BestRadio.TabIndex = 1011; + this.TieBreak3BestRadio.TabStop = true; + this.TieBreak3BestRadio.Text = "Best"; + this.TieBreak3BestRadio.UseVisualStyleBackColor = true; + this.TieBreak3BestRadio.CheckedChanged += new System.EventHandler(this.Tiebreak3BestRadio_CheckedChanged); + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(113, 29); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(38, 13); + this.label4.TabIndex = 2; + this.label4.Text = "frames"; + // + // FrameLengthNumeric + // + this.FrameLengthNumeric.Location = new System.Drawing.Point(60, 25); + this.FrameLengthNumeric.Maximum = new decimal(new int[] { 999, 0, 0, 0}); - this.FrameLengthNumeric.Name = "FrameLengthNumeric"; - this.FrameLengthNumeric.Size = new System.Drawing.Size(46, 20); - this.FrameLengthNumeric.TabIndex = 1000; - this.FrameLengthNumeric.Value = new decimal(new int[] { + this.FrameLengthNumeric.Name = "FrameLengthNumeric"; + this.FrameLengthNumeric.Size = new System.Drawing.Size(46, 20); + this.FrameLengthNumeric.TabIndex = 1000; + this.FrameLengthNumeric.Value = new decimal(new int[] { 100, 0, 0, 0}); - this.FrameLengthNumeric.ValueChanged += new System.EventHandler(this.FrameLengthNumeric_ValueChanged); - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(7, 29); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(50, 13); - this.label3.TabIndex = 0; - this.label3.Text = "End after"; - // - // StopBtn - // - this.StopBtn.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Stop; - this.StopBtn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.StopBtn.Location = new System.Drawing.Point(6, 56); - this.StopBtn.Name = "StopBtn"; - this.StopBtn.Size = new System.Drawing.Size(75, 23); - this.StopBtn.TabIndex = 2002; - this.StopBtn.Text = "&Stop"; - this.StopBtn.UseVisualStyleBackColor = true; - this.StopBtn.Visible = false; - this.StopBtn.Click += new System.EventHandler(this.StopBtn_Click); - // - // label8 - // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(7, 29); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(58, 13); - this.label8.TabIndex = 11; - this.label8.Text = "Start From:"; - // - // StartFromSlotBox - // - this.StartFromSlotBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.StartFromSlotBox.FormattingEnabled = true; - this.StartFromSlotBox.Items.AddRange(new object[] { + this.FrameLengthNumeric.ValueChanged += new System.EventHandler(this.FrameLengthNumeric_ValueChanged); + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(7, 29); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(50, 13); + this.label3.TabIndex = 0; + this.label3.Text = "End after"; + // + // panel3 + // + this.panel3.Controls.Add(this.MainValueNumeric); + this.panel3.Controls.Add(this.MainValueRadio); + this.panel3.Controls.Add(this.MainBestRadio); + this.panel3.Controls.Add(this.MainOperator); + this.panel3.Controls.Add(this.label9); + this.panel3.Controls.Add(this.MaximizeAddressBox); + this.panel3.Controls.Add(this.maximizeLabeltext); + this.panel3.Location = new System.Drawing.Point(9, 51); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(546, 26); + this.panel3.TabIndex = 0; + // + // MainValueNumeric + // + this.MainValueNumeric.Enabled = false; + this.MainValueNumeric.Location = new System.Drawing.Point(417, 4); + this.MainValueNumeric.Maximum = new decimal(new int[] { + 100000, + 0, + 0, + 0}); + this.MainValueNumeric.Minimum = new decimal(new int[] { + 100000, + 0, + 0, + -2147483648}); + this.MainValueNumeric.Name = "MainValueNumeric"; + this.MainValueNumeric.Size = new System.Drawing.Size(120, 20); + this.MainValueNumeric.TabIndex = 1013; + this.MainValueNumeric.ValueChanged += new System.EventHandler(this.MainValueNumeric_ValueChanged); + // + // MainValueRadio + // + this.MainValueRadio.AutoSize = true; + this.MainValueRadio.Location = new System.Drawing.Point(359, 6); + this.MainValueRadio.Name = "MainValueRadio"; + this.MainValueRadio.Size = new System.Drawing.Size(52, 17); + this.MainValueRadio.TabIndex = 1012; + this.MainValueRadio.Text = "Value"; + this.MainValueRadio.UseVisualStyleBackColor = true; + this.MainValueRadio.CheckedChanged += new System.EventHandler(this.MainValueRadio_CheckedChanged); + // + // MainBestRadio + // + this.MainBestRadio.AutoSize = true; + this.MainBestRadio.Checked = true; + this.MainBestRadio.Location = new System.Drawing.Point(307, 6); + this.MainBestRadio.Name = "MainBestRadio"; + this.MainBestRadio.Size = new System.Drawing.Size(46, 17); + this.MainBestRadio.TabIndex = 1011; + this.MainBestRadio.TabStop = true; + this.MainBestRadio.Text = "Best"; + this.MainBestRadio.UseVisualStyleBackColor = true; + this.MainBestRadio.CheckedChanged += new System.EventHandler(this.MainBestRadio_CheckedChanged); + // + // MainOperator + // + this.MainOperator.FormattingEnabled = true; + this.MainOperator.Items.AddRange(new object[] { + ">", + ">=", + "=", + "<=", + "<"}); + this.MainOperator.Location = new System.Drawing.Point(262, 3); + this.MainOperator.Name = "MainOperator"; + this.MainOperator.Size = new System.Drawing.Size(40, 21); + this.MainOperator.TabIndex = 1010; + // + // label9 + // + this.label9.AutoSize = true; + this.label9.Location = new System.Drawing.Point(67, 7); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(59, 13); + this.label9.TabIndex = 1008; + this.label9.Text = "Address 0x"; + // + // MaximizeAddressBox + // + this.MaximizeAddressBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.MaximizeAddressBox.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; + this.MaximizeAddressBox.Location = new System.Drawing.Point(133, 4); + this.MaximizeAddressBox.Name = "MaximizeAddressBox"; + this.MaximizeAddressBox.Nullable = true; + this.MaximizeAddressBox.Size = new System.Drawing.Size(123, 20); + this.MaximizeAddressBox.TabIndex = 1009; + // + // maximizeLabeltext + // + this.maximizeLabeltext.AutoSize = true; + this.maximizeLabeltext.Location = new System.Drawing.Point(1, 7); + this.maximizeLabeltext.Name = "maximizeLabeltext"; + this.maximizeLabeltext.Size = new System.Drawing.Size(63, 13); + this.maximizeLabeltext.TabIndex = 1007; + this.maximizeLabeltext.Text = "Main Value:"; + // + // panel4 + // + this.panel4.Controls.Add(this.TieBreak1Numeric); + this.panel4.Controls.Add(this.TieBreak1ValueRadio); + this.panel4.Controls.Add(this.Tiebreak1Operator); + this.panel4.Controls.Add(this.TieBreak1BestRadio); + this.panel4.Controls.Add(this.label5); + this.panel4.Controls.Add(this.TieBreaker1Box); + this.panel4.Controls.Add(this.label10); + this.panel4.Location = new System.Drawing.Point(9, 74); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(546, 26); + this.panel4.TabIndex = 1; + // + // TieBreak1Numeric + // + this.TieBreak1Numeric.Enabled = false; + this.TieBreak1Numeric.Location = new System.Drawing.Point(417, 4); + this.TieBreak1Numeric.Maximum = new decimal(new int[] { + 100000, + 0, + 0, + 0}); + this.TieBreak1Numeric.Minimum = new decimal(new int[] { + 100000, + 0, + 0, + -2147483648}); + this.TieBreak1Numeric.Name = "TieBreak1Numeric"; + this.TieBreak1Numeric.Size = new System.Drawing.Size(120, 20); + this.TieBreak1Numeric.TabIndex = 1013; + this.TieBreak1Numeric.ValueChanged += new System.EventHandler(this.TieBreak1Numeric_ValueChanged); + // + // TieBreak1ValueRadio + // + this.TieBreak1ValueRadio.AutoSize = true; + this.TieBreak1ValueRadio.Location = new System.Drawing.Point(359, 6); + this.TieBreak1ValueRadio.Name = "TieBreak1ValueRadio"; + this.TieBreak1ValueRadio.Size = new System.Drawing.Size(52, 17); + this.TieBreak1ValueRadio.TabIndex = 1012; + this.TieBreak1ValueRadio.Text = "Value"; + this.TieBreak1ValueRadio.UseVisualStyleBackColor = true; + this.TieBreak1ValueRadio.CheckedChanged += new System.EventHandler(this.TieBreak1ValueRadio_CheckedChanged); + // + // Tiebreak1Operator + // + this.Tiebreak1Operator.FormattingEnabled = true; + this.Tiebreak1Operator.Items.AddRange(new object[] { + ">", + ">=", + "=", + "<=", + "<"}); + this.Tiebreak1Operator.Location = new System.Drawing.Point(262, 3); + this.Tiebreak1Operator.Name = "Tiebreak1Operator"; + this.Tiebreak1Operator.Size = new System.Drawing.Size(40, 21); + this.Tiebreak1Operator.TabIndex = 1007; + // + // TieBreak1BestRadio + // + this.TieBreak1BestRadio.AutoSize = true; + this.TieBreak1BestRadio.Checked = true; + this.TieBreak1BestRadio.Location = new System.Drawing.Point(307, 6); + this.TieBreak1BestRadio.Name = "TieBreak1BestRadio"; + this.TieBreak1BestRadio.Size = new System.Drawing.Size(46, 17); + this.TieBreak1BestRadio.TabIndex = 1011; + this.TieBreak1BestRadio.TabStop = true; + this.TieBreak1BestRadio.Text = "Best"; + this.TieBreak1BestRadio.UseVisualStyleBackColor = true; + this.TieBreak1BestRadio.CheckedChanged += new System.EventHandler(this.Tiebreak1BestRadio_CheckedChanged); + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(1, 7); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(61, 13); + this.label5.TabIndex = 5; + this.label5.Text = "Tiebreak 1:"; + // + // TieBreaker1Box + // + this.TieBreaker1Box.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.TieBreaker1Box.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; + this.TieBreaker1Box.Location = new System.Drawing.Point(133, 4); + this.TieBreaker1Box.Name = "TieBreaker1Box"; + this.TieBreaker1Box.Nullable = true; + this.TieBreaker1Box.Size = new System.Drawing.Size(123, 20); + this.TieBreaker1Box.TabIndex = 1002; + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(67, 7); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(59, 13); + this.label10.TabIndex = 12; + this.label10.Text = "Address 0x"; + // + // panel5 + // + this.panel5.Controls.Add(this.TieBreak2Numeric); + this.panel5.Controls.Add(this.Tiebreak2Operator); + this.panel5.Controls.Add(this.TieBreak2ValueRadio); + this.panel5.Controls.Add(this.TieBreak2BestRadio); + this.panel5.Controls.Add(this.label11); + this.panel5.Controls.Add(this.label6); + this.panel5.Controls.Add(this.TieBreaker2Box); + this.panel5.Location = new System.Drawing.Point(9, 97); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(546, 26); + this.panel5.TabIndex = 2; + // + // TieBreak2Numeric + // + this.TieBreak2Numeric.Enabled = false; + this.TieBreak2Numeric.Location = new System.Drawing.Point(417, 4); + this.TieBreak2Numeric.Maximum = new decimal(new int[] { + 100000, + 0, + 0, + 0}); + this.TieBreak2Numeric.Minimum = new decimal(new int[] { + 100000, + 0, + 0, + -2147483648}); + this.TieBreak2Numeric.Name = "TieBreak2Numeric"; + this.TieBreak2Numeric.Size = new System.Drawing.Size(120, 20); + this.TieBreak2Numeric.TabIndex = 1013; + this.TieBreak2Numeric.ValueChanged += new System.EventHandler(this.TieBreak2Numeric_ValueChanged); + // + // Tiebreak2Operator + // + this.Tiebreak2Operator.FormattingEnabled = true; + this.Tiebreak2Operator.Items.AddRange(new object[] { + ">", + ">=", + "=", + "<=", + "<"}); + this.Tiebreak2Operator.Location = new System.Drawing.Point(262, 3); + this.Tiebreak2Operator.Name = "Tiebreak2Operator"; + this.Tiebreak2Operator.Size = new System.Drawing.Size(40, 21); + this.Tiebreak2Operator.TabIndex = 1008; + // + // TieBreak2ValueRadio + // + this.TieBreak2ValueRadio.AutoSize = true; + this.TieBreak2ValueRadio.Location = new System.Drawing.Point(359, 6); + this.TieBreak2ValueRadio.Name = "TieBreak2ValueRadio"; + this.TieBreak2ValueRadio.Size = new System.Drawing.Size(52, 17); + this.TieBreak2ValueRadio.TabIndex = 1012; + this.TieBreak2ValueRadio.Text = "Value"; + this.TieBreak2ValueRadio.UseVisualStyleBackColor = true; + this.TieBreak2ValueRadio.CheckedChanged += new System.EventHandler(this.TieBreak2ValueRadio_CheckedChanged); + // + // TieBreak2BestRadio + // + this.TieBreak2BestRadio.AutoSize = true; + this.TieBreak2BestRadio.Checked = true; + this.TieBreak2BestRadio.Location = new System.Drawing.Point(307, 6); + this.TieBreak2BestRadio.Name = "TieBreak2BestRadio"; + this.TieBreak2BestRadio.Size = new System.Drawing.Size(46, 17); + this.TieBreak2BestRadio.TabIndex = 1011; + this.TieBreak2BestRadio.TabStop = true; + this.TieBreak2BestRadio.Text = "Best"; + this.TieBreak2BestRadio.UseVisualStyleBackColor = true; + this.TieBreak2BestRadio.CheckedChanged += new System.EventHandler(this.Tiebreak2BestRadio_CheckedChanged); + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(67, 7); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(59, 13); + this.label11.TabIndex = 13; + this.label11.Text = "Address 0x"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(1, 7); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(61, 13); + this.label6.TabIndex = 9; + this.label6.Text = "Tiebreak 2:"; + // + // TieBreaker2Box + // + this.TieBreaker2Box.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.TieBreaker2Box.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; + this.TieBreaker2Box.Location = new System.Drawing.Point(133, 4); + this.TieBreaker2Box.Name = "TieBreaker2Box"; + this.TieBreaker2Box.Nullable = true; + this.TieBreaker2Box.Size = new System.Drawing.Size(123, 20); + this.TieBreaker2Box.TabIndex = 1003; + // + // StopBtn + // + this.StopBtn.Image = global::BizHawk.Client.EmuHawk.Properties.Resources.Stop; + this.StopBtn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.StopBtn.Location = new System.Drawing.Point(6, 56); + this.StopBtn.Name = "StopBtn"; + this.StopBtn.Size = new System.Drawing.Size(75, 23); + this.StopBtn.TabIndex = 2002; + this.StopBtn.Text = "&Stop"; + this.StopBtn.UseVisualStyleBackColor = true; + this.StopBtn.Visible = false; + this.StopBtn.Click += new System.EventHandler(this.StopBtn_Click); + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(7, 29); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(58, 13); + this.label8.TabIndex = 11; + this.label8.Text = "Start From:"; + // + // StartFromSlotBox + // + this.StartFromSlotBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.StartFromSlotBox.FormattingEnabled = true; + this.StartFromSlotBox.Items.AddRange(new object[] { "Slot 0", "Slot 1", "Slot 2", @@ -834,88 +1069,100 @@ "Slot 7", "Slot 8", "Slot 9"}); - this.StartFromSlotBox.Location = new System.Drawing.Point(71, 25); - this.StartFromSlotBox.Name = "StartFromSlotBox"; - this.StartFromSlotBox.Size = new System.Drawing.Size(75, 21); - this.StartFromSlotBox.TabIndex = 2000; - // - // ControlGroupBox - // - this.ControlGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.ControlGroupBox.Controls.Add(this.panel2); - this.ControlGroupBox.Controls.Add(this.StopBtn); - this.ControlGroupBox.Controls.Add(this.RunBtn); - this.ControlGroupBox.Controls.Add(this.StartFromSlotBox); - this.ControlGroupBox.Controls.Add(this.label8); - this.ControlGroupBox.Location = new System.Drawing.Point(329, 27); - this.ControlGroupBox.Name = "ControlGroupBox"; - this.ControlGroupBox.Size = new System.Drawing.Size(245, 150); - this.ControlGroupBox.TabIndex = 2004; - this.ControlGroupBox.TabStop = false; - this.ControlGroupBox.Text = "Control"; - // - // panel2 - // - this.panel2.ContextMenuStrip = this.StatsContextMenu; - this.panel2.Controls.Add(this.label1); - this.panel2.Controls.Add(this.label2); - this.panel2.Controls.Add(this.FramesLabel); - this.panel2.Controls.Add(this.AttemptsLabel); - this.panel2.Location = new System.Drawing.Point(6, 85); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(140, 33); - this.panel2.TabIndex = 2003; - // - // StatsContextMenu - // - this.StatsContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.StartFromSlotBox.Location = new System.Drawing.Point(71, 25); + this.StartFromSlotBox.Name = "StartFromSlotBox"; + this.StartFromSlotBox.Size = new System.Drawing.Size(75, 21); + this.StartFromSlotBox.TabIndex = 2000; + // + // ControlGroupBox + // + this.ControlGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.ControlGroupBox.Controls.Add(this.panel2); + this.ControlGroupBox.Controls.Add(this.StopBtn); + this.ControlGroupBox.Controls.Add(this.RunBtn); + this.ControlGroupBox.Controls.Add(this.StartFromSlotBox); + this.ControlGroupBox.Controls.Add(this.label8); + this.ControlGroupBox.Location = new System.Drawing.Point(584, 27); + this.ControlGroupBox.Name = "ControlGroupBox"; + this.ControlGroupBox.Size = new System.Drawing.Size(245, 150); + this.ControlGroupBox.TabIndex = 2004; + this.ControlGroupBox.TabStop = false; + this.ControlGroupBox.Text = "Control"; + // + // panel2 + // + this.panel2.ContextMenuStrip = this.StatsContextMenu; + this.panel2.Controls.Add(this.label1); + this.panel2.Controls.Add(this.label2); + this.panel2.Controls.Add(this.FramesLabel); + this.panel2.Controls.Add(this.AttemptsLabel); + this.panel2.Location = new System.Drawing.Point(6, 85); + this.panel2.Name = "panel2"; + this.panel2.Size = new System.Drawing.Size(140, 33); + this.panel2.TabIndex = 2003; + // + // StatsContextMenu + // + this.StatsContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ClearStatsContextMenuItem}); - this.StatsContextMenu.Name = "StatsContextMenu"; - this.StatsContextMenu.Size = new System.Drawing.Size(102, 26); - // - // ClearStatsContextMenuItem - // - this.ClearStatsContextMenuItem.Name = "ClearStatsContextMenuItem"; - this.ClearStatsContextMenuItem.Size = new System.Drawing.Size(101, 22); - this.ClearStatsContextMenuItem.Text = "&Clear"; - this.ClearStatsContextMenuItem.Click += new System.EventHandler(this.ClearStatsContextMenuItem_Click); - // - // BasicBot - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(587, 587); - this.Controls.Add(this.ControlGroupBox); - this.Controls.Add(this.GoalGroupBox); - this.Controls.Add(this.BestGroupBox); - this.Controls.Add(this.ControlsBox); - this.Controls.Add(this.BotStatusStrip); - this.Controls.Add(this.BotMenu); - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.MainMenuStrip = this.BotMenu; - this.Name = "BasicBot"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Basic Bot"; - this.Load += new System.EventHandler(this.BasicBot_Load); - this.BotMenu.ResumeLayout(false); - this.BotMenu.PerformLayout(); - this.BotStatusStrip.ResumeLayout(false); - this.BotStatusStrip.PerformLayout(); - this.ControlsBox.ResumeLayout(false); - this.BestGroupBox.ResumeLayout(false); - this.BestGroupBox.PerformLayout(); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - this.GoalGroupBox.ResumeLayout(false); - this.GoalGroupBox.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.FrameLengthNumeric)).EndInit(); - this.ControlGroupBox.ResumeLayout(false); - this.ControlGroupBox.PerformLayout(); - this.panel2.ResumeLayout(false); - this.panel2.PerformLayout(); - this.StatsContextMenu.ResumeLayout(false); - this.ResumeLayout(false); - this.PerformLayout(); + this.StatsContextMenu.Name = "StatsContextMenu"; + this.StatsContextMenu.Size = new System.Drawing.Size(102, 26); + // + // ClearStatsContextMenuItem + // + this.ClearStatsContextMenuItem.Name = "ClearStatsContextMenuItem"; + this.ClearStatsContextMenuItem.Size = new System.Drawing.Size(101, 22); + this.ClearStatsContextMenuItem.Text = "&Clear"; + this.ClearStatsContextMenuItem.Click += new System.EventHandler(this.ClearStatsContextMenuItem_Click); + // + // BasicBot + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(842, 587); + this.Controls.Add(this.ControlGroupBox); + this.Controls.Add(this.GoalGroupBox); + this.Controls.Add(this.BestGroupBox); + this.Controls.Add(this.ControlsBox); + this.Controls.Add(this.BotStatusStrip); + this.Controls.Add(this.BotMenu); + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MainMenuStrip = this.BotMenu; + this.Name = "BasicBot"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Basic Bot"; + this.Load += new System.EventHandler(this.BasicBot_Load); + this.BotMenu.ResumeLayout(false); + this.BotMenu.PerformLayout(); + this.BotStatusStrip.ResumeLayout(false); + this.BotStatusStrip.PerformLayout(); + this.ControlsBox.ResumeLayout(false); + this.BestGroupBox.ResumeLayout(false); + this.BestGroupBox.PerformLayout(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + this.GoalGroupBox.ResumeLayout(false); + this.GoalGroupBox.PerformLayout(); + this.panel6.ResumeLayout(false); + this.panel6.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.TieBreak3Numeric)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.FrameLengthNumeric)).EndInit(); + this.panel3.ResumeLayout(false); + this.panel3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.MainValueNumeric)).EndInit(); + this.panel4.ResumeLayout(false); + this.panel4.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.TieBreak1Numeric)).EndInit(); + this.panel5.ResumeLayout(false); + this.panel5.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.TieBreak2Numeric)).EndInit(); + this.ControlGroupBox.ResumeLayout(false); + this.ControlGroupBox.PerformLayout(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + this.StatsContextMenu.ResumeLayout(false); + this.ResumeLayout(false); + this.PerformLayout(); } @@ -939,24 +1186,18 @@ private System.Windows.Forms.Label FramesLabel; private System.Windows.Forms.ToolStripMenuItem OptionsSubMenu; private System.Windows.Forms.GroupBox GoalGroupBox; - private System.Windows.Forms.Label label7; private System.Windows.Forms.Label label6; private HexTextBox TieBreaker1Box; private HexTextBox TieBreaker2Box; - private HexTextBox TieBreaker3Box; private System.Windows.Forms.Label label5; - private HexTextBox MaximizeAddressBox; - private System.Windows.Forms.Label maximizeLabeltext; private System.Windows.Forms.Label label4; private System.Windows.Forms.NumericUpDown FrameLengthNumeric; private System.Windows.Forms.Label label3; private System.Windows.Forms.Button StopBtn; private System.Windows.Forms.Label label8; private System.Windows.Forms.ComboBox StartFromSlotBox; - private System.Windows.Forms.Label label12; private System.Windows.Forms.Label label11; private System.Windows.Forms.Label label10; - private System.Windows.Forms.Label label9; private System.Windows.Forms.TextBox BestTieBreak3Box; private System.Windows.Forms.TextBox BestTieBreak2Box; private System.Windows.Forms.TextBox BestTieBreak1Box; @@ -989,9 +1230,31 @@ private System.Windows.Forms.ToolStripMenuItem _1ByteMenuItem; private System.Windows.Forms.ToolStripMenuItem _2ByteMenuItem; private System.Windows.Forms.ToolStripMenuItem _4ByteMenuItem; - private System.Windows.Forms.ComboBox Tiebreak3Operator; private System.Windows.Forms.ComboBox Tiebreak2Operator; private System.Windows.Forms.ComboBox Tiebreak1Operator; - private System.Windows.Forms.ComboBox mainOperator; - } + private System.Windows.Forms.Panel panel6; + private System.Windows.Forms.ComboBox Tiebreak3Operator; + private System.Windows.Forms.Label label12; + private System.Windows.Forms.Label label7; + private HexTextBox TieBreaker3Box; + private System.Windows.Forms.NumericUpDown TieBreak3Numeric; + private System.Windows.Forms.RadioButton TieBreak3ValueRadio; + private System.Windows.Forms.RadioButton TieBreak3BestRadio; + private System.Windows.Forms.Panel panel5; + private System.Windows.Forms.NumericUpDown TieBreak2Numeric; + private System.Windows.Forms.RadioButton TieBreak2ValueRadio; + private System.Windows.Forms.RadioButton TieBreak2BestRadio; + private System.Windows.Forms.Panel panel4; + private System.Windows.Forms.NumericUpDown TieBreak1Numeric; + private System.Windows.Forms.RadioButton TieBreak1ValueRadio; + private System.Windows.Forms.RadioButton TieBreak1BestRadio; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.NumericUpDown MainValueNumeric; + private System.Windows.Forms.RadioButton MainValueRadio; + private System.Windows.Forms.RadioButton MainBestRadio; + private System.Windows.Forms.ComboBox MainOperator; + private System.Windows.Forms.Label label9; + private HexTextBox MaximizeAddressBox; + private System.Windows.Forms.Label maximizeLabeltext; + } } diff --git a/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.cs b/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.cs index eeaccbe605..8ce2c4cd4d 100644 --- a/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.cs +++ b/BizHawk.Client.EmuHawk/tools/BasicBot/BasicBot.cs @@ -44,6 +44,7 @@ namespace BizHawk.Client.EmuHawk private bool _oldCountingSetting = false; private BotAttempt _currentBotAttempt = null; private BotAttempt _bestBotAttempt = null; + private BotAttempt _comparisonBotAttempt = null; private bool _replayMode = false; private int _startFrame = 0; private string _lastRom = string.Empty; @@ -93,7 +94,9 @@ namespace BizHawk.Client.EmuHawk InitializeComponent(); Text = DialogTitle; Settings = new BasicBotSettings(); - } + + _comparisonBotAttempt = new BotAttempt(); + } private void BasicBot_Load(object sender, EventArgs e) { @@ -288,12 +291,12 @@ namespace BizHawk.Client.EmuHawk { get { - return (byte)mainOperator.SelectedIndex; + return (byte)MainOperator.SelectedIndex; } set { - if (value < 5) mainOperator.SelectedIndex = value; - else mainOperator.SelectedIndex = 0; + if (value < 5) MainOperator.SelectedIndex = value; + else MainOperator.SelectedIndex = 0; } } @@ -444,12 +447,21 @@ namespace BizHawk.Client.EmuHawk TieBreaker2Address = 0; TieBreaker3Address = 0; StartFromSlotBox.SelectedIndex = 0; - mainOperator.SelectedIndex = 0; + MainOperator.SelectedIndex = 0; Tiebreak1Operator.SelectedIndex = 0; Tiebreak2Operator.SelectedIndex = 0; Tiebreak3Operator.SelectedIndex = 0; + MainBestRadio.Checked = true; + MainValueNumeric.Value = 0; + TieBreak1Numeric.Value = 0; + TieBreak2Numeric.Value = 0; + TieBreak3Numeric.Value = 0; + TieBreak1BestRadio.Checked = true; + TieBreak2BestRadio.Checked = true; + TieBreak3BestRadio.Checked = true; UpdateBestAttempt(); + UpdateComparisonBotAttempt(); } private void OpenMenuItem_Click(object sender, EventArgs e) @@ -562,6 +574,7 @@ namespace BizHawk.Client.EmuHawk { _bestBotAttempt = null; UpdateBestAttempt(); + UpdateComparisonBotAttempt(); } private void PlayBestButton_Click(object sender, EventArgs e) @@ -625,7 +638,15 @@ namespace BizHawk.Client.EmuHawk public byte ComparisonTypeTie1 { get; set; } public byte ComparisonTypeTie2 { get; set; } public byte ComparisonTypeTie3 { get; set; } - public int FrameLength { get; set; } + public bool MainCompareToBest { get; set; } = true; + public bool TieBreaker1CompareToBest { get; set; } = true; + public bool TieBreaker2CompareToBest { get; set; } = true; + public bool TieBreaker3CompareToBest { get; set; } = true; + public int MainCompareToValue { get; set; } + public int TieBreaker1CompareToValue { get; set; } + public int TieBreaker2CompareToValue { get; set; } + public int TieBreaker3CompareToValue { get; set; } + public int FrameLength { get; set; } public string FromSlot { get; set; } public long Attempts { get; set; } public long Frames { get; set; } @@ -661,7 +682,6 @@ namespace BizHawk.Client.EmuHawk _bestBotAttempt = botData.Best; - var probabilityControls = ControlProbabilityPanel.Controls .OfType() .ToList(); @@ -682,14 +702,42 @@ namespace BizHawk.Client.EmuHawk Tie1ComparisonType = botData.ComparisonTypeTie1; Tie2ComparisonType = botData.ComparisonTypeTie2; Tie3ComparisonType = botData.ComparisonTypeTie3; - } + + MainBestRadio.Checked = botData.MainCompareToBest; + TieBreak1BestRadio.Checked = botData.TieBreaker1CompareToBest; + TieBreak2BestRadio.Checked = botData.TieBreaker2CompareToBest; + TieBreak3BestRadio.Checked = botData.TieBreaker3CompareToBest; + MainValueRadio.Checked = !botData.MainCompareToBest; + TieBreak1ValueRadio.Checked = !botData.TieBreaker1CompareToBest; + TieBreak2ValueRadio.Checked = !botData.TieBreaker2CompareToBest; + TieBreak3ValueRadio.Checked = !botData.TieBreaker3CompareToBest; + + MainValueNumeric.Value = botData.MainCompareToValue; + TieBreak1Numeric.Value = botData.TieBreaker1CompareToValue; + TieBreak2Numeric.Value = botData.TieBreaker2CompareToValue; + TieBreak3Numeric.Value = botData.TieBreaker3CompareToValue; + } catch { MainComparisonType = 0; Tie1ComparisonType = 0; Tie2ComparisonType = 0; Tie3ComparisonType = 0; - } + + MainBestRadio.Checked = true; + TieBreak1BestRadio.Checked = true; + TieBreak2BestRadio.Checked = true; + TieBreak3BestRadio.Checked = true; + MainBestRadio.Checked = false; + TieBreak1BestRadio.Checked = false; + TieBreak2BestRadio.Checked = false; + TieBreak3BestRadio.Checked = false; + + MainValueNumeric.Value = 0; + TieBreak1Numeric.Value = 0; + TieBreak2Numeric.Value = 0; + TieBreak3Numeric.Value = 0; + } FrameLength = botData.FrameLength; FromSlot = botData.FromSlot; Attempts = botData.Attempts; @@ -703,6 +751,7 @@ namespace BizHawk.Client.EmuHawk _dataSize = botData.DataSize > 0 ? botData.DataSize : 1; UpdateBestAttempt(); + UpdateComparisonBotAttempt(); if (_bestBotAttempt != null) { @@ -730,6 +779,14 @@ namespace BizHawk.Client.EmuHawk ComparisonTypeTie1 = Tie1ComparisonType, ComparisonTypeTie2 = Tie2ComparisonType, ComparisonTypeTie3 = Tie3ComparisonType, + MainCompareToBest = MainBestRadio.Checked, + TieBreaker1CompareToBest = TieBreak1BestRadio.Checked, + TieBreaker2CompareToBest = TieBreak2BestRadio.Checked, + TieBreaker3CompareToBest = TieBreak3BestRadio.Checked, + MainCompareToValue = (int)MainValueNumeric.Value, + TieBreaker1CompareToValue = (int)TieBreak1Numeric.Value, + TieBreaker2CompareToValue = (int)TieBreak2Numeric.Value, + TieBreaker3CompareToValue = (int)TieBreak3Numeric.Value, FromSlot = FromSlot, FrameLength = FrameLength, Attempts = Attempts, @@ -857,7 +914,7 @@ namespace BizHawk.Client.EmuHawk _currentBotAttempt.TieBreak3 = TieBreaker3Value; PlayBestButton.Enabled = true; - if (_bestBotAttempt == null || IsBetter(_bestBotAttempt, _currentBotAttempt)) + if (IsBetter(_comparisonBotAttempt, _currentBotAttempt)) { _bestBotAttempt = _currentBotAttempt; UpdateBestAttempt(); @@ -880,25 +937,25 @@ namespace BizHawk.Client.EmuHawk MessageLabel.Text = "Replay stopped"; } - private bool IsBetter(BotAttempt best, BotAttempt current) + private bool IsBetter(BotAttempt comparison, BotAttempt current) { - if (!TestValue(MainComparisonType, current.Maximize, best.Maximize)) + if (!TestValue(MainComparisonType, current.Maximize, comparison.Maximize)) { return false; } - else if (current.Maximize == best.Maximize) + else if (current.Maximize == comparison.Maximize) { - if (!TestValue(Tie1ComparisonType, current.TieBreak1, best.TieBreak1)) + if (!TestValue(Tie1ComparisonType, current.TieBreak1, comparison.TieBreak1)) { return false; } - else if (current.TieBreak1 == best.TieBreak1) + else if (current.TieBreak1 == comparison.TieBreak1) { - if (!TestValue(Tie2ComparisonType, current.TieBreak2, best.TieBreak2)) + if (!TestValue(Tie2ComparisonType, current.TieBreak2, comparison.TieBreak2)) { return false; } - else if (current.TieBreak2 == best.TieBreak2) + else if (current.TieBreak2 == comparison.TieBreak2) { if (!TestValue(Tie3ComparisonType, current.TieBreak3, current.TieBreak3)) { @@ -933,8 +990,6 @@ namespace BizHawk.Client.EmuHawk { if (_bestBotAttempt != null) { - - ClearBestButton.Enabled = true; BestAttemptNumberLabel.Text = _bestBotAttempt.Attempt.ToString(); BestMaximizeBox.Text = _bestBotAttempt.Maximize.ToString(); @@ -1101,5 +1156,160 @@ namespace BizHawk.Client.EmuHawk && !string.IsNullOrWhiteSpace(MaximizeAddressBox.Text) && ControlProbabilities.Any(kvp => kvp.Value > 0); } + + /// + /// Updates comparison bot attempt with current best bot attempt values for values where the "best" radio button is selected + /// + private void UpdateComparisonBotAttempt() + { + if(_bestBotAttempt == null) + { + if (MainBestRadio.Checked) + { + _comparisonBotAttempt.Maximize = 0; + } + + if (TieBreak1BestRadio.Checked) + { + _comparisonBotAttempt.TieBreak1 = 0; + } + + if (TieBreak2BestRadio.Checked) + { + _comparisonBotAttempt.TieBreak2= 0; + } + + if (TieBreak3BestRadio.Checked) + { + _comparisonBotAttempt.TieBreak3 = 0; + } + } + else + { + if (MainBestRadio.Checked && _bestBotAttempt.Maximize != _comparisonBotAttempt.Maximize) + { + _comparisonBotAttempt.Maximize = _bestBotAttempt.Maximize; + } + + if (TieBreak1BestRadio.Checked && _bestBotAttempt.TieBreak1 != _comparisonBotAttempt.TieBreak1) + { + _comparisonBotAttempt.TieBreak1 = _bestBotAttempt.TieBreak1; + } + + if (TieBreak2BestRadio.Checked && _bestBotAttempt.TieBreak2 != _comparisonBotAttempt.TieBreak2) + { + _comparisonBotAttempt.TieBreak2 = _bestBotAttempt.TieBreak2; + } + + if (TieBreak3BestRadio.Checked && _bestBotAttempt.TieBreak3 != _comparisonBotAttempt.TieBreak3) + { + _comparisonBotAttempt.TieBreak3 = _bestBotAttempt.TieBreak3; + } + } + } + + private void MainBestRadio_CheckedChanged(object sender, EventArgs e) + { + RadioButton radioButton = (RadioButton)sender; + if (radioButton.Checked) + { + this.MainValueNumeric.Enabled = false; + _comparisonBotAttempt.Maximize = _bestBotAttempt == null ? 0 : _bestBotAttempt.Maximize; + } + } + + private void Tiebreak1BestRadio_CheckedChanged(object sender, EventArgs e) + { + RadioButton radioButton = (RadioButton)sender; + if (radioButton.Checked) + { + this.TieBreak1Numeric.Enabled = false; + _comparisonBotAttempt.TieBreak1 = _bestBotAttempt == null ? 0 : _bestBotAttempt.TieBreak1; + } + } + + private void Tiebreak2BestRadio_CheckedChanged(object sender, EventArgs e) + { + RadioButton radioButton = (RadioButton)sender; + if (radioButton.Checked) + { + this.TieBreak2Numeric.Enabled = false; + _comparisonBotAttempt.TieBreak2 = _bestBotAttempt == null ? 0 : _bestBotAttempt.TieBreak2; + } + } + + private void Tiebreak3BestRadio_CheckedChanged(object sender, EventArgs e) + { + RadioButton radioButton = (RadioButton)sender; + if (radioButton.Checked) + { + this.TieBreak3Numeric.Enabled = false; + _comparisonBotAttempt.TieBreak3 = _bestBotAttempt == null ? 0 : _bestBotAttempt.TieBreak3; + } + } + + private void MainValueRadio_CheckedChanged(object sender, EventArgs e) + { + RadioButton radioButton = (RadioButton)sender; + if (radioButton.Checked) + { + this.MainValueNumeric.Enabled = true; + _comparisonBotAttempt.Maximize = (int)this.MainValueNumeric.Value; + } + } + + private void TieBreak1ValueRadio_CheckedChanged(object sender, EventArgs e) + { + RadioButton radioButton = (RadioButton)sender; + if (radioButton.Checked) + { + this.TieBreak1Numeric.Enabled = true; + _comparisonBotAttempt.TieBreak1 = (int)this.TieBreak1Numeric.Value; + } + } + + private void TieBreak2ValueRadio_CheckedChanged(object sender, EventArgs e) + { + RadioButton radioButton = (RadioButton)sender; + if (radioButton.Checked) + { + this.TieBreak2Numeric.Enabled = true; + _comparisonBotAttempt.TieBreak2 = (int)this.TieBreak2Numeric.Value; + } + } + + private void TieBreak3ValueRadio_CheckedChanged(object sender, EventArgs e) + { + RadioButton radioButton = (RadioButton)sender; + if (radioButton.Checked) + { + this.TieBreak3Numeric.Enabled = true; + _comparisonBotAttempt.TieBreak3 = (int)this.TieBreak3Numeric.Value; + } + } + + private void MainValueNumeric_ValueChanged(object sender, EventArgs e) + { + NumericUpDown numericUpDown = (NumericUpDown)sender; + this._comparisonBotAttempt.Maximize = (int)numericUpDown.Value; + } + + private void TieBreak1Numeric_ValueChanged(object sender, EventArgs e) + { + NumericUpDown numericUpDown = (NumericUpDown)sender; + this._comparisonBotAttempt.TieBreak1 = (int)numericUpDown.Value; + } + + private void TieBreak2Numeric_ValueChanged(object sender, EventArgs e) + { + NumericUpDown numericUpDown = (NumericUpDown)sender; + this._comparisonBotAttempt.TieBreak2 = (int)numericUpDown.Value; + } + + private void TieBreak3Numeric_ValueChanged(object sender, EventArgs e) + { + NumericUpDown numericUpDown = (NumericUpDown)sender; + this._comparisonBotAttempt.TieBreak3 = (int)numericUpDown.Value; + } } }