Esempio 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);
            db.GetIp(ref TxtData.XMLConfigure.IpAddress, ref TxtData.XMLConfigure.RestrictCode);
            PublicFunc.ReadXMLConfigure();
            if (TxtData.XMLConfigure.IpAddress != Buff)
            {

                MessageBox.Show("请关闭软件并重新打开");
            }
        }
Esempio n. 2
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);
            db.GetIp(ref TxtData.XMLConfigure.IpAddress, ref TxtData.XMLConfigure.RestrictCode);
            PublicFunc.ReadXMLConfigure();
            if (TxtData.XMLConfigure.IpAddress != Buff)
            {
                MessageBox.Show("请关闭软件并重新打开");
            }
        }