Repository navigation
Expand file tree
/
Copy pathclient_6.frm
More file actions
120 lines (118 loc) · 3.75 KB
/
Copy pathclient_6.frm
File metadata and controls
120 lines (118 loc) · 3.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
VERSION 5.00
Begin VB.Form Form6
AutoRedraw = -1 'True
BackColor = &H80000007&
BorderStyle = 1 'Fixed Single
Caption = "Server Yönetim"
ClientHeight = 1845
ClientLeft = 6360
ClientTop = 3315
ClientWidth = 5100
LinkTopic = "Form6"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 1845
ScaleWidth = 5100
Begin VB.CommandButton Command3
Caption = "Serveri Göster"
Height = 375
Left = 240
TabIndex = 3
Top = 1200
Width = 1455
End
Begin VB.CommandButton Command2
Caption = "Serveri Sil"
Height = 375
Left = 3360
TabIndex = 2
Top = 1200
Width = 1455
End
Begin VB.CommandButton Command1
Caption = "Serveri Kapat"
Height = 375
Left = 1800
TabIndex = 1
Top = 1200
Width = 1455
End
Begin VB.Frame Frame1
BackColor = &H80000007&
Caption = "Server Yönetim"
ForeColor = &H0000C000&
Height = 1575
Left = 120
TabIndex = 0
Top = 120
Width = 4815
Begin VB.Label Label4
BackColor = &H00000000&
Caption = "~Özellik Geliþme Aþamasýnda~"
ForeColor = &H000000FF&
Height = 255
Left = 2280
TabIndex = 7
Top = 720
Width = 2415
End
Begin VB.Label Label3
BackColor = &H00000000&
Caption = "Gönderilecek Ping Adresi : "
ForeColor = &H0000FF00&
Height = 255
Left = 240
TabIndex = 6
Top = 720
Width = 2055
End
Begin VB.Label Label2
BackColor = &H00000000&
Caption = "1169"
ForeColor = &H0000FF00&
Height = 255
Left = 720
TabIndex = 5
Top = 360
Width = 495
End
Begin VB.Label Label1
BackColor = &H00000000&
Caption = "Port : "
ForeColor = &H0000FF00&
Height = 255
Left = 240
TabIndex = 4
Top = 360
Width = 495
End
End
End
Attribute VB_Name = "Form6"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
On Error Resume Next
Form1.Winsock1.SendData "server_kapat"
End Sub
Private Sub Command2_Click()
On Error Resume Next
If MsgBox("Server Tamamen Silinecektir Emin Misiniz?", vbYesNo, "Server Yönetim") = vbYes Then
Form1.Winsock1.SendData "server_sil"
MsgBox "Server silindi ve artýk servera baðlantý saðlanamaz.", vbInformation, "Server Yönetim"
Else
MsgBox "Server Silinmeyecek", vbInformation, "Server Yönetim"
End If
End Sub
Private Sub Command3_Click()
On Error Resume Next
If Command3.Caption = "Serveri Göster" Then
Form1.Winsock1.SendData "server_show"
Command3.Caption = "Serveri Gizle"
ElseIf Command16.Caption = "Serveri Gizle" Then
Form1.Winsock1.SendData "server_gizle"
Command3.Caption = "Serveri Göster"
End If
End Sub