|
namespace PreviewHandlersDemo
{
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.components = new System.ComponentModel.Container();
this.openDocumentButton = new System.Windows.Forms.Button();
this.pathToDocumentTextBox = new System.Windows.Forms.TextBox();
this.pathToDocumentLabel = new System.Windows.Forms.Label();
this.displayTypeIconRadioButton = new System.Windows.Forms.RadioButton();
this.displayTypeContentRadioButton = new System.Windows.Forms.RadioButton();
this.previousButton = new System.Windows.Forms.Button();
this.nextButton = new System.Windows.Forms.Button();
this.browseFileButton = new System.Windows.Forms.Button();
this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
this.previewContainer = new PreviewHandlers.PreviewContainer();
this.fullPathToolTip = new System.Windows.Forms.ToolTip(this.components);
this.SuspendLayout();
//
// openDocumentButton
//
this.openDocumentButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.openDocumentButton.Location = new System.Drawing.Point(12, 57);
this.openDocumentButton.Name = "openDocumentButton";
this.openDocumentButton.Size = new System.Drawing.Size(162, 41);
this.openDocumentButton.TabIndex = 1;
this.openDocumentButton.Text = "Open linked document";
this.openDocumentButton.UseVisualStyleBackColor = true;
this.openDocumentButton.Click += new System.EventHandler(this.openDocument);
//
// pathToDocumentTextBox
//
this.pathToDocumentTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pathToDocumentTextBox.Location = new System.Drawing.Point(12, 31);
this.pathToDocumentTextBox.Name = "pathToDocumentTextBox";
this.pathToDocumentTextBox.Size = new System.Drawing.Size(476, 20);
this.pathToDocumentTextBox.TabIndex = 3;
this.pathToDocumentTextBox.Text = ".\\Samples\\test.tif";
//
// pathToDocumentLabel
//
this.pathToDocumentLabel.AutoSize = true;
this.pathToDocumentLabel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.pathToDocumentLabel.Location = new System.Drawing.Point(9, 15);
this.pathToDocumentLabel.Name = "pathToDocumentLabel";
this.pathToDocumentLabel.Size = new System.Drawing.Size(112, 13);
this.pathToDocumentLabel.TabIndex = 4;
this.pathToDocumentLabel.Text = "Full path to document:";
this.fullPathToolTip.SetToolTip(this.pathToDocumentLabel, "Some preview handlers (MS Office for example) need full path to documents!");
//
// displayTypeIconRadioButton
//
this.displayTypeIconRadioButton.AutoSize = true;
this.displayTypeIconRadioButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.displayTypeIconRadioButton.Location = new System.Drawing.Point(196, 69);
this.displayTypeIconRadioButton.Name = "displayTypeIconRadioButton";
this.displayTypeIconRadioButton.Size = new System.Drawing.Size(82, 17);
this.displayTypeIconRadioButton.TabIndex = 5;
this.displayTypeIconRadioButton.Text = "Display icon";
this.displayTypeIconRadioButton.UseVisualStyleBackColor = true;
//
// displayTypeContentRadioButton
//
this.displayTypeContentRadioButton.AutoSize = true;
this.displayTypeContentRadioButton.Checked = true;
this.displayTypeContentRadioButton.ImeMode = System.Windows.Forms.ImeMode.NoControl;
this.displayTypeContentRadioButton.Location = new System.Drawing.Point(295, 69);
this.displayTypeContentRadioButton.Name = "displayTypeContentRadioButton";
this.displayTypeContentRadioButton.Size = new System.Drawing.Size(98, 17);
this.displayTypeContentRadioButton.TabIndex = 6;
this.displayTypeContentRadioButton.TabStop = true;
this.displayTypeContentRadioButton.Text = "Display content";
this.displayTypeContentRadioButton.UseVisualStyleBackColor = true;
//
// previousButton
//
this.previousButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.previousButton.Enabled = false;
this.previousButton.Location = new System.Drawing.Point(214, 521);
this.previousButton.Name = "previousButton";
this.previousButton.Size = new System.Drawing.Size(75, 23);
this.previousButton.TabIndex = 9;
this.previousButton.Text = "<< Previous";
this.previousButton.UseVisualStyleBackColor = true;
this.previousButton.Click += new System.EventHandler(this.previousButton_Click);
//
// nextButton
//
this.nextButton.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.nextButton.Enabled = false;
this.nextButton.Location = new System.Drawing.Point(295, 521);
this.nextButton.Name = "nextButton";
this.nextButton.Size = new System.Drawing.Size(75, 23);
this.nextButton.TabIndex = 10;
this.nextButton.Text = "Next >>";
this.nextButton.UseVisualStyleBackColor = true;
this.nextButton.Click += new System.EventHandler(this.nextButton_Click);
//
// browseFileButton
//
this.browseFileButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.browseFileButton.Location = new System.Drawing.Point(494, 28);
this.browseFileButton.Name = "browseFileButton";
this.browseFileButton.Size = new System.Drawing.Size(75, 23);
this.browseFileButton.TabIndex = 11;
this.browseFileButton.Text = "Browse...";
this.browseFileButton.UseVisualStyleBackColor = true;
this.browseFileButton.Click += new System.EventHandler(this.browseFileButton_Click);
//
// openFileDialog
//
this.openFileDialog.FileName = "*.*";
this.openFileDialog.RestoreDirectory = true;
this.openFileDialog.ShowHelp = true;
this.openFileDialog.ShowReadOnly = true;
this.openFileDialog.SupportMultiDottedExtensions = true;
//
// previewContainer
//
this.previewContainer.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.previewContainer.DisplayType = PreviewHandlers.DisplayType.DisplayIcon;
this.previewContainer.Location = new System.Drawing.Point(12, 104);
this.previewContainer.Name = "previewContainer";
this.previewContainer.Size = new System.Drawing.Size(557, 405);
this.previewContainer.TabIndex = 8;
//
// fullPathToolTip
//
this.fullPathToolTip.AutoPopDelay = 10000;
this.fullPathToolTip.InitialDelay = 500;
this.fullPathToolTip.IsBalloon = true;
this.fullPathToolTip.ReshowDelay = 100;
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(581, 556);
this.Controls.Add(this.browseFileButton);
this.Controls.Add(this.nextButton);
this.Controls.Add(this.previousButton);
this.Controls.Add(this.previewContainer);
this.Controls.Add(this.displayTypeContentRadioButton);
this.Controls.Add(this.displayTypeIconRadioButton);
this.Controls.Add(this.pathToDocumentLabel);
this.Controls.Add(this.pathToDocumentTextBox);
this.Controls.Add(this.openDocumentButton);
this.Name = "MainForm";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "PreviewHandlers Demo";
this.Load += new System.EventHandler(this.MainForm_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button openDocumentButton;
private System.Windows.Forms.TextBox pathToDocumentTextBox;
private System.Windows.Forms.Label pathToDocumentLabel;
private System.Windows.Forms.RadioButton displayTypeIconRadioButton;
private System.Windows.Forms.RadioButton displayTypeContentRadioButton;
private PreviewHandlers.PreviewContainer previewContainer;
private System.Windows.Forms.Button previousButton;
private System.Windows.Forms.Button nextButton;
private System.Windows.Forms.Button browseFileButton;
private System.Windows.Forms.OpenFileDialog openFileDialog;
private System.Windows.Forms.ToolTip fullPathToolTip;
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm a Russian (Moscow Aviational Institute 1996-2002) Software Engineer living in Moscow, Russia. I have a long experience in Windows programming and have been developing large GUI, Real Time Enterprise Client/Server C# applications and SQL Server/Oracle databases.
My point of interests is high load enterprise applications.