Files
kami_itunes_june/AppleBatch_June/FormGiftcardBalance.cs
2024-07-22 00:43:14 +08:00

3393 lines
117 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Media;
using System.Net;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
using System.Windows.Forms;
using AppleBatch_June.Domain;
using AppleBatch_June.ExecuteTasks;
using AppleBatch_June.Model;
using AppleBatch_June.Properties;
using AppleBatch_June.StartTaskModel;
using AppleBatch_June.Utils;
using DotNet.Utilities;
using Microsoft.VisualBasic;
namespace AppleBatch_June
{
public class FormGiftcardBalance : BaseForm
{
public struct FLASHWINFO
{
public uint cbSize;
public IntPtr hwnd;
public uint dwFlags;
public uint uCount;
public uint dwTimeout;
}
private GiftcardBalanceWeb giftcardBalance;
private List<string> GiftCardCountryList = new List<string>();
private Control automatedParent;
private Control autoIdList;
private SoundPlayer sp;
private Action<string, DisplyType, string> balance_action;
private Dictionary<string, string> countriesList = new Dictionary<string, string>();
public bool isLoginSucess;
public static object loginLockObj = new object();
public DateTime loginTime = DateTime.Now.AddHours(-1.0);
public DateTime loginCheckTime = DateTime.Now.AddHours(-1.0);
private GiftcardBalanceAotuQueryTask AotuQueryTask;
public bool isStartRun;
public DateTime expirationTime = DateTime.Now;
private bool expirationExecuted;
private bool isOut;
public const uint FLASHW_TRAY = 2u;
public const uint FLASHW_TIMERNOFG = 12u;
public const uint FLASHW_PARAM2 = 4u;
private Dictionary<string, CheckBox> FastCountrys = new Dictionary<string, CheckBox>();
private IContainer components;
private CheckBox ckGiftcardBalanceVpn;
private Label label5;
private Label labRemovePayDianShu;
private Label label31;
private GroupBox groupBox5;
private Button btnStopRemovePay;
private Button btnRemovePayLog;
private Button btnStartRemovePay;
private RichTextBox txtGiftcard;
private ListView listGiftcardBalance;
private ColumnHeader columnHeader8;
private ColumnHeader columnHeader9;
private ColumnHeader columnHeader12;
private ColumnHeader columnHeader14;
private Label label45;
private TextBox txtGiftcardLoadAccount;
private Button button1;
private Label labError;
private ContextMenuStrip MenuArea;
private ToolStripMenuItem ToolAreDelete;
private ToolStripMenuItem ToolStripMenuItem;
private ToolStripMenuItem ToolStripMenuItem;
private ToolStripMenuItem tipInputPwd;
private ToolStripMenuItem ToolStripMenuItem;
private ContextMenuStrip contextMenuStrip1;
private ToolStripMenuItem ToolStripMenuItem;
private ComboBox comCountries;
private Button btnChange;
private Label label1;
private Label label2;
private Label labNowGiftCardCountry;
private ColumnHeader columnHeader1;
private Panel panel1;
private CheckBox ckAutoTimeCheck;
private Label label7;
private Label label6;
private Label label4;
private Label label3;
private TextBox txtSepTime;
private Button btnExecuted;
private TabControl tabControl1;
private TabPage tabPage1;
private Button btnStartTime;
private Label label8;
private ColumnHeader columnHeader2;
private LinkLabel linkLabel2;
private Label labfreezeIntegral;
private Label label11;
private Label labintegral;
private Label label9;
private Label labUserNam;
private Label label10;
private Panel panUserInfo;
private LinkLabel linkLabel1;
private Button button2;
private Button btnRelogin;
private Label labStore;
private Label label12;
private Label labGiftBalanceTip;
private Button btnInputCarkList;
private TabControl tabLists;
private TabPage tabPage2;
private TabPage tabAutoCardList;
private CheckBox ckCueTone;
private CheckBox ckAotuLoadId;
private TabPage tabAutoIdList;
private Button btnInputIdList;
private ListView listAotoQueryList;
private ColumnHeader columnHeader3;
private ColumnHeader columnHeader4;
private ColumnHeader columnHeader5;
private ColumnHeader columnHeader7;
private ColumnHeader columnHeader11;
private ColumnHeader columnHeader10;
private ListView listAotoIdList;
private ColumnHeader columnHeader13;
private ColumnHeader columnHeader15;
private ColumnHeader columnHeader16;
private ColumnHeader columnHeader17;
private ColumnHeader columnHeader18;
private ColumnHeader columnHeader20;
private ColumnHeader columnHeader21;
private ToolTip toolTip1;
private Label label14;
private CheckBox ckApplyLoop;
private ColumnHeader columnHeader22;
private ColumnHeader columnHeader6;
private ContextMenuStrip contextMenuStrip2;
private ToolStripMenuItem ToolStripMenuItem;
private ToolStripMenuItem ToolStripMenuItem;
private ToolStripMenuItem ToolStripMenuItem;
private Label labLoginCount;
private CheckBox checkBox1;
private CheckBox ckMultiple;
private Button btnAddShortcut;
private ColumnHeader columnHeader19;
private ColumnHeader columnHeader23;
private CheckBox checkBox2;
private ContextMenuStrip contextMenuStrip3;
private ToolStripMenuItem delFastContel;
private Button button3;
private Label label13;
private CheckBox ckAutoRecog;
private string _storeAppleHostLists { get; set; } = "";
private int FastCountryCout { get; set; } = 5;
public Form login { get; set; }
public bool panUserInfoShow { get; set; }
public int AotoQueryNo { get; set; } = 1;
public FormGiftcardBalance()
: base("礼品卡查余额", null)
{
InitializeComponent();
}
public void InitUserInfo()
{
labUserNam.Text = AppSysConfig.userName;
labfreezeIntegral.Text = AppSysConfig.freezeIntegral.ToString();
if (AppSysConfig.integral < 0)
{
labintegral.Text = "(负)" + AppSysConfig.integral;
labintegral.ForeColor = Color.Green;
}
else
{
labintegral.Text = AppSysConfig.integral.ToString();
labintegral.ForeColor = Color.Black;
}
}
private string getCountriesInfo(string countries)
{
if (countriesList.ContainsKey(countries))
{
string text = countries;
if (string.IsNullOrEmpty(text))
{
text = "us";
}
return text.ToUpper() + "-" + countriesList[countries];
}
return "--";
}
private string getCountriesInfoByName(string countriesName)
{
foreach (KeyValuePair<string, string> countries in countriesList)
{
if (countries.Value == countriesName)
{
string text = countries.Key;
if (string.IsNullOrEmpty(text))
{
text = "us";
}
return text.ToUpper() + "-" + countries.Value;
}
}
return "--";
}
private string getCountriesKeyByName(string countriesName)
{
foreach (KeyValuePair<string, string> countries in countriesList)
{
if (countries.Value == countriesName || countries.Value.StartsWith(countriesName))
{
string text = countries.Key;
if (string.IsNullOrEmpty(text))
{
text = "us";
}
return text;
}
}
return "--";
}
private void FormGiftcardBalance_Load(object sender, EventArgs e)
{
balance_action = balance_card_action;
sp = new SoundPlayer(Resources.UI_success);
label14.Text = AppSysConfig.getConfig("AutoGiftBalanceTip");
panUserInfo.Visible = panUserInfoShow;
string tag = label14.Text;
label14.Text = label14.Tag.ToString();
label14.Tag = tag;
InitUserInfo();
automatedParent = tabAutoCardList.Parent;
tabAutoCardList.Parent = null;
autoIdList = tabAutoIdList.Parent;
tabAutoIdList.Parent = null;
btnInputIdList.Enabled = false;
panel1.Visible = false;
if (AppSysConfig.getConfig("IsShowAutoTimeCheck") == "1")
{
ckAutoTimeCheck.Visible = true;
}
else
{
ckAutoTimeCheck.Visible = false;
}
string[] array = AppSysConfig.getConfig("GiftCardCountryCountries").Split('|');
foreach (string text in array)
{
string text2 = text.Split(',')[0];
if (!string.IsNullOrEmpty(text2))
{
comCountries.Items.Add(text2);
GiftCardCountryList.Add(text.Split(',')[1]);
if (!countriesList.ContainsKey(text2))
{
countriesList.Add(text.Split(',')[1].Trim(), text2);
}
}
}
labGiftBalanceTip.Text = AppSysConfig.getConfig("GiftBalanceTip");
string data = ConfigUtlis.getConfigValue("comCountries").ToString();
comCountries.SelectedIndex = 0;
if (Tools.ToInt(data, 0) > 0)
{
comCountries.SelectedIndex = Tools.ToInt(data, 0);
}
labNowGiftCardCountry.Text = comCountries.Text;
labRemovePayDianShu.Text = AppSysConfig.getTypeById(23).consNum.ToString();
FastCountryCout = Tools.ToInt(AppSysConfig.getConfig("FastCountryCout"), 5);
string newValue = AppSysConfig.getTypeById(48).consNum.ToString();
string newValue2 = AppSysConfig.getTypeById(49).consNum.ToString();
toolTip1.SetToolTip(ckMultiple, toolTip1.GetToolTip(ckMultiple).Replace("{0}", newValue));
label5.Text = label5.Text.Replace("{0}", newValue);
label5.Text = label5.Text.Replace("{1}", newValue2);
txtGiftcardLoadAccount.Text = ConfigUtlis.getConfigValue("txtGiftcardLoadAccount");
bool flag2 = (ckGiftcardBalanceVpn.Checked = ((ConfigUtlis.getConfigValue("ckGiftcardBalanceVpn") == "True") ? true : false));
bool giftcardBalanceVpn = flag2;
ckAutoRecog.Checked = ((ConfigUtlis.getConfigValue("ckAutoRecog") == "True") ? true : false);
_storeAppleHostLists = GiftCardCountryList[comCountries.SelectedIndex];
if (AppSysConfig.getConfig("EnableAutoRecog") == "0")
{
CheckBox checkBox = ckAutoRecog;
CheckBox checkBox2 = ckAutoRecog;
ckAutoRecog.Checked = false;
flag2 = false;
checkBox2.Enabled = false;
checkBox.Visible = false;
}
giftcardBalance = new GiftcardBalanceWeb(_storeAppleHostLists, balance_action, balance_action, base.taskState);
if (string.IsNullOrEmpty(txtGiftcardLoadAccount.Text))
{
txtGiftcardLoadAccount.Text = "账号输入格式xxxx@xxx.com----密码";
}
else
{
List<AppleAcount> listAccount = AppleUtlis.accountInput(txtGiftcardLoadAccount.Text.Trim());
if (listAccount.Count == 1)
{
btnRelogin.Enabled = false;
Task.Run(delegate
{
string loginAppleId = listAccount[0].appleId.Trim();
GiftcardBalanceManage.AddGifStandby(_storeAppleHostLists, loginAppleId, listAccount[0].applePwd);
Console.WriteLine("查卡ID开始运行登录----" + DateTime.Now.ToString() + "_storeAppleHostLists=" + _storeAppleHostLists);
Stopwatch watch = Stopwatch.StartNew();
if (!base.taskState.isRun)
{
base.taskState.isRun = true;
}
string error;
bool loginReust = giftcardBalance.shopSignIn(loginAppleId, listAccount[0].applePwd, giftcardBalanceVpn, out error);
if (!base.taskState.TaskIsRun)
{
base.taskState.isRun = false;
}
if (base.IsHandleCreated)
{
BeginInvoke((Action)delegate
{
btnRelogin.Enabled = true;
if (loginReust)
{
ProxyAccountCache.addProxyIp(listAccount[0].appleId.Trim(), giftcardBalance.ProxyIp);
GiftcardBalanceStandby standby = GiftcardBalanceManage.GetStandby(_storeAppleHostLists, loginAppleId);
if (standby != null)
{
standby.AddGiftcardBalance(giftcardBalance);
labStore.Text = giftcardBalance.storeAppleHost.Replace(".store.apple.com", "");
watch.Stop();
Console.WriteLine("查卡ID登陆完成耗时:" + watch.Elapsed.TotalSeconds);
labError.Text = "ID登陆完成";
}
isLoginSucess = true;
}
else
{
labError.Text = error;
}
});
}
});
}
}
listGiftcardBalance.ColumnClick += lv_ColumnClick;
listAotoQueryList.ColumnClick += lv_ColumnClick;
listAotoIdList.ColumnClick += lv_ColumnClick;
Task.Factory.StartNew(longTask, TaskCreationOptions.LongRunning);
}
public void longTask()
{
try
{
do
{
try
{
UpdataMainUi(delegate
{
List<AppleAcount> list = AppleUtlis.accountInput(txtGiftcardLoadAccount.Text.Trim());
try
{
if (list.Count == 1)
{
bool @checked = ckGiftcardBalanceVpn.Checked;
foreach (KeyValuePair<string, CheckBox> fastCountry in FastCountrys)
{
string countriesName = fastCountry.Value.Tag.ToString();
GiftcardBalanceStandby standby = GiftcardBalanceManage.GetStandby(getCountriesKeyByName(countriesName), list[0].appleId);
if (standby != null)
{
if (!fastCountry.Value.Enabled)
{
if (standby.GiftcardBalanceCookieItems.Count > 0)
{
fastCountry.Value.Enabled = true;
fastCountry.Value.Text = getCountriesInfoByName(countriesName) + "-" + standby.GiftcardBalanceCookieItems.Count;
RefreshLocation();
}
else if (isLoginSucess && DateTime.Now.AddMinutes(-1.0) > standby.addGiftcardLostTime)
{
standby.addGiftcardLostTime = DateTime.Now;
standby.RunLoginTask(@checked);
}
}
else
{
if (standby.GiftcardBalanceCookieItems.Count <= 0)
{
fastCountry.Value.Text = getCountriesInfoByName(countriesName) + "-初始化";
}
else
{
fastCountry.Value.Text = getCountriesInfoByName(countriesName) + "-" + standby.GiftcardBalanceCookieItems.Count;
}
int num = -30;
if (standby.GiftcardBalanceCookieItems.Count <= 3)
{
num = -3;
if (standby.GiftcardBalanceCookieItems.Count <= 1)
{
num = -1;
}
}
if (isLoginSucess && DateTime.Now.AddMinutes(num) > standby.addGiftcardLostTime)
{
standby.addGiftcardLostTime = DateTime.Now;
standby.RunLoginTask(@checked);
}
}
}
}
GiftcardBalanceStandby standby2 = GiftcardBalanceManage.GetStandby(_storeAppleHostLists, list[0].appleId);
if (standby2 != null)
{
labLoginCount.Text = standby2.GiftcardBalanceCookieItems.Count.ToString();
if (isLoginSucess && standby2.GiftcardBalanceCookieItems.Count > 0)
{
if (!ckAutoRecog.Checked)
{
standby2.check(ckGiftcardBalanceVpn.Checked, balance_action);
}
else if (isLoginSucess && DateTime.Now.AddMinutes(-30.0) > standby2.addGiftcardLostTime)
{
standby2.addGiftcardLostTime = DateTime.Now;
standby2.RunLoginTask(@checked);
}
}
}
else
{
labLoginCount.Text = "0";
}
}
}
catch (Exception)
{
}
});
Thread.Sleep(10000);
}
catch (Exception)
{
}
}
while (!base.IsDisposed && base.IsHandleCreated);
}
catch (Exception)
{
}
}
private void lv_ColumnClick(object sender, ColumnClickEventArgs e)
{
if (sender is ListView listView)
{
if (listView.Tag == null)
{
listView.Tag = "1";
}
if (listView.Tag.ToString() == "1")
{
listView.ListViewItemSorter = new ListViewItemComparer(e.Column, 1);
listView.Tag = "0";
}
else
{
listView.ListViewItemSorter = new ListViewItemComparer(e.Column, 0);
listView.Tag = "1";
}
listView.Sort();
}
}
private void balance_card_action(string creadNo, DisplyType type, string reust)
{
try
{
if (base.IsDisposed || !base.IsHandleCreated)
{
return;
}
Invoke((Action)delegate
{
if (type == DisplyType.mima)
{
labLoginCount.Text = reust;
}
IEnumerable<ListViewItem> enumerable = from ListViewItem c in listGiftcardBalance.Items
where c.Tag.ToString() == creadNo
select c;
new Font(Font, FontStyle.Bold);
foreach (ListViewItem item in enumerable)
{
switch (type)
{
case DisplyType.xinxi:
item.SubItems[6].Text = reust;
break;
case DisplyType.newAccount:
labStore.Text = reust;
break;
case DisplyType.chongzhi:
item.SubItems[3].Text = "-";
break;
case DisplyType.balance:
{
item.SubItems[3].Text = reust.Replace("#1", "").Replace("#2", "");
item.SubItems[7].Text = DateTime.Now.ToString("HH:mm:ss");
Color myColor = Color.Green;
string text = getState(reust, ref myColor);
item.SubItems[5].Text = text;
item.SubItems[5].ForeColor = myColor;
break;
}
case DisplyType.error:
labError.Text = reust;
break;
case DisplyType.bindMoblie:
item.SubItems[2].Text = reust;
break;
case DisplyType.lostBillNo:
item.SubItems[4].Text = reust;
break;
}
}
});
}
catch (Exception)
{
}
}
private void aotoAction(string creadNo, DisplyType type, string reust)
{
try
{
if (base.IsDisposed || !base.IsHandleCreated)
{
return;
}
Invoke((Action)delegate
{
if (type == DisplyType.mima)
{
labLoginCount.Text = reust;
}
IEnumerable<ListViewItem> enumerable = from ListViewItem c in listAotoQueryList.Items
where c.SubItems[1].Text == creadNo
select c;
new Font(Font, FontStyle.Bold);
foreach (ListViewItem item in enumerable)
{
if (int.TryParse(item.SubItems[0].Text, out var result))
{
AotoQueryNo = result;
}
switch (type)
{
case DisplyType.reddemLose:
item.SubItems[6].Text = item.SubItems[6].Text + "[" + reust + "]";
break;
case DisplyType.reddemValid:
item.SubItems[6].Text = item.SubItems[6].Text + "[" + reust + "]";
if (ckApplyLoop.Checked)
{
item.SubItems[3].Text = "";
}
if (ckAotuLoadId.Checked)
{
plaYpromptTone();
}
break;
case DisplyType.gameCount:
{
if (int.TryParse(item.SubItems[2].Text, out var result2))
{
item.SubItems[2].Text = (result2 + 1).ToString();
}
else
{
item.SubItems[2].Text = "1";
}
break;
}
case DisplyType.chongzhi:
item.SubItems[3].Text = "-";
break;
case DisplyType.balance:
item.SubItems[3].Text = reust;
item.SubItems[5].Text = DateTime.Now.ToString("HH:mm:ss");
if (reust != "无" && !string.IsNullOrEmpty(reust))
{
bool flag = ckCueTone.Checked;
decimal num = Tools.ConverCurrency(reust);
if (ckAotuLoadId.Checked && num > 0m)
{
flag = AplyReddem(creadNo, num);
}
if (flag && num > 0m)
{
plaYpromptTone();
}
if (num == 0m)
{
item.SubItems[3].Text = "";
}
}
break;
case DisplyType.error:
labError.Text = reust;
break;
case DisplyType.xinxi:
item.SubItems[4].Text = reust;
break;
case DisplyType.newAccount:
labStore.Text = reust;
break;
}
}
if (enumerable.Count() == 0 && listAotoQueryList.Items.Count == 0)
{
if (type == DisplyType.error)
{
labError.Text = reust;
}
else if (type == DisplyType.newAccount)
{
labStore.Text = reust;
}
else if (type == DisplyType.xinxi)
{
labError.Text = reust;
}
}
});
}
catch (Exception)
{
}
}
public bool AplyReddem(string creadNo, decimal balance)
{
IEnumerable<ListViewItem> enumerable = from ListViewItem c in listAotoIdList.Items
where decimal.Parse(c.SubItems[4].Text) < decimal.Parse(c.SubItems[3].Text) && string.IsNullOrEmpty(c.SubItems[5].Text)
select c;
List<AppleAcount> accounts = new List<AppleAcount>();
foreach (ListViewItem item in enumerable)
{
accounts.Add(new AppleAcount
{
appleId = item.SubItems[1].Text,
applePwd = item.SubItems[2].Text,
overflow = item.SubItems[3].Text
});
}
if (accounts.Count > 0)
{
Task.Run(delegate
{
AotuQueryTask?.Reddem(creadNo, accounts, aotoReddemAction);
});
return false;
}
aotoAction(creadNo, DisplyType.reddemLose, "没有需要兑换的账号");
return true;
}
private void aotoReddemAction(string appleId, DisplyType type, string reust)
{
if (base.IsDisposed || !base.IsHandleCreated)
{
return;
}
Invoke((Action)delegate
{
IEnumerable<ListViewItem> enumerable = from ListViewItem c in listAotoIdList.Items
where c.SubItems[1].Text == appleId
select c;
new Font(Font, FontStyle.Bold);
foreach (ListViewItem item in enumerable)
{
switch (type)
{
case DisplyType.error:
item.SubItems[5].Text = reust;
break;
case DisplyType.reddemValid:
{
decimal result = default(decimal);
if (decimal.TryParse(reust, out result))
{
item.SubItems[4].Text = (decimal.Parse(item.SubItems[4].Text) + result).ToString();
if (decimal.Parse(item.SubItems[4].Text) >= decimal.Parse(item.SubItems[3].Text))
{
item.SubItems[5].Text = "完成";
}
}
item.SubItems[6].Text = DateTime.Now.ToString("HH:mm:ss");
break;
}
case DisplyType.xinxi:
item.SubItems[7].Text = reust;
break;
}
}
});
}
private void txtLoadAccount_Enter(object sender, EventArgs e)
{
if (txtGiftcardLoadAccount.Text == "账号输入格式xxxx@xxx.com----密码")
{
txtGiftcardLoadAccount.Text = "";
}
}
private void txtLoadAccount_Leave(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(txtGiftcardLoadAccount.Text))
{
txtGiftcardLoadAccount.Text = "账号输入格式xxxx@xxx.com----密码";
}
}
private void btnStartRemovePay_Click(object sender, EventArgs e)
{
if (txtGiftcardLoadAccount.Text != "账号输入格式xxxx@xxx.com----密码")
{
List<AppleAcount> list = AppleUtlis.accountInput(txtGiftcardLoadAccount.Text.Trim());
if (list.Count == 1)
{
ConfigUtlis.saveConfigKey("ckGiftcardBalanceVpn", ckGiftcardBalanceVpn.Checked.ToString());
ConfigUtlis.saveConfigKey("txtGiftcardLoadAccount", txtGiftcardLoadAccount.Text.Trim());
List<AppleAcount> list2 = new List<AppleAcount>();
string[] array = txtGiftcard.Text.Split('\n');
foreach (string text in array)
{
if (!string.IsNullOrEmpty(text))
{
list2.Add(new AppleAcount
{
reddemCode = text.Trim()
});
}
}
if (!base.taskState.TaskIsRun)
{
StartRemovePay(list2, ckGiftcardBalanceVpn.Checked, list[0].appleId, list[0].applePwd);
}
else
{
MessageBox.Show("请点停止,或等待任务结束");
}
}
else
{
MessageBox.Show("账号输入格式不正确");
txtGiftcardLoadAccount.Focus();
}
}
else
{
MessageBox.Show("请输入账号");
txtGiftcardLoadAccount.Focus();
}
}
private string getIngStr(int cont, int maxCount)
{
int totalWidth = cont % maxCount;
return ".".PadRight(totalWidth, '.');
}
public string getChak(string code)
{
HttpResult httpResult = APIUtlis.serviceSend(Tools.Toenjson(new Dictionary<string, object>
{
{ "code", code },
{ "type", "IGetCodeCountry" }
}));
if (httpResult.StatusCode == HttpStatusCode.OK)
{
dynamic val = Tools.Todejosn<object>(httpResult.Html);
if (val["Code"] == "0000")
{
dynamic val2 = val["Data"];
dynamic val3 = Tools.Todejosn<object>(val2);
if (val3["code"] == "0000")
{
return val3["msg"];
}
}
}
return "卡国家查询失败";
}
public string getState(string balance, ref Color myColor)
{
myColor = Color.Green;
string result = "有效 (valid)";
if (balance.Contains("无"))
{
myColor = Color.Red;
result = "无效 (invalid)";
if (balance.Contains("#1"))
{
myColor = Color.Black;
result = "未知 (unknown)";
}
if (balance.Contains("#2"))
{
myColor = Color.Red;
result = "已兑换 (invalid)";
}
}
else if (balance.Contains("#1"))
{
myColor = Color.Red;
result = "僵尸卡 (invalid)";
}
return result;
}
public void passLog(string reddemCode, string balance, string countriesInfo, string giftCardNumber, string xinxi, bool iskouFei)
{
Dictionary<string, string> dictionary = new Dictionary<string, string>();
dictionary.Add("type", "giftcardBalance");
dictionary.Add("addTime", Tools.GenerateTimeStamp().ToString());
dictionary.Add("value1", reddemCode);
dictionary.Add("value4", countriesInfo);
dictionary.Add("value2", balance.Replace("#1", "").Replace("#2", ""));
dictionary.Add("value3", xinxi);
dictionary.Add("value5", giftCardNumber);
Color myColor = Color.Green;
dictionary.Add("value6", getState(balance, ref myColor));
if (iskouFei)
{
APIUtlis.ApiApplyAct(49, "自动识别并测试僵尸卡");
}
SqliteHelper.ExecuteInsert("itunes_db", dictionary);
}
public void StartRemovePay(List<AppleAcount> lvItems, bool startVpn, string LoginAppleId, string LoginApwd, bool isAgain = false)
{
string text = "";
bool AutoRecog = ckAutoRecog.Checked;
if (ckMultiple.Checked && !isAgain)
{
foreach (KeyValuePair<string, CheckBox> fastCountry in FastCountrys)
{
if (!fastCountry.Value.Checked)
{
continue;
}
string text2 = fastCountry.Value.Tag.ToString();
foreach (KeyValuePair<string, string> countries in countriesList)
{
if (text2 == countries.Value)
{
text = ((!string.IsNullOrEmpty(countries.Key)) ? (text + countries.Key + ",") : (text + "us,"));
break;
}
}
}
if (!string.IsNullOrEmpty(text))
{
text = text.TrimEnd(',');
Console.WriteLine("multipleStoreAppleHostLists=" + text);
string[] array = text.Split(',');
bool multipleStore = false;
if (array.Length >= 2)
{
multipleStore = true;
}
List<AppleAcount> list = new List<AppleAcount>();
int num = 0;
foreach (AppleAcount lvItem in lvItems)
{
int num2 = 0;
string[] array2 = array;
for (int i = 0; i < array2.Length; i++)
{
string addres;
if ((addres = array2[i]) == "us")
{
addres = "";
}
list.Add(new AppleAcount
{
index = num,
multipleStore = multipleStore,
reddemCode = lvItem.reddemCode,
guidTag = lvItem.guidTag,
addres = addres,
notAuthen = (num2 == 0)
});
num++;
num2++;
}
}
lvItems = list;
}
else
{
int num3 = 0;
foreach (AppleAcount lvItem2 in lvItems)
{
lvItem2.index = num3;
lvItem2.multipleStore = false;
lvItem2.notAuthen = true;
if (string.IsNullOrEmpty(lvItem2.addres))
{
lvItem2.addres = _storeAppleHostLists;
}
num3++;
}
}
}
else
{
int num4 = 0;
foreach (AppleAcount lvItem3 in lvItems)
{
lvItem3.index = num4;
lvItem3.notAuthen = true;
if (string.IsNullOrEmpty(lvItem3.addres))
{
lvItem3.addres = _storeAppleHostLists;
}
num4++;
}
}
btnStartRemovePay.Enabled = false;
Task.Run(delegate
{
int taskSize = Tools.getTaskSize(startVpn, lvItems.Count);
base.taskState.isRun = true;
base.taskState.TaskIsRun = true;
AppleExecuteTask.TaskRunAppleIdCount = 0L;
AppleExecuteTask.TaskRunModels.Clear();
int cont = 0;
DateTime now = DateTime.Now;
GiftcardBalanceStandby standby = GiftcardBalanceManage.GetStandby(_storeAppleHostLists, LoginAppleId);
if (standby != null)
{
GiftcardBalanceWeb randomGiftcard = standby.GetRandomGiftcard(startVpn, isrunTask: false);
if (randomGiftcard != null)
{
giftcardBalance = randomGiftcard;
}
}
while (giftcardBalance.state == GiftcardBalanceWeb.GiftcardBalancState.busy && DateTime.Now.AddMinutes(-1.5) < now)
{
if (base.IsHandleCreated)
{
Invoke((Action)delegate
{
labError.Text = "ID登录中" + getIngStr(cont, 5);
});
}
Thread.Sleep(300);
cont++;
}
if (giftcardBalance.state == GiftcardBalanceWeb.GiftcardBalancState.success && !(giftcardBalance.LoginAppleId != LoginAppleId))
{
if (base.IsHandleCreated && giftcardBalance.state == GiftcardBalanceWeb.GiftcardBalancState.success)
{
BeginInvoke((Action)delegate
{
labError.Text = "ID登陆完成";
});
}
}
else
{
isLoginSucess = false;
if (base.IsHandleCreated)
{
Invoke((Action)delegate
{
labError.Text = "正在登陆ID" + getIngStr(3, 4);
});
}
if (!giftcardBalance.shopSignIn(LoginAppleId, LoginApwd, startVpn, out var error))
{
giftcardBalance.Reset();
if (base.IsHandleCreated)
{
Invoke((Action)delegate
{
labError.Text = error;
btnStartRemovePay.Enabled = true;
ITaskRunState taskRunState = base.taskState;
base.taskState.isRun = false;
taskRunState.TaskIsRun = false;
});
}
return;
}
ProxyAccountCache.addProxyIp(LoginAppleId, giftcardBalance.ProxyIp);
string storeNumber = giftcardBalance.storeAppleHost.Replace(".store.apple.com", "");
GiftcardBalanceManage.AddGifStandby(_storeAppleHostLists, LoginAppleId, LoginApwd);
if (standby == null)
{
standby = GiftcardBalanceManage.GetStandby(_storeAppleHostLists, LoginAppleId);
}
standby?.AddGiftcardBalance(giftcardBalance);
if (base.IsHandleCreated)
{
Invoke((Action)delegate
{
labError.Text = "ID登陆完成";
labStore.Text = storeNumber;
isLoginSucess = true;
});
}
}
ApiNetReq.startNowFun = 23;
Task[] array3 = new Task[taskSize];
for (int j = 0; j < taskSize; j++)
{
array3[j] = Task.Run(delegate
{
string guid = Guid.NewGuid().ToString("n");
TaskRunModel taskRunModel = new TaskRunModel
{
guid = guid,
isRuning = false
};
AppleExecuteTask.TaskRunModels.Add(taskRunModel);
while (base.taskState.isRun)
{
AppleAcount listView = null;
try
{
lock (lvItems)
{
listView = (from c in lvItems
where !c.isAct
orderby c.index
select c).FirstOrDefault();
if (listView == null)
{
break;
}
listView.isAct = true;
}
string countriesInfoName = "";
if (!isAgain)
{
listView.guidTag = Tools.GetMD5_32(listView.reddemCode.Trim() + listView.addres);
if (base.IsHandleCreated)
{
Invoke((Action)delegate
{
if (!base.IsDisposed)
{
ListViewItem listViewItem = new ListViewItem((listGiftcardBalance.Items.Count + 1).ToString())
{
SubItems = { listView.reddemCode.Trim() }
};
string text8 = getCountriesInfo(listView.addres);
countriesInfoName = getCountriesKeyByName(listView.addres);
if (AutoRecog)
{
text8 = "查询卡国家";
}
listViewItem.SubItems.Add(text8);
listViewItem.SubItems.Add("");
listViewItem.SubItems.Add("");
listViewItem.SubItems.Add("");
listViewItem.SubItems.Add("");
listViewItem.SubItems.Add("");
listViewItem.Tag = listView.guidTag;
listViewItem.UseItemStyleForSubItems = false;
listGiftcardBalance.Items.Add(listViewItem);
string[] array4 = txtGiftcard.Text.Split('\n');
foreach (string text9 in array4)
{
if (text9.StartsWith(listView.reddemCode) && !string.IsNullOrEmpty(text9))
{
txtGiftcard.Text = txtGiftcard.Text.Replace(text9 + "\n", "");
txtGiftcard.Text = txtGiftcard.Text.Replace(text9, "");
}
}
}
});
}
}
bool flag;
if (BaseTask.startRuning(taskRunModel, balance_action, listView.guidTag))
{
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "正在处理");
flag = false;
if (!AutoRecog)
{
goto IL_06ca;
}
string chak = getChak(listView.reddemCode);
if (chak.Contains("商店中兑换"))
{
string value = new Regex("在([\\s\\S]*?)商店").Match(chak).Groups[1].Value;
if (string.IsNullOrEmpty(value))
{
goto IL_06ca;
}
countriesInfoName = value;
string countriesKeyByName = getCountriesKeyByName(value);
balance_action?.Invoke(listView.guidTag, DisplyType.bindMoblie, value);
string[] source = AppSysConfig.getConfig("PinCodeCountry").Split(',');
if (countriesKeyByName != "--" && !source.Contains(value))
{
listView.addres = countriesKeyByName;
goto IL_06ca;
}
balance_action?.Invoke(listView.guidTag, DisplyType.balance, "无#1");
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "卡国家不支持");
passLog(listView.reddemCode, "无", value, "", "卡国家不支持", iskouFei: true);
}
else if (chak.Contains("代码无效"))
{
balance_action?.Invoke(listView.guidTag, DisplyType.bindMoblie, "未知");
balance_action?.Invoke(listView.guidTag, DisplyType.balance, "无");
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, chak);
passLog(listView.reddemCode, "无", "未知", "", chak, iskouFei: true);
}
else if (!chak.Contains("已兑换") && !chak.Contains("被禁用") && !chak.Contains("服务启用"))
{
balance_action?.Invoke(listView.guidTag, DisplyType.bindMoblie, "未知");
balance_action?.Invoke(listView.guidTag, DisplyType.balance, "无#1");
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "国家查询失败:" + chak);
passLog(listView.reddemCode, "无#1", "未知", "", "国家查询失败:" + chak, iskouFei: false);
}
else
{
string text3 = (countriesInfoName = "美国");
string countriesKeyByName2 = getCountriesKeyByName(text3);
if (countriesKeyByName2 != "--")
{
listView.addres = countriesKeyByName2;
}
balance_action?.Invoke(listView.guidTag, DisplyType.bindMoblie, text3);
if (!chak.Contains("已兑换"))
{
if (chak.Contains("被禁用"))
{
balance_action?.Invoke(listView.guidTag, DisplyType.balance, "");
}
if (chak.Contains("服务启用"))
{
flag = true;
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "僵尸卡");
}
goto IL_06ca;
}
balance_action?.Invoke(listView.guidTag, DisplyType.balance, "无#2");
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, chak);
passLog(listView.reddemCode, "无#2", text3, "", chak, iskouFei: true);
}
}
goto end_IL_004c;
IL_06ca:
GiftcardBalanceStandby standby2 = GiftcardBalanceManage.GetStandby(listView.addres, LoginAppleId);
if (standby2 == null)
{
GiftcardBalanceManage.AddGifStandby(listView.addres, LoginAppleId, LoginApwd);
standby2 = GiftcardBalanceManage.GetStandby(listView.addres, LoginAppleId);
standby2.GetRandomGiftcard(startVpn);
}
lock (loginLockObj)
{
if (DateTime.Now.AddSeconds(-20.0) > loginCheckTime)
{
loginCheckTime = DateTime.Now;
standby2?.check(startVpn, balance_action);
}
}
int num5 = 23;
HttpResult httpResult = APIUtlis.getIsLogin(23);
if (httpResult.StatusCode == HttpStatusCode.OK)
{
object obj = Tools.Todejosn<object>(httpResult.Html);
if (((dynamic)obj)["Code"] == "0000")
{
if (((dynamic)obj)["Data"]["integral"] >= AppSysConfig.getTypeById(num5).consNum)
{
balance_action?.Invoke(listView.appleId, DisplyType.chongzhi, "");
bool flag2 = false;
int num6 = 0;
int num7 = 10;
do
{
flag2 = false;
bool flag3 = false;
GiftcardBalanceWeb giftcardBalanceWeb = standby2.GetRandomGiftcard(startVpn);
if (giftcardBalanceWeb == null && standby2.GiftcardBalanceCookieItems.Count > 0)
{
int index = new Random(Guid.NewGuid().GetHashCode()).Next(0, standby2.GiftcardBalanceCookieItems.Count);
giftcardBalanceWeb = standby2.GiftcardBalanceCookieItems.ElementAt(index).Value;
}
if (giftcardBalanceWeb != null)
{
giftcardBalanceWeb.taskState = base.taskState;
giftcardBalanceWeb.isUpProxyAccountCache = true;
giftcardBalanceWeb.ProxyIp = ProxyAccountCache.getProxyAccountIP(LoginAppleId, 18);
giftcardBalanceWeb.action = balance_action;
GiftcardBalanceModel giftcardBalanceModel = giftcardBalanceWeb.giftCardBalanceCheck(listView.reddemCode, startVpn, listView.guidTag);
if (giftcardBalanceModel != null)
{
if (giftcardBalanceModel.head.status == 200 && !giftcardBalanceModel.body.giftCardBalanceCheck.d.maxAttemptReached)
{
string countriesInfo = getCountriesInfo(giftcardBalanceWeb.storeAppleHostLists);
if (!AutoRecog)
{
balance_action?.Invoke(listView.guidTag, DisplyType.bindMoblie, countriesInfo);
Console.WriteLine("storeAppleHostLists=" + listView.addres + ",--" + countriesInfo + ",storeAppleHostLists=" + giftcardBalanceWeb.storeAppleHostLists);
}
Dictionary<string, string> dictionary = new Dictionary<string, string>
{
{ "type", "giftcardBalance" },
{
"addTime",
Tools.GenerateTimeStamp().ToString()
},
{ "value1", listView.reddemCode },
{ "value4", countriesInfo }
};
if (giftcardBalanceModel.body.giftCardBalanceCheck.d.balance != null)
{
string text4 = giftcardBalanceModel.body.giftCardBalanceCheck.d.balance;
if (flag)
{
text4 += "#1";
}
dictionary.Add("value2", text4.Replace("#1", ""));
dictionary.Add("value3", "查询完成");
balance_action?.Invoke(listView.guidTag, DisplyType.balance, text4);
string text5 = HttpUtility.HtmlDecode(giftcardBalanceModel.body.giftCardBalanceCheck.d.giftCardNumber);
dictionary.Add("value5", text5);
if (flag)
{
dictionary.Add("value6", "僵尸卡(invalid)");
}
else
{
dictionary.Add("value6", "有效(valid)");
}
balance_action?.Invoke(listView.guidTag, DisplyType.lostBillNo, text5);
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "查询完成");
}
else if (giftcardBalanceModel.body.giftCardBalanceCheck.d.alertMessages != null)
{
string text6 = "错误:" + giftcardBalanceModel.body.giftCardBalanceCheck.d.alertMessages[0];
dictionary.Add("value2", "无");
dictionary.Add("value3", text6);
dictionary.Add("value5", "");
dictionary.Add("value6", "未知 (unknown)");
balance_action?.Invoke(listView.guidTag, DisplyType.balance, "无#1");
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, text6);
}
else
{
if (listView.addres == "us")
{
Console.WriteLine(Tools.Toenjson(giftcardBalanceModel));
}
string text7 = "错误:不是有效的礼品卡";
dictionary.Add("value2", "无");
dictionary.Add("value3", text7);
dictionary.Add("value5", "");
dictionary.Add("value6", "无效 (invalid)");
balance_action?.Invoke(listView.guidTag, DisplyType.balance, "无");
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, text7);
}
if (listView.notAuthen)
{
if (listView.multipleStore || AutoRecog)
{
if (AutoRecog)
{
APIUtlis.ApiApplyAct(49, "自动识别并测试僵尸卡");
}
else
{
APIUtlis.ApiApplyAct(48, "多选商店查卡余额");
}
}
else
{
APIUtlis.ApiApplyAct(num5, "礼品卡查余额");
}
}
SqliteHelper.ExecuteInsert("itunes_db", dictionary);
}
else
{
bool? flag4 = giftcardBalanceModel?.body?.giftCardBalanceCheck?.d?.maxAttemptReached;
if (giftcardBalanceModel.head.status != 302 && (!flag4.HasValue || !flag4.Value))
{
ProxyAccountCache.ReclassifyAccountIp(LoginAppleId);
standby2.removeGiftcardBalance(giftcardBalanceWeb.StdndbyKey);
flag2 = true;
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "未知,等待重新查询.." + (num6 + 1));
}
else
{
ProxyAccountCache.ReclassifyAccountIp(LoginAppleId);
flag2 = true;
standby2.removeGiftcardBalance(giftcardBalanceWeb.StdndbyKey);
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "等待重新查询中..." + (num6 + 1));
}
}
}
else
{
ProxyAccountCache.ReclassifyAccountIp(LoginAppleId);
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "请求错误,请重新查询");
}
}
else
{
flag2 = true;
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, countriesInfoName + "初始化登录中..." + (num6 + 1));
flag3 = true;
}
if (flag2)
{
if (num6 + 1 < num7)
{
int num8 = 2 * num6;
if (flag3)
{
for (int k = 0; k < num8; k++)
{
if (standby2.GiftcardBalanceCookieItems.Count > 0)
{
break;
}
Thread.Sleep(1000);
}
}
else
{
Thread.Sleep(1000 * num8);
}
}
else
{
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "查询失败,请重新登录");
}
}
if (!base.taskState.isRun)
{
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "停止执行");
}
num6++;
}
while (flag2 && num6 < num7 && base.taskState.isRun);
}
else
{
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "点数不足,请联系客服充值");
}
}
else
{
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, ((dynamic)obj)["Message"]);
}
}
else
{
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "网络请求失败");
}
goto IL_147b;
end_IL_004c:;
}
catch (Exception ex)
{
APIUtlis.ApiSeriveError(ex);
if (listView != null)
{
balance_action?.Invoke(listView.guidTag, DisplyType.xinxi, "请求失败:" + ex.Message);
}
goto IL_147b;
}
continue;
IL_147b:
BaseTask.endRuning(taskRunModel);
}
});
}
Task.WaitAll(array3);
AppleExecuteTask.TaskRunModels.Clear();
base.taskState.isRun = false;
base.taskState.TaskIsRun = false;
if (base.IsHandleCreated)
{
Invoke((Action)delegate
{
btnStartRemovePay.Enabled = true;
});
}
isLogin(delegate
{
});
});
}
private void btnStopRemovePay_Click(object sender, EventArgs e)
{
base.taskState.Stop();
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
try
{
IDataObject dataObject = Clipboard.GetDataObject();
if (dataObject.GetDataPresent(DataFormats.Text))
{
txtGiftcard.Text = (string)dataObject.GetData(DataFormats.Text);
}
}
catch (Exception)
{
MessageBox.Show("粘贴失败");
}
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
ListView listView = listGiftcardBalance;
if (tabLists.SelectedIndex == 1)
{
listView = listAotoQueryList;
}
else if (tabLists.SelectedIndex == 2)
{
listView = listAotoIdList;
}
string text = "";
int num = 0;
foreach (ListViewItem selectedItem in listView.SelectedItems)
{
num = 0;
foreach (ListViewItem.ListViewSubItem subItem in selectedItem.SubItems)
{
if (num != 0)
{
text = ((num <= 2) ? (text + subItem.Text + "----") : (text + listView.Columns[num].Text + subItem.Text + "-"));
}
num++;
}
text += "\n";
}
if (text.Length > 0)
{
try
{
Clipboard.SetText(text);
MessageBox.Show("复制成功");
}
catch (Exception)
{
MessageBox.Show("复制失败");
}
}
}
private void tipInputPwd_Click(object sender, EventArgs e)
{
ListView listView = listGiftcardBalance;
if (tabLists.SelectedIndex == 1)
{
listView = listAotoQueryList;
}
string text = "";
foreach (ListViewItem selectedItem in listView.SelectedItems)
{
text += selectedItem.SubItems[1].Text;
text += "\n";
}
if (text.Length > 0)
{
try
{
Clipboard.SetText(text);
MessageBox.Show("复制成功");
}
catch (Exception)
{
MessageBox.Show("复制失败");
}
}
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
ListView listView = listGiftcardBalance;
if (tabLists.SelectedIndex == 1)
{
listView = listAotoQueryList;
}
string text = "";
foreach (ListViewItem selectedItem in listView.SelectedItems)
{
text = ((tabLists.SelectedIndex != 0) ? (text + selectedItem.SubItems[1].Text + " " + selectedItem.SubItems[3].Text) : (text + selectedItem.SubItems[1].Text + " " + selectedItem.SubItems[3].Text));
text += "\n";
}
if (text.Length > 0)
{
try
{
Clipboard.SetText(text);
MessageBox.Show("复制成功");
}
catch (Exception)
{
MessageBox.Show("复制失败");
}
}
}
private void ToolAreDelete_Click(object sender, EventArgs e)
{
ListView listView = listGiftcardBalance;
if (tabLists.SelectedIndex == 1)
{
listView = listAotoQueryList;
}
else if (tabLists.SelectedIndex == 2)
{
listView = listAotoIdList;
}
foreach (ListViewItem selectedItem in listView.SelectedItems)
{
listView.Items.Remove(selectedItem);
}
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
if (txtGiftcardLoadAccount.Text != "账号输入格式xxxx@xxx.com----密码")
{
List<AppleAcount> list = AppleUtlis.accountInput(txtGiftcardLoadAccount.Text.Trim());
if (list.Count == 1)
{
ConfigUtlis.saveConfigKey("ckGiftcardBalanceVpn", ckGiftcardBalanceVpn.Checked.ToString());
ConfigUtlis.saveConfigKey("txtGiftcardLoadAccount", txtGiftcardLoadAccount.Text.Trim());
List<AppleAcount> list2 = new List<AppleAcount>();
if (tabLists.SelectedIndex == 0)
{
foreach (ListViewItem selectedItem in listGiftcardBalance.SelectedItems)
{
string text = selectedItem.SubItems[2].Text;
string addres = "";
if (text.Split('-').Length == 2)
{
addres = text.Split('-')[0].ToLower();
}
list2.Add(new AppleAcount
{
reddemCode = selectedItem.SubItems[1].Text.Trim(),
guidTag = selectedItem.Tag.ToString(),
addres = addres
});
ListViewItem.ListViewSubItem listViewSubItem = selectedItem.SubItems[3];
ListViewItem.ListViewSubItem listViewSubItem2 = selectedItem.SubItems[4];
string text3 = (selectedItem.SubItems[5].Text = "");
string text5 = (listViewSubItem2.Text = text3);
listViewSubItem.Text = text5;
}
StartRemovePay(list2, ckGiftcardBalanceVpn.Checked, list[0].appleId, list[0].applePwd, isAgain: true);
}
if (tabLists.SelectedIndex != 1)
{
return;
}
foreach (ListViewItem selectedItem2 in listAotoQueryList.SelectedItems)
{
list2.Add(new AppleAcount
{
reddemCode = selectedItem2.SubItems[1].Text,
overflow = selectedItem2.SubItems[2].Text
});
}
btnExecuted.Enabled = false;
AotuQueryTask.Query(list2, ckGiftcardBalanceVpn.Checked, list[0].appleId, list[0].applePwd, delegate
{
UpdataMainUi(delegate
{
btnExecuted.Enabled = true;
});
});
}
else
{
MessageBox.Show("账号输入格式不正确");
txtGiftcardLoadAccount.Focus();
}
}
else
{
MessageBox.Show("请输入账号");
txtGiftcardLoadAccount.Focus();
}
}
private void button1_Click(object sender, EventArgs e)
{
ListView lv = listGiftcardBalance;
if (tabLists.SelectedIndex == 1)
{
lv = listAotoQueryList;
}
else if (tabLists.SelectedIndex == 2)
{
lv = listAotoIdList;
}
ExperList(lv);
}
private void btnRemovePayLog_Click(object sender, EventArgs e)
{
FromDBDataQuery fromDBDataQuery = new FromDBDataQuery();
fromDBDataQuery.sqlTitle = new Dictionary<string, string>
{
{ "value1", "礼品卡代码|200" },
{ "value4", "查询的商店|80" },
{ "value2", "余额|100" },
{ "value5", "Pin码|80" },
{ "value6", "状态|80" },
{ "value3", "信息|250" }
};
fromDBDataQuery.type = "giftcardBalance";
fromDBDataQuery.typeName = "礼品卡余额查询";
fromDBDataQuery.Show();
}
public void btnChangeEvel()
{
_storeAppleHostLists = GiftCardCountryList[comCountries.SelectedIndex];
giftcardBalance = new GiftcardBalanceWeb(_storeAppleHostLists, balance_action, balance_action, base.taskState);
labNowGiftCardCountry.Text = comCountries.Text;
List<AppleAcount> list = AppleUtlis.accountInput(txtGiftcardLoadAccount.Text.Trim());
if (list.Count >= 1 && GiftcardBalanceManage.GetStandby(_storeAppleHostLists, list[0].appleId) == null)
{
GiftcardBalanceManage.AddGifStandby(_storeAppleHostLists, list[0].appleId, list[0].applePwd);
}
ConfigUtlis.saveConfigKey("comCountries", comCountries.SelectedIndex.ToString());
}
private void btnChange_Click(object sender, EventArgs e)
{
btnChangeEvel();
foreach (KeyValuePair<string, CheckBox> fastCountry in FastCountrys)
{
if (comCountries.Text == fastCountry.Value.Tag.ToString())
{
fastCountry.Value.Checked = true;
}
else
{
fastCountry.Value.Checked = false;
}
}
}
private void checkBox1_CheckedChanged(object sender, EventArgs e)
{
if (ckAutoTimeCheck.Checked)
{
if (AotuQueryTask == null)
{
AotuQueryTask = new GiftcardBalanceAotuQueryTask(aotoAction, aotoAction);
}
tabAutoCardList.Parent = automatedParent;
tabLists.SelectedTab = tabAutoCardList;
panel1.Visible = true;
string tag = label14.Text;
label14.Text = label14.Tag.ToString();
label14.Tag = tag;
_storeAppleHostLists = GiftCardCountryList[comCountries.SelectedIndex];
if (AotuQueryTask != null)
{
AotuQueryTask.storeAppleHostLists = _storeAppleHostLists;
}
label13.Text = comCountries.Text;
ckAotuLoadId_CheckedChanged(null, null);
}
else
{
tabAutoCardList.Parent = null;
tabAutoIdList.Parent = null;
panel1.Visible = false;
isStartRun = false;
string tag2 = label14.Text;
label14.Text = label14.Tag.ToString();
label14.Tag = tag2;
}
}
private void btnStartTime_Click(object sender, EventArgs e)
{
if (float.TryParse(txtSepTime.Text, out var result))
{
if (result > 0f)
{
if (!isStartRun)
{
if (AppleUtlis.accountInput(txtGiftcardLoadAccount.Text.Trim()).Count == 1)
{
StartTime(result);
return;
}
MessageBox.Show("账号输入格式不正确");
txtGiftcardLoadAccount.Focus();
}
else
{
expirationExecuted = false;
isStartRun = false;
AotuQueryTask.Stop();
}
}
else
{
MessageBox.Show("请输入分钟");
}
}
else
{
MessageBox.Show("请输入正确数值分钟");
}
}
public async void StartTime(float timeMinute)
{
isStartRun = true;
btnStartTime.Text = "停止";
expirationTime = DateTime.Now.AddMinutes(timeMinute);
await Task.Run(delegate
{
do
{
if (!(DateTime.Now >= expirationTime))
{
UpdateCountdownTime();
}
else if (!expirationExecuted)
{
expirationExecuted = true;
UpdataMainUi(delegate
{
btnExecuted_Click(null, null);
label7.Text = "正在查询...序号:" + AotoQueryNo;
});
}
else
{
UpdataMainUi(delegate
{
label7.Text = "正在查询...序号:" + AotoQueryNo;
});
if (!AotuQueryTask.expirationExecuted)
{
expirationTime = DateTime.Now.AddMinutes(timeMinute);
expirationExecuted = false;
AotoQueryNo = 1;
}
}
Task.Delay(500).Wait();
}
while (isStartRun);
});
btnStartTime.Text = "开始计时";
label7.Text = "未开始";
isStartRun = false;
}
public void UpdateCountdownTime()
{
TimeSpan timeSpan = expirationTime - DateTime.Now;
UpdataMainUi(delegate
{
label7.Text = (int)timeSpan.TotalMinutes + "分" + timeSpan.Seconds + "秒";
});
}
public void UpdataMainUi(Action act)
{
try
{
if (!base.IsDisposed && base.IsHandleCreated)
{
Invoke(act);
}
}
catch (Exception)
{
}
}
private void btnExecuted_Click(object sender, EventArgs e)
{
List<AppleAcount> list = AppleUtlis.accountInput(txtGiftcardLoadAccount.Text.Trim());
if (list.Count == 1)
{
new List<AppleAcount>();
List<AppleAcount> lvItems = (from ListViewItem c in listAotoQueryList.Items
where c.SubItems[3].Text == "" || c.SubItems[3].Text == "无" || c.SubItems[3].Text == "-"
select new AppleAcount
{
reddemCode = c.SubItems[1].Text,
overflow = c.SubItems[2].Text
}).ToList();
btnExecuted.Enabled = false;
AotuQueryTask.Query(lvItems, ckGiftcardBalanceVpn.Checked, list[0].appleId, list[0].applePwd, delegate
{
UpdataMainUi(delegate
{
btnExecuted.Enabled = true;
});
});
}
else
{
MessageBox.Show("账号输入格式不正确");
isStartRun = false;
}
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
APIUtlis.outLogin();
isOut = true;
Close();
if (login != null)
{
login.Show();
}
}
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
linkLabel2.Enabled = false;
isLogin(delegate
{
linkLabel2.Enabled = true;
});
}
public void isLogin(Action endAct)
{
APIUtlis.getIsLogin(delegate(HttpResult reust2)
{
dynamic data2 = Tools.Todejosn<object>(reust2.Html);
if (!base.IsDisposed)
{
BeginInvoke((Action)delegate
{
if (data2["Code"] == "0000")
{
AppSysConfig.integral = data2["Data"]["integral"];
AppSysConfig.freezeIntegral = data2["Data"]["freezeIntegral"];
if (AppSysConfig.integral < 0)
{
labintegral.Text = "(负)" + AppSysConfig.integral;
labintegral.ForeColor = Color.Green;
}
else
{
labintegral.Text = AppSysConfig.integral.ToString();
labintegral.ForeColor = Color.Black;
}
labfreezeIntegral.Text = AppSysConfig.freezeIntegral.ToString();
}
else if (!((data2["Code"] == "2004") ? true : false))
{
MessageBox.Show(data2["Message"]);
}
else if (MessageBox.Show("账号已掉线,是否重新登录", "登录提示", MessageBoxButtons.YesNo) == DialogResult.Yes)
{
userReLogin();
}
endAct();
});
}
});
}
public void userReLogin()
{
string userName = AppSysConfig.userName;
string userPwd = AppSysConfig.userPwd;
Dictionary<string, object> postData = new Dictionary<string, object>
{
{ "account", userName },
{ "pwd", userPwd }
};
HttpResult httpResult = new ApiNetReq().doPost(postData, "ApiLogin");
if (httpResult.StatusCode == HttpStatusCode.OK)
{
dynamic val = Tools.Todejosn<object>(httpResult.Html);
if (val["Code"] == "0000")
{
AppSysConfig.userToken = val["Data"]["token"];
AppSysConfig.integral = val["Data"]["integral"];
AppSysConfig.freezeIntegral = val["Data"]["freezeIntegral"];
if (AppSysConfig.integral < 0)
{
labintegral.Text = "(负)" + AppSysConfig.integral;
labintegral.ForeColor = Color.Green;
}
else
{
labintegral.Text = AppSysConfig.integral.ToString();
labintegral.ForeColor = Color.Black;
}
labfreezeIntegral.Text = AppSysConfig.freezeIntegral.ToString();
MessageBox.Show("登录成功");
}
else if (val["Code"] == "2003")
{
MessageBox.Show(val["Message"]);
string text = Interaction.InputBox("请重新输入账号的登录密码", "请重新输入账号的登录密码");
if (text.Length != 0)
{
AppSysConfig.userPwd = text;
userReLogin();
}
}
else
{
MessageBox.Show(val["Message"]);
}
}
else
{
MessageBox.Show("请求错误,请检测网络");
}
}
private void FormGiftcardBalance_FormClosing(object sender, FormClosingEventArgs e)
{
if (AotuQueryTask != null && AotuQueryTask.taskState.TaskIsRun && MessageBox.Show("定时查询任务还在运行,确定退出吗?", "提示", MessageBoxButtons.OKCancel) != DialogResult.OK)
{
e.Cancel = true;
}
else if (login != null && !isOut)
{
base.taskState.Stop();
Application.Exit();
Environment.Exit(0);
}
}
private void button2_Click(object sender, EventArgs e)
{
string text = "确认删除列表数据吗";
ListView listView = listGiftcardBalance;
if (tabLists.SelectedIndex == 1)
{
text = "确认删除【定时查询礼品卡】列表数据吗";
listView = listAotoQueryList;
}
else if (tabLists.SelectedIndex == 2)
{
text = "确认删除【自动加卡的ID 】列表数据吗";
listView = listAotoIdList;
}
if (MessageBox.Show(text, "提示", MessageBoxButtons.OKCancel) == DialogResult.OK)
{
listView.Items.Clear();
}
}
private void btnRelogin_Click(object sender, EventArgs e)
{
if (txtGiftcardLoadAccount.Text != "账号输入格式xxxx@xxx.com----密码")
{
btnRelogin.Enabled = false;
List<AppleAcount> listAccount = AppleUtlis.accountInput(txtGiftcardLoadAccount.Text.Trim());
if (listAccount.Count != 1)
{
return;
}
isLoginSucess = false;
labError.Text = "正在重新登录..";
labStore.Text = "";
Task.Run(delegate
{
if (!base.taskState.isRun)
{
base.taskState.isRun = true;
}
giftcardBalance.Reset();
string error;
bool loginReust = giftcardBalance.shopSignIn(listAccount[0].appleId.Trim(), listAccount[0].applePwd, ckGiftcardBalanceVpn.Checked, out error);
if (!base.taskState.TaskIsRun)
{
base.taskState.isRun = false;
}
if (base.IsHandleCreated)
{
BeginInvoke((Action)delegate
{
btnRelogin.Enabled = true;
if (loginReust)
{
ConfigUtlis.saveConfigKey("ckGiftcardBalanceVpn", ckGiftcardBalanceVpn.Checked.ToString());
ConfigUtlis.saveConfigKey("txtGiftcardLoadAccount", txtGiftcardLoadAccount.Text.Trim());
labStore.Text = giftcardBalance.storeAppleHost.Replace(".store.apple.com", "");
GiftcardBalanceManage.AddGifStandby(giftcardBalance.storeAppleHostLists, listAccount[0].appleId, listAccount[0].applePwd);
GiftcardBalanceManage.GetStandby(giftcardBalance.storeAppleHostLists, listAccount[0].appleId)?.AddGiftcardBalance(giftcardBalance);
labError.Text = "ID登陆成功";
isLoginSucess = true;
}
else
{
labStore.Text = "";
labError.Text = error;
}
});
}
});
}
else
{
MessageBox.Show("请输入账号");
txtGiftcardLoadAccount.Focus();
}
}
[DllImport("User32.dll", CharSet = CharSet.Unicode)]
private static extern bool FlashWindowEx(ref FLASHWINFO pwfi);
private void FlashWin()
{
FLASHWINFO pwfi = default(FLASHWINFO);
pwfi.cbSize = Convert.ToUInt32(Marshal.SizeOf((object)pwfi));
pwfi.hwnd = base.Handle;
pwfi.dwFlags = 6u;
pwfi.uCount = 5u;
pwfi.dwTimeout = 500u;
FlashWindowEx(ref pwfi);
}
private void btnInputCarkList_Click(object sender, EventArgs e)
{
FromInputAcount fromInputAcount = new FromInputAcount();
fromInputAcount.tipMssage = "卡片代码";
fromInputAcount.isOpenSysVpn = ckGiftcardBalanceVpn.Checked;
if (fromInputAcount.ShowDialog() != DialogResult.OK)
{
return;
}
List<string> list = new List<string>();
int num = 0;
if (listAotoQueryList.Items.Count > 0 && int.TryParse(listAotoQueryList.Items[listAotoQueryList.Items.Count - 1].SubItems[0].Text, out var result))
{
num = result;
}
string[] array = fromInputAcount.StrInput.Split('\n');
foreach (string kamiItem in array)
{
if (!string.IsNullOrEmpty(kamiItem.Trim()) && kamiItem.Length >= 12 && list.Where((string c) => c == kamiItem.Trim()).Count() == 0)
{
list.Add(kamiItem.Trim());
num++;
ListViewItem listViewItem = new ListViewItem(num.ToString());
listViewItem.SubItems.Add(kamiItem.Trim());
listViewItem.SubItems.Add("-");
listViewItem.SubItems.Add("");
listViewItem.SubItems.Add("");
listViewItem.SubItems.Add("");
listViewItem.SubItems.Add("");
listViewItem.UseItemStyleForSubItems = false;
listAotoQueryList.Items.Add(listViewItem);
}
}
tabLists.SelectedTab = tabAutoCardList;
}
public void plaYpromptTone()
{
try
{
sp.Stop();
sp.Play();
UpdataMainUi(delegate
{
FlashWin();
});
}
catch (Exception)
{
}
}
private void ckAotuLoadId_CheckedChanged(object sender, EventArgs e)
{
if (ckAotuLoadId.Checked)
{
tabAutoIdList.Parent = autoIdList;
tabLists.SelectedTab = tabAutoIdList;
btnInputIdList.Enabled = true;
}
else
{
tabAutoIdList.Parent = null;
btnInputIdList.Enabled = false;
tabLists.SelectedTab = tabAutoCardList;
}
}
private void btnInputIdList_Click(object sender, EventArgs e)
{
FromInputAcount fromInputAcount = new FromInputAcount();
fromInputAcount.tipMssage = "账号---密码--最大加载金额";
if (fromInputAcount.ShowDialog() != DialogResult.OK)
{
return;
}
List<AppleAcount> list = AppleUtlis.accountInput(fromInputAcount.StrInput);
int num = 0;
foreach (AppleAcount item in list)
{
if (!string.IsNullOrEmpty(item.overflow) && decimal.TryParse(item.overflow, out var _))
{
num++;
ListViewItem listViewItem = new ListViewItem(num.ToString());
listViewItem.SubItems.Add(item.appleId.Trim());
listViewItem.SubItems.Add(item.applePwd.Trim());
listViewItem.SubItems.Add(item.overflow);
listViewItem.SubItems.Add("0");
listViewItem.SubItems.Add("");
listViewItem.SubItems.Add("");
listViewItem.SubItems.Add("");
listViewItem.UseItemStyleForSubItems = false;
listAotoIdList.Items.Add(listViewItem);
}
}
tabLists.SelectedTab = tabAutoIdList;
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
ListView listView = listAotoIdList;
foreach (ListViewItem selectedItem in listView.SelectedItems)
{
listView.Items.Remove(selectedItem);
}
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
ListView listView = listAotoIdList;
string text = "";
int num = 0;
foreach (ListViewItem selectedItem in listView.SelectedItems)
{
num = 0;
foreach (ListViewItem.ListViewSubItem subItem in selectedItem.SubItems)
{
if (num != 0)
{
text = ((num <= 2) ? (text + subItem.Text + "----") : (text + listView.Columns[num].Text + subItem.Text + "-"));
}
num++;
}
text += "\n";
}
if (text.Length > 0)
{
try
{
Clipboard.SetText(text);
MessageBox.Show("复制成功");
}
catch (Exception)
{
MessageBox.Show("复制失败");
}
}
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
List<AppleAcount> list = new List<AppleAcount>();
foreach (ListViewItem selectedItem in listAotoIdList.SelectedItems)
{
list.Add(new AppleAcount
{
appleId = selectedItem.SubItems[1].Text,
applePwd = selectedItem.SubItems[2].Text
});
}
AotuQueryTask.QuertAppleBlance(list, aotoReddemAction);
}
private void label7_Click(object sender, EventArgs e)
{
string input = label7.Text;
string value = new Regex("序号:([\\d]+)").Match(input).Groups[1].Value;
if (string.IsNullOrEmpty(value) || !int.TryParse(value, out var no))
{
return;
}
try
{
tabLists.SelectedTab = tabAutoCardList;
foreach (ListViewItem item in from ListViewItem c in listAotoQueryList.Items
where c.SubItems[0].Text == no.ToString()
select c)
{
item.EnsureVisible();
}
}
catch (Exception)
{
}
}
private void ckGiftcardBalanceVpn_CheckedChanged(object sender, EventArgs e)
{
List<AppleAcount> list = AppleUtlis.accountInput(txtGiftcardLoadAccount.Text.Trim());
if (list.Count >= 1)
{
GiftcardBalanceStandby standby = GiftcardBalanceManage.GetStandby(_storeAppleHostLists, list[0].appleId);
if (standby != null)
{
standby.startVpn = ckGiftcardBalanceVpn.Checked;
}
}
}
public void RefreshLocation()
{
int num = 0;
foreach (KeyValuePair<string, CheckBox> fastCountry in FastCountrys)
{
fastCountry.Value.Location = new Point(161 + num, 305);
num += fastCountry.Value.GetPreferredSize(fastCountry.Value.Size).Width + 35;
}
}
public CheckBox CreateCheckBox(string name)
{
CheckBox checkBox = new CheckBox();
checkBox.Text = getCountriesInfoByName(name) + "-初始化";
checkBox.AutoSize = true;
checkBox.Tag = name;
checkBox.Enabled = false;
checkBox.ContextMenuStrip = contextMenuStrip3;
checkBox.Location = new Point(161, 305);
checkBox.Font = checkBox1.Font;
checkBox.ForeColor = checkBox1.ForeColor;
checkBox.CheckedChanged += delegate(object sender, EventArgs e)
{
CheckBox checkBox2 = sender as CheckBox;
if (!ckMultiple.Checked && checkBox2.Checked)
{
foreach (KeyValuePair<string, CheckBox> fastCountry in FastCountrys)
{
if (fastCountry.Value != checkBox2)
{
fastCountry.Value.Checked = false;
}
}
}
string selectedItem = checkBox2.Tag.ToString();
if (checkBox2.Checked)
{
comCountries.SelectedItem = selectedItem;
btnChangeEvel();
}
if (ckMultiple.Checked)
{
string text = "";
int num = 0;
foreach (KeyValuePair<string, CheckBox> fastCountry2 in FastCountrys)
{
if (fastCountry2.Value.Checked)
{
text = text + fastCountry2.Value.Tag.ToString() + ",";
num++;
}
}
if (!string.IsNullOrEmpty(text))
{
labNowGiftCardCountry.Text = text.TrimEnd(',');
}
if (num >= 2)
{
labRemovePayDianShu.Text = AppSysConfig.getTypeById(48).consNum.ToString();
}
else
{
labRemovePayDianShu.Text = AppSysConfig.getTypeById(23).consNum.ToString();
}
}
};
base.Controls.Add(checkBox);
return checkBox;
}
private void btnAddShortcut_Click(object sender, EventArgs e)
{
if (FastCountrys.Count < FastCountryCout)
{
List<AppleAcount> list = AppleUtlis.accountInput(txtGiftcardLoadAccount.Text.Trim());
if (list.Count >= 1)
{
string text = comCountries.Text;
if (!FastCountrys.ContainsKey(text))
{
MessageBox.Show("添加完成");
CheckBox value = CreateCheckBox(text);
FastCountrys.Add(text, value);
string countriesKeyByName = getCountriesKeyByName(text);
if (GiftcardBalanceManage.GetStandby(countriesKeyByName, list[0].appleId) == null && GiftcardBalanceManage.AddGifStandby(countriesKeyByName, list[0].appleId, list[0].applePwd))
{
GiftcardBalanceManage.GetStandby(countriesKeyByName, list[0].appleId).GetRandomGiftcard(ckGiftcardBalanceVpn.Checked);
}
RefreshLocation();
}
else
{
MessageBox.Show("所选国家存在在,请选择其他国家");
}
}
else
{
MessageBox.Show("请先填写登录的Apple ID");
}
}
else
{
MessageBox.Show("失败:查询快捷国家数量最多可以添加 " + FastCountryCout + " 个,请先移除其他的国家,鼠标选中右键可以删除。");
}
}
private void delFastContel_Click(object sender, EventArgs e)
{
if (contextMenuStrip3.SourceControl is CheckBox checkBox)
{
base.Controls.Remove(checkBox);
FastCountrys.Remove(checkBox.Tag.ToString());
}
RefreshLocation();
if (!ckMultiple.Checked)
{
return;
}
string text = "";
int num = 0;
foreach (KeyValuePair<string, CheckBox> fastCountry in FastCountrys)
{
if (fastCountry.Value.Checked)
{
text = text + fastCountry.Value.Tag.ToString() + ",";
num++;
}
}
if (!string.IsNullOrEmpty(text))
{
labNowGiftCardCountry.Text = text.TrimEnd(',');
}
if (num >= 2)
{
labRemovePayDianShu.Text = AppSysConfig.getTypeById(48).consNum.ToString();
}
else
{
labRemovePayDianShu.Text = AppSysConfig.getTypeById(23).consNum.ToString();
}
}
private void ckMultiple_CheckedChanged(object sender, EventArgs e)
{
if (ckMultiple.Checked)
{
return;
}
foreach (KeyValuePair<string, CheckBox> fastCountry in FastCountrys)
{
fastCountry.Value.Checked = false;
}
btnChangeEvel();
}
private void button3_Click(object sender, EventArgs e)
{
if (AotuQueryTask != null)
{
AotuQueryTask.storeAppleHostLists = GiftCardCountryList[comCountries.SelectedIndex];
label13.Text = comCountries.Text;
}
}
private void ckAutoRecog_CheckedChanged(object sender, EventArgs e)
{
if (ckAutoRecog.Checked)
{
CheckBox checkBox = ckMultiple;
CheckBox checkBox2 = ckMultiple;
Button button = btnChange;
btnAddShortcut.Enabled = false;
button.Enabled = false;
bool flag = false;
checkBox2.Enabled = false;
checkBox.Checked = false;
listGiftcardBalance.Columns[2].Text = "卡国家";
labNowGiftCardCountry.Text = "自动识别";
labRemovePayDianShu.Text = AppSysConfig.getTypeById(49).consNum.ToString();
}
else
{
Button button2 = btnChange;
Button button3 = btnAddShortcut;
bool flag = true;
button3.Enabled = true;
button2.Enabled = true;
listGiftcardBalance.Columns[2].Text = "查询的商店";
labRemovePayDianShu.Text = AppSysConfig.getTypeById(23).consNum.ToString();
btnChangeEvel();
}
ConfigUtlis.saveConfigKey("ckAutoRecog", ckAutoRecog.Checked.ToString());
}
protected override void Dispose(bool disposing)
{
if (disposing && components != null)
{
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.ckGiftcardBalanceVpn = new System.Windows.Forms.CheckBox();
this.label5 = new System.Windows.Forms.Label();
this.labRemovePayDianShu = new System.Windows.Forms.Label();
this.label31 = new System.Windows.Forms.Label();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.button1 = new System.Windows.Forms.Button();
this.btnStopRemovePay = new System.Windows.Forms.Button();
this.btnRemovePayLog = new System.Windows.Forms.Button();
this.btnStartRemovePay = new System.Windows.Forms.Button();
this.txtGiftcard = new System.Windows.Forms.RichTextBox();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.listGiftcardBalance = new System.Windows.Forms.ListView();
this.columnHeader8 = new System.Windows.Forms.ColumnHeader();
this.columnHeader9 = new System.Windows.Forms.ColumnHeader();
this.columnHeader19 = new System.Windows.Forms.ColumnHeader();
this.columnHeader12 = new System.Windows.Forms.ColumnHeader();
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader23 = new System.Windows.Forms.ColumnHeader();
this.columnHeader14 = new System.Windows.Forms.ColumnHeader();
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
this.MenuArea = new System.Windows.Forms.ContextMenuStrip(this.components);
this.ToolAreDelete = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.tipInputPwd = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.label45 = new System.Windows.Forms.Label();
this.txtGiftcardLoadAccount = new System.Windows.Forms.TextBox();
this.labError = new System.Windows.Forms.Label();
this.comCountries = new System.Windows.Forms.ComboBox();
this.btnChange = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.labNowGiftCardCountry = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.button3 = new System.Windows.Forms.Button();
this.label13 = new System.Windows.Forms.Label();
this.ckApplyLoop = new System.Windows.Forms.CheckBox();
this.btnInputIdList = new System.Windows.Forms.Button();
this.ckCueTone = new System.Windows.Forms.CheckBox();
this.ckAotuLoadId = new System.Windows.Forms.CheckBox();
this.btnInputCarkList = new System.Windows.Forms.Button();
this.btnStartTime = new System.Windows.Forms.Button();
this.label8 = new System.Windows.Forms.Label();
this.btnExecuted = new System.Windows.Forms.Button();
this.label7 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.txtSepTime = new System.Windows.Forms.TextBox();
this.ckAutoTimeCheck = new System.Windows.Forms.CheckBox();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.linkLabel2 = new System.Windows.Forms.LinkLabel();
this.labfreezeIntegral = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.labintegral = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.labUserNam = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.panUserInfo = new System.Windows.Forms.Panel();
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
this.button2 = new System.Windows.Forms.Button();
this.btnRelogin = new System.Windows.Forms.Button();
this.labStore = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.labGiftBalanceTip = new System.Windows.Forms.Label();
this.tabLists = new System.Windows.Forms.TabControl();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.tabAutoCardList = new System.Windows.Forms.TabPage();
this.listAotoQueryList = new System.Windows.Forms.ListView();
this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
this.columnHeader11 = new System.Windows.Forms.ColumnHeader();
this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
this.columnHeader7 = new System.Windows.Forms.ColumnHeader();
this.columnHeader10 = new System.Windows.Forms.ColumnHeader();
this.columnHeader22 = new System.Windows.Forms.ColumnHeader();
this.tabAutoIdList = new System.Windows.Forms.TabPage();
this.listAotoIdList = new System.Windows.Forms.ListView();
this.columnHeader13 = new System.Windows.Forms.ColumnHeader();
this.columnHeader15 = new System.Windows.Forms.ColumnHeader();
this.columnHeader16 = new System.Windows.Forms.ColumnHeader();
this.columnHeader17 = new System.Windows.Forms.ColumnHeader();
this.columnHeader18 = new System.Windows.Forms.ColumnHeader();
this.columnHeader6 = new System.Windows.Forms.ColumnHeader();
this.columnHeader20 = new System.Windows.Forms.ColumnHeader();
this.columnHeader21 = new System.Windows.Forms.ColumnHeader();
this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.ckMultiple = new System.Windows.Forms.CheckBox();
this.ckAutoRecog = new System.Windows.Forms.CheckBox();
this.label14 = new System.Windows.Forms.Label();
this.labLoginCount = new System.Windows.Forms.Label();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.btnAddShortcut = new System.Windows.Forms.Button();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.contextMenuStrip3 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.delFastContel = new System.Windows.Forms.ToolStripMenuItem();
this.groupBox5.SuspendLayout();
this.contextMenuStrip1.SuspendLayout();
this.MenuArea.SuspendLayout();
this.panel1.SuspendLayout();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.panUserInfo.SuspendLayout();
this.tabLists.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabAutoCardList.SuspendLayout();
this.tabAutoIdList.SuspendLayout();
this.contextMenuStrip2.SuspendLayout();
this.contextMenuStrip3.SuspendLayout();
base.SuspendLayout();
this.ckGiftcardBalanceVpn.AutoSize = true;
this.ckGiftcardBalanceVpn.ForeColor = System.Drawing.Color.Red;
this.ckGiftcardBalanceVpn.Location = new System.Drawing.Point(17, 267);
this.ckGiftcardBalanceVpn.Name = "ckGiftcardBalanceVpn";
this.ckGiftcardBalanceVpn.Size = new System.Drawing.Size(108, 16);
this.ckGiftcardBalanceVpn.TabIndex = 34;
this.ckGiftcardBalanceVpn.Text = "使用随机IP代理";
this.ckGiftcardBalanceVpn.UseVisualStyleBackColor = true;
this.ckGiftcardBalanceVpn.CheckedChanged += new System.EventHandler(ckGiftcardBalanceVpn_CheckedChanged);
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(211, 269);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(365, 12);
this.label5.TabIndex = 33;
this.label5.Text = "同时查两个及以上国家扣{0}点,自动识别国家并测僵尸卡扣 {1} 点";
this.labRemovePayDianShu.AutoSize = true;
this.labRemovePayDianShu.Font = new System.Drawing.Font("微软雅黑", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
this.labRemovePayDianShu.ForeColor = System.Drawing.Color.Crimson;
this.labRemovePayDianShu.Location = new System.Drawing.Point(185, 265);
this.labRemovePayDianShu.Name = "labRemovePayDianShu";
this.labRemovePayDianShu.Size = new System.Drawing.Size(18, 19);
this.labRemovePayDianShu.TabIndex = 32;
this.labRemovePayDianShu.Text = "0";
this.label31.AutoSize = true;
this.label31.Location = new System.Drawing.Point(125, 268);
this.label31.Name = "label31";
this.label31.Size = new System.Drawing.Size(65, 12);
this.label31.TabIndex = 31;
this.label31.Text = "消耗点数:";
this.groupBox5.Controls.Add(this.button1);
this.groupBox5.Controls.Add(this.btnStopRemovePay);
this.groupBox5.Controls.Add(this.btnRemovePayLog);
this.groupBox5.Controls.Add(this.btnStartRemovePay);
this.groupBox5.Location = new System.Drawing.Point(443, 72);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(156, 187);
this.groupBox5.TabIndex = 29;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "操作";
this.button1.Location = new System.Drawing.Point(12, 118);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(130, 24);
this.button1.TabIndex = 9;
this.button1.Text = "导出记录";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(button1_Click);
this.btnStopRemovePay.Location = new System.Drawing.Point(12, 80);
this.btnStopRemovePay.Name = "btnStopRemovePay";
this.btnStopRemovePay.Size = new System.Drawing.Size(130, 24);
this.btnStopRemovePay.TabIndex = 8;
this.btnStopRemovePay.Text = "停止查询";
this.btnStopRemovePay.UseVisualStyleBackColor = true;
this.btnStopRemovePay.Click += new System.EventHandler(btnStopRemovePay_Click);
this.btnRemovePayLog.Location = new System.Drawing.Point(12, 156);
this.btnRemovePayLog.Name = "btnRemovePayLog";
this.btnRemovePayLog.Size = new System.Drawing.Size(130, 23);
this.btnRemovePayLog.TabIndex = 7;
this.btnRemovePayLog.Text = "余额查询记录";
this.btnRemovePayLog.UseVisualStyleBackColor = true;
this.btnRemovePayLog.Click += new System.EventHandler(btnRemovePayLog_Click);
this.btnStartRemovePay.Location = new System.Drawing.Point(12, 20);
this.btnStartRemovePay.Name = "btnStartRemovePay";
this.btnStartRemovePay.Size = new System.Drawing.Size(130, 46);
this.btnStartRemovePay.TabIndex = 6;
this.btnStartRemovePay.Text = "开始查询";
this.btnStartRemovePay.UseVisualStyleBackColor = true;
this.btnStartRemovePay.Click += new System.EventHandler(btnStartRemovePay_Click);
this.txtGiftcard.ContextMenuStrip = this.contextMenuStrip1;
this.txtGiftcard.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtGiftcard.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.txtGiftcard.Location = new System.Drawing.Point(3, 3);
this.txtGiftcard.Name = "txtGiftcard";
this.txtGiftcard.Size = new System.Drawing.Size(398, 171);
this.txtGiftcard.TabIndex = 0;
this.txtGiftcard.Text = "";
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[1] { this.ToolStripMenuItem });
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(101, 26);
this.ToolStripMenuItem.Name = "粘贴ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
this.ToolStripMenuItem.Text = "粘贴";
this.ToolStripMenuItem.Click += new System.EventHandler(ToolStripMenuItem_Click);
this.listGiftcardBalance.Columns.AddRange(new System.Windows.Forms.ColumnHeader[8] { this.columnHeader8, this.columnHeader9, this.columnHeader19, this.columnHeader12, this.columnHeader1, this.columnHeader23, this.columnHeader14, this.columnHeader2 });
this.listGiftcardBalance.ContextMenuStrip = this.MenuArea;
this.listGiftcardBalance.Dock = System.Windows.Forms.DockStyle.Fill;
this.listGiftcardBalance.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.listGiftcardBalance.FullRowSelect = true;
this.listGiftcardBalance.HideSelection = false;
this.listGiftcardBalance.Location = new System.Drawing.Point(3, 3);
this.listGiftcardBalance.Name = "listGiftcardBalance";
this.listGiftcardBalance.Size = new System.Drawing.Size(1008, 402);
this.listGiftcardBalance.TabIndex = 35;
this.listGiftcardBalance.UseCompatibleStateImageBehavior = false;
this.listGiftcardBalance.View = System.Windows.Forms.View.Details;
this.columnHeader8.Text = "序号";
this.columnHeader9.Text = "礼品卡代码";
this.columnHeader9.Width = 200;
this.columnHeader19.Text = "查询的商店";
this.columnHeader19.Width = 100;
this.columnHeader12.Text = "余额";
this.columnHeader12.Width = 100;
this.columnHeader1.Text = "PIN礼品卡尾号";
this.columnHeader1.Width = 100;
this.columnHeader23.Text = "状态";
this.columnHeader23.Width = 100;
this.columnHeader14.Text = "信息";
this.columnHeader14.Width = 240;
this.columnHeader2.Text = "时间";
this.columnHeader2.Width = 89;
this.MenuArea.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.MenuArea.Items.AddRange(new System.Windows.Forms.ToolStripItem[5] { this.ToolAreDelete, this.ToolStripMenuItem, this.ToolStripMenuItem, this.tipInputPwd, this.ToolStripMenuItem });
this.MenuArea.Name = "MenuArea";
this.MenuArea.Size = new System.Drawing.Size(194, 114);
this.ToolAreDelete.Name = "ToolAreDelete";
this.ToolAreDelete.Size = new System.Drawing.Size(193, 22);
this.ToolAreDelete.Text = "删除";
this.ToolAreDelete.Click += new System.EventHandler(ToolAreDelete_Click);
this.ToolStripMenuItem.Name = "重新执行ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(193, 22);
this.ToolStripMenuItem.Text = "重新执行";
this.ToolStripMenuItem.Click += new System.EventHandler(ToolStripMenuItem_Click);
this.ToolStripMenuItem.Name = "复制账号信息ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(193, 22);
this.ToolStripMenuItem.Text = "复制信息";
this.ToolStripMenuItem.Click += new System.EventHandler(ToolStripMenuItem_Click);
this.tipInputPwd.Name = "tipInputPwd";
this.tipInputPwd.Size = new System.Drawing.Size(193, 22);
this.tipInputPwd.Text = "复制礼品卡代码";
this.tipInputPwd.Click += new System.EventHandler(tipInputPwd_Click);
this.ToolStripMenuItem.Name = "复制礼品卡代码余额ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(193, 22);
this.ToolStripMenuItem.Text = "复制礼品卡代码+余额";
this.ToolStripMenuItem.Click += new System.EventHandler(ToolStripMenuItem_Click);
this.label45.AutoSize = true;
this.label45.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.label45.ForeColor = System.Drawing.Color.Firebrick;
this.label45.Location = new System.Drawing.Point(22, 18);
this.label45.Name = "label45";
this.label45.Size = new System.Drawing.Size(45, 17);
this.label45.TabIndex = 37;
this.label45.Text = "登录ID";
this.txtGiftcardLoadAccount.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.txtGiftcardLoadAccount.Location = new System.Drawing.Point(73, 15);
this.txtGiftcardLoadAccount.Name = "txtGiftcardLoadAccount";
this.txtGiftcardLoadAccount.Size = new System.Drawing.Size(338, 23);
this.txtGiftcardLoadAccount.TabIndex = 36;
this.txtGiftcardLoadAccount.Text = "账号输入格式xxxx@xxx.com----密码";
this.txtGiftcardLoadAccount.Enter += new System.EventHandler(txtLoadAccount_Enter);
this.txtGiftcardLoadAccount.Leave += new System.EventHandler(txtLoadAccount_Leave);
this.labError.AutoSize = true;
this.labError.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
this.labError.ForeColor = System.Drawing.Color.Red;
this.labError.Location = new System.Drawing.Point(576, 296);
this.labError.Name = "labError";
this.labError.Size = new System.Drawing.Size(0, 14);
this.labError.TabIndex = 38;
this.comCountries.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comCountries.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.comCountries.FormattingEnabled = true;
this.comCountries.Location = new System.Drawing.Point(608, 25);
this.comCountries.Name = "comCountries";
this.comCountries.Size = new System.Drawing.Size(225, 25);
this.comCountries.TabIndex = 39;
this.btnChange.Location = new System.Drawing.Point(608, 63);
this.btnChange.Name = "btnChange";
this.btnChange.Size = new System.Drawing.Size(75, 23);
this.btnChange.TabIndex = 40;
this.btnChange.Text = "更改";
this.btnChange.UseVisualStyleBackColor = true;
this.btnChange.Click += new System.EventHandler(btnChange_Click);
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(511, 39);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(89, 12);
this.label1.TabIndex = 41;
this.label1.Text = "选择礼品卡国家";
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(611, 93);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(101, 12);
this.label2.TabIndex = 42;
this.label2.Text = "当前商店国家是:";
this.labNowGiftCardCountry.AutoSize = true;
this.labNowGiftCardCountry.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
this.labNowGiftCardCountry.Location = new System.Drawing.Point(715, 94);
this.labNowGiftCardCountry.Name = "labNowGiftCardCountry";
this.labNowGiftCardCountry.Size = new System.Drawing.Size(0, 12);
this.labNowGiftCardCountry.TabIndex = 43;
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panel1.Controls.Add(this.button3);
this.panel1.Controls.Add(this.label13);
this.panel1.Controls.Add(this.ckApplyLoop);
this.panel1.Controls.Add(this.btnInputIdList);
this.panel1.Controls.Add(this.ckCueTone);
this.panel1.Controls.Add(this.ckAotuLoadId);
this.panel1.Controls.Add(this.btnInputCarkList);
this.panel1.Controls.Add(this.btnStartTime);
this.panel1.Controls.Add(this.label8);
this.panel1.Controls.Add(this.btnExecuted);
this.panel1.Controls.Add(this.label7);
this.panel1.Controls.Add(this.label6);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.txtSepTime);
this.panel1.Location = new System.Drawing.Point(613, 169);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(412, 123);
this.panel1.TabIndex = 44;
this.button3.Location = new System.Drawing.Point(154, 63);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(88, 23);
this.button3.TabIndex = 14;
this.button3.Text = "更改定时国家";
this.toolTip1.SetToolTip(this.button3, "导入格式:卡片代码");
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(button3_Click);
this.label13.AutoSize = true;
this.label13.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
this.label13.ForeColor = System.Drawing.SystemColors.MenuHighlight;
this.label13.Location = new System.Drawing.Point(152, 42);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(54, 12);
this.label13.TabIndex = 13;
this.label13.Text = "label13";
this.ckApplyLoop.AutoSize = true;
this.ckApplyLoop.Location = new System.Drawing.Point(277, 43);
this.ckApplyLoop.Name = "ckApplyLoop";
this.ckApplyLoop.Size = new System.Drawing.Size(132, 16);
this.ckApplyLoop.TabIndex = 12;
this.ckApplyLoop.Text = "兑换完成后继续查询";
this.toolTip1.SetToolTip(this.ckApplyLoop, "兑换成功后,继续重新查询余额");
this.ckApplyLoop.UseVisualStyleBackColor = true;
this.btnInputIdList.Location = new System.Drawing.Point(280, 95);
this.btnInputIdList.Name = "btnInputIdList";
this.btnInputIdList.Size = new System.Drawing.Size(115, 23);
this.btnInputIdList.TabIndex = 11;
this.btnInputIdList.Text = "导入加卡的ID";
this.toolTip1.SetToolTip(this.btnInputIdList, "导入格式:账号---密码--需加载金额,有双重的账户,需要提前认证双重");
this.btnInputIdList.UseVisualStyleBackColor = true;
this.btnInputIdList.Click += new System.EventHandler(btnInputIdList_Click);
this.ckCueTone.AutoSize = true;
this.ckCueTone.Checked = true;
this.ckCueTone.CheckState = System.Windows.Forms.CheckState.Checked;
this.ckCueTone.Location = new System.Drawing.Point(277, 3);
this.ckCueTone.Name = "ckCueTone";
this.ckCueTone.Size = new System.Drawing.Size(108, 16);
this.ckCueTone.TabIndex = 10;
this.ckCueTone.Text = "查到余额提示音";
this.toolTip1.SetToolTip(this.ckCueTone, "查询到余额播放提示音,勾选自动加卡后则加卡成功才播放提示音");
this.ckCueTone.UseVisualStyleBackColor = true;
this.ckAotuLoadId.AutoSize = true;
this.ckAotuLoadId.Location = new System.Drawing.Point(277, 23);
this.ckAotuLoadId.Name = "ckAotuLoadId";
this.ckAotuLoadId.Size = new System.Drawing.Size(132, 16);
this.ckAotuLoadId.TabIndex = 9;
this.ckAotuLoadId.Text = "查询到余额自动加卡";
this.toolTip1.SetToolTip(this.ckAotuLoadId, "定时查询到余额后自动加载到的ID里");
this.ckAotuLoadId.UseVisualStyleBackColor = true;
this.ckAotuLoadId.CheckedChanged += new System.EventHandler(ckAotuLoadId_CheckedChanged);
this.btnInputCarkList.Location = new System.Drawing.Point(154, 94);
this.btnInputCarkList.Name = "btnInputCarkList";
this.btnInputCarkList.Size = new System.Drawing.Size(111, 23);
this.btnInputCarkList.TabIndex = 8;
this.btnInputCarkList.Text = "导入定时礼品卡";
this.toolTip1.SetToolTip(this.btnInputCarkList, "导入格式:卡片代码");
this.btnInputCarkList.UseVisualStyleBackColor = true;
this.btnInputCarkList.Click += new System.EventHandler(btnInputCarkList_Click);
this.btnStartTime.ForeColor = System.Drawing.SystemColors.Highlight;
this.btnStartTime.Location = new System.Drawing.Point(249, 64);
this.btnStartTime.Name = "btnStartTime";
this.btnStartTime.Size = new System.Drawing.Size(65, 23);
this.btnStartTime.TabIndex = 7;
this.btnStartTime.Text = "开始计时";
this.btnStartTime.UseVisualStyleBackColor = true;
this.btnStartTime.Click += new System.EventHandler(btnStartTime_Click);
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.label8.Location = new System.Drawing.Point(4, 5);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(263, 17);
this.label8.TabIndex = 6;
this.label8.Text = "倒计时结束自动执行,定时礼品卡里的礼品卡代码";
this.btnExecuted.ForeColor = System.Drawing.Color.Firebrick;
this.btnExecuted.Location = new System.Drawing.Point(324, 63);
this.btnExecuted.Name = "btnExecuted";
this.btnExecuted.Size = new System.Drawing.Size(69, 24);
this.btnExecuted.TabIndex = 5;
this.btnExecuted.Text = "直接执行";
this.btnExecuted.UseVisualStyleBackColor = true;
this.btnExecuted.Click += new System.EventHandler(btnExecuted_Click);
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
this.label7.ForeColor = System.Drawing.Color.Green;
this.label7.Location = new System.Drawing.Point(12, 72);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(52, 14);
this.label7.TabIndex = 4;
this.label7.Text = "未开始";
this.label7.Click += new System.EventHandler(label7_Click);
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(11, 51);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(77, 12);
this.label6.TabIndex = 3;
this.label6.Text = "自动执行计时";
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(94, 32);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(29, 12);
this.label4.TabIndex = 2;
this.label4.Text = "分钟";
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(6, 30);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(29, 12);
this.label3.TabIndex = 1;
this.label3.Text = "间隔";
this.txtSepTime.Location = new System.Drawing.Point(42, 27);
this.txtSepTime.Name = "txtSepTime";
this.txtSepTime.Size = new System.Drawing.Size(41, 21);
this.txtSepTime.TabIndex = 0;
this.txtSepTime.Text = "10";
this.ckAutoTimeCheck.AutoSize = true;
this.ckAutoTimeCheck.Location = new System.Drawing.Point(613, 147);
this.ckAutoTimeCheck.Name = "ckAutoTimeCheck";
this.ckAutoTimeCheck.Size = new System.Drawing.Size(96, 16);
this.ckAutoTimeCheck.TabIndex = 0;
this.ckAutoTimeCheck.Text = "开启定时查询";
this.toolTip1.SetToolTip(this.ckAutoTimeCheck, "开启后,间隔时间到后,会自动查询定时列表中的卡片信息");
this.ckAutoTimeCheck.UseVisualStyleBackColor = true;
this.ckAutoTimeCheck.CheckedChanged += new System.EventHandler(checkBox1_CheckedChanged);
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Location = new System.Drawing.Point(25, 56);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(412, 203);
this.tabControl1.TabIndex = 45;
this.tabPage1.Controls.Add(this.txtGiftcard);
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(404, 177);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "礼品卡代码";
this.tabPage1.UseVisualStyleBackColor = true;
this.linkLabel2.AutoSize = true;
this.linkLabel2.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.linkLabel2.Location = new System.Drawing.Point(25, 85);
this.linkLabel2.Name = "linkLabel2";
this.linkLabel2.Size = new System.Drawing.Size(56, 17);
this.linkLabel2.TabIndex = 52;
this.linkLabel2.TabStop = true;
this.linkLabel2.Text = "刷新点数";
this.linkLabel2.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(linkLabel2_LinkClicked);
this.labfreezeIntegral.AutoSize = true;
this.labfreezeIntegral.Location = new System.Drawing.Point(78, 67);
this.labfreezeIntegral.Name = "labfreezeIntegral";
this.labfreezeIntegral.Size = new System.Drawing.Size(11, 12);
this.labfreezeIntegral.TabIndex = 51;
this.labfreezeIntegral.Text = "0";
this.label11.AutoSize = true;
this.label11.Location = new System.Drawing.Point(4, 64);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(77, 12);
this.label11.TabIndex = 50;
this.label11.Text = "已消耗点数:";
this.labintegral.AutoSize = true;
this.labintegral.Location = new System.Drawing.Point(91, 41);
this.labintegral.Name = "labintegral";
this.labintegral.Size = new System.Drawing.Size(11, 12);
this.labintegral.TabIndex = 49;
this.labintegral.Text = "0";
this.label9.AutoSize = true;
this.label9.Location = new System.Drawing.Point(4, 41);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(89, 12);
this.label9.TabIndex = 48;
this.label9.Text = "当前剩余点数:";
this.labUserNam.AutoSize = true;
this.labUserNam.Location = new System.Drawing.Point(73, 14);
this.labUserNam.Name = "labUserNam";
this.labUserNam.Size = new System.Drawing.Size(41, 12);
this.labUserNam.TabIndex = 47;
this.labUserNam.Text = "label3";
this.label10.AutoSize = true;
this.label10.Location = new System.Drawing.Point(5, 14);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(65, 12);
this.label10.TabIndex = 46;
this.label10.Text = "登录账号:";
this.panUserInfo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.panUserInfo.Controls.Add(this.linkLabel1);
this.panUserInfo.Controls.Add(this.linkLabel2);
this.panUserInfo.Controls.Add(this.label10);
this.panUserInfo.Controls.Add(this.labUserNam);
this.panUserInfo.Controls.Add(this.label9);
this.panUserInfo.Controls.Add(this.labfreezeIntegral);
this.panUserInfo.Controls.Add(this.labintegral);
this.panUserInfo.Controls.Add(this.label11);
this.panUserInfo.Location = new System.Drawing.Point(853, 8);
this.panUserInfo.Name = "panUserInfo";
this.panUserInfo.Size = new System.Drawing.Size(175, 108);
this.panUserInfo.TabIndex = 53;
this.linkLabel1.AutoSize = true;
this.linkLabel1.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.linkLabel1.LinkColor = System.Drawing.Color.Red;
this.linkLabel1.Location = new System.Drawing.Point(99, 85);
this.linkLabel1.Name = "linkLabel1";
this.linkLabel1.Size = new System.Drawing.Size(56, 17);
this.linkLabel1.TabIndex = 53;
this.linkLabel1.TabStop = true;
this.linkLabel1.Text = "退出登录";
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(linkLabel1_LinkClicked);
this.button2.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right;
this.button2.Location = new System.Drawing.Point(929, 318);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(96, 23);
this.button2.TabIndex = 54;
this.button2.Text = "清空列表";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(button2_Click);
this.btnRelogin.Location = new System.Drawing.Point(417, 13);
this.btnRelogin.Name = "btnRelogin";
this.btnRelogin.Size = new System.Drawing.Size(80, 24);
this.btnRelogin.TabIndex = 55;
this.btnRelogin.Text = "重新登录";
this.btnRelogin.UseVisualStyleBackColor = true;
this.btnRelogin.Click += new System.EventHandler(btnRelogin_Click);
this.labStore.AutoSize = true;
this.labStore.Font = new System.Drawing.Font("宋体", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
this.labStore.ForeColor = System.Drawing.Color.Blue;
this.labStore.Location = new System.Drawing.Point(543, 14);
this.labStore.Name = "labStore";
this.labStore.Size = new System.Drawing.Size(0, 14);
this.labStore.TabIndex = 56;
this.label12.AutoSize = true;
this.label12.Location = new System.Drawing.Point(509, 15);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(29, 12);
this.label12.TabIndex = 57;
this.label12.Text = "路线";
this.labGiftBalanceTip.AutoSize = true;
this.labGiftBalanceTip.ForeColor = System.Drawing.Color.Brown;
this.labGiftBalanceTip.Location = new System.Drawing.Point(125, 44);
this.labGiftBalanceTip.Name = "labGiftBalanceTip";
this.labGiftBalanceTip.Size = new System.Drawing.Size(101, 12);
this.labGiftBalanceTip.TabIndex = 59;
this.labGiftBalanceTip.Text = "优质路线asfaga";
this.tabLists.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
this.tabLists.Controls.Add(this.tabPage2);
this.tabLists.Controls.Add(this.tabAutoCardList);
this.tabLists.Controls.Add(this.tabAutoIdList);
this.tabLists.Location = new System.Drawing.Point(10, 347);
this.tabLists.Name = "tabLists";
this.tabLists.SelectedIndex = 0;
this.tabLists.Size = new System.Drawing.Size(1022, 434);
this.tabLists.TabIndex = 60;
this.tabPage2.Controls.Add(this.listGiftcardBalance);
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(1014, 408);
this.tabPage2.TabIndex = 0;
this.tabPage2.Text = "礼品卡余额查询列表";
this.tabPage2.UseVisualStyleBackColor = true;
this.tabAutoCardList.Controls.Add(this.listAotoQueryList);
this.tabAutoCardList.Location = new System.Drawing.Point(4, 22);
this.tabAutoCardList.Name = "tabAutoCardList";
this.tabAutoCardList.Padding = new System.Windows.Forms.Padding(3);
this.tabAutoCardList.Size = new System.Drawing.Size(1014, 408);
this.tabAutoCardList.TabIndex = 1;
this.tabAutoCardList.Text = "定时查询的礼品卡列表";
this.tabAutoCardList.UseVisualStyleBackColor = true;
this.listAotoQueryList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[7] { this.columnHeader3, this.columnHeader4, this.columnHeader11, this.columnHeader5, this.columnHeader7, this.columnHeader10, this.columnHeader22 });
this.listAotoQueryList.ContextMenuStrip = this.MenuArea;
this.listAotoQueryList.Dock = System.Windows.Forms.DockStyle.Fill;
this.listAotoQueryList.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.listAotoQueryList.FullRowSelect = true;
this.listAotoQueryList.HideSelection = false;
this.listAotoQueryList.Location = new System.Drawing.Point(3, 3);
this.listAotoQueryList.Name = "listAotoQueryList";
this.listAotoQueryList.Size = new System.Drawing.Size(1008, 402);
this.listAotoQueryList.TabIndex = 36;
this.listAotoQueryList.UseCompatibleStateImageBehavior = false;
this.listAotoQueryList.View = System.Windows.Forms.View.Details;
this.columnHeader3.Text = "序号";
this.columnHeader4.Text = "礼品卡代码";
this.columnHeader4.Width = 150;
this.columnHeader11.Text = "已查询次数";
this.columnHeader11.Width = 80;
this.columnHeader5.Text = "余额";
this.columnHeader5.Width = 80;
this.columnHeader7.Text = "信息";
this.columnHeader7.Width = 250;
this.columnHeader10.Text = "更新时间";
this.columnHeader10.Width = 100;
this.columnHeader22.Text = "兑换记录";
this.columnHeader22.Width = 180;
this.tabAutoIdList.Controls.Add(this.listAotoIdList);
this.tabAutoIdList.Location = new System.Drawing.Point(4, 22);
this.tabAutoIdList.Name = "tabAutoIdList";
this.tabAutoIdList.Size = new System.Drawing.Size(1014, 408);
this.tabAutoIdList.TabIndex = 2;
this.tabAutoIdList.Text = "自动加卡的ID列表";
this.tabAutoIdList.UseVisualStyleBackColor = true;
this.listAotoIdList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[8] { this.columnHeader13, this.columnHeader15, this.columnHeader16, this.columnHeader17, this.columnHeader18, this.columnHeader6, this.columnHeader20, this.columnHeader21 });
this.listAotoIdList.ContextMenuStrip = this.contextMenuStrip2;
this.listAotoIdList.Dock = System.Windows.Forms.DockStyle.Fill;
this.listAotoIdList.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.listAotoIdList.FullRowSelect = true;
this.listAotoIdList.HideSelection = false;
this.listAotoIdList.Location = new System.Drawing.Point(0, 0);
this.listAotoIdList.Name = "listAotoIdList";
this.listAotoIdList.Size = new System.Drawing.Size(1014, 408);
this.listAotoIdList.TabIndex = 37;
this.listAotoIdList.UseCompatibleStateImageBehavior = false;
this.listAotoIdList.View = System.Windows.Forms.View.Details;
this.columnHeader13.Text = "序号";
this.columnHeader15.Text = "账号";
this.columnHeader15.Width = 200;
this.columnHeader16.Text = "密码";
this.columnHeader16.Width = 100;
this.columnHeader17.Text = "需加载金额";
this.columnHeader17.Width = 80;
this.columnHeader18.Text = "已加载金额";
this.columnHeader18.Width = 80;
this.columnHeader6.Text = "状态";
this.columnHeader6.Width = 80;
this.columnHeader20.Text = "时间";
this.columnHeader20.Width = 100;
this.columnHeader21.Text = "信息";
this.columnHeader21.Width = 210;
this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[3] { this.ToolStripMenuItem, this.ToolStripMenuItem, this.ToolStripMenuItem });
this.contextMenuStrip2.Name = "contextMenuStrip2";
this.contextMenuStrip2.Size = new System.Drawing.Size(149, 70);
this.ToolStripMenuItem.Name = "删除ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.ToolStripMenuItem.Text = "删除";
this.ToolStripMenuItem.Click += new System.EventHandler(ToolStripMenuItem_Click);
this.ToolStripMenuItem.Name = "查询余额ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.ToolStripMenuItem.Text = "查询账号余额";
this.ToolStripMenuItem.Click += new System.EventHandler(ToolStripMenuItem_Click);
this.ToolStripMenuItem.Name = "复制信息ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
this.ToolStripMenuItem.Text = "复制信息";
this.ToolStripMenuItem.Click += new System.EventHandler(ToolStripMenuItem_Click);
this.ckMultiple.AutoSize = true;
this.ckMultiple.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.ckMultiple.ForeColor = System.Drawing.SystemColors.MenuHighlight;
this.ckMultiple.Location = new System.Drawing.Point(17, 315);
this.ckMultiple.Name = "ckMultiple";
this.ckMultiple.Size = new System.Drawing.Size(133, 21);
this.ckMultiple.TabIndex = 68;
this.ckMultiple.Text = "启用多选国家 |-->";
this.toolTip1.SetToolTip(this.ckMultiple, "勾选 启用后,单张卡将在右侧勾选的商店中同时查询,同时查两个及以上国家扣 {0} 点");
this.ckMultiple.UseVisualStyleBackColor = true;
this.ckMultiple.CheckedChanged += new System.EventHandler(ckMultiple_CheckedChanged);
this.ckAutoRecog.AutoSize = true;
this.ckAutoRecog.Font = new System.Drawing.Font("微软雅黑", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.ckAutoRecog.ForeColor = System.Drawing.Color.DarkRed;
this.ckAutoRecog.Location = new System.Drawing.Point(613, 113);
this.ckAutoRecog.Name = "ckAutoRecog";
this.ckAutoRecog.Size = new System.Drawing.Size(224, 24);
this.ckAutoRecog.TabIndex = 70;
this.ckAutoRecog.Text = "自动识别国家并测试美区僵尸卡";
this.toolTip1.SetToolTip(this.ckAutoRecog, "自动识别国家并测试美区僵尸卡");
this.ckAutoRecog.UseVisualStyleBackColor = true;
this.ckAutoRecog.CheckedChanged += new System.EventHandler(ckAutoRecog_CheckedChanged);
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(17, 294);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(503, 12);
this.label14.TabIndex = 61;
this.label14.Tag = "该功能只能查有效的卡,单张卡可同时查询多个国家商店, 鼠标右键快捷国家 ,可以 移除该快捷国家。";
this.label14.Text = "定时查询时第一次查扣10点第二次以后没查到余额扣2点查到扣20点加载到ID扣50点";
this.labLoginCount.AutoSize = true;
this.labLoginCount.Location = new System.Drawing.Point(420, 42);
this.labLoginCount.Name = "labLoginCount";
this.labLoginCount.Size = new System.Drawing.Size(11, 12);
this.labLoginCount.TabIndex = 63;
this.labLoginCount.Text = "0";
this.checkBox1.AutoSize = true;
this.checkBox1.ContextMenuStrip = this.contextMenuStrip1;
this.checkBox1.Font = new System.Drawing.Font("微软雅黑", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.checkBox1.ForeColor = System.Drawing.Color.Green;
this.checkBox1.Location = new System.Drawing.Point(161, 313);
this.checkBox1.Name = "checkBox1";
this.checkBox1.Size = new System.Drawing.Size(108, 24);
this.checkBox1.TabIndex = 64;
this.checkBox1.Text = "US-美国--12";
this.checkBox1.UseVisualStyleBackColor = true;
this.checkBox1.Visible = false;
this.btnAddShortcut.Font = new System.Drawing.Font("宋体", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.btnAddShortcut.ForeColor = System.Drawing.SystemColors.MenuHighlight;
this.btnAddShortcut.Location = new System.Drawing.Point(701, 64);
this.btnAddShortcut.Name = "btnAddShortcut";
this.btnAddShortcut.Size = new System.Drawing.Size(132, 23);
this.btnAddShortcut.TabIndex = 69;
this.btnAddShortcut.Text = "添加快捷查询国家";
this.btnAddShortcut.UseVisualStyleBackColor = true;
this.btnAddShortcut.Click += new System.EventHandler(btnAddShortcut_Click);
this.checkBox2.AutoSize = true;
this.checkBox2.Enabled = false;
this.checkBox2.Font = new System.Drawing.Font("微软雅黑", 10.5f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
this.checkBox2.ForeColor = System.Drawing.Color.Brown;
this.checkBox2.Location = new System.Drawing.Point(650, 313);
this.checkBox2.Name = "checkBox2";
this.checkBox2.Size = new System.Drawing.Size(142, 24);
this.checkBox2.TabIndex = 67;
this.checkBox2.Text = "US-德国-初始化中";
this.checkBox2.UseVisualStyleBackColor = true;
this.checkBox2.Visible = false;
this.contextMenuStrip3.Items.AddRange(new System.Windows.Forms.ToolStripItem[1] { this.delFastContel });
this.contextMenuStrip3.Name = "contextMenuStrip3";
this.contextMenuStrip3.Size = new System.Drawing.Size(161, 26);
this.delFastContel.Name = "delFastContel";
this.delFastContel.Size = new System.Drawing.Size(160, 22);
this.delFastContel.Text = "移除该快捷国家";
this.delFastContel.Click += new System.EventHandler(delFastContel_Click);
base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
base.ClientSize = new System.Drawing.Size(1038, 793);
base.Controls.Add(this.ckAutoRecog);
base.Controls.Add(this.btnAddShortcut);
base.Controls.Add(this.ckMultiple);
base.Controls.Add(this.checkBox2);
base.Controls.Add(this.checkBox1);
base.Controls.Add(this.labLoginCount);
base.Controls.Add(this.label14);
base.Controls.Add(this.tabLists);
base.Controls.Add(this.labGiftBalanceTip);
base.Controls.Add(this.label12);
base.Controls.Add(this.labStore);
base.Controls.Add(this.btnRelogin);
base.Controls.Add(this.button2);
base.Controls.Add(this.panUserInfo);
base.Controls.Add(this.tabControl1);
base.Controls.Add(this.ckAutoTimeCheck);
base.Controls.Add(this.panel1);
base.Controls.Add(this.labNowGiftCardCountry);
base.Controls.Add(this.label2);
base.Controls.Add(this.label1);
base.Controls.Add(this.btnChange);
base.Controls.Add(this.comCountries);
base.Controls.Add(this.labError);
base.Controls.Add(this.label45);
base.Controls.Add(this.txtGiftcardLoadAccount);
base.Controls.Add(this.ckGiftcardBalanceVpn);
base.Controls.Add(this.label5);
base.Controls.Add(this.labRemovePayDianShu);
base.Controls.Add(this.label31);
base.Controls.Add(this.groupBox5);
base.MaximizeBox = false;
base.Name = "FormGiftcardBalance";
base.ShowIcon = false;
base.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = " 礼品卡查余额";
base.FormClosing += new System.Windows.Forms.FormClosingEventHandler(FormGiftcardBalance_FormClosing);
base.Load += new System.EventHandler(FormGiftcardBalance_Load);
this.groupBox5.ResumeLayout(false);
this.contextMenuStrip1.ResumeLayout(false);
this.MenuArea.ResumeLayout(false);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.panUserInfo.ResumeLayout(false);
this.panUserInfo.PerformLayout();
this.tabLists.ResumeLayout(false);
this.tabPage2.ResumeLayout(false);
this.tabAutoCardList.ResumeLayout(false);
this.tabAutoIdList.ResumeLayout(false);
this.contextMenuStrip2.ResumeLayout(false);
this.contextMenuStrip3.ResumeLayout(false);
base.ResumeLayout(false);
base.PerformLayout();
}
}
}