Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Unit3.pas
Package: zkemsdk.zip [view]
Upload User: lzd18710
Upload Date: 2009-11-26
Package Size: 3595k
Code Size: 1k
Category:
Communication
Development Platform:
Visual Basic
- unit Unit3;
- interface
- uses
- Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
- Dialogs, StdCtrls, Buttons, ExtCtrls;
- type
- TForm3 = class(TForm)
- rgrpConnect: TRadioGroup;
- Label1: TLabel;
- Label2: TLabel;
- Label3: TLabel;
- Edit1: TEdit;
- Edit2: TEdit;
- Edit3: TEdit;
- BitBtn1: TBitBtn;
- BitBtn2: TBitBtn;
- procedure rgrpConnectClick(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
- var
- Form3: TForm3;
- implementation
- {$R *.dfm}
- procedure TForm3.rgrpConnectClick(Sender: TObject);
- begin
- if rgrpConnect.ItemIndex =0 then
- begin
- Label1.Caption := 'COM Port:';
- Label2.Caption := 'Device ID:';
- edit1.Text := 'COM1';
- edit2.Text := '1';
- Label3.Visible := true;
- edit3.Visible := true;
- end
- else
- begin
- Label1.Caption := 'IPAddress:';
- Label2.Caption := 'Port Number:';
- edit1.Text := '192.168.1.201';
- edit2.Text := '4370';
- Label3.Visible := false;
- edit3.Visible := false;
- end;
- end;
- end.