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

namespace NetSniff
{
	/// <summary>
	/// Podsumowanie dla Viewdata.
	/// </summary>
	public class frmViewData : System.Windows.Forms.Form
	{
		private System.Windows.Forms.TextBox txtData;
		/// <summary>
		/// Wymagana zmienna.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public frmViewData()
		{
			//
			// Wymagane do obsługi Windows Form Designer
			//
			InitializeComponent();

			//
			// TODO: Dodanie kodu konstruktora po wywołaniu InitializeComponent
			//
		}

		public void SetText(string text)
		{
			this.txtData.Text = text;
		}

		/// <summary>
		/// Oczyszczenie używanych zasobów.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Metoda wymagana do obsługi Designera - nie należy modyfikować
		/// zawartości tej metody przy użyciu edytora kodu.
		/// </summary>
		private void InitializeComponent()
		{
			this.txtData = new System.Windows.Forms.TextBox();
			this.SuspendLayout();
			// 
			// txtData
			// 
			this.txtData.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right);
			this.txtData.Location = new System.Drawing.Point(8, 8);
			this.txtData.Multiline = true;
			this.txtData.Name = "txtData";
			this.txtData.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
			this.txtData.Size = new System.Drawing.Size(376, 240);
			this.txtData.TabIndex = 0;
			this.txtData.Text = "";
			// 
			// frmViewData
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(392, 254);
			this.Controls.AddRange(new System.Windows.Forms.Control[] {
																		  this.txtData});
			this.Name = "frmViewData";
			this.Text = "View Data";
			this.ResumeLayout(false);

		}
		#endregion
	}
}
