易截截图软件、单文件、免安装、纯绿色、仅160KB

C#转delphi

public  class GaussPrjBase: ICoordinate
    {       
        protected double _a;
        protected double _f;
        private int _zoneWide = 6;
     
        public int ZoneWide
        {
            get { return _zoneWide; }
            set { _zoneWide = value; }
        }
}
高手们,谁能将这段简单的C#代码转化为delphi代码.谢谢了。
Delphi(Pascal) code:

type
GaussPrjBase = Class(Icoordinate)
private
FZoneWide : Integer;

procedure SetZoneWide(const Value : integer);
protected
_A : Double;
_F : Double;
public
Property ZoneWide : integer read FZoneWide Write SetZoneWide;
end;




那个6放在构造里做吧. 呵呵. 手写的,可能有笔误.

Delphi(Pascal) code:
type
GaussPrjBase = class(TObject,ICoordinate)
private
FZoneWide: Integer;
procedure SetZoneWide(const Value: Integer);
{ Private declarations }
protected
_a : Doubl


相关问答:

求c#操作sqlserver数据库问题

在数据库中有张表,有id,name两列,id 是主键,没有设置自增属性,在程序中取出这张表放入datatable,在这个datatable中插入一条记录,当更新数据库时提示id列不能为空,请问该怎么解决?
给它一个值!!主键不能为空 ......

C#填网页表单的问题 - .NET技术 / C#

我这里有一个登陆WIFI网络的页面。由于WIFI经常断线,所以要反复地在这个网页上登陆,没法无人值守。
所以,我想做一个C#程序,放一个webbrowser控件,自动填表并自动点击提交按钮。
问题一:
基本照网上找的程序 ......

asp.net(c#) 保存xml数据(将数据写入到xml文件中)

<?xml version="1.0" encoding="utf-8"?>
<bcaster>
<item item_url="images/nei1_03.gif" link="http://www.baidu.com" />
<item item_url=& ......

C#FTP上传现在整个文件夹 - .NET技术 / C#

C#FTP上传现在整个文件夹,有相关的方法或者有什么好的控件吗?

路過

up

引用
《FTP client library for C#》
http://www.codeproject.com/KB/IP/ftplibrary.aspx
Features
    * Uplo ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号