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

📄 ntview.pas

📁 delphi编制的nes模拟器--tNes
💻 PAS
字号:
unit NTView;

interface

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

type
  TfrmNTV = class(TForm)
    pb1: TPaintBox;
    lbl1: TLabel;
  private
    { Private declarations }
  public
	{ Public declarations }
	x:Integer;
	y:Integer;
	procedure showNT(var bmp:TBitmap);
  end;

var
  frmNTV: TfrmNTV;

implementation

{$R *.dfm}

{ TfrmNTV }

procedure TfrmNTV.showNT(var bmp: TBitmap);
begin
  //	pb1.Canvas.Draw(0,0,bmp);
	lbl1.Caption:='X :='+inttostr(x)+' Y: ='+inttostr(y); 
end;

end.

⌨️ 快捷键说明

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