public static Utility CreateById(string toid)
 {
     Utility data = new Utility();
     data.UtilityHeader.toid = toid;
     return data;
 }
Esempio n. 2
0
        private void call_NSPRFP1A01(string toid)
        {
            string errortxt = this.Vaildate1();
            if (errortxt != string.Empty)
            {
                MessageBox.Show(errortxt);
                this.focusControl.Focus();
                return;
            }

            this.Start();
            pack_req1 = pack1_req.Utility.CreateById(toid);
            RequestMessage requestmessage = new RequestMessage(enumRequestType.MessageProcessor,
                  enumMessageType.Utility,
                  enumRequestMethod.functionOperation, this.loginuser,
                  enumSendSysId.EXceed,
                  pack_req1);
            RequestWorkItem workitem = new RequestWorkItem(requestmessage, 1);
            threadhelper.AddWorkItem(workitem);
        }