private void UserRegisterForm_Load(object sender, EventArgs e)
        {
            try
            {
                tbName.Focus();

                ip = PaCSGlobal.GetClientIp();

                string[] ipBlocks = ip.Split('.');//
                if (ipBlocks[0].Equals("109"))
                {
                    if (ipBlocks[1].Equals("116"))
                    {
                        tbFct.Text = "SSDP";
                        tbFct.Tag  = "C660A";

                        int thirdBlock = int.Parse(ipBlocks[2]);//
                        if (thirdBlock < 199 || thirdBlock == 201 || thirdBlock == 223)
                        {
                            tbVendor.Text = "SSDP";
                            tbVendor.Tag  = "C660";
                        }
                        else if (thirdBlock == 214 || thirdBlock == 232)
                        {
                            tbVendor.Text = "阿科帝斯";
                            tbVendor.Tag  = "L1073X";
                        }
                        else
                        {
                            DataTable dt = loginPresenter.GetVendorByIP("109.116." + ipBlocks[2] + ".", tbFct.Tag == null ? "" : tbFct.Tag.ToString());
                            if (dt.Rows.Count > 0)
                            {
                                tbVendor.Text = dt.Rows[0]["vend_nm_cn"].ToString();
                                tbVendor.Tag  = dt.Rows[0]["vend_code"].ToString();
                            }
                        }
                    }
                    else if (ipBlocks[1].Equals("119"))
                    {
                        tbFct.Text = "SESC";
                        tbFct.Tag  = "C6H0A";

                        DataTable dt = loginPresenter.GetVendorByIP("109.119." + ipBlocks[2] + ".", tbFct.Tag == null ? "" : tbFct.Tag.ToString());
                        if (dt.Rows.Count > 0)
                        {
                            tbVendor.Text = dt.Rows[0]["vend_nm_cn"].ToString();
                            tbVendor.Tag  = dt.Rows[0]["vend_code"].ToString();
                        }
                        else
                        {
                            tbVendor.Text = "SESC";
                            tbVendor.Tag  = "C6H0";
                        }
                    }
                }

                //loginPresenter.GetVenderList(cmbVender);
            }
            catch (Exception UserRegisterForm_Load)
            {
                XtraMessageBox.Show(this.Parent, "System error[UserRegisterForm_Load]:" + UserRegisterForm_Load.Message);
            }
        }