mirror of
https://git.oceanpay.cc/danial/kami_itunes_june.git
synced 2025-12-18 22:31:24 +00:00
1134 lines
41 KiB
C#
1134 lines
41 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Diagnostics;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Windows.Forms;
|
|
using AppleBatch_June.ExecuteTasks;
|
|
using AppleBatch_June.Model;
|
|
using AppleBatch_June.SMS;
|
|
using AppleBatch_June.Views;
|
|
using Microsoft.VisualBasic;
|
|
|
|
namespace AppleBatch_June.Forms
|
|
{
|
|
public class FromActiotiCloud : BaseForm
|
|
{
|
|
private int nosX;
|
|
|
|
private int nosY;
|
|
|
|
private string manualPrompt = "默认是中国号码,美国号码填 US ,加拿大填 CA ,中国填 CN";
|
|
|
|
private IContainer components;
|
|
|
|
private GroupBox groupBox9;
|
|
|
|
private CheckBox ckActiotiCloud;
|
|
|
|
private Label labLeaveFamilyInter;
|
|
|
|
private Label label10;
|
|
|
|
private GroupBox groupBox10;
|
|
|
|
private Label labLeaveFamilyCount;
|
|
|
|
private Label label16;
|
|
|
|
private Button btnActiotiCloudClre;
|
|
|
|
private Button btnActiotiCloudQuery;
|
|
|
|
private Button btnActiotiCloudInput;
|
|
|
|
private Button btnActiotiCloudExper;
|
|
|
|
private Button btnActiotiCloudStart;
|
|
|
|
private GroupBox groupBox12;
|
|
|
|
private DoubleBufferListView listActiotiCloud;
|
|
|
|
private ColumnHeader columnHeader8;
|
|
|
|
private ColumnHeader columnHeader9;
|
|
|
|
private ColumnHeader columnHeader10;
|
|
|
|
private ColumnHeader columnHeader1;
|
|
|
|
private ColumnHeader columnHeader14;
|
|
|
|
private ColumnHeader columnHeader3;
|
|
|
|
private CheckBox ckisOpenAuthAction;
|
|
|
|
private GroupBox groupBox1;
|
|
|
|
private Label label1;
|
|
|
|
private TextBox txtSmsToken;
|
|
|
|
private Button btnBindSms;
|
|
|
|
private LinkLabel linkLabel1;
|
|
|
|
private ColumnHeader columnHeader2;
|
|
|
|
private ColumnHeader columnHeader4;
|
|
|
|
private ColumnHeader columnHeader5;
|
|
|
|
private Label label2;
|
|
|
|
private TextBox txtSmsGetMsgNumber;
|
|
|
|
private ColumnHeader columnHeader6;
|
|
|
|
private Label label3;
|
|
|
|
private TextBox txtSmsProjectId;
|
|
|
|
private Label label4;
|
|
|
|
private TextBox txtSmsChennl;
|
|
|
|
private ColumnHeader columnHeader7;
|
|
|
|
private TextBox txtActivaPwd;
|
|
|
|
private Label label5;
|
|
|
|
private Button btnActiotiCloudStartSub;
|
|
|
|
private Label label6;
|
|
|
|
private ComboBox comMsmItems;
|
|
|
|
private Label label7;
|
|
|
|
private TextBox txtActivaStandbyPwd;
|
|
|
|
private Label label8;
|
|
|
|
private TextBox txtKaishaungCishu;
|
|
|
|
private Panel panel1;
|
|
|
|
private RadioButton radioButton2;
|
|
|
|
private RadioButton radioButton1;
|
|
|
|
public FromActiotiCloud()
|
|
: base("激活iCloud", ActivateiCloudTask.Instance)
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void FromActiotiCloud_Load(object sender, EventArgs e)
|
|
{
|
|
base.listData = listActiotiCloud;
|
|
base.labCout = labLeaveFamilyCount;
|
|
base.startBtn = btnActiotiCloudStart;
|
|
if (AppSysConfig.userName == "teluns1")
|
|
{
|
|
panel1.Visible = true;
|
|
}
|
|
else
|
|
{
|
|
panel1.Visible = false;
|
|
}
|
|
labLeaveFamilyInter.Text = AppSysConfig.getTypeById(40).consNum.ToString();
|
|
ckActiotiCloud.Checked = ((ConfigUtlis.getConfigValue("ckActiotiCloud") == "True") ? true : false);
|
|
InitLv(base.listData);
|
|
txtSmsGetMsgNumber.Text = ConfigUtlis.getConfigValue("txtSmsGetMsgNumber");
|
|
txtSmsToken.Text = ConfigUtlis.getConfigValue("txtSmsToken");
|
|
txtSmsProjectId.Text = ConfigUtlis.getConfigValue("txtSmsProjectId");
|
|
txtSmsChennl.Text = ConfigUtlis.getConfigValue("txtSmsChennl");
|
|
txtActivaPwd.Text = ConfigUtlis.getConfigValue("txtActivaPwd");
|
|
txtActivaStandbyPwd.Text = ConfigUtlis.getConfigValue("txtActivaStandbyPwd");
|
|
ToolStripMenuItem toolStripMenuItem = new ToolStripMenuItem
|
|
{
|
|
Text = "编辑数据",
|
|
Size = new Size(124, 22)
|
|
};
|
|
toolStripMenuItem.Click += EditItemsIndex_Click;
|
|
BindMenuStrip(addTwoFactor: true, new ToolStripMenuItem[1] { toolStripMenuItem }, shouItems: true);
|
|
base.listData.MouseClick += ListData_MouseClick;
|
|
base.FormClosing += FromActiotiCloud_FormClosing;
|
|
string configValue = ConfigUtlis.getConfigValue("comMsmItems");
|
|
foreach (string smsItem in SMSFactory.getSmsItems())
|
|
{
|
|
comMsmItems.Items.Add(smsItem);
|
|
}
|
|
comMsmItems.Items.Add("手动接码");
|
|
if (!string.IsNullOrEmpty(configValue))
|
|
{
|
|
comMsmItems.SelectedItem = configValue;
|
|
}
|
|
else if (comMsmItems.Items.Count > 0)
|
|
{
|
|
comMsmItems.SelectedIndex = 0;
|
|
}
|
|
}
|
|
|
|
private void FromActiotiCloud_FormClosing(object sender, FormClosingEventArgs e)
|
|
{
|
|
if (base.listData.Items.Count > 0 && MessageBox.Show("列表里还存在数据,确定退出吗?", "提示", MessageBoxButtons.OKCancel) != DialogResult.OK)
|
|
{
|
|
e.Cancel = true;
|
|
}
|
|
}
|
|
|
|
private void ListData_MouseClick(object sender, MouseEventArgs e)
|
|
{
|
|
nosX = e.X;
|
|
nosY = e.Y;
|
|
}
|
|
|
|
private void EditItemsIndex_Click(object sender, EventArgs e)
|
|
{
|
|
if (base.listData.SelectedItems.Count <= 0)
|
|
{
|
|
return;
|
|
}
|
|
ListViewItem itemAt = base.listData.GetItemAt(nosX, nosY);
|
|
if (itemAt == null)
|
|
{
|
|
return;
|
|
}
|
|
ListViewItem.ListViewSubItem subItemAt = itemAt.GetSubItemAt(nosX, nosY);
|
|
if (subItemAt == null)
|
|
{
|
|
return;
|
|
}
|
|
int num = 0;
|
|
IEnumerator enumerator = itemAt.SubItems.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext() && enumerator.Current != subItemAt)
|
|
{
|
|
num++;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
IDisposable disposable = enumerator as IDisposable;
|
|
if (disposable != null)
|
|
{
|
|
disposable.Dispose();
|
|
}
|
|
}
|
|
string text = "";
|
|
if (base.listData.Columns.Count >= num)
|
|
{
|
|
text = base.listData.Columns[num].Text;
|
|
}
|
|
int count = base.listData.SelectedItems.Count;
|
|
string text2 = Interaction.InputBox("编辑数据 【 " + text + " 】: " + subItemAt.Text + "\n\n共" + count + "条数据", "请重新输入编辑数据,清空则填 空格,不能留空", subItemAt.Text);
|
|
if (!(text2 != string.Empty))
|
|
{
|
|
return;
|
|
}
|
|
subItemAt.Text = text2.Trim();
|
|
foreach (ListViewItem selectedItem in base.listData.SelectedItems)
|
|
{
|
|
selectedItem.SubItems[num].Text = text2.Trim();
|
|
}
|
|
}
|
|
|
|
private void btnLeaveFamilyStart_Click(object sender, EventArgs e)
|
|
{
|
|
if (!ActivateiCloudTask.Instance.isRun && !ActivateiCloudTask.Instance.TaskIsRun)
|
|
{
|
|
List<AppleAcount> lvItems = (from ListViewItem c in base.listData.Items
|
|
where c.SubItems[9].Text == "-"
|
|
select new AppleAcount
|
|
{
|
|
appleId = c.SubItems[1].Text,
|
|
applePwd = c.SubItems[2].Text,
|
|
appleQt1 = c.SubItems[3].Text,
|
|
appleQt2 = c.SubItems[4].Text,
|
|
appleQt3 = c.SubItems[5].Text,
|
|
moblie = c.SubItems[8].Text,
|
|
birthday = c.SubItems[6].Text
|
|
}).ToList();
|
|
RearTaskRun(lvItems, ActivateiCloudTask.Instance, base.startAct, base.endTakAct);
|
|
return;
|
|
}
|
|
ActivateiCloudTask.Instance.Stop();
|
|
if (!base.IsDisposed)
|
|
{
|
|
Invoke((Action)delegate
|
|
{
|
|
base.startBtn.Text = "正在停止";
|
|
base.startBtn.ForeColor = Color.Red;
|
|
});
|
|
}
|
|
}
|
|
|
|
private void RearTaskRun(List<AppleAcount> lvItems, ActivateiCloudTask Instance, Action from_startAct, Action from_endTakAct)
|
|
{
|
|
foreach (AppleAcount lvItem in lvItems)
|
|
{
|
|
if (string.IsNullOrEmpty(lvItem.moblie) || !long.TryParse(lvItem.moblie, out var _))
|
|
{
|
|
lvItem.moblie = "";
|
|
}
|
|
}
|
|
int id = 30;
|
|
int count = lvItems.Count;
|
|
if (AppSysConfig.integral < count * AppSysConfig.getTypeById(30).consNum)
|
|
{
|
|
MessageBox.Show("账号点数不足 , 执行账号数量:" + count + " ,至少需要 " + count * AppSysConfig.getTypeById(id).consNum + " 点数。");
|
|
return;
|
|
}
|
|
ConfigUtlis.saveConfigKey("ckActiotiCloud", ckActiotiCloud.Checked.ToString());
|
|
ConfigUtlis.saveConfigKey("ckisOpenAuthAction", ckisOpenAuthAction.Checked.ToString());
|
|
ConfigUtlis.saveConfigKey("txtActivaPwd", txtActivaPwd.Text.ToString());
|
|
ConfigUtlis.saveConfigKey("txtActivaStandbyPwd", txtActivaStandbyPwd.Text.ToString());
|
|
ConfigUtlis.saveConfigKey("comMsmItems", comMsmItems.Text.ToString());
|
|
ISms sms = null;
|
|
string smsCountry = "CN";
|
|
if (comMsmItems.Text != "手动接码")
|
|
{
|
|
sms = SMSFactory.GetSms(comMsmItems.Text, txtSmsToken.Text, txtSmsProjectId.Text, txtSmsChennl.Text);
|
|
smsCountry = sms.smsCountry;
|
|
}
|
|
else if (!string.IsNullOrEmpty(txtSmsProjectId.Text))
|
|
{
|
|
smsCountry = txtSmsProjectId.Text;
|
|
}
|
|
ActiotiCloudConfig actiotiCloudConfig = new ActiotiCloudConfig
|
|
{
|
|
getSmsMsgMaxCount = Tools.ToInt(txtSmsGetMsgNumber.Text, 30),
|
|
isOpenAuthAction = ckisOpenAuthAction.Checked,
|
|
smsCountry = smsCountry,
|
|
smsService = sms,
|
|
ActivaNewPwd = txtActivaPwd.Text,
|
|
ActivaStandbyPwd = txtActivaStandbyPwd.Text,
|
|
openNumber = int.Parse(txtKaishaungCishu.Text)
|
|
};
|
|
if (ckisOpenAuthAction.Checked && string.IsNullOrEmpty(txtActivaPwd.Text))
|
|
{
|
|
MessageBox.Show("请先设置密码");
|
|
return;
|
|
}
|
|
actiotiCloudConfig.actGetCode = delegate(string retust, int type)
|
|
{
|
|
if (type == 9 || type == 1 || type == 15 || type == 11)
|
|
{
|
|
if (type == 11)
|
|
{
|
|
return retust;
|
|
}
|
|
if (!base.IsDisposed && base.IsHandleCreated)
|
|
{
|
|
VerificationCodeConfig verificationCode = new VerificationCodeConfig();
|
|
if (type == 9)
|
|
{
|
|
verificationCode.content = retust + "的手机号码";
|
|
verificationCode.WinTitle = "绑定手机号码";
|
|
verificationCode.verifiLength = 0;
|
|
verificationCode.tipMag = "请输入手机号";
|
|
}
|
|
if (type == 1 || type == 15)
|
|
{
|
|
verificationCode.content = retust;
|
|
verificationCode.WinTitle = "请输入验证码";
|
|
verificationCode.verifiLength = 6;
|
|
verificationCode.tipMag = "请输入验证码";
|
|
}
|
|
return Invoke((Func<string>)delegate
|
|
{
|
|
VerificationCodeFrom verificationCodeFrom = new VerificationCodeFrom(verificationCode);
|
|
verificationCodeFrom.ShowDialog();
|
|
return verificationCodeFrom.reustCode;
|
|
}).ToString();
|
|
}
|
|
}
|
|
return string.Empty;
|
|
};
|
|
Instance.ExecuteLeaveFamily(2, ckActiotiCloud.Checked, actiotiCloudConfig, lvItems, from_startAct, from_endTakAct, sucessAct, _action);
|
|
}
|
|
|
|
public void sucessAct(string AppleId)
|
|
{
|
|
UpdataUi(delegate
|
|
{
|
|
ListViewItem listViewItem = (from ListViewItem c in base.listData.Items
|
|
where c.SubItems[1].Text == AppleId
|
|
select c).FirstOrDefault();
|
|
if (listViewItem != null)
|
|
{
|
|
SqliteHelper.ExecuteInsert("itunes_db", new Dictionary<string, string>
|
|
{
|
|
{ "type", "activateiCloud" },
|
|
{
|
|
"addTime",
|
|
Tools.GenerateTimeStamp().ToString()
|
|
},
|
|
{
|
|
"value1",
|
|
listViewItem.SubItems[1].Text
|
|
},
|
|
{
|
|
"value2",
|
|
listViewItem.SubItems[2].Text
|
|
},
|
|
{
|
|
"value3",
|
|
listViewItem.SubItems[3].Text
|
|
},
|
|
{
|
|
"value4",
|
|
listViewItem.SubItems[4].Text
|
|
},
|
|
{
|
|
"value5",
|
|
listViewItem.SubItems[5].Text
|
|
},
|
|
{
|
|
"value6",
|
|
listViewItem.SubItems[6].Text
|
|
},
|
|
{
|
|
"value7",
|
|
listViewItem.SubItems[7].Text
|
|
},
|
|
{
|
|
"value8",
|
|
listViewItem.SubItems[8].Text
|
|
},
|
|
{
|
|
"value9",
|
|
listViewItem.SubItems[9].Text
|
|
},
|
|
{
|
|
"value10",
|
|
listViewItem.SubItems[10].Text
|
|
}
|
|
});
|
|
}
|
|
});
|
|
}
|
|
|
|
public void _action(string key, DisplyType type, string reust)
|
|
{
|
|
UpdataUi(delegate
|
|
{
|
|
IEnumerable<ListViewItem> enumerable = from ListViewItem c in base.listData.Items
|
|
where c.SubItems[1].Text == key
|
|
select c;
|
|
Font font = new Font(Font, FontStyle.Bold);
|
|
foreach (ListViewItem item in enumerable)
|
|
{
|
|
switch (type)
|
|
{
|
|
case DisplyType.chongzhi:
|
|
item.SubItems[9].ForeColor = Color.Black;
|
|
item.SubItems[9].Text = "";
|
|
break;
|
|
case DisplyType.error:
|
|
item.SubItems[9].Text = reust;
|
|
item.SubItems[9].Font = font;
|
|
item.SubItems[9].ForeColor = Color.Red;
|
|
break;
|
|
case DisplyType.bindMoblie:
|
|
item.SubItems[8].Text = reust;
|
|
break;
|
|
case DisplyType.area:
|
|
if (!string.IsNullOrEmpty(reust))
|
|
{
|
|
item.SubItems[7].Text = reust;
|
|
}
|
|
break;
|
|
case DisplyType.mima:
|
|
item.SubItems[2].ForeColor = Color.Green;
|
|
item.SubItems[2].Font = font;
|
|
item.SubItems[2].Text = reust;
|
|
break;
|
|
case DisplyType.shengri:
|
|
item.SubItems[6].Text = reust;
|
|
break;
|
|
case DisplyType.guojia:
|
|
if (!string.IsNullOrEmpty(reust))
|
|
{
|
|
item.SubItems[7].Text = reust;
|
|
}
|
|
break;
|
|
case DisplyType.xinxi:
|
|
item.SubItems[10].Text = reust;
|
|
break;
|
|
case DisplyType.forbidden:
|
|
item.SubItems[9].Text = reust;
|
|
item.SubItems[9].Font = font;
|
|
item.SubItems[9].ForeColor = Color.Green;
|
|
break;
|
|
}
|
|
}
|
|
});
|
|
}
|
|
|
|
private void btnLeaveFamilyInput_Click(object sender, EventArgs e)
|
|
{
|
|
FromInputAcount fromInputAcount = new FromInputAcount();
|
|
fromInputAcount.tipMssage = "账号--密码-密保1-密保2-密保3";
|
|
fromInputAcount.isOpenSysVpn = ckisOpenAuthAction.Checked;
|
|
if (fromInputAcount.ShowDialog() == DialogResult.OK)
|
|
{
|
|
List<AppleAcount> list = AppleUtlis.accountInput(fromInputAcount.StrInput);
|
|
int num = 0;
|
|
base.listData.ListViewItemSorter = new ListViewItemComparer(0, 1);
|
|
base.listData.Sort();
|
|
if (base.listData.Items.Count > 0 && int.TryParse(base.listData.Items[base.listData.Items.Count - 1].SubItems[0].Text, out var result))
|
|
{
|
|
num = result;
|
|
}
|
|
List<ListViewItem> list2 = new List<ListViewItem>();
|
|
foreach (AppleAcount item in list)
|
|
{
|
|
num++;
|
|
ListViewItem listViewItem = new ListViewItem(num.ToString());
|
|
listViewItem.UseItemStyleForSubItems = false;
|
|
listViewItem.SubItems.Add(item.appleId);
|
|
listViewItem.SubItems.Add(item.applePwd);
|
|
listViewItem.SubItems.Add(item.appleQt1);
|
|
listViewItem.SubItems.Add(item.appleQt2);
|
|
listViewItem.SubItems.Add(item.appleQt3);
|
|
listViewItem.SubItems.Add(item.birthday);
|
|
string text = item.overflow.Replace("生日", "").Replace("国家", "").Replace("双重号码", "")
|
|
.Replace("手机号码", "")
|
|
.TrimStart('-');
|
|
listViewItem.SubItems.Add(text.Split('-')[0]);
|
|
if (text.Split('-').Length >= 2)
|
|
{
|
|
listViewItem.SubItems.Add(text.Split('-')[1]);
|
|
}
|
|
else
|
|
{
|
|
listViewItem.SubItems.Add("-");
|
|
}
|
|
listViewItem.SubItems.Add("-");
|
|
listViewItem.SubItems.Add("");
|
|
list2.Add(listViewItem);
|
|
}
|
|
base.listData.Items.AddRange(list2.ToArray());
|
|
}
|
|
base.labCout.Text = string.Concat(base.listData.Items.Count);
|
|
}
|
|
|
|
private void btnLiteClre_Click(object sender, EventArgs e)
|
|
{
|
|
if (MessageBox.Show("确认删除列表数据吗", "提示", MessageBoxButtons.OKCancel) == DialogResult.OK)
|
|
{
|
|
base.listData.Items.Clear();
|
|
}
|
|
base.labCout.Text = string.Concat(base.listData.Items.Count);
|
|
}
|
|
|
|
private void btnLeaveFamilyExper_Click(object sender, EventArgs e)
|
|
{
|
|
ExperList(base.listData);
|
|
}
|
|
|
|
public override void TwoFactorItem_over_Click(string reust)
|
|
{
|
|
if (ActivateiCloudTask.InstanceSub.TaskIsRun)
|
|
{
|
|
MessageBox.Show("请先停止辅助执行");
|
|
return;
|
|
}
|
|
List<AppleAcount> list = new List<AppleAcount>();
|
|
foreach (ListViewItem selectedItem in base.listData.SelectedItems)
|
|
{
|
|
list.Add(new AppleAcount
|
|
{
|
|
appleId = selectedItem.SubItems[1].Text,
|
|
applePwd = selectedItem.SubItems[2].Text + reust,
|
|
appleQt1 = selectedItem.SubItems[3].Text,
|
|
appleQt2 = selectedItem.SubItems[4].Text,
|
|
appleQt3 = selectedItem.SubItems[5].Text,
|
|
moblie = selectedItem.SubItems[8].Text,
|
|
birthday = selectedItem.SubItems[6].Text
|
|
});
|
|
}
|
|
RearTaskRun(list, ActivateiCloudTask.InstanceSub, startSubAct, endTakSubAct);
|
|
}
|
|
|
|
public override void ReExecute_Click(object sender, EventArgs e)
|
|
{
|
|
if (ActivateiCloudTask.InstanceSub.TaskIsRun)
|
|
{
|
|
MessageBox.Show("请先停止辅助执行");
|
|
return;
|
|
}
|
|
List<AppleAcount> list = new List<AppleAcount>();
|
|
foreach (ListViewItem selectedItem in base.listData.SelectedItems)
|
|
{
|
|
selectedItem.SubItems[9].Text = "-";
|
|
list.Add(new AppleAcount
|
|
{
|
|
appleId = selectedItem.SubItems[1].Text,
|
|
applePwd = selectedItem.SubItems[2].Text,
|
|
appleQt1 = selectedItem.SubItems[3].Text,
|
|
appleQt2 = selectedItem.SubItems[4].Text,
|
|
appleQt3 = selectedItem.SubItems[5].Text,
|
|
moblie = selectedItem.SubItems[8].Text,
|
|
birthday = selectedItem.SubItems[6].Text
|
|
});
|
|
}
|
|
RearTaskRun(list, ActivateiCloudTask.InstanceSub, startSubAct, endTakSubAct);
|
|
}
|
|
|
|
public void startSubAct()
|
|
{
|
|
UpdataUi(delegate
|
|
{
|
|
btnActiotiCloudStartSub.Text = "停止";
|
|
btnActiotiCloudStartSub.ForeColor = Color.Red;
|
|
});
|
|
}
|
|
|
|
public void endTakSubAct()
|
|
{
|
|
UpdataUi(delegate
|
|
{
|
|
btnActiotiCloudStartSub.Text = "辅助执行";
|
|
btnActiotiCloudStartSub.ForeColor = Color.CadetBlue;
|
|
});
|
|
}
|
|
|
|
private void btnLeaveFamilyQuery_Click(object sender, EventArgs e)
|
|
{
|
|
FromDBDataQuery fromDBDataQuery = new FromDBDataQuery();
|
|
fromDBDataQuery.sqlTitle = new Dictionary<string, string>
|
|
{
|
|
{ "value1", "账号|180" },
|
|
{ "value2", "密码|100" },
|
|
{ "value3", "密保|80" },
|
|
{ "value4", "密保|80" },
|
|
{ "value5", "密保|80" },
|
|
{ "value6", "生日|80" },
|
|
{ "value7", "国家|80" },
|
|
{ "value8", "双重号码|80" },
|
|
{ "value9", "状态|150" },
|
|
{ "value10", "信息|150" }
|
|
};
|
|
fromDBDataQuery.type = "activateiCloud";
|
|
fromDBDataQuery.typeName = "激活记录";
|
|
fromDBDataQuery.Show();
|
|
}
|
|
|
|
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
|
{
|
|
if (comMsmItems.Text == "手动接码")
|
|
{
|
|
MessageBox.Show(manualPrompt);
|
|
}
|
|
else if (linkLabel1.Tag is string && !string.IsNullOrEmpty(linkLabel1.Tag.ToString()))
|
|
{
|
|
Process.Start(linkLabel1.Tag.ToString());
|
|
}
|
|
else
|
|
{
|
|
Process.Start("http://smsyun.top/index/dashboard");
|
|
}
|
|
}
|
|
|
|
private void btnBindSms_Click(object sender, EventArgs e)
|
|
{
|
|
ConfigUtlis.saveConfigKey("txtSmsGetMsgNumber", txtSmsGetMsgNumber.Text.ToString());
|
|
string text = comMsmItems.Text;
|
|
ConfigUtlis.saveConfigKey("txtSmsToken_" + text, txtSmsToken.Text.ToString());
|
|
ConfigUtlis.saveConfigKey("txtSmsProjectId_" + text, txtSmsProjectId.Text.ToString());
|
|
ConfigUtlis.saveConfigKey("txtSmsChennl_" + text, txtSmsChennl.Text.ToString());
|
|
if (text == "手动接码")
|
|
{
|
|
MessageBox.Show(manualPrompt);
|
|
}
|
|
else
|
|
{
|
|
MessageBox.Show(SMSFactory.GetSms(text, txtSmsToken.Text, txtSmsProjectId.Text, txtSmsChennl.Text).getInfo().Data);
|
|
}
|
|
}
|
|
|
|
private void btnActiotiCloudStartSub_Click(object sender, EventArgs e)
|
|
{
|
|
if (!ActivateiCloudTask.InstanceSub.TaskIsRun)
|
|
{
|
|
MessageBox.Show("请重右键执行");
|
|
return;
|
|
}
|
|
ActivateiCloudTask.InstanceSub.Stop();
|
|
if (!base.IsDisposed)
|
|
{
|
|
Invoke((Action)delegate
|
|
{
|
|
btnActiotiCloudStartSub.Text = "正在停止";
|
|
btnActiotiCloudStartSub.ForeColor = Color.Red;
|
|
});
|
|
}
|
|
}
|
|
|
|
protected override void DelmunItem_Click(object sender, EventArgs e)
|
|
{
|
|
try
|
|
{
|
|
if (listActiotiCloud.SelectedItems.Count <= 0 || MessageBox.Show("确认删除选中数据吗", "提示", MessageBoxButtons.OKCancel) != DialogResult.OK)
|
|
{
|
|
return;
|
|
}
|
|
foreach (ListViewItem selectedItem in listActiotiCloud.SelectedItems)
|
|
{
|
|
listActiotiCloud.Items.Remove(selectedItem);
|
|
}
|
|
if (base.labCout != null)
|
|
{
|
|
base.labCout.Text = listActiotiCloud.Items.Count.ToString();
|
|
}
|
|
}
|
|
catch (Exception)
|
|
{
|
|
}
|
|
}
|
|
|
|
private void comMsmItems_SelectedIndexChanged(object sender, EventArgs e)
|
|
{
|
|
string text = comMsmItems.Text;
|
|
txtSmsToken.Text = ConfigUtlis.getConfigValue("txtSmsToken_" + text);
|
|
txtSmsProjectId.Text = ConfigUtlis.getConfigValue("txtSmsProjectId_" + text);
|
|
txtSmsChennl.Text = ConfigUtlis.getConfigValue("txtSmsChennl_" + text);
|
|
ISms sms = SMSFactory.GetSms(text, txtSmsToken.Text, txtSmsProjectId.Text, txtSmsChennl.Text);
|
|
if (sms != null)
|
|
{
|
|
linkLabel1.Tag = sms.smsLink;
|
|
}
|
|
if (text == "手动接码")
|
|
{
|
|
label3.Text = "号码国家";
|
|
}
|
|
else
|
|
{
|
|
label3.Text = "项目ID";
|
|
}
|
|
}
|
|
|
|
private void radioButton2_CheckedChanged(object sender, EventArgs e)
|
|
{
|
|
if (radioButton2.Checked)
|
|
{
|
|
ActivateiCloudTask.Instance.nasType = 2;
|
|
}
|
|
else
|
|
{
|
|
ActivateiCloudTask.Instance.nasType = 1;
|
|
}
|
|
}
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && components != null)
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.groupBox9 = new System.Windows.Forms.GroupBox();
|
|
this.label7 = new System.Windows.Forms.Label();
|
|
this.txtActivaStandbyPwd = new System.Windows.Forms.TextBox();
|
|
this.label6 = new System.Windows.Forms.Label();
|
|
this.comMsmItems = new System.Windows.Forms.ComboBox();
|
|
this.label5 = new System.Windows.Forms.Label();
|
|
this.txtActivaPwd = new System.Windows.Forms.TextBox();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.label8 = new System.Windows.Forms.Label();
|
|
this.txtKaishaungCishu = new System.Windows.Forms.TextBox();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.txtSmsChennl = new System.Windows.Forms.TextBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.txtSmsProjectId = new System.Windows.Forms.TextBox();
|
|
this.linkLabel1 = new System.Windows.Forms.LinkLabel();
|
|
this.btnBindSms = new System.Windows.Forms.Button();
|
|
this.txtSmsToken = new System.Windows.Forms.TextBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.ckisOpenAuthAction = new System.Windows.Forms.CheckBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.txtSmsGetMsgNumber = new System.Windows.Forms.TextBox();
|
|
this.ckActiotiCloud = new System.Windows.Forms.CheckBox();
|
|
this.labLeaveFamilyInter = new System.Windows.Forms.Label();
|
|
this.label10 = new System.Windows.Forms.Label();
|
|
this.groupBox10 = new System.Windows.Forms.GroupBox();
|
|
this.panel1 = new System.Windows.Forms.Panel();
|
|
this.radioButton2 = new System.Windows.Forms.RadioButton();
|
|
this.radioButton1 = new System.Windows.Forms.RadioButton();
|
|
this.btnActiotiCloudStartSub = new System.Windows.Forms.Button();
|
|
this.labLeaveFamilyCount = new System.Windows.Forms.Label();
|
|
this.label16 = new System.Windows.Forms.Label();
|
|
this.btnActiotiCloudClre = new System.Windows.Forms.Button();
|
|
this.btnActiotiCloudQuery = new System.Windows.Forms.Button();
|
|
this.btnActiotiCloudInput = new System.Windows.Forms.Button();
|
|
this.btnActiotiCloudExper = new System.Windows.Forms.Button();
|
|
this.btnActiotiCloudStart = new System.Windows.Forms.Button();
|
|
this.groupBox12 = new System.Windows.Forms.GroupBox();
|
|
this.listActiotiCloud = new AppleBatch_June.Views.DoubleBufferListView();
|
|
this.columnHeader8 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader9 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader10 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader7 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader6 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
|
|
this.columnHeader14 = new System.Windows.Forms.ColumnHeader();
|
|
this.groupBox9.SuspendLayout();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox10.SuspendLayout();
|
|
this.panel1.SuspendLayout();
|
|
this.groupBox12.SuspendLayout();
|
|
base.SuspendLayout();
|
|
this.groupBox9.Controls.Add(this.label7);
|
|
this.groupBox9.Controls.Add(this.txtActivaStandbyPwd);
|
|
this.groupBox9.Controls.Add(this.label6);
|
|
this.groupBox9.Controls.Add(this.comMsmItems);
|
|
this.groupBox9.Controls.Add(this.label5);
|
|
this.groupBox9.Controls.Add(this.txtActivaPwd);
|
|
this.groupBox9.Controls.Add(this.groupBox1);
|
|
this.groupBox9.Controls.Add(this.ckisOpenAuthAction);
|
|
this.groupBox9.Controls.Add(this.label2);
|
|
this.groupBox9.Controls.Add(this.txtSmsGetMsgNumber);
|
|
this.groupBox9.Controls.Add(this.ckActiotiCloud);
|
|
this.groupBox9.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.groupBox9.Location = new System.Drawing.Point(434, 12);
|
|
this.groupBox9.Name = "groupBox9";
|
|
this.groupBox9.Size = new System.Drawing.Size(583, 137);
|
|
this.groupBox9.TabIndex = 20;
|
|
this.groupBox9.TabStop = false;
|
|
this.groupBox9.Text = "激活iCloud 功能说明";
|
|
this.label7.AutoSize = true;
|
|
this.label7.Location = new System.Drawing.Point(6, 76);
|
|
this.label7.Name = "label7";
|
|
this.label7.Size = new System.Drawing.Size(104, 17);
|
|
this.label7.TabIndex = 19;
|
|
this.label7.Text = "重置冲突备用密码";
|
|
this.txtActivaStandbyPwd.Location = new System.Drawing.Point(119, 72);
|
|
this.txtActivaStandbyPwd.Name = "txtActivaStandbyPwd";
|
|
this.txtActivaStandbyPwd.Size = new System.Drawing.Size(155, 23);
|
|
this.txtActivaStandbyPwd.TabIndex = 18;
|
|
this.label6.AutoSize = true;
|
|
this.label6.Location = new System.Drawing.Point(6, 107);
|
|
this.label6.Name = "label6";
|
|
this.label6.Size = new System.Drawing.Size(56, 17);
|
|
this.label6.TabIndex = 17;
|
|
this.label6.Text = "短信平台";
|
|
this.comMsmItems.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.comMsmItems.FormattingEnabled = true;
|
|
this.comMsmItems.Location = new System.Drawing.Point(70, 102);
|
|
this.comMsmItems.Name = "comMsmItems";
|
|
this.comMsmItems.Size = new System.Drawing.Size(96, 25);
|
|
this.comMsmItems.TabIndex = 16;
|
|
this.comMsmItems.SelectedIndexChanged += new System.EventHandler(comMsmItems_SelectedIndexChanged);
|
|
this.label5.AutoSize = true;
|
|
this.label5.Location = new System.Drawing.Point(54, 50);
|
|
this.label5.Name = "label5";
|
|
this.label5.Size = new System.Drawing.Size(56, 17);
|
|
this.label5.TabIndex = 15;
|
|
this.label5.Text = "重置密码";
|
|
this.txtActivaPwd.Location = new System.Drawing.Point(119, 44);
|
|
this.txtActivaPwd.Name = "txtActivaPwd";
|
|
this.txtActivaPwd.Size = new System.Drawing.Size(155, 23);
|
|
this.txtActivaPwd.TabIndex = 14;
|
|
this.groupBox1.Controls.Add(this.label8);
|
|
this.groupBox1.Controls.Add(this.txtKaishaungCishu);
|
|
this.groupBox1.Controls.Add(this.label4);
|
|
this.groupBox1.Controls.Add(this.txtSmsChennl);
|
|
this.groupBox1.Controls.Add(this.label3);
|
|
this.groupBox1.Controls.Add(this.txtSmsProjectId);
|
|
this.groupBox1.Controls.Add(this.linkLabel1);
|
|
this.groupBox1.Controls.Add(this.btnBindSms);
|
|
this.groupBox1.Controls.Add(this.txtSmsToken);
|
|
this.groupBox1.Controls.Add(this.label1);
|
|
this.groupBox1.Location = new System.Drawing.Point(280, 15);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(297, 116);
|
|
this.groupBox1.TabIndex = 13;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "开双接码配置";
|
|
this.label8.AutoSize = true;
|
|
this.label8.Location = new System.Drawing.Point(6, 84);
|
|
this.label8.Name = "label8";
|
|
this.label8.Size = new System.Drawing.Size(68, 17);
|
|
this.label8.TabIndex = 11;
|
|
this.label8.Text = "开双试次数";
|
|
this.txtKaishaungCishu.Location = new System.Drawing.Point(82, 81);
|
|
this.txtKaishaungCishu.Name = "txtKaishaungCishu";
|
|
this.txtKaishaungCishu.Size = new System.Drawing.Size(40, 23);
|
|
this.txtKaishaungCishu.TabIndex = 10;
|
|
this.txtKaishaungCishu.Text = "5";
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(157, 55);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(32, 17);
|
|
this.label4.TabIndex = 9;
|
|
this.label4.Text = "通道";
|
|
this.txtSmsChennl.Location = new System.Drawing.Point(196, 52);
|
|
this.txtSmsChennl.Name = "txtSmsChennl";
|
|
this.txtSmsChennl.Size = new System.Drawing.Size(85, 23);
|
|
this.txtSmsChennl.TabIndex = 8;
|
|
this.txtSmsChennl.Text = "1";
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(6, 54);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(45, 17);
|
|
this.label3.TabIndex = 7;
|
|
this.label3.Text = "项目ID";
|
|
this.txtSmsProjectId.Location = new System.Drawing.Point(63, 50);
|
|
this.txtSmsProjectId.Name = "txtSmsProjectId";
|
|
this.txtSmsProjectId.Size = new System.Drawing.Size(85, 23);
|
|
this.txtSmsProjectId.TabIndex = 6;
|
|
this.txtSmsProjectId.Text = "1098";
|
|
this.linkLabel1.AutoSize = true;
|
|
this.linkLabel1.Location = new System.Drawing.Point(230, 85);
|
|
this.linkLabel1.Name = "linkLabel1";
|
|
this.linkLabel1.Size = new System.Drawing.Size(56, 17);
|
|
this.linkLabel1.TabIndex = 3;
|
|
this.linkLabel1.TabStop = true;
|
|
this.linkLabel1.Text = "短信平台";
|
|
this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(linkLabel1_LinkClicked);
|
|
this.btnBindSms.Location = new System.Drawing.Point(128, 82);
|
|
this.btnBindSms.Name = "btnBindSms";
|
|
this.btnBindSms.Size = new System.Drawing.Size(95, 23);
|
|
this.btnBindSms.TabIndex = 2;
|
|
this.btnBindSms.Text = "配置";
|
|
this.btnBindSms.UseVisualStyleBackColor = true;
|
|
this.btnBindSms.Click += new System.EventHandler(btnBindSms_Click);
|
|
this.txtSmsToken.Location = new System.Drawing.Point(63, 19);
|
|
this.txtSmsToken.Name = "txtSmsToken";
|
|
this.txtSmsToken.Size = new System.Drawing.Size(218, 23);
|
|
this.txtSmsToken.TabIndex = 1;
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(9, 21);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(41, 17);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "token";
|
|
this.ckisOpenAuthAction.AutoSize = true;
|
|
this.ckisOpenAuthAction.Location = new System.Drawing.Point(140, 19);
|
|
this.ckisOpenAuthAction.Name = "ckisOpenAuthAction";
|
|
this.ckisOpenAuthAction.Size = new System.Drawing.Size(123, 21);
|
|
this.ckisOpenAuthAction.TabIndex = 12;
|
|
this.ckisOpenAuthAction.Text = "失败开双重新激活";
|
|
this.ckisOpenAuthAction.UseVisualStyleBackColor = true;
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(172, 107);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(56, 17);
|
|
this.label2.TabIndex = 5;
|
|
this.label2.Text = "短信次数";
|
|
this.txtSmsGetMsgNumber.Location = new System.Drawing.Point(232, 104);
|
|
this.txtSmsGetMsgNumber.Name = "txtSmsGetMsgNumber";
|
|
this.txtSmsGetMsgNumber.Size = new System.Drawing.Size(40, 23);
|
|
this.txtSmsGetMsgNumber.TabIndex = 4;
|
|
this.txtSmsGetMsgNumber.Text = "30";
|
|
this.ckActiotiCloud.AutoSize = true;
|
|
this.ckActiotiCloud.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.ckActiotiCloud.ForeColor = System.Drawing.Color.Red;
|
|
this.ckActiotiCloud.Location = new System.Drawing.Point(9, 21);
|
|
this.ckActiotiCloud.Name = "ckActiotiCloud";
|
|
this.ckActiotiCloud.Size = new System.Drawing.Size(111, 21);
|
|
this.ckActiotiCloud.TabIndex = 10;
|
|
this.ckActiotiCloud.Text = "使用随机IP代理";
|
|
this.ckActiotiCloud.UseVisualStyleBackColor = true;
|
|
this.labLeaveFamilyInter.AutoSize = true;
|
|
this.labLeaveFamilyInter.Font = new System.Drawing.Font("微软雅黑", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.labLeaveFamilyInter.ForeColor = System.Drawing.Color.Crimson;
|
|
this.labLeaveFamilyInter.Location = new System.Drawing.Point(260, 101);
|
|
this.labLeaveFamilyInter.Name = "labLeaveFamilyInter";
|
|
this.labLeaveFamilyInter.Size = new System.Drawing.Size(18, 19);
|
|
this.labLeaveFamilyInter.TabIndex = 2;
|
|
this.labLeaveFamilyInter.Text = "0";
|
|
this.label10.AutoSize = true;
|
|
this.label10.Location = new System.Drawing.Point(172, 106);
|
|
this.label10.Name = "label10";
|
|
this.label10.Size = new System.Drawing.Size(89, 12);
|
|
this.label10.TabIndex = 1;
|
|
this.label10.Text = "查询消耗点数:";
|
|
this.groupBox10.Controls.Add(this.panel1);
|
|
this.groupBox10.Controls.Add(this.btnActiotiCloudStartSub);
|
|
this.groupBox10.Controls.Add(this.labLeaveFamilyCount);
|
|
this.groupBox10.Controls.Add(this.label16);
|
|
this.groupBox10.Controls.Add(this.label10);
|
|
this.groupBox10.Controls.Add(this.labLeaveFamilyInter);
|
|
this.groupBox10.Controls.Add(this.btnActiotiCloudClre);
|
|
this.groupBox10.Controls.Add(this.btnActiotiCloudQuery);
|
|
this.groupBox10.Controls.Add(this.btnActiotiCloudInput);
|
|
this.groupBox10.Controls.Add(this.btnActiotiCloudExper);
|
|
this.groupBox10.Controls.Add(this.btnActiotiCloudStart);
|
|
this.groupBox10.Location = new System.Drawing.Point(12, 12);
|
|
this.groupBox10.Name = "groupBox10";
|
|
this.groupBox10.Size = new System.Drawing.Size(416, 126);
|
|
this.groupBox10.TabIndex = 19;
|
|
this.groupBox10.TabStop = false;
|
|
this.groupBox10.Text = "操作";
|
|
this.panel1.Controls.Add(this.radioButton2);
|
|
this.panel1.Controls.Add(this.radioButton1);
|
|
this.panel1.Location = new System.Drawing.Point(303, 12);
|
|
this.panel1.Name = "panel1";
|
|
this.panel1.Size = new System.Drawing.Size(107, 24);
|
|
this.panel1.TabIndex = 9;
|
|
this.radioButton2.AutoSize = true;
|
|
this.radioButton2.Location = new System.Drawing.Point(59, 4);
|
|
this.radioButton2.Name = "radioButton2";
|
|
this.radioButton2.Size = new System.Drawing.Size(35, 16);
|
|
this.radioButton2.TabIndex = 1;
|
|
this.radioButton2.Text = "t2";
|
|
this.radioButton2.UseVisualStyleBackColor = true;
|
|
this.radioButton2.CheckedChanged += new System.EventHandler(radioButton2_CheckedChanged);
|
|
this.radioButton1.AutoSize = true;
|
|
this.radioButton1.Checked = true;
|
|
this.radioButton1.Location = new System.Drawing.Point(18, 4);
|
|
this.radioButton1.Name = "radioButton1";
|
|
this.radioButton1.Size = new System.Drawing.Size(35, 16);
|
|
this.radioButton1.TabIndex = 0;
|
|
this.radioButton1.TabStop = true;
|
|
this.radioButton1.Text = "t1";
|
|
this.radioButton1.UseVisualStyleBackColor = true;
|
|
this.btnActiotiCloudStartSub.Font = new System.Drawing.Font("微软雅黑", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.btnActiotiCloudStartSub.ForeColor = System.Drawing.Color.CadetBlue;
|
|
this.btnActiotiCloudStartSub.Location = new System.Drawing.Point(18, 91);
|
|
this.btnActiotiCloudStartSub.Name = "btnActiotiCloudStartSub";
|
|
this.btnActiotiCloudStartSub.Size = new System.Drawing.Size(119, 25);
|
|
this.btnActiotiCloudStartSub.TabIndex = 8;
|
|
this.btnActiotiCloudStartSub.Text = "辅助执行";
|
|
this.btnActiotiCloudStartSub.UseVisualStyleBackColor = true;
|
|
this.btnActiotiCloudStartSub.Click += new System.EventHandler(btnActiotiCloudStartSub_Click);
|
|
this.labLeaveFamilyCount.AutoSize = true;
|
|
this.labLeaveFamilyCount.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.labLeaveFamilyCount.ForeColor = System.Drawing.Color.OrangeRed;
|
|
this.labLeaveFamilyCount.Location = new System.Drawing.Point(255, 16);
|
|
this.labLeaveFamilyCount.Name = "labLeaveFamilyCount";
|
|
this.labLeaveFamilyCount.Size = new System.Drawing.Size(15, 17);
|
|
this.labLeaveFamilyCount.TabIndex = 7;
|
|
this.labLeaveFamilyCount.Text = "0";
|
|
this.label16.AutoSize = true;
|
|
this.label16.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.label16.Location = new System.Drawing.Point(156, 16);
|
|
this.label16.Name = "label16";
|
|
this.label16.Size = new System.Drawing.Size(95, 17);
|
|
this.label16.TabIndex = 6;
|
|
this.label16.Text = "列表中账号数量:";
|
|
this.btnActiotiCloudClre.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.btnActiotiCloudClre.Location = new System.Drawing.Point(303, 76);
|
|
this.btnActiotiCloudClre.Name = "btnActiotiCloudClre";
|
|
this.btnActiotiCloudClre.Size = new System.Drawing.Size(96, 23);
|
|
this.btnActiotiCloudClre.TabIndex = 5;
|
|
this.btnActiotiCloudClre.Text = "清空账号列表";
|
|
this.btnActiotiCloudClre.UseVisualStyleBackColor = true;
|
|
this.btnActiotiCloudClre.Click += new System.EventHandler(btnLiteClre_Click);
|
|
this.btnActiotiCloudQuery.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.btnActiotiCloudQuery.Location = new System.Drawing.Point(159, 42);
|
|
this.btnActiotiCloudQuery.Name = "btnActiotiCloudQuery";
|
|
this.btnActiotiCloudQuery.Size = new System.Drawing.Size(128, 23);
|
|
this.btnActiotiCloudQuery.TabIndex = 4;
|
|
this.btnActiotiCloudQuery.Text = "iCloud激活记录";
|
|
this.btnActiotiCloudQuery.UseVisualStyleBackColor = true;
|
|
this.btnActiotiCloudQuery.Click += new System.EventHandler(btnLeaveFamilyQuery_Click);
|
|
this.btnActiotiCloudInput.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.btnActiotiCloudInput.Location = new System.Drawing.Point(159, 76);
|
|
this.btnActiotiCloudInput.Name = "btnActiotiCloudInput";
|
|
this.btnActiotiCloudInput.Size = new System.Drawing.Size(128, 23);
|
|
this.btnActiotiCloudInput.TabIndex = 3;
|
|
this.btnActiotiCloudInput.Text = "账号输入";
|
|
this.btnActiotiCloudInput.UseVisualStyleBackColor = true;
|
|
this.btnActiotiCloudInput.Click += new System.EventHandler(btnLeaveFamilyInput_Click);
|
|
this.btnActiotiCloudExper.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.btnActiotiCloudExper.Location = new System.Drawing.Point(303, 42);
|
|
this.btnActiotiCloudExper.Name = "btnActiotiCloudExper";
|
|
this.btnActiotiCloudExper.Size = new System.Drawing.Size(96, 23);
|
|
this.btnActiotiCloudExper.TabIndex = 2;
|
|
this.btnActiotiCloudExper.Text = "导出账号";
|
|
this.btnActiotiCloudExper.UseVisualStyleBackColor = true;
|
|
this.btnActiotiCloudExper.Click += new System.EventHandler(btnLeaveFamilyExper_Click);
|
|
this.btnActiotiCloudStart.Font = new System.Drawing.Font("微软雅黑", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.btnActiotiCloudStart.ForeColor = System.Drawing.Color.Green;
|
|
this.btnActiotiCloudStart.Location = new System.Drawing.Point(18, 28);
|
|
this.btnActiotiCloudStart.Name = "btnActiotiCloudStart";
|
|
this.btnActiotiCloudStart.Size = new System.Drawing.Size(119, 56);
|
|
this.btnActiotiCloudStart.TabIndex = 1;
|
|
this.btnActiotiCloudStart.Text = "开始执行";
|
|
this.btnActiotiCloudStart.UseVisualStyleBackColor = true;
|
|
this.btnActiotiCloudStart.Click += new System.EventHandler(btnLeaveFamilyStart_Click);
|
|
this.groupBox12.Anchor = System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right;
|
|
this.groupBox12.Controls.Add(this.listActiotiCloud);
|
|
this.groupBox12.Location = new System.Drawing.Point(9, 155);
|
|
this.groupBox12.Name = "groupBox12";
|
|
this.groupBox12.Size = new System.Drawing.Size(1008, 429);
|
|
this.groupBox12.TabIndex = 18;
|
|
this.groupBox12.TabStop = false;
|
|
this.groupBox12.Text = "iCloud账号列表";
|
|
this.listActiotiCloud.Columns.AddRange(new System.Windows.Forms.ColumnHeader[11]
|
|
{
|
|
this.columnHeader8, this.columnHeader9, this.columnHeader10, this.columnHeader3, this.columnHeader2, this.columnHeader4, this.columnHeader5, this.columnHeader7, this.columnHeader6, this.columnHeader1,
|
|
this.columnHeader14
|
|
});
|
|
this.listActiotiCloud.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.listActiotiCloud.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
|
this.listActiotiCloud.FullRowSelect = true;
|
|
this.listActiotiCloud.HideSelection = false;
|
|
this.listActiotiCloud.Location = new System.Drawing.Point(3, 17);
|
|
this.listActiotiCloud.Name = "listActiotiCloud";
|
|
this.listActiotiCloud.Size = new System.Drawing.Size(1002, 409);
|
|
this.listActiotiCloud.TabIndex = 0;
|
|
this.listActiotiCloud.UseCompatibleStateImageBehavior = false;
|
|
this.listActiotiCloud.View = System.Windows.Forms.View.Details;
|
|
this.columnHeader8.Text = "序号";
|
|
this.columnHeader9.Text = "账号";
|
|
this.columnHeader9.Width = 140;
|
|
this.columnHeader10.Text = "密码";
|
|
this.columnHeader10.Width = 90;
|
|
this.columnHeader3.Text = "密保";
|
|
this.columnHeader2.Text = "密保";
|
|
this.columnHeader4.Text = "密保";
|
|
this.columnHeader5.Text = "生日";
|
|
this.columnHeader5.Width = 80;
|
|
this.columnHeader7.Text = "国家";
|
|
this.columnHeader6.Text = "双重号码";
|
|
this.columnHeader6.Width = 100;
|
|
this.columnHeader1.Text = "状态";
|
|
this.columnHeader1.Width = 80;
|
|
this.columnHeader14.Text = "信息";
|
|
this.columnHeader14.Width = 200;
|
|
base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
|
|
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
base.ClientSize = new System.Drawing.Size(1032, 596);
|
|
base.Controls.Add(this.groupBox9);
|
|
base.Controls.Add(this.groupBox10);
|
|
base.Controls.Add(this.groupBox12);
|
|
base.MaximizeBox = false;
|
|
base.Name = "FromActiotiCloud";
|
|
base.ShowIcon = false;
|
|
base.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "激活iCloud";
|
|
base.Load += new System.EventHandler(FromActiotiCloud_Load);
|
|
this.groupBox9.ResumeLayout(false);
|
|
this.groupBox9.PerformLayout();
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.groupBox10.ResumeLayout(false);
|
|
this.groupBox10.PerformLayout();
|
|
this.panel1.ResumeLayout(false);
|
|
this.panel1.PerformLayout();
|
|
this.groupBox12.ResumeLayout(false);
|
|
base.ResumeLayout(false);
|
|
}
|
|
}
|
|
}
|