Ejemplo n.º 1
0
        private void BT_EditIP_Click(object sender, EventArgs e)
        {
            string Buff = TxtData.XMLConfigure.IpAddress;
            Edit_Ip frm = new Edit_Ip(1);
            frm.ShowDialog();
              //  Frm_Cs8cConfig_Load(this, null);
            if (TxtData.XMLConfigure.IpAddress != Buff)
            {
                // TxtData.DataBase.SoapStaus = false;
                // SoapInstance.SoapRead = new SoapClient(TxtData.XMLConfigure.IpAddress);

                MessageBox.Show("请关闭软件并重新打开");
            }
        }
Ejemplo n.º 2
0
        private void BT_EditSlaveIp_Click(object sender, EventArgs e)
        {
            string  Buff = TxtData.XMLConfigure.SlaveIpAddress;
            Edit_Ip frm  = new Edit_Ip(2);

            frm.ShowDialog();
            //   Frm_Cs8cConfig_Load(this, null);
            if (TxtData.XMLConfigure.SlaveIpAddress != Buff)
            {
                // TxtData.DataBase.SoapStaus = false;
                // SoapInstance.SoapRead = new SoapClient(TxtData.XMLConfigure.IpAddress);

                MessageBox.Show("请关闭软件并重新打开");
            }
        }