点击或拖拽改变大小

FlashBox 方法

FlashBox 类型公开以下成员。

方法
  名称说明
受保护的方法AccessibilityNotifyClients(AccessibleEvents, Int32) (继承自 Control。)
受保护的方法AccessibilityNotifyClients(AccessibleEvents, Int32, Int32) (继承自 Control。)
受保护的方法AttachInterfaces (继承自 AxHost。)
公共方法Back
影片后退一帧 , 并且停止播放
公共方法BeginInit (继承自 AxHost。)
公共方法BeginInvoke(Delegate) (继承自 Control。)
公共方法BeginInvoke(Delegate, Object) (继承自 Control。)
公共方法BringToFront (继承自 Control。)
公共方法CallFunction
公共方法Contains (继承自 Control。)
受保护的方法CreateAccessibilityInstance (继承自 Control。)
公共方法CreateControl (继承自 Control。)
受保护的方法CreateControlsInstance (继承自 Control。)
公共方法CreateGraphics (继承自 Control。)
受保护的方法CreateHandle (继承自 AxHost。)
受保护的方法CreateInstanceCore (继承自 AxHost。)
受保护的方法CreateSink (继承自 AxHost。)
公共方法CurrentFrame
返回影片的当前帧数。影片的第一帧为 0
受保护的方法DefWndProc (继承自 Control。)
受保护的方法DestroyHandle (继承自 AxHost。)
受保护的方法DetachSink (继承自 AxHost。)
公共方法DisableLocalSecurity
公共方法Dispose (继承自 Component。)
受保护的方法Dispose(Boolean) (重写 AxHostDispose(Boolean).)
公共方法DisposeCanvas
释放图像资源
公共方法DoDragDrop (继承自 Control。)
公共方法DoVerb (继承自 AxHost。)
公共方法DrawToBitmap (继承自 Control。)
公共方法EndInit (继承自 AxHost。)
公共方法EndInvoke (继承自 Control。)
公共方法EnforceLocalSecurity
受保护的方法Finalize (继承自 Component。)
公共方法FindForm (继承自 Control。)
公共方法FlashVersion
返回控件版本号。该值共有三个字节,依次是主 版本号、次版本号、修订版本号。如我用的 Flash 播放器控 件用此方法返回值是 3 2 7 7 2 2 ,相当于十六进制的 &h05002A;相当于 5.00.42
公共方法Focus (继承自 Control。)
公共方法Forward
影片前进一帧 , 并且停止播放
公共方法FrameLoaded
受保护的方法GetAccessibilityObjectById (继承自 Control。)
受保护的方法GetAutoSizeMode (继承自 Control。)
公共方法GetChildAtPoint(Point) (继承自 Control。)
公共方法GetChildAtPoint(Point, GetChildAtPointSkip) (继承自 Control。)
公共方法GetContainerControl (继承自 Control。)
公共方法GetNextControl (继承自 Control。)
公共方法GetOcx (继承自 AxHost。)
公共方法GetPreferredSize (继承自 Control。)
受保护的方法GetScaledBounds (继承自 AxHost。)
受保护的方法GetService (继承自 Component。)
受保护的方法GetStyle (继承自 Control。)
受保护的方法GetTopLevel (继承自 Control。)
公共方法GetVariable
返回 name 指定的 Flash 变量的值。如果变量 不存在则返回 null
公共方法GotoFrame
将影片跳转到由 FrameNum 指定的帧,并且 停止播放。如果所指定的帧还未载入,播放器前进到最后 的可用帧并停下,在调用过程中会产生无法预料的后果。 最好使用 PercentLoaded 方法来确定是否已载入足够的影片 来执行本方法。参数 FrameNum 是从 0 开始的,这和 Flash 中的 Goto 动作不一样,它是从 1 开始的。
公共方法HasPropertyPages (继承自 AxHost。)
公共方法Hide (继承自 Control。)
受保护的方法InitLayout (继承自 Control。)
公共方法Invalidate
使控件失效,导致下次更新时重绘
公共方法Invalidate(Region) (继承自 Control。)
公共方法Invalidate(Boolean) (继承自 Control。)
公共方法Invalidate(Rectangle)
使控件指定区域失效,导致下次更新时重绘
公共方法Invalidate(Region, Boolean) (继承自 Control。)
公共方法Invalidate(Rectangle, Boolean) (继承自 Control。)
公共方法Invoke(Delegate) (继承自 Control。)
公共方法Invoke(Delegate, Object) (继承自 Control。)
公共方法InvokeEditMode (继承自 AxHost。)
受保护的方法InvokeGotFocus (继承自 Control。)
受保护的方法InvokeLostFocus (继承自 Control。)
受保护的方法InvokeOnClick (继承自 Control。)
受保护的方法InvokePaint (继承自 Control。)
受保护的方法InvokePaintBackground (继承自 Control。)
受保护的方法IsInputChar (继承自 AxHost。)
受保护的方法IsInputKey (继承自 Control。)
公共方法IsPlaying
如果影片正在播放则返回 true
公共方法LoadMovie
将由 url 指定的影片载入到由 layer 指定的层上
公共方法MakeDirty (继承自 AxHost。)
受保护的方法NotifyInvalidate (继承自 Control。)
受保护的方法OnAutoSizeChanged (继承自 Control。)
受保护的方法OnBackColorChanged (继承自 AxHost。)
受保护的方法OnBackgroundImageChanged (继承自 Control。)
受保护的方法OnBackgroundImageLayoutChanged (继承自 Control。)
受保护的方法OnBindingContextChanged (继承自 Control。)
受保护的方法OnCausesValidationChanged (继承自 Control。)
受保护的方法OnChangeUICues (继承自 Control。)
受保护的方法OnClick (继承自 Control。)
受保护的方法OnClientSizeChanged (继承自 Control。)
受保护的方法OnContextMenuChanged (继承自 Control。)
受保护的方法OnContextMenuStripChanged (继承自 Control。)
受保护的方法OnControlAdded (继承自 Control。)
受保护的方法OnControlRemoved (继承自 Control。)
受保护的方法OnCreateControl (继承自 Control。)
受保护的方法OnCursorChanged (继承自 Control。)
受保护的方法OnDockChanged (继承自 Control。)
受保护的方法OnDoubleClick (继承自 Control。)
受保护的方法OnDragDrop (继承自 Control。)
受保护的方法OnDragEnter (继承自 Control。)
受保护的方法OnDragLeave (继承自 Control。)
受保护的方法OnDragOver (继承自 Control。)
受保护的方法OnEnabledChanged (继承自 Control。)
受保护的方法OnEnter (继承自 Control。)
受保护的方法OnFontChanged (继承自 AxHost。)
受保护的方法OnForeColorChanged (继承自 AxHost。)
受保护的方法OnGiveFeedback (继承自 Control。)
受保护的方法OnGotFocus (继承自 Control。)
受保护的方法OnHandleCreated (重写 AxHostOnHandleCreated(EventArgs).)
受保护的方法OnHandleDestroyed (继承自 Control。)
受保护的方法OnHelpRequested (继承自 Control。)
受保护的方法OnImeModeChanged (继承自 Control。)
受保护的方法OnInPlaceActive (继承自 AxHost。)
受保护的方法OnInvalidated (继承自 Control。)
受保护的方法OnKeyDown (继承自 Control。)
受保护的方法OnKeyPress (继承自 Control。)
受保护的方法OnKeyUp (继承自 Control。)
受保护的方法OnLayeredPaint
触发LayeredPaintEvent事件
受保护的方法OnLayout (继承自 Control。)
受保护的方法OnLeave (继承自 Control。)
受保护的方法OnLocationChanged (继承自 Control。)
受保护的方法OnLostFocus (继承自 AxHost。)
受保护的方法OnMarginChanged (继承自 Control。)
受保护的方法OnMouseCaptureChanged (继承自 Control。)
受保护的方法OnMouseClick (继承自 Control。)
受保护的方法OnMouseDoubleClick (继承自 Control。)
受保护的方法OnMouseDown (继承自 Control。)
受保护的方法OnMouseEnter (继承自 Control。)
受保护的方法OnMouseHover (继承自 Control。)
受保护的方法OnMouseLeave (继承自 Control。)
受保护的方法OnMouseMove (继承自 Control。)
受保护的方法OnMouseUp (继承自 Control。)
受保护的方法OnMouseWheel (继承自 Control。)
受保护的方法OnMove (继承自 Control。)
受保护的方法OnNotifyMessage (继承自 Control。)
受保护的方法OnPaddingChanged (继承自 Control。)
受保护的方法OnPaint (继承自 Control。)
受保护的方法OnPaintBackground (继承自 Control。)
受保护的方法OnParentBackColorChanged (继承自 Control。)
受保护的方法OnParentBackgroundImageChanged (继承自 Control。)
受保护的方法OnParentBindingContextChanged (继承自 Control。)
受保护的方法OnParentChanged (继承自 Control。)
受保护的方法OnParentCursorChanged (继承自 Control。)
受保护的方法OnParentEnabledChanged (继承自 Control。)
受保护的方法OnParentFontChanged (继承自 Control。)
受保护的方法OnParentForeColorChanged (继承自 Control。)
受保护的方法OnParentRightToLeftChanged (继承自 Control。)
受保护的方法OnParentVisibleChanged (继承自 Control。)
受保护的方法OnPreviewKeyDown (继承自 Control。)
受保护的方法OnPrint (继承自 Control。)
受保护的方法OnQueryContinueDrag (继承自 Control。)
受保护的方法OnRegionChanged (继承自 Control。)
受保护的方法OnResize (继承自 Control。)
受保护的方法OnRightToLeftChanged (继承自 Control。)
受保护的方法OnSizeChanged (重写 ControlOnSizeChanged(EventArgs).)
受保护的方法OnStyleChanged (继承自 Control。)
受保护的方法OnSystemColorsChanged (继承自 Control。)
受保护的方法OnTabIndexChanged (继承自 Control。)
受保护的方法OnTabStopChanged (继承自 Control。)
受保护的方法OnTextChanged (继承自 Control。)
受保护的方法OnValidated (继承自 Control。)
受保护的方法OnValidating (继承自 Control。)
受保护的方法OnVisibleChanged (重写 ControlOnVisibleChanged(EventArgs).)
公共方法PaintControl
公共方法Pan
将一个放大过的影片平移由 x 和 y 指定的距离。 x 和 y 均为相对值。即控件相对于影片来说平移的距离(你 可以想象控件是一个窗户,影片是我们从窗户里看到的放 在外面的布景, 我们看到窗户相对于布景平移了一些距离, 那是外面的布景在动,而窗户是不动的)。用 mode 参数 来指定 x 和 y 的值是像素还是窗口的百分比,当 mode=0 时 坐标系以像素为单位;mode=1 时坐标系就以窗口的百分 比来计算。 平移并不能超出影片的边框,也就是说,往 一个方向平移最多到达影片的边缘与控件对齐的程度。
公共方法PercentLoaded
返回目前已经载入的影片的百分比。取值范围 从 0 到 100
公共方法PerformLayout (继承自 Control。)
公共方法PerformLayout(Control, String) (继承自 Control。)
公共方法Play
开始播放影片
公共方法PointToClient (继承自 Control。)
公共方法PointToScreen (继承自 Control。)
公共方法PreProcessControlMessage (继承自 Control。)
公共方法PreProcessMessage (继承自 AxHost。)
受保护的方法ProcessCmdKey (继承自 Control。)
受保护的方法ProcessDialogChar (继承自 Control。)
受保护的方法ProcessDialogKey (继承自 AxHost。)
受保护的方法ProcessKeyEventArgs (继承自 Control。)
受保护的方法ProcessKeyMessage (继承自 Control。)
受保护的方法ProcessKeyPreview (继承自 Control。)
受保护的方法ProcessMnemonic (继承自 AxHost。)
受保护的方法PropsValid (继承自 AxHost。)
受保护的方法RaiseDragEvent (继承自 Control。)
受保护的方法RaiseKeyEvent (继承自 Control。)
受保护的方法RaiseMouseEvent (继承自 Control。)
受保护的方法RaiseOnMouseDown(Object, Object, Object, Object) (继承自 AxHost。)
受保护的方法RaiseOnMouseDown(Int16, Int16, Single, Single) (继承自 AxHost。)
受保护的方法RaiseOnMouseDown(Int16, Int16, Int32, Int32) (继承自 AxHost。)
受保护的方法RaiseOnMouseMove(Object, Object, Object, Object) (继承自 AxHost。)
受保护的方法RaiseOnMouseMove(Int16, Int16, Single, Single) (继承自 AxHost。)
受保护的方法RaiseOnMouseMove(Int16, Int16, Int32, Int32) (继承自 AxHost。)
受保护的方法RaiseOnMouseUp(Object, Object, Object, Object) (继承自 AxHost。)
受保护的方法RaiseOnMouseUp(Int16, Int16, Single, Single) (继承自 AxHost。)
受保护的方法RaiseOnMouseUp(Int16, Int16, Int32, Int32) (继承自 AxHost。)
受保护的方法RaisePaintEvent (继承自 Control。)
受保护的方法RecreateHandle (继承自 Control。)
公共方法RectangleToClient (继承自 Control。)
公共方法RectangleToScreen (继承自 Control。)
公共方法Refresh (继承自 Control。)
受保护的方法ResetMouseEventArgs (继承自 Control。)
公共方法ResetText (继承自 Control。)
公共方法ResumeLayout (继承自 Control。)
公共方法ResumeLayout(Boolean) (继承自 Control。)
公共方法Rewind
倒带。返回到影片的第一帧
受保护的方法RtlTranslateAlignment(HorizontalAlignment) (继承自 Control。)
受保护的方法RtlTranslateAlignment(LeftRightAlignment) (继承自 Control。)
受保护的方法RtlTranslateAlignment(ContentAlignment) (继承自 Control。)
受保护的方法RtlTranslateContent (继承自 Control。)
受保护的方法RtlTranslateHorizontal (继承自 Control。)
受保护的方法RtlTranslateLeftRight (继承自 Control。)
公共方法Scale (继承自 Control。)
受保护的方法ScaleControl (继承自 Control。)
公共方法Select (继承自 Control。)
受保护的方法Select(Boolean, Boolean) (继承自 Control。)
公共方法SelectNextControl (继承自 Control。)
公共方法SendToBack (继承自 Control。)
受保护的方法SetAboutBoxDelegate (继承自 AxHost。)
受保护的方法SetAutoSizeMode (继承自 Control。)
公共方法SetBounds(Int32, Int32, Int32, Int32) (继承自 Control。)
公共方法SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) (继承自 Control。)
受保护的方法SetBoundsCore (继承自 AxHost。)
受保护的方法SetClientSizeCore (继承自 Control。)
公共方法SetReturnValue
受保护的方法SetStyle (继承自 Control。)
受保护的方法SetTopLevel (继承自 Control。)
公共方法SetVariable
将由 name 指定的 Flash 变量值设为 value
受保护的方法SetVisibleCore (继承自 AxHost。)
公共方法SetZoomRect
将影片中指定的矩形区域放大到控件的大小。 left(左)、top(顶)、right(右)、bottom(底)的坐标值是相 对于控件中的影片有效位置计算的。注意哟,这个函数是 从影片的有效区域的左上角开始计算,而不是控件的左上 角
公共方法Show (继承自 Control。)
公共方法ShowAboutBox (继承自 AxHost。)
公共方法ShowPropertyPages (继承自 AxHost。)
公共方法ShowPropertyPages(Control) (继承自 AxHost。)
受保护的方法SizeFromClientSize (继承自 Control。)
公共方法Stop
停止播放影片
公共方法StopPlay
停止播放影片
公共方法SuspendLayout (继承自 Control。)
公共方法TCallFrame
在由 target 指定的时间轴中,执行由 FrameNum 指定的帧中的动作
公共方法TCallLabel
在由 target 指定的时间轴中,执行由 label 指定的帧中的动作
公共方法TCurrentFrame
返回由 target 指定的时间轴中当前帧的号码。返 回的帧号码是从 0 开始的,也就是说影片的第一帧为 0 ,第 二帧为 1,以此类推
公共方法TCurrentLabel
返回由 target 指定的时间轴中当前帧的标签。 如果没有当前帧的标签,则返回一个空字符串
公共方法TGetProperty
对于由 target 指定的时间轴,返回由 property 指定的属性值(字符串)。其中,property 是一个代表相应 属性的编号
公共方法TGetPropertyAsNumber
公共方法TGetPropertyNum
对于由 target 指定的时间轴,返回由 property 指定的属性值(数字)。其中,property 是一个代表相应属 性的编号
公共方法TGotoFrame
对于由 target 指定的时间轴,转到由 FrameNum 指定的帧
公共方法TGotoLabel
对于由 target 指定的时间轴,转到由 label 指定的帧
公共方法ToString (继承自 Component。)
公共方法TPlay
播放由 target 指定的时间轴
公共方法TSetProperty
对于由 target 指定的时间轴,把由 property 指 定的属性设为由 value 指定的值(字符串)。property 是一个 代表相应属性的编号
公共方法TSetPropertyNum
对于由 target 指定的时间轴,把由 property 指定的属性设为由 value 指定的值(数字)。property 是 一个代表相应属性的编号
公共方法TStopPlay
停止播放由 target 指定的时间轴
公共方法Update (继承自 Control。)
受保护的方法UpdateBounds (继承自 Control。)
受保护的方法UpdateBounds(Int32, Int32, Int32, Int32) (继承自 Control。)
受保护的方法UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) (继承自 Control。)
受保护的方法UpdateStyles (继承自 Control。)
受保护的方法UpdateZOrder (继承自 Control。)
受保护的方法WndProc (重写 AxHostWndProc(Message).)
公共方法Zoom
以 factor 指定的相对百分比来缩放视图。factor 可以理解为从控件窗口看到的影片占实际大小的百分比。将 factor 设为 0,则视图还原成 100% 大小。当前视图已经是 100% 时不能再将其缩小
Top
扩展方法
  名称说明
公共扩展器方法DrawToBitmap(Graphics)已重载。
高速绘制控件图像,如果直接绘制到Layered窗体上文字部分可能会镂空
(由 ControlRender 定义。)
公共扩展器方法DrawToBitmap(Graphics, Rectangle)已重载。 (由 ControlRender 定义。)
公共扩展器方法DrawToBitmap(Graphics, Rectangle, Color)已重载。 (由 ControlRender 定义。)
公共扩展器方法FormatDateTime
将数据以时间格式并对其格式化
(由 ObjectExtenstions 定义。)
公共扩展器方法FormatNumber
将数据以数值方式对数据格式化
(由 ObjectExtenstions 定义。)
公共扩展器方法FormatString
将数据以字符串格式对数据格式化
(由 ObjectExtenstions 定义。)
公共扩展器方法HasLayeredStyle (由 ObjectExtenstions 定义。)
公共扩展器方法QueryT
控件查询
(由 DuiControlExtensions 定义。)
公共扩展器方法Sleep
异步延迟执行代码,只能在主线程中调用
(由 DuiControlExtensions 定义。)
公共扩展器方法ToBool
将数据转换成Bool,如果转换失败返回False
(由 ObjectExtenstions 定义。)
公共扩展器方法ToDateTime
将数据转换成DateTime,如果转换失败返回空的时间
(由 ObjectExtenstions 定义。)
公共扩展器方法ToDouble
将数据转换成Double,如果转换失败返回0
(由 ObjectExtenstions 定义。)
公共扩展器方法ToEnumT
将数据转换成枚举,如果转换失败则返回默认值
(由 ObjectExtenstions 定义。)
公共扩展器方法ToFloat
将数据转换成Float,如果转换失败返回0
(由 ObjectExtenstions 定义。)
公共扩展器方法ToInt已重载。
将数据转换成int,如果转换失败返回0
(由 ObjectExtenstions 定义。)
公共扩展器方法ToInt(Int32)已重载。
数据转换成int,如果转换失败,返回errorResult
(由 ObjectExtenstions 定义。)
公共扩展器方法ToJson
将对象序列化成Json字符串
(由 JsonHelper 定义。)
公共扩展器方法ToLong
将数据转换成Long,如果转换失败返回0
(由 ObjectExtenstions 定义。)
Top
参见