ImageBoxSample/MainForm.Designer.cs
Download
imageboxsample-part2.zip
(441.84 KB | 13 August 2010 )
Second in a multi part series on creating an image viewer that can be scrolled and zoomed in C#. After part one created the initial component with auto resize, we now add scrolling support.
Donate
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Contents of imageboxsample-part2.zip/ImageBoxSample/MainForm.Designer.cs
namespace ImageBoxSample
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.imageBox = new Cyotek.Windows.Forms.ImageBox();
this.propertyGrid = new System.Windows.Forms.PropertyGrid();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.imageBox);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.propertyGrid);
this.splitContainer1.Size = new System.Drawing.Size(887, 466);
this.splitContainer1.SplitterDistance = 587;
this.splitContainer1.TabIndex = 0;
//
// imageBox
//
this.imageBox.AutoScroll = true;
this.imageBox.AutoSize = false;
this.imageBox.Dock = System.Windows.Forms.DockStyle.Fill;
this.imageBox.Image = global::ImageBoxSample.Properties.Resources.Abstract;
this.imageBox.Location = new System.Drawing.Point(0, 0);
this.imageBox.Name = "imageBox";
this.imageBox.Size = new System.Drawing.Size(587, 466);
this.imageBox.TabIndex = 0;
//
// propertyGrid
//
this.propertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
this.propertyGrid.Location = new System.Drawing.Point(0, 0);
this.propertyGrid.Name = "propertyGrid";
this.propertyGrid.SelectedObject = this.imageBox;
this.propertyGrid.Size = new System.Drawing.Size(296, 466);
this.propertyGrid.TabIndex = 0;
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(887, 466);
this.Controls.Add(this.splitContainer1);
this.Name = "MainForm";
this.Text = "cyotek.com ImageBox with AutoScroll Example ";
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private Cyotek.Windows.Forms.ImageBox imageBox;
private System.Windows.Forms.PropertyGrid propertyGrid;
}
}
