Exemplo n.º 1
0
        //同步方法
        public override void StartCome()
        {
            FrmEditImPlement frm = new FrmEditImPlement();
            PlugArg          arg = new PlugArg(frm);

            _showfrmevent(arg);//送往前台展现
        }
Exemplo n.º 2
0
        //异步方法
        public void SynchInvoke(System.Windows.Forms.WindowsFormsSynchronizationContext synccontext, System.Threading.SendOrPostCallback callback)
        {
            FrmEditImPlement frm = new FrmEditImPlement();
            PlugArg          arg = new PlugArg(frm);

            _showfrmevent(arg);//送往前台展现
            synccontext.Post(callback, null);
        }