WinFuture-Forum.de: Ping Unter Visual Basic 2008 Programmieren. - WinFuture-Forum.de

Zum Inhalt wechseln

Nachrichten zum Thema: Entwicklung
Seite 1 von 1

Ping Unter Visual Basic 2008 Programmieren. Kleines prog schreiben


#1 Mitglied ist offline   Masterstrike 

  • Gruppe: aktive Mitglieder
  • Beiträge: 25
  • Beigetreten: 25. September 08
  • Reputation: 0

geschrieben 02. Oktober 2008 - 08:22

Hallo liebe Programmierer,


ich möchte unter VB ein Programm schreiben das ich 5 verschieden host anpinge und wenn der Ping ok war ist ein button grün und wenn net dann rot. So in etwa sollte das laufen. Villt am besten noch mit einen kleinen fenster mit den man den staus mitverfolgen kann.

Ich habe schon sehr viel ausprobiert aber leider funtzt nix von alledem. Jetzt verzweifel ich gerade und bitte euch um hilfe. villt hat jemand von eu
ch eine gute idee. Ich wäre für jede idee dankar.

Vielen dank im vorraus.

LG Mastertstrike
0

Anzeige



#2 Mitglied ist offline   martin_mt 

  • Gruppe: aktive Mitglieder
  • Beiträge: 515
  • Beigetreten: 19. August 02
  • Reputation: 0
  • Geschlecht:Männlich

geschrieben 02. Oktober 2008 - 08:45

ab studio 2005:

Return My.Computer.Network.Ping(HostNameOrAddress)



2003 (auf cmd zugreifen, dann siehst du allerdings ein cmd fenster kurz aufblinken)
Dim p As New System.Diagnostics.Process 
p.StartInfo.FileName = "ping" 
p.StartInfo.Arguments = strDomain 
p.StartInfo.RedirectStandardOutput = True 
p.StartInfo.UseShellExecute = False 
p.Start() 
p.WaitForExit() 
Dim sResult As String = p.StandardOutput.ReadToEnd




und das ganze händisch programmiert, damit es kein commandfenster gibt .. (ps: google ist dein freund *g*)

Option Strict On
Imports System.Net
Imports System.Net.Sockets
Imports System.Runtime.InteropServices
 
Public Class ICMPClass
  Public Function Ping(ByVal Host As String, Optional ByVal Timeout As Integer = 200, Optional ByVal TTL As Byte = 32, Optional ByVal DataSize As Long = 32) As Boolean
	Dim IP As IPAddress
	Dim opt As ICMPOptions
	Try
	  IP = Dns.GetHostByName(Host).AddressList(0)
	Catch ex As Exception
	  Return False
	End Try
 
	opt.Timeout = Timeout
	opt.TimeToLive = TTL
	opt.DatSize = DataSize
	Return Ping(IP, opt)
  End Function
 
  Public Function Ping(ByVal IP As IPAddress, ByVal opt As ICMPOptions) As Boolean
	Dim ICMPHandle As IntPtr
	Dim iIP As Int32
	Dim sData As String
	Dim oICMPOptions As New ICMPClass.ICMP_OPTIONS
	Dim ICMPReply As ICMP_ECHO_REPLY
	Dim iReplies As Int32
	ICMPHandle = IcmpCreateFile
	iIP = System.BitConverter.ToInt32(IP.GetAddressBytes, 0)
	sData = "X"
	oICMPOptions.Ttl = opt.TimeToLive
	iReplies = IcmpSendEcho(ICMPHandle, iIP, sData, sData.Length, oICMPOptions, ICMPReply, Marshal.SizeOf(ICMPReply), opt.Timeout)
	Return CBool(ICMPReply.Status = 0)
  End Function
 
  Private Declare Auto Function IcmpCreateFile Lib "ICMP.DLL" () As IntPtr
  Private Declare Auto Function IcmpSendEcho Lib "ICMP.DLL" _
  (ByVal IcmpHandle As IntPtr, ByVal DestinationAddress As Integer, _
  ByVal RequestData As String, ByVal RequestSize As Integer, _
  ByRef RequestOptions As ICMP_OPTIONS, ByRef ReplyBuffer As ICMP_ECHO_REPLY, _
  ByVal ReplySize As Integer, ByVal Timeout As Integer) As Integer
  <StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Ansi)> _
  Public Structure ICMP_OPTIONS
	Public Ttl As Byte
	Public Tos As Byte
	Public Flags As Byte
	Public OptionsSize As Byte
	Public OptionsData As IntPtr
  End Structure
  <StructLayout(LayoutKind.Sequential, CharSet:=CharSet.Ansi)> _
  Public Structure ICMP_ECHO_REPLY
	Public Address As Integer
	Public Status As Integer
	Public RoundTripTime As Integer
	Public DataSize As Short
	Public Reserved As Short
	Public DataPtr As IntPtr
	Public Options As ICMP_OPTIONS
	<MarshalAs(UnmanagedType.ByValTStr, SizeConst:=250)> _
	Public Data As String
  End Structure
  Public Structure ICMPReplyStructure
	Public ReplyFrom As IPAddress
	Public RoundTripTime As Integer
	Public Data As String
	Public Status As Integer
	Public Message As String
	Public TTL As Byte
  End Structure
  Public Structure ICMPOptions
	Public Timeout As Integer
	Public TimeToLive As Byte
	Public DatSize As Long
  End Structure
End Class

Nutzen kannst du die Klasse so:
Dim c As New ICMPClass
Dim b As Boolean = c.Ping("server")
Debug.Write(b)

Dieser Beitrag wurde von martin_mt bearbeitet: 02. Oktober 2008 - 08:46

0

#3 Mitglied ist offline   Masterstrike 

  • Gruppe: aktive Mitglieder
  • Beiträge: 25
  • Beigetreten: 25. September 08
  • Reputation: 0

geschrieben 02. Oktober 2008 - 11:15

Ohhh waaa ^^

sauber da werde ich erst mal ausprobieren und bissel rumproggen :-)

ja gegoogled habe ich auch ganz viel nur onkel google hat es zu gut gemeint und mir zuvie gegeben wovon ich nix gebrauchen konnte.

mit: Dim b As Boolean = c.Ping("server") ist "server" der zu pingende host gemeint oder ?! :-)
Ich berichte euch üner erfolg oder misserfolg :(


vielen dank für die schnelle hilfe.
0

#4 Mitglied ist offline   Masterstrike 

  • Gruppe: aktive Mitglieder
  • Beiträge: 25
  • Beigetreten: 25. September 08
  • Reputation: 0

geschrieben 02. Oktober 2008 - 11:28

hallo martin_mt

aaaaaalso ^^

Ich habe den "großen" quelltext in mein VB kopiert aber der zeit mir noch viele fehler an :-( ..hast du villt dir Projektdatei die du mir geben kannst ?

mit den importieren der system.net usw habe ich auch leider probleme.

lg Masterstrike
0

#5 Mitglied ist offline   martin_mt 

  • Gruppe: aktive Mitglieder
  • Beiträge: 515
  • Beigetreten: 19. August 02
  • Reputation: 0
  • Geschlecht:Männlich

geschrieben 02. Oktober 2008 - 11:55

server ist der zu pingende host, ja



und zu dem "langen" codebeispiel, offenbar hab ich da n bischen was vergessen zu kopieren *schäm*

http://www.planet-source-code.com/vb/scrip...4&lngWId=10


kanns leider nicht ausprobieren weil ich hier keine entwicklungsumgebung hab ..

aber allein schon vom umfang des codes würde ich es an deiner stelle mit

Return My.Computer.Network.Ping(HostNameOrAddress)


=> info zu der funktion -> msdn
http://msdn.microsof...a5t(VS.80).aspx

versuchen :(



edit:
ich weiss ja nicht mit was du bei google gesucht hast...

aber bei mir war einfach nur "vb" und "ping"

http://www.google.at...q=vb+ping&meta=

Dieser Beitrag wurde von martin_mt bearbeitet: 02. Oktober 2008 - 11:59

0

#6 Mitglied ist offline   Masterstrike 

  • Gruppe: aktive Mitglieder
  • Beiträge: 25
  • Beigetreten: 25. September 08
  • Reputation: 0

geschrieben 02. Oktober 2008 - 15:07

kk tHX ich werde das mal ausprobieren :-)

LG Pascal
0

#7 Mitglied ist offline   Masterstrike 

  • Gruppe: aktive Mitglieder
  • Beiträge: 25
  • Beigetreten: 25. September 08
  • Reputation: 0

  geschrieben 02. Oktober 2008 - 15:52

hey.. ganz großes danke an dich martin,

Return My.Computer.Network.Ping(HostNameOrAddress)

rennt supiiiii... kurzes und gutes progg geschrieben paar tolle buttons und macht alles was ich brauceh :-)

Besten dank

LG Pascal
0

#8 Mitglied ist offline   TheBrain 

  • Gruppe: aktive Mitglieder
  • Beiträge: 1.023
  • Beigetreten: 23. Dezember 04
  • Reputation: 0

geschrieben 04. Oktober 2008 - 04:27

Könntest du das fertige Programm hier veröffentlichen oder mir per Email schicken ? (wenn mögl. inkl. Source)
0

#9 Mitglied ist offline   Ludacris 

  • Gruppe: Moderation
  • Beiträge: 4.689
  • Beigetreten: 28. Mai 06
  • Reputation: 218
  • Geschlecht:Männlich

geschrieben 05. Oktober 2008 - 22:42

 

	* Imports System
	* Imports System.Collections.Generic
	* Imports System.ComponentModel
	* Imports System.Data
	* Imports System.Drawing
	* Imports System.Linq
	* Imports System.Text
	* Imports System.Windows.Forms
	* Imports System.Net.NetworkInformation
	*
	* Namespace ping
	*	 Public Partial Class Form1
	*		 Inherits Form
	*		 Public Sub New()
	*			 InitializeComponent()
	*		 End Sub
	*		
	*		 Private Sub button1_Click(sender As Object, e As EventArgs)
	*			 If textBox1.Text = "" Then
	*				 textBox1.Text = "www.winxperts.net"
	*			 End If
	*			 If textBox2.Text = "" Then
	*				 textBox2.Text = "www.google.at"
	*			 End If
	*			 If textBox3.Text = "" Then
	*				 textBox3.Text = "www.winfuture.de"
	*			 End If
	*			 If textBox4.Text = "" Then
	*				 textBox4.Text = "www.aeroxp.org"
	*			 End If
	*			 If textBox5.Text = "" Then
	*				 textBox5.Text = "www.joejoe.org"
	*			 End If
	*			
	*			 Dim myPing As New Ping()
	*			 Dim host As String = textBox1.Text
	*			 Dim host2 As String = textBox2.Text
	*			 Dim host3 As String = textBox3.Text
	*			 Dim host4 As String = textBox4.Text
	*			 Dim host5 As String = textBox5.Text
	*			 Dim buffer As Byte() = New Byte(31) {}
	*			 Dim timeout As Integer = 1000
	*			 Dim pingOptions As New PingOptions()
	*			 Dim reply As PingReply = myPing.Send(host, timeout, buffer, pingOptions)
	*			 Dim reply2 As PingReply = myPing.Send(host2, timeout, buffer, pingOptions)
	*			 Dim reply3 As PingReply = myPing.Send(host3, timeout, buffer, pingOptions)
	*			 Dim reply4 As PingReply = myPing.Send(host4, timeout, buffer, pingOptions)
	*			 Dim reply5 As PingReply = myPing.Send(host5, timeout, buffer, pingOptions)
	*			
	*			
	*			 If reply.Status = IPStatus.Success Then
	*				 panel1.BackColor = System.Drawing.Color.Green
	*				 label2.Text = "Online"
	*			
	*			 ElseIf reply.Status = IPStatus.TimedOut Then
	*				
	*				 panel1.BackColor = System.Drawing.Color.Yellow
	*				 label2.Text = Convert.ToString(reply.Status)
	*			 ElseIf reply.Status = IPStatus.BadDestination OrElse reply.Status = IPStatus.BadOption Then
	*				 panel1.BackColor = System.Drawing.Color.Maroon
	*				 label2.Text = Convert.ToString(reply.Status)
	*			 End If
	*			
	*			
	*			 If reply2.Status = IPStatus.Success Then
	*				 panel2.BackColor = System.Drawing.Color.Green
	*				 label3.Text = "Online"
	*			
	*			 ElseIf reply2.Status = IPStatus.TimedOut Then
	*				
	*				 panel2.BackColor = System.Drawing.Color.Yellow
	*				 label3.Text = "Timeout"
	*			 ElseIf reply2.Status = IPStatus.BadDestination OrElse reply2.Status = IPStatus.BadOption Then
	*				 panel2.BackColor = System.Drawing.Color.Maroon
	*				 label3.Text = "404"
	*			 End If
	*			
	*			
	*			 If reply3.Status = IPStatus.Success Then
	*				 panel3.BackColor = System.Drawing.Color.Green
	*				 label4.Text = "Online"
	*			
	*			 ElseIf reply3.Status = IPStatus.TimedOut Then
	*				
	*				 panel3.BackColor = System.Drawing.Color.Yellow
	*					
	*				 label4.Text = "Timeout"
	*			 ElseIf reply3.Status = IPStatus.BadDestination OrElse reply3.Status = IPStatus.BadOption Then
	*				 panel3.BackColor = System.Drawing.Color.Maroon
	*				 label4.Text = "404"
	*			 End If
	*			
	*			
	*			 If reply4.Status = IPStatus.Success Then
	*				 panel4.BackColor = System.Drawing.Color.Green
	*				 label5.Text = "Online"
	*			
	*			 ElseIf reply4.Status = IPStatus.TimedOut Then
	*				
	*				 panel4.BackColor = System.Drawing.Color.Yellow
	*					
	*				 label5.Text = "Timeout"
	*			 ElseIf reply4.Status = IPStatus.BadDestination OrElse reply4.Status = IPStatus.BadOption Then
	*				 panel4.BackColor = System.Drawing.Color.Maroon
	*				 label5.Text = "404"
	*			 End If
	*			
	*			
	*			 If reply5.Status = IPStatus.Success Then
	*				 panel5.BackColor = System.Drawing.Color.Green
	*				 label6.Text = "Online"
	*			
	*			 ElseIf reply5.Status = IPStatus.TimedOut Then
	*				
	*				 panel5.BackColor = System.Drawing.Color.Yellow
	*				 label6.Text = "Timeout"
	*			 ElseIf reply5.Status = IPStatus.BadDestination OrElse reply5.Status = IPStatus.BadOption Then
	*				 panel5.BackColor = System.Drawing.Color.Maroon
	*				 label6.Text = "404"
	*			 End If
	*		 End Sub
	*		
	*		 Private Sub Form1_Load(sender As Object, e As EventArgs)
	*			
	*		 End Sub
	*	 End Class
	* End Namespace

bzw, mein eigentlicher code in c# -
Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Net.NetworkInformation; 

namespace ping
{
	public partial class Form1 : Form
	{
		public Form1()
		{
			InitializeComponent();
		}

		private void button1_Click(object sender, EventArgs e)
		{
			if (textBox1.Text == "")
			{ textBox1.Text = "www.winxperts.net"; }
			if (textBox2.Text == "")
			{ textBox2.Text = "www.google.at"; }
			if (textBox3.Text == "")
			{ textBox3.Text = "www.winfuture.de"; }
			if (textBox4.Text == "")
			{ textBox4.Text = "www.aeroxp.org"; }
			if (textBox5.Text == "")
			{ textBox5.Text = "www.joejoe.org"; }
			
Ping myPing = new Ping();
String host = textBox1.Text;
String host2 = textBox2.Text;
String host3 = textBox3.Text;
String host4 = textBox4.Text;
String host5 = textBox5.Text;
byte[] buffer = new byte[32];
int timeout = 1000; 
PingOptions pingOptions = new PingOptions();
PingReply reply = myPing.Send(host, timeout, buffer, pingOptions);
PingReply reply2 = myPing.Send(host2, timeout, buffer, pingOptions);
PingReply reply3 = myPing.Send(host3, timeout, buffer, pingOptions);
PingReply reply4 = myPing.Send(host4, timeout, buffer, pingOptions);
PingReply reply5 = myPing.Send(host5, timeout, buffer, pingOptions);


if (reply.Status == IPStatus.Success)
{
	panel1.BackColor = System.Drawing.Color.Green;
	label2.Text = "Online";
}

else if (reply.Status == IPStatus.TimedOut)
{

	panel1.BackColor = System.Drawing.Color.Yellow;
	label2.Text = Convert.ToString(reply.Status);
}
else if (reply.Status == IPStatus.BadDestination || reply.Status == IPStatus.BadOption)
{
	panel1.BackColor = System.Drawing.Color.Maroon;
	label2.Text = Convert.ToString(reply.Status);
}


if (reply2.Status == IPStatus.Success)
{
	panel2.BackColor = System.Drawing.Color.Green;
	label3.Text = "Online";
}

else if (reply2.Status == IPStatus.TimedOut)
{

	panel2.BackColor = System.Drawing.Color.Yellow;
	label3.Text = "Timeout";
}
else if (reply2.Status == IPStatus.BadDestination || reply2.Status == IPStatus.BadOption)
{
	panel2.BackColor = System.Drawing.Color.Maroon;
	label3.Text = "404";
}
			
			
if (reply3.Status == IPStatus.Success)
{
	panel3.BackColor = System.Drawing.Color.Green;
	label4.Text = "Online";
}

else if (reply3.Status == IPStatus.TimedOut)
{

	panel3.BackColor = System.Drawing.Color.Yellow;
	label4.Text = "Timeout";

}
else if (reply3.Status == IPStatus.BadDestination || reply3.Status == IPStatus.BadOption)
{
	panel3.BackColor = System.Drawing.Color.Maroon;
	label4.Text = "404";
}
			
			
 if (reply4.Status == IPStatus.Success)
{
	panel4.BackColor = System.Drawing.Color.Green;
	label5.Text = "Online";
}

else if (reply4.Status == IPStatus.TimedOut)
{

	panel4.BackColor = System.Drawing.Color.Yellow;
	label5.Text = "Timeout";

}
 else if (reply4.Status == IPStatus.BadDestination || reply4.Status == IPStatus.BadOption)
 {
	 panel4.BackColor = System.Drawing.Color.Maroon;
	 label5.Text = "404";
 }		


 if (reply5.Status == IPStatus.Success)
{
	panel5.BackColor = System.Drawing.Color.Green;
	label6.Text = "Online";
}

else if (reply5.Status == IPStatus.TimedOut)
{

	panel5.BackColor = System.Drawing.Color.Yellow;
	label6.Text = "Timeout";
}
 else if (reply5.Status == IPStatus.BadDestination || reply5.Status == IPStatus.BadOption )
 {
	 panel5.BackColor = System.Drawing.Color.Maroon;
	 label6.Text = "404";
 }
		}

		private void Form1_Load(object sender, EventArgs e)
		{

		}
	}
}

form1.designer.cs
namespace ping
{
	partial class Form1
	{
		/// <summary>
		/// Erforderliche Designervariable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary>
		/// Verwendete Ressourcen bereinigen.
		/// </summary>
		/// <param name="disposing">True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		#region Vom Windows Form-Designer generierter Code

		/// <summary>
		/// Erforderliche Methode für die Designerunterstützung.
		/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
		/// </summary>
		private void InitializeComponent()
		{
			this.button1 = new System.Windows.Forms.Button();
			this.panel5 = new System.Windows.Forms.Panel();
			this.label6 = new System.Windows.Forms.Label();
			this.panel1 = new System.Windows.Forms.Panel();
			this.label2 = new System.Windows.Forms.Label();
			this.panel2 = new System.Windows.Forms.Panel();
			this.label3 = new System.Windows.Forms.Label();
			this.panel3 = new System.Windows.Forms.Panel();
			this.label4 = new System.Windows.Forms.Label();
			this.panel4 = new System.Windows.Forms.Panel();
			this.label5 = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.textBox4 = new System.Windows.Forms.TextBox();
			this.textBox5 = new System.Windows.Forms.TextBox();
			this.panel5.SuspendLayout();
			this.panel1.SuspendLayout();
			this.panel2.SuspendLayout();
			this.panel3.SuspendLayout();
			this.panel4.SuspendLayout();
			this.SuspendLayout();
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(12, 178);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(75, 23);
			this.button1.TabIndex = 0;
			this.button1.Text = "Ping";
			this.button1.UseVisualStyleBackColor = true;
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// panel5
			// 
			this.panel5.BackColor = System.Drawing.Color.Red;
			this.panel5.Controls.Add(this.label6);
			this.panel5.Location = new System.Drawing.Point(15, 142);
			this.panel5.Name = "panel5";
			this.panel5.Size = new System.Drawing.Size(53, 21);
			this.panel5.TabIndex = 2;
			// 
			// label6
			// 
			this.label6.AutoSize = true;
			this.label6.Location = new System.Drawing.Point(8, 4);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(37, 13);
			this.label6.TabIndex = 6;
			this.label6.Text = "Offline";
			// 
			// panel1
			// 
			this.panel1.BackColor = System.Drawing.Color.Red;
			this.panel1.Controls.Add(this.label2);
			this.panel1.Location = new System.Drawing.Point(15, 34);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(53, 21);
			this.panel1.TabIndex = 3;
			// 
			// label2
			// 
			this.label2.AutoSize = true;
			this.label2.Location = new System.Drawing.Point(6, 4);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(37, 13);
			this.label2.TabIndex = 5;
			this.label2.Text = "Offline";
			// 
			// panel2
			// 
			this.panel2.BackColor = System.Drawing.Color.Red;
			this.panel2.Controls.Add(this.label3);
			this.panel2.Location = new System.Drawing.Point(15, 61);
			this.panel2.Name = "panel2";
			this.panel2.Size = new System.Drawing.Size(53, 21);
			this.panel2.TabIndex = 3;
			// 
			// label3
			// 
			this.label3.AutoSize = true;
			this.label3.Location = new System.Drawing.Point(8, 4);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(37, 13);
			this.label3.TabIndex = 6;
			this.label3.Text = "Offline";
			// 
			// panel3
			// 
			this.panel3.BackColor = System.Drawing.Color.Red;
			this.panel3.Controls.Add(this.label4);
			this.panel3.Location = new System.Drawing.Point(15, 88);
			this.panel3.Name = "panel3";
			this.panel3.Size = new System.Drawing.Size(53, 21);
			this.panel3.TabIndex = 3;
			// 
			// label4
			// 
			this.label4.AutoSize = true;
			this.label4.Location = new System.Drawing.Point(8, 4);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(37, 13);
			this.label4.TabIndex = 6;
			this.label4.Text = "Offline";
			// 
			// panel4
			// 
			this.panel4.BackColor = System.Drawing.Color.Red;
			this.panel4.Controls.Add(this.label5);
			this.panel4.Location = new System.Drawing.Point(15, 115);
			this.panel4.Name = "panel4";
			this.panel4.Size = new System.Drawing.Size(53, 21);
			this.panel4.TabIndex = 3;
			// 
			// label5
			// 
			this.label5.AutoSize = true;
			this.label5.Location = new System.Drawing.Point(8, 4);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(37, 13);
			this.label5.TabIndex = 6;
			this.label5.Text = "Offline";
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(12, 9);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(40, 13);
			this.label1.TabIndex = 4;
			this.label1.Text = "Status:";
			// 
			// textBox1
			// 
			this.textBox1.Location = new System.Drawing.Point(74, 35);
			this.textBox1.Name = "textBox1";
			this.textBox1.Size = new System.Drawing.Size(100, 20);
			this.textBox1.TabIndex = 5;
			// 
			// textBox2
			// 
			this.textBox2.Location = new System.Drawing.Point(74, 62);
			this.textBox2.Name = "textBox2";
			this.textBox2.Size = new System.Drawing.Size(100, 20);
			this.textBox2.TabIndex = 6;
			// 
			// textBox3
			// 
			this.textBox3.Location = new System.Drawing.Point(74, 89);
			this.textBox3.Name = "textBox3";
			this.textBox3.Size = new System.Drawing.Size(100, 20);
			this.textBox3.TabIndex = 7;
			// 
			// textBox4
			// 
			this.textBox4.Location = new System.Drawing.Point(74, 116);
			this.textBox4.Name = "textBox4";
			this.textBox4.Size = new System.Drawing.Size(100, 20);
			this.textBox4.TabIndex = 8;
			// 
			// textBox5
			// 
			this.textBox5.Location = new System.Drawing.Point(74, 143);
			this.textBox5.Name = "textBox5";
			this.textBox5.Size = new System.Drawing.Size(100, 20);
			this.textBox5.TabIndex = 9;
			// 
			// Form1
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(187, 216);
			this.Controls.Add(this.textBox5);
			this.Controls.Add(this.textBox4);
			this.Controls.Add(this.textBox3);
			this.Controls.Add(this.textBox2);
			this.Controls.Add(this.textBox1);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.panel3);
			this.Controls.Add(this.panel1);
			this.Controls.Add(this.panel2);
			this.Controls.Add(this.panel4);
			this.Controls.Add(this.panel5);
			this.Controls.Add(this.button1);
			this.Name = "Form1";
			this.Text = "Ping";
			this.Load += new System.EventHandler(this.Form1_Load);
			this.panel5.ResumeLayout(false);
			this.panel5.PerformLayout();
			this.panel1.ResumeLayout(false);
			this.panel1.PerformLayout();
			this.panel2.ResumeLayout(false);
			this.panel2.PerformLayout();
			this.panel3.ResumeLayout(false);
			this.panel3.PerformLayout();
			this.panel4.ResumeLayout(false);
			this.panel4.PerformLayout();
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Panel panel5;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Panel panel1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Panel panel2;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Panel panel3;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Panel panel4;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.TextBox textBox1;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.TextBox textBox3;
		private System.Windows.Forms.TextBox textBox4;
		private System.Windows.Forms.TextBox textBox5;
	}
}

Dieser Beitrag wurde von Ludacris bearbeitet: 05. Oktober 2008 - 22:43

0

Thema verteilen:


Seite 1 von 1

1 Besucher lesen dieses Thema
Mitglieder: 0, Gäste: 1, unsichtbare Mitglieder: 0