unit2.pas
来自「漂亮的通讯录,看一下吧,很有帮忙的,第一次上传,多多关照:)」· PAS 代码 · 共 54 行
PAS
54 行
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 + =
减小字号Ctrl + -
显示快捷键?