using efunbox_xyyf_windows.util; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace efunbox_xyyf_windows { public partial class DebugUtilForm : Form { public DebugUtilForm() { InitializeComponent(); LenvId.Text = "联想用户ID:" + LenvSDK.mLenvUserInfo.data.lenovoId; uuid.Text="UUID:"+ComputerUniqueHelper.GetComputerUUID(); } private void textBox1_TextChanged(object sender, EventArgs e) { if (newWebUrl.Text.Length == 0) { newWebUrl.Text = "请输入地址"; } } private void newWebUrl_Enter(object sender, EventArgs e) { newWebUrl.Text = ""; } private void changeWebUrl_Click(object sender, EventArgs e) { if (newWebUrl.Text.Length > 0) { Main.changeWebUrl(newWebUrl.Text); } } private void button1_Click(object sender, EventArgs e) { Main.webviewReload(); } private void button2_Click(object sender, EventArgs e) { string url = Main.getWebNowUrl(); if (url == null) { nowUrl.Text = "稍等.."; } else { url = url.Replace("&", "&&"); nowUrl.Text = url; } } private void lenvLogout_Click(object sender, EventArgs e) { LenvSDK.LenvLogout(); } } }