using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace PDFCreatorApp
{
	/// <summary>
	/// Summary description for PagesForm.
	/// </summary>
	public class PagesForm : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Button button1;
		public System.Windows.Forms.TextBox txtFromPage;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label4;
		public System.Windows.Forms.TextBox txtToPage;
		public System.Windows.Forms.TextBox txtNumPages;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public PagesForm()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(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.button1 = new System.Windows.Forms.Button();
			this.txtFromPage = new System.Windows.Forms.TextBox();
			this.label1 = new System.Windows.Forms.Label();
			this.button2 = new System.Windows.Forms.Button();
			this.label2 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.label4 = new System.Windows.Forms.Label();
			this.txtToPage = new System.Windows.Forms.TextBox();
			this.txtNumPages = new System.Windows.Forms.TextBox();
			this.SuspendLayout();
			// 
			// button1
			// 
			this.button1.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.button1.Location = new System.Drawing.Point(64, 184);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(112, 24);
			this.button1.TabIndex = 5;
			this.button1.Text = "Ok";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// txtFromPage
			// 
			this.txtFromPage.Location = new System.Drawing.Point(168, 56);
			this.txtFromPage.Name = "txtFromPage";
			this.txtFromPage.Size = new System.Drawing.Size(128, 20);
			this.txtFromPage.TabIndex = 4;
			this.txtFromPage.Text = "";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(32, 54);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(152, 24);
			this.label1.TabIndex = 3;
			this.label1.Text = "From page number:";
			// 
			// button2
			// 
			this.button2.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.button2.Location = new System.Drawing.Point(184, 184);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(112, 24);
			this.button2.TabIndex = 6;
			this.button2.Text = "Cancel";
			// 
			// label2
			// 
			this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
			this.label2.Location = new System.Drawing.Point(32, 16);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(264, 24);
			this.label2.TabIndex = 7;
			this.label2.Text = "Move pages ";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(32, 134);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(152, 24);
			this.label3.TabIndex = 8;
			this.label3.Text = "Number of pages to move:";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(32, 94);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(152, 24);
			this.label4.TabIndex = 9;
			this.label4.Text = "To page number:";
			// 
			// txtToPage
			// 
			this.txtToPage.Location = new System.Drawing.Point(168, 96);
			this.txtToPage.Name = "txtToPage";
			this.txtToPage.Size = new System.Drawing.Size(128, 20);
			this.txtToPage.TabIndex = 10;
			this.txtToPage.Text = "";
			// 
			// txtNumPages
			// 
			this.txtNumPages.Location = new System.Drawing.Point(168, 136);
			this.txtNumPages.Name = "txtNumPages";
			this.txtNumPages.Size = new System.Drawing.Size(128, 20);
			this.txtNumPages.TabIndex = 11;
			this.txtNumPages.Text = "";
			// 
			// PagesForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.CancelButton = this.button2;
			this.ClientSize = new System.Drawing.Size(360, 230);
			this.Controls.Add(this.txtNumPages);
			this.Controls.Add(this.txtToPage);
			this.Controls.Add(this.label4);
			this.Controls.Add(this.label3);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.button2);
			this.Controls.Add(this.button1);
			this.Controls.Add(this.txtFromPage);
			this.Controls.Add(this.label1);
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "PagesForm";
			this.Text = "Page";
			this.ResumeLayout(false);

		}
		#endregion

		private void button1_Click(object sender, System.EventArgs e)
		{
			this.Close();
		}
	}
}
