Ejemplo n.º 1
0
        public static void ExeCommand(Dictionary <string, MethodParamObj> myDictParm, Form m, AbstCommand mnd)
        {
            showForm(ShowLoadForm, GlobalStaticObj.AppMainForm, LForm);
            // Thread  thread = new Thread(new ThreadStart(() =>
            // {
            //     mnd.MethodExec();
            //     closeForm(myFormClose, LForm);
            // }
            //));
            // thread.Start();
            FunctionDelegateHandler asyM = new FunctionDelegateHandler(mnd.MethodExec);

            asyM.BeginInvoke(myDictParm, CallBackMethod, null);
        }
Ejemplo n.º 2
0
 public static void InvokeExeCommand <TKey, TValue>(Dictionary <string, MethodParamObj> myDictParm, Form m, AbstCommand mnd, out IDictionary <TKey, TValue> dict)
 {
     mnd.MethodExec(myDictParm, out dict);
 }
Ejemplo n.º 3
0
 public static void InvokeExeCommand <T>(Dictionary <string, MethodParamObj> myDictParm, Form m, AbstCommand mnd, out IList <T> list)
 {
     mnd.MethodExec(myDictParm, out list);
 }
Ejemplo n.º 4
0
 public static void InvokeExeCommand(Dictionary <string, MethodParamObj> myDictParm, Form m, AbstCommand mnd, out DataSet ds)
 {
     mnd.MethodExec(myDictParm, out ds);
 }
Ejemplo n.º 5
0
        public static void ExeCommand <TKey, TValue>(Dictionary <string, MethodParamObj> myDictParm, Form m, AbstCommand mnd, out IDictionary <TKey, TValue> dict, AsyncCallback asyCall)
        {
            showForm(ShowLoadForm, GlobalStaticObj.AppMainForm, LForm);
            FunctionDictDelegateHandler <TKey, TValue> asyM = new FunctionDictDelegateHandler <TKey, TValue>(mnd.MethodExec <TKey, TValue>);

            asyM.BeginInvoke(myDictParm, out dict, asyCall, asyM);
        }
Ejemplo n.º 6
0
        public static void ExeCommand(Dictionary <string, MethodParamObj> myDictParm, Form m, AbstCommand mnd, out DataSet ds, AsyncCallback asyCall)
        {
            showForm(ShowLoadForm, GlobalStaticObj.AppMainForm, LForm);
            FunctionDataSetDelegateHandler asyM = new FunctionDataSetDelegateHandler(mnd.MethodExec);

            asyM.BeginInvoke(myDictParm, out ds, asyCall, asyM);
        }