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); }
public static void InvokeExeCommand <TKey, TValue>(Dictionary <string, MethodParamObj> myDictParm, Form m, AbstCommand mnd, out IDictionary <TKey, TValue> dict) { mnd.MethodExec(myDictParm, out dict); }
public static void InvokeExeCommand <T>(Dictionary <string, MethodParamObj> myDictParm, Form m, AbstCommand mnd, out IList <T> list) { mnd.MethodExec(myDictParm, out list); }
public static void InvokeExeCommand(Dictionary <string, MethodParamObj> myDictParm, Form m, AbstCommand mnd, out DataSet ds) { mnd.MethodExec(myDictParm, out ds); }
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); }
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); }