⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit10.pas

📁 转发一个用Delphi7编写的网络即时通讯示例
💻 PAS
字号:
unit Unit10;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

type
  TForm10 = class(TForm)
    Label1: TLabel;
    RadioButton1: TRadioButton;
    RadioButton2: TRadioButton;
    procedure RadioButton1Click(Sender: TObject);
    procedure RadioButton2Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form10: TForm10;

implementation
 uses unit4;
{$R *.dfm}

procedure TForm10.RadioButton1Click(Sender: TObject);
begin
if messagedlg('你想让傻妞代你聊天吗?',mtinformation,[mbyes,mbNo],0)=mryes
then showmessage('对不起,傻妞暂时还无此功能,请向傻妞的设计者井峰哥哥求助!');
close;
end;

procedure TForm10.RadioButton2Click(Sender: TObject);
begin
if messagedlg('你想让傻妞辅助你聊天吗?',mtinformation,[mbyes,mbNo],0)=mryes
then showmessage('对不起,傻妞暂时还无此功能,请向傻妞的设计者井峰哥哥求助!');
close;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -