Thumbnail sizes are changed after their frames are turned on or off
This commit is contained in:
@@ -14,27 +14,8 @@ namespace EveOPreview.UI
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.RenderAreaPictureBox = new System.Windows.Forms.PictureBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.RenderAreaPictureBox)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// RenderAreaPictureBox
|
||||
//
|
||||
this.RenderAreaPictureBox.BackColor = System.Drawing.Color.Transparent;
|
||||
this.RenderAreaPictureBox.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
||||
this.RenderAreaPictureBox.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.RenderAreaPictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.RenderAreaPictureBox.Location = new System.Drawing.Point(0, 0);
|
||||
this.RenderAreaPictureBox.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.RenderAreaPictureBox.Name = "RenderAreaPictureBox";
|
||||
this.RenderAreaPictureBox.Size = new System.Drawing.Size(153, 89);
|
||||
this.RenderAreaPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
||||
this.RenderAreaPictureBox.TabIndex = 0;
|
||||
this.RenderAreaPictureBox.TabStop = false;
|
||||
this.RenderAreaPictureBox.MouseLeave += new System.EventHandler(this.LostFocus_Handler);
|
||||
this.RenderAreaPictureBox.MouseHover += new System.EventHandler(this.Focused_Handler);
|
||||
this.RenderAreaPictureBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ThumbnailActivated_Handler);
|
||||
//
|
||||
// ThumbnailView
|
||||
//
|
||||
this.AccessibleRole = System.Windows.Forms.AccessibleRole.None;
|
||||
@@ -42,7 +23,6 @@ namespace EveOPreview.UI
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(153, 89);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.RenderAreaPictureBox);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
@@ -53,18 +33,17 @@ namespace EveOPreview.UI
|
||||
this.ShowInTaskbar = false;
|
||||
this.Text = "Preview";
|
||||
this.TopMost = true;
|
||||
this.MouseLeave += new System.EventHandler(this.LostFocus_Handler);
|
||||
this.MouseHover += new System.EventHandler(this.Focused_Handler);
|
||||
this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.ThumbnailActivated_Handler);
|
||||
this.Move += new System.EventHandler(this.Move_Handler);
|
||||
this.Resize += new System.EventHandler(this.Resize_Handler);
|
||||
((System.ComponentModel.ISupportInitialize)(this.RenderAreaPictureBox)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.PictureBox RenderAreaPictureBox;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user