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

📄 unit2.pas

📁 漂亮的通讯录,看一下吧,很有帮忙的,第一次上传,多多关照:)
💻 PAS
字号:
unit Unit2;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, bsSkinCtrls, bsSkinData, BusinessSkinForm, StdCtrls, Mask,
  bsSkinBoxCtrls;

type
  TForm2 = class(TForm)
    bsBusinessSkinForm1: TbsBusinessSkinForm;
    bsSkinData1: TbsSkinData;
    bsCompressedStoredSkin1: TbsCompressedStoredSkin;
    bsSkinPanel1: TbsSkinPanel;
    Group1: TbsSkinRadioGroup;
    Edit1: TbsSkinEdit;
    bsSkinLabel1: TbsSkinLabel;
    bsSkinButton1: TbsSkinButton;
    procedure bsSkinButton1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form2: TForm2;

implementation
 uses Unit1;
{$R *.dfm}

procedure TForm2.bsSkinButton1Click(Sender: TObject);
begin
if Edit1.text='' then
  begin
    Form1.Message1.MessageDlg('查询内容不能为空!',(mtWarning),[mbOK],0);
    Edit1.SetFocus ;
    Exit;
  end;
 edit1.text:=Group1.Items.GetText ;
{Form1.ADOQuery1.SQL.Clear ;
Form1.ADOQuery1.SQL.Text :='select * from fd where 编号=:B';

Form1.ADOQuery1.Parameters.ParamByName('B').Value :='FD3';
Form1.ADOQuery1.Open ;
Form2.Close ;
 }

end;

end.

⌨️ 快捷键说明

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