x86.frmMain.submitApply C# (CSharp) Method

submitApply() private method

private submitApply ( ) : void
return void
        private void submitApply()
        {
            string g_payway = "支付宝";
            string g_textPayaccount = "";
            string g_realName = "";
            radioButton1.Enabled = false;
            radioButton2.Enabled = false;
            textPayaccount.Enabled = false;
            textRealName.Enabled = false;

            if (radioButton11.Checked == true)
            {
                g_payway = "支付宝";
            }
            else
            {
                g_payway = "财付通";

            }


            g_textPayaccount = textPayaccount.Text;
            g_realName = textRealName.Text;
            Hashtable hs = new Hashtable();
            hs.Add("g_payway", g_payway);
            hs.Add("g_textPayaccount", g_textPayaccount);
            hs.Add("g_realName", g_realName);
            hs.Add("grid",dataGridView1);
            delegateProgress = progress;
            progressBar1.Value = 0;
            progressBar1.Minimum = 0;
         

          

            ThreadSubmitSubFun = new Thread(new ParameterizedThreadStart(submitSubFun));
            ThreadSubmitSubFun.Start(hs);
          


            radioButton1.Enabled = true;
            radioButton2.Enabled = true;
            textPayaccount.Enabled = true;
            textRealName.Enabled = true;
           
        }
        public delegate void DelegateProgress(ProgressBar p,int v,int arg);
frmMain