GoDiagram

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

GoDiagram Differences, Win and Pocket
Copyright © 2002-2003 Northwoods Software Corporation
GoDiagramTM Win for Microsoft® .NET Windows Forms is a .NET class library containing a set of Windows Forms controls for easily building interactive diagrams in stand-alone .NET-bas ed applications.
GoDiagramTM Pocket for Microsoft® .NET Compact Framework is a .NET class library containing a set of Windows Forms controls for easily building interactive diagrams that run on a Pocket PC.
The two class libraries share nearly all of the design and implementation with each other. The User Guide provides details about GoDiagram, most of which apply to both products. You will need to read that document before you can really make good use of either GoDiagram pro duct.
版权所有©2002-2003诺斯伍兹软件公司
GoDiagramTM赢为Microsoft®.NET Windows窗体是形成含有一组的类库控件轻松地构建交互式的图表在单机基于.NET的应用程序。

GoDiagramTM掌上针对Microsoft®.NET Compact Framework是一个.NET类库
包含一套Windows窗体控件可方便地建立一个掌上电脑上运行的交互式图表。

这两个类库分享几乎所有的设计和实现相互的。

用户指南提供了有关GoDiagram,其中大部分都适用于这两种产品的详细信息。

您将需要阅读的文件,然后才能真正用好两种GoDiagram产品。

Differences Between the Assemblies
The principal difference between the two products is that GoDiagram Pocket depends on the . NET Compact Framework whereas GoDiagram Win depends on the standard .NET Framework. 这两个产品之间的主要区别在于GoDiagram口袋依赖于.NET Compact Framework的,而GoDiagram赢依赖于标准的.NET框架。

Nearly all of the GoDiagram classes are almost identical, so much of your source code can be transferred between projects with minimal change. You just need to refer to the Northwoods.GoPocket.dll assembly instead of the Northwoods.Go.dll assembly. The namespac es for the classes are the same: Northwoods.Go.
几乎所有的GoDiagram类都几乎相同,那么多的源代码,可以在项目之间转移以最小的变化。

你只需要参考
Northwoods.GoPocket.dll组件代替Northwoods.Go.dll组件。

其命名空间中的类都是一样的:Northwoods.Go。

In general the differences are due to types and concepts that were taken out or do not apply in
a .NET Compact Framework application:
一般来说,差异是由于类型和概念被取出来的还是不要在.NET Compact Framework的应用程序适用于:
●Differences in System.Windows.Forms.Control
●Notions of mouse-over or hovering, and Windows drag-and-drop between windows
●No mouse buttons, except that a long click is treated as a context-click
●No mouse wheel
●Missing System.Windows.Forms types: Cursor, DragEventArgs
●No printing
●Non-solid brushes or pens, or non-zero pen widths for shapes, except that GoStroke has additional Pocket-specific properties for controlling the pen width
●No drawing or bitmaps with alpha-blending
● Some differences in text formatting
●No XOR drawing mode, including when using the rubber band tool
●在System.Windows.Forms.Control的差异
● 鼠标悬停或悬停,和Windows窗口之间的拖放和下降的观念•
● 没有鼠标按钮,所不同的是一个长点击被视为上下文单击•
● 没有鼠标滚轮
● 缺少System.Windows.Forms的类型:光标,DragEventArgs•
● 不打印
● 非固体刷或笔,或非零笔宽为形状,不同之处在于具有GoStroke
●控制笔宽额外的口袋特定的属性•
● 没有绘画或位图与alpha混合•
● 在文本格式的一些不同
● 没有XOR绘图模式,使用橡皮筋工具时,包括

Although a GoDiagram Pocket application may in certain circumstances be able to run on y our desktop using the standard .NET Framework (that is, without using the PocketPC emulator) , such use is not supported.
虽然一个GoDiagram袖珍应用可以在某些情况下能够使用标准的.NET Framework在桌面上运行(即,不使用在PocketPC仿真器),不支持这样的使用。

For those of you who are converting a GoDiagram Win application into a GoDiagram Pocke t application, here is a detailed list of differences. (This list might not be complete or accurate.)对于那些你谁是转换GoDiagram Windows应用程序到GoDiagram掌上应用,这里是差异的详细列表。

(这个列表可能不完整或不准确的。


●GoView changes:
Control changes
✧ implemented BackgroundImage property
✧changed HandleScroll method added OnResize method override
✧ added OnPaintBackground override (that does nothing)
✧removed OnSizeChanged, OnCreateControl, OnVisibleChanged method over
rides
✧removed OnBackColorChanged, OnBackgroundImageChanged, OnStyleChan
ged, OnSystemColorsChanged method overrides
实施BackgroundImage属性
改变HandleScroll方法 添加onResize受到的方法覆盖
添加OnPaintBackground倍率(什么也不做)
删除OnSizeChanged,OnCreateControl,OnVisibleChanged方法覆盖
删除OnBackColorChanged,OnBackgroundImageChanged,
OnStyleChanged,OnSystemColorsChanged方法覆盖
Mouse/pointer changes: [鼠标/指针更改:]
✧ removed OnDoubleClick, OnMouseWheel method overrides
✧removed DoMouseWheel, DoMouseHover, DoHover, DetectHover method
✧removed HoverDelay property
✧removed ObjectHover event and OnObjectHover and RaiseObjectHover met
hods
✧removed BackgroundHover event and OnBackgroundHover and RaiseBackgr
oundHover methods
✧ removed OnMouseLeave method override
✧removed DoMouseOver, DoBackgroundMouseOver methods
✧删除OnDoubleClick,OnMouseWheel方法覆盖
✧ 删除DoMouseWheel,DoMouseHover,DoHover,DetectHover方法
✧ 删除HoverDelay财产
✧ 删除ObjectHover事件和OnObjectHover和RaiseObjectHover方法
✧ 删除BackgroundHover事件和OnBackgroundHover和
RaiseBackgroundHover方法
✧ 去除的方法OnMouseLeave在覆盖
✧ 删除DoMouseOver,DoBackgroundMouseOver方法
No drag-and-drop between windows:
✧removed OnDragOver, OnDragEnter, OnDragLeave, OnQueryContinueDrag,
OnDragDrop method overrides
✧removed DoInternalDrag, DoExternalDrag, GetExternalDragImage methods
✧removed DoInternalDrop, DoExternalDrop methods
✧removed ExternalObjectsDropped event and OnExternalObjectsDropped, R
aiseExternalObjectsDropped methods
✧changed AllowDragOut property to always be false
✧ implemented AllowDrop property, which is always false
✧删除OnDragOver,OnDragEnter,OnDragLeave,OnQueryContinueDrag,
OnDragDrop方法覆盖
✧ 删除DoInternalDrag,DoExternalDrag,GetExternalDragImage方法
✧ 删除DoInternalDrop,DoExternalDrop方法
✧ 删除ExternalObjectsDropped事件OnExternalObjectsDropped,
RaiseExternalObjectsDropped方法
✧ 改变AllowDragOut属性始终是假的
✧ 实施AllowDrop属性,这始终是假的
No printing:
✧removed Print, PrintShowDialog, PrintPreview, PrintPreviewShowDialog me
thods
✧removed PrintDocumentPage, PrintView, PrintDecoration methods
✧removed PrintDocumentSize, PrintDocumentTopLeft, PrintScale properties
GDI+ differences:
✧ removed DrawXorLine, DrawXorRectangle methods
✧removed SmoothingMode, TextRenderingHint properties
✧ removed GridPenWidth, GridPenDashStyle properties
✧ implemented PointF structure
Other Windows Forms differences:
✧removed Border3DStyle property
✧added ContextClickTime property
✧removed DefaultCursor, Cursor properties
✧ implemented SortOrder enum
✧implemented ToolTip (as GoObject shown in GoView, upon a single click sin
ce there's no mouse-over)
●GoObject: removed OnHover, OnMouseOver methods
●GoHandle changes:
removed GetCursorForHandle method
removed Cursor property
●GoStroke: added PenWidth, HighlightPenWidth properties
●GoText: removed StringTrimming property
● GoLabeledLink: added PenWidth, HighlightPenWidth properties (from .RealLink)
●GoInputEventArgs: removed DragEventArgs property
Differences in the Sample Applications
Because the non-GoView code for both platforms is nearly identical, all of the instructive example code would be the same. Thus only the MinimalApp application has been ported fro m GoDiagram Win。

相关文档
最新文档