private void loadnewini() { string str = DNFWebProxy.SendDataByGET("http://www.tx5d.com/api/v2/g.ashx", ""); //string str = File.ReadAllText(Application.StartupPath + "\\atc.ini", System.Text.Encoding.GetEncoding("utf-8")); _MJson m = new _MJson(str); Lnode = m.GetNode("Date").toListnode(); label2.Text = m.GetNode("ver").toString(); AD_webBrowser.Navigate(m.GetNode("adlink").toString()); loadListnode(Lnode); }
private void loadnewini() { string str = File.ReadAllText(Application.StartupPath + "\\atc.ini", System.Text.Encoding.GetEncoding("utf-8")); _MJson m = new _MJson(str); atcid = new List <int>(); Listnode Lnode = m.GetNode("Date").toListnode(); label2.Text = m.GetNode("ver").toString(); AD_webBrowser.Navigate(m.GetNode("adlink").toString()); actnodeList = new List <node>(); actnodeList_C = new List <int>(); loadListnode(Lnode); }
private void loadonlineini() { string str = http_GET("http://www.tx5d.com/api/g.ashx", null); _MJson m = new _MJson(str); atcid = new List <int>(); Listnode Lnode = m.GetNode("Date").toListnode(); label2.Text = m.GetNode("ver").toString(); AD_webBrowser.Navigate(m.GetNode("adlink").toString()); actnodeList = new List <node>(); actnodeList_C = new List <int>(); loadListnode(Lnode); }