ImageBoxSample/MainForm.Designer.cs
Download
imageboxsample-part3.zip
(443.55 KB | 23 August 2010 )
Sample project showing how to create an image viewer that supports scrolling with the mouse and keyboard, and panning with the mouse.
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-part3.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.statusStrip = new System.Windows.Forms.StatusStrip();
this.positionToolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.statusStrip.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, 444);
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::Cyotek.Windows.Forms.Properties.Resources.Abstract;
this.imageBox.Location = new System.Drawing.Point(0, 0);
this.imageBox.Name = "imageBox";
this.imageBox.Size = new System.Drawing.Size(587, 444);
this.imageBox.TabIndex = 0;
this.imageBox.Scroll += new System.Windows.Forms.ScrollEventHandler(this.imageBox_Scroll);
//
// 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, 444);
this.propertyGrid.TabIndex = 0;
//
// statusStrip
//
this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.positionToolStripStatusLabel});
this.statusStrip.Location = new System.Drawing.Point(0, 444);
this.statusStrip.Name = "statusStrip";
this.statusStrip.Size = new System.Drawing.Size(887, 22);
this.statusStrip.TabIndex = 1;
//
// positionToolStripStatusLabel
//
this.positionToolStripStatusLabel.Name = "positionToolStripStatusLabel";
this.positionToolStripStatusLabel.Size = new System.Drawing.Size(0, 17);
//
// 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.Controls.Add(this.statusStrip);
this.Name = "MainForm";
this.Text = "cyotek.com ImageBox Part 3 Example : Panning";
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
this.splitContainer1.ResumeLayout(false);
this.statusStrip.ResumeLayout(false);
this.statusStrip.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private Cyotek.Windows.Forms.ImageBox imageBox;
private System.Windows.Forms.PropertyGrid propertyGrid;
private System.Windows.Forms.StatusStrip statusStrip;
private System.Windows.Forms.ToolStripStatusLabel positionToolStripStatusLabel;
}
}
