From 089c487f260654b35f32a48de15e457ee80821f7 Mon Sep 17 00:00:00 2001 From: Trivial-Man Date: Tue, 20 Jun 2017 01:16:57 -0600 Subject: [PATCH] Use LuaPictureBox for the LuaCanvas --- .../tools/Lua/LuaCanvas.Designer.cs | 64 ++++++++++--------- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/Lua/LuaCanvas.Designer.cs b/BizHawk.Client.EmuHawk/tools/Lua/LuaCanvas.Designer.cs index 5e893f83a2..dc0b640832 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/LuaCanvas.Designer.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/LuaCanvas.Designer.cs @@ -1,4 +1,4 @@ -namespace BizHawk.Client.EmuHawk +namespace BizHawk.Client.EmuHawk { partial class LuaCanvas { @@ -28,39 +28,41 @@ /// private void InitializeComponent() { - this.pictureBox = new System.Windows.Forms.PictureBox(); - ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit(); - this.SuspendLayout(); - // - // pictureBox - // - this.pictureBox.Location = new System.Drawing.Point(0, 0); - this.pictureBox.Margin = new System.Windows.Forms.Padding(0); - this.pictureBox.Name = "pictureBox"; - this.pictureBox.Size = new System.Drawing.Size(282, 260); - this.pictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; - this.pictureBox.TabIndex = 0; - this.pictureBox.TabStop = false; - // - // LuaCanvas - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.AutoSize = true; - this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; - this.ClientSize = new System.Drawing.Size(284, 261); - this.Controls.Add(this.pictureBox); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.Name = "LuaCanvas"; - this.Text = "LuaCanvas"; - ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LuaCanvas)); + this.luaPictureBox = new BizHawk.Client.EmuHawk.LuaPictureBox(); + ((System.ComponentModel.ISupportInitialize)(this.luaPictureBox)).BeginInit(); + this.SuspendLayout(); + // + // luaPictureBox + // + this.luaPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("luaPictureBox.Image"))); + this.luaPictureBox.Location = new System.Drawing.Point(0, 0); + this.luaPictureBox.Margin = new System.Windows.Forms.Padding(0); + this.luaPictureBox.Name = "luaPictureBox"; + this.luaPictureBox.Size = new System.Drawing.Size(282, 260); + this.luaPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize; + this.luaPictureBox.TabIndex = 0; + this.luaPictureBox.TabStop = false; + // + // LuaCanvas + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoSize = true; + this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink; + this.ClientSize = new System.Drawing.Size(284, 261); + this.Controls.Add(this.luaPictureBox); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; + this.Name = "LuaCanvas"; + this.Text = "LuaCanvas"; + ((System.ComponentModel.ISupportInitialize)(this.luaPictureBox)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } #endregion - private System.Windows.Forms.PictureBox pictureBox; + private LuaPictureBox luaPictureBox; } -} \ No newline at end of file +}