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

📄 isynchronizeinvoke.cs.svn-base

📁 这是一个windows mobile程序能够实现窗体运货效果非常不错
💻 SVN-BASE
字号:
using System;

namespace System.ComponentModel
{
    // Summary:
    //     Provides a way to synchronously or asynchronously execute a delegate.
    public interface ISynchronizeInvoke
    {
        // Summary:
        //     Gets a value indicating whether the caller must call System.ComponentModel.ISynchronizeInvoke.Invoke(System.Delegate,System.Object[])
        //     when calling an object that implements this interface.
        //
        // Returns:
        //     true if the caller must call System.ComponentModel.ISynchronizeInvoke.Invoke(System.Delegate,System.Object[]);
        //     otherwise, false.
        bool InvokeRequired { get; }

        // Summary:
        //     Executes the delegate on the main thread that this object executes on.
        //
        // Parameters:
        //   args:
        //     An array of type System.Object to pass as arguments to the given method.
        //     This can be null if no arguments are needed.
        //
        //   method:
        //     A System.Delegate to a method that takes parameters of the same number and
        //     type that are contained in args.
        //
        // Returns:
        //     An System.IAsyncResult interface that represents the asynchronous operation
        //     started by calling this method.
        IAsyncResult BeginInvoke(Delegate method, object[] args);
        //
        // Summary:
        //     Waits until the process started by calling System.ComponentModel.ISynchronizeInvoke.BeginInvoke(System.Delegate,System.Object[])
        //     completes, and then returns the value generated by the process.
        //
        // Parameters:
        //   result:
        //     An System.IAsyncResult interface that represents the asynchronous operation
        //     started by calling System.ComponentModel.ISynchronizeInvoke.BeginInvoke(System.Delegate,System.Object[]).
        //
        // Returns:
        //     An System.Object that represents the return value generated by the asynchronous
        //     operation.
        object EndInvoke(IAsyncResult result);
        //
        // Summary:
        //     Executes the delegate on the main thread that this object executes on.
        //
        // Parameters:
        //   args:
        //     An array of type System.Object that represents the arguments to pass to the
        //     given method. This can be null if no arguments are needed.
        //
        //   method:
        //     A System.Delegate that contains a method to call, in the context of the thread
        //     for the control.
        //
        // Returns:
        //     An System.Object that represents the return value from the delegate being
        //     invoked, or null if the delegate has no return value.
        object Invoke(Delegate method, object[] args);
    }
}

⌨️ 快捷键说明

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