Пример #1
0
        public override void MethodExec(Dictionary <string, MethodParamObj> myDictParm, out DataSet ds)
        {
            for (int i = 0; i < 1000000000; i++)
            {
                i += 1;
            }
            //MessageBox.Show("this按钮4命令" + this.cmdSourceObj.ToString() + ";" + this.cmdForm.ToString());
            //Thread.Sleep(5000);
            CommCommand ccmd = new CommCommand();

            ccmd.cmdOpType  = CommandOpType.Select;
            ccmd.dalCommand = this.dalCommand;
            ccmd.MethodExec(myDictParm, out ds);
        }
Пример #2
0
        public override void MethodExec(Dictionary <string, MethodParamObj> myDictParm)
        {
            for (int i = 0; i < 1000000000; i++)
            {
                i += 1;
            }
            MessageBox.Show("this按钮3命令" + this.cmdSourceObj.ToString() + ";" + this.cmdForm.ToString());
            //Thread.Sleep(5000);
            CommCommand ccmd = new CommCommand();

            ccmd.cmdOpType = CommandOpType.Update;
            //ccmd.dalCommand = new BussDomainModel1DALCommand();
            ccmd.dalCommand = this.dalCommand;
            ccmd.MethodExec(myDictParm);
        }
Пример #3
0
        public override void MethodExec(Dictionary <string, MethodParamObj> myDictParm, out Object obj)
        {
            for (int i = 0; i < 1000000000; i++)
            {
                i += 1;
            }
            MessageBox.Show("this按钮1命令" + this.cmdSourceObj.ToString() + ";" + this.cmdForm.ToString());
            //Thread.Sleep(5000);
            CommCommand ccmd = new CommCommand();

            ccmd.cmdOpType = CommandOpType.Add;
            //ccmd.dalCommand = new UserDALCommand();
            ccmd.dalCommand = this.dalCommand;
            ccmd.MethodExec(myDictParm, out obj);
        }