·天新网首页·加入收藏·设为首页
首页|笔记本|手机|数码相机|摄像机|MP3/MP4|主板|内存|显示器|办公|打印机|下载|开发|汽车|学院|业界
硬件|台式机|数码|数字家庭|投影仪|GPS/CPU|显卡|硬盘|服务器|网络|一体机|驱动|源码|游戏|考试|报价
基础实例:DELPHI8操作符重载
http://dev.21tx.com 2004年03月06日 CSDN wr960204

1 2 3 下一页

  unit WinForm;

  interface

  uses
  System.Drawing, System.Collections, System.ComponentModel,
  System.Windows.Forms, System.Data;

  type
  TWinForm = class(System.Windows.Forms.Form)
  {$REGION 'Designer Managed Code'}
  strict private
  ///
  /// Required designer variable.
  ///

  Components: System.ComponentModel.Container;
  Button1: System.Windows.Forms.Button;
  ///
  /// Required method for Designer support - do not modify
  /// the contents of this method with the code editor.
  ///

  procedure InitializeComponent;
  procedure Button1_Click(sender: System.Object; e: System.EventArgs);
  {$ENDREGION}
  strict protected
  ///
  /// Clean up any resources being used.
  ///

  procedure Dispose(Disposing: Boolean); override;
  private
  { Private Declarations }
  public
  constructor Create;
  end;

  //写成类也可以,这里我用了记录。由于记录是值类型省去了创建实例的麻烦
  TClassTest=record
  public








上一篇: Delphi的两个实用技巧(1)播放Flash
下一篇: 从问题到结果 ――EXE2SWF的开发手记

1 2 3 下一页

Google
 
热点文章
关于我们 | 联系我们 | 广告服务 | 工作机会 | 版权声明 | 欢迎投稿 | 网站地图
Copyright © 2000-2008 , www.21tx.com , All Rights Reserved .
晨新科技 版权所有 Created by TXSite.net