mirror of
https://git.oceanpay.cc/danial/kami_itunes_june.git
synced 2025-12-18 22:31:24 +00:00
583 lines
23 KiB
C#
583 lines
23 KiB
C#
using System;
|
||
using System.Collections.Generic;
|
||
using System.ComponentModel;
|
||
using System.Drawing;
|
||
using System.Linq;
|
||
using System.Windows.Forms;
|
||
using AppleBatch_June.ExecuteTasks;
|
||
using AppleBatch_June.Model;
|
||
using AppleBatch_June.Views;
|
||
|
||
namespace AppleBatch_June
|
||
{
|
||
public class FromShopBalance : BaseForm
|
||
{
|
||
private IContainer components;
|
||
|
||
private GroupBox groupBox9;
|
||
|
||
private CheckBox ckshopBannalVpn;
|
||
|
||
private Label labshopBalanceInter;
|
||
|
||
private Label label10;
|
||
|
||
private Label label13;
|
||
|
||
private GroupBox groupBox10;
|
||
|
||
private Label labBannerCount;
|
||
|
||
private Label label16;
|
||
|
||
private Button btnLiteClre;
|
||
|
||
private Button btnBannerQuery;
|
||
|
||
private Button btnBannerInput;
|
||
|
||
private Button btnBannerExper;
|
||
|
||
private Button btnBannerStart;
|
||
|
||
private GroupBox groupBox12;
|
||
|
||
private DoubleBufferListView listBanner;
|
||
|
||
private ColumnHeader columnHeader8;
|
||
|
||
private ColumnHeader columnHeader9;
|
||
|
||
private ColumnHeader columnHeader10;
|
||
|
||
private ColumnHeader columnHeader11;
|
||
|
||
private ColumnHeader columnHeader12;
|
||
|
||
private ColumnHeader columnHeader14;
|
||
|
||
private TextBox textBox2;
|
||
|
||
private ColumnHeader columnHeader1;
|
||
|
||
private ContextMenuStrip contextMenuStrip1;
|
||
|
||
private ToolStripMenuItem 删除ToolStripMenuItem;
|
||
|
||
private ToolStripMenuItem 重新执行ToolStripMenuItem;
|
||
|
||
private ToolStripMenuItem 复制ToolStripMenuItem;
|
||
|
||
private Label labGreyBalanceCountry;
|
||
|
||
private CheckBox ckHashAuth;
|
||
|
||
public FromShopBalance()
|
||
: base("查询商城余额", ShopBalanceTask.Instance)
|
||
{
|
||
InitializeComponent();
|
||
}
|
||
|
||
private void FromShopBalance_Load(object sender, EventArgs e)
|
||
{
|
||
labshopBalanceInter.Text = AppSysConfig.getTypeById(27).consNum.ToString();
|
||
ckshopBannalVpn.Checked = ((ConfigUtlis.getConfigValue("ckshopBannalVpn") == "True") ? true : false);
|
||
ckHashAuth.Checked = ((ConfigUtlis.getConfigValue("ckHashAuth") == "True") ? true : false);
|
||
labGreyBalanceCountry.Text = AppSysConfig.getConfig("greyBalanceCountry").Replace("\\n", "\n");
|
||
base.startBtn = btnBannerStart;
|
||
base.labCout = labBannerCount;
|
||
base.listData = listBanner;
|
||
InitLv(listBanner);
|
||
}
|
||
|
||
private void btnBannerInput_Click(object sender, EventArgs e)
|
||
{
|
||
FromInputAcount fromInputAcount = new FromInputAcount();
|
||
fromInputAcount.tipMssage = textBox2.Text;
|
||
fromInputAcount.isOpenSysVpn = ckshopBannalVpn.Checked;
|
||
if (fromInputAcount.ShowDialog() == DialogResult.OK)
|
||
{
|
||
List<AppleAcount> list = AppleUtlis.accountInput(fromInputAcount.StrInput);
|
||
int num = 0;
|
||
listBanner.ListViewItemSorter = new ListViewItemComparer(0, 1);
|
||
listBanner.Sort();
|
||
if (listBanner.Items.Count > 0 && int.TryParse(listBanner.Items[listBanner.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("-");
|
||
listViewItem.SubItems.Add("-");
|
||
listViewItem.SubItems.Add("-");
|
||
listViewItem.SubItems.Add("-");
|
||
list2.Add(listViewItem);
|
||
}
|
||
listBanner.Items.AddRange(list2.ToArray());
|
||
}
|
||
labBannerCount.Text = string.Concat(listBanner.Items.Count);
|
||
}
|
||
|
||
private void btnLiteClre_Click(object sender, EventArgs e)
|
||
{
|
||
if (MessageBox.Show("确认删除列表数据吗", "提示", MessageBoxButtons.OKCancel) == DialogResult.OK)
|
||
{
|
||
listBanner.Items.Clear();
|
||
}
|
||
labBannerCount.Text = string.Concat(listBanner.Items.Count);
|
||
}
|
||
|
||
private void btnBannerExper_Click(object sender, EventArgs e)
|
||
{
|
||
ExperList(listBanner);
|
||
}
|
||
|
||
private void btnBannerStart_Click(object sender, EventArgs e)
|
||
{
|
||
if (!ShopBalanceTask.Instance.isRun && !ShopBalanceTask.Instance.TaskIsRun)
|
||
{
|
||
List<AppleAcount> lvItems = (from ListViewItem c in listBanner.Items
|
||
where c.SubItems[4].Text == "-"
|
||
select new AppleAcount
|
||
{
|
||
appleId = c.SubItems[1].Text,
|
||
applePwd = c.SubItems[2].Text
|
||
}).ToList();
|
||
RearTaskRunBannar(lvItems);
|
||
return;
|
||
}
|
||
ShopBalanceTask.Instance.Stop();
|
||
if (!base.IsDisposed)
|
||
{
|
||
Invoke((Action)delegate
|
||
{
|
||
btnBannerStart.Text = "正在停止";
|
||
btnBannerStart.ForeColor = Color.Red;
|
||
});
|
||
}
|
||
}
|
||
|
||
public void sucessAct(string AppleId)
|
||
{
|
||
UpdataUi(delegate
|
||
{
|
||
ListViewItem listViewItem = (from ListViewItem c in listBanner.Items
|
||
where c.SubItems[1].Text == AppleId
|
||
select c).FirstOrDefault();
|
||
if (listViewItem != null)
|
||
{
|
||
SqliteHelper.ExecuteInsert("itunes_db", new Dictionary<string, string>
|
||
{
|
||
{ "type", "shopBalance" },
|
||
{
|
||
"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
|
||
}
|
||
});
|
||
}
|
||
});
|
||
}
|
||
|
||
public void _action(string key, DisplyType type, string reust)
|
||
{
|
||
UpdataUi(delegate
|
||
{
|
||
IEnumerable<ListViewItem> enumerable = from ListViewItem c in listBanner.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.forbidden:
|
||
item.SubItems[5].Text = reust;
|
||
item.SubItems[5].Font = font;
|
||
item.SubItems[5].ForeColor = Color.Green;
|
||
break;
|
||
case DisplyType.xinxi:
|
||
item.SubItems[6].Text = reust;
|
||
break;
|
||
case DisplyType.reddemUNlock:
|
||
item.SubItems[5].Text = reust;
|
||
item.SubItems[5].ForeColor = Color.Black;
|
||
break;
|
||
case DisplyType.chongzhi:
|
||
item.SubItems[4].Text = reust;
|
||
item.SubItems[5].Text = reust;
|
||
break;
|
||
case DisplyType.balance:
|
||
item.SubItems[4].Text = reust;
|
||
break;
|
||
case DisplyType.error:
|
||
item.SubItems[5].Text = reust;
|
||
item.SubItems[5].Font = font;
|
||
item.SubItems[5].ForeColor = Color.Red;
|
||
break;
|
||
case DisplyType.area:
|
||
item.SubItems[3].Text = reust;
|
||
break;
|
||
}
|
||
}
|
||
});
|
||
}
|
||
|
||
private void RearTaskRunBannar(List<AppleAcount> lvItems)
|
||
{
|
||
int id = 27;
|
||
int count = lvItems.Count;
|
||
if (AppSysConfig.integral < count * AppSysConfig.getTypeById(27).consNum)
|
||
{
|
||
MessageBox.Show("账号点数不足 , 执行账号数量:" + count + " ,至少需要 " + count * AppSysConfig.getTypeById(id).consNum + " 点数。");
|
||
return;
|
||
}
|
||
ConfigUtlis.saveConfigKey("ckshopBannalVpn", ckshopBannalVpn.Checked.ToString());
|
||
ConfigUtlis.saveConfigKey("ckHashAuth", ckHashAuth.Checked.ToString());
|
||
Func<string, int, string> actGetCode = null;
|
||
if (ckHashAuth.Checked)
|
||
{
|
||
actGetCode = (string retust, int type) => (type == 1 && !base.IsDisposed && base.IsHandleCreated) ? Invoke((Func<string>)delegate
|
||
{
|
||
VerificationCodeFrom verificationCodeFrom = new VerificationCodeFrom(new VerificationCodeConfig
|
||
{
|
||
content = retust,
|
||
WinTitle = "请输入验证码",
|
||
verifiLength = 6,
|
||
tipMag = "请输入验证码"
|
||
});
|
||
verificationCodeFrom.ShowDialog();
|
||
return verificationCodeFrom.reustCode;
|
||
}).ToString() : string.Empty;
|
||
}
|
||
ShopBalanceTask.Instance.RequestTask(2, ckshopBannalVpn.Checked, lvItems, base.startAct, base.endTakAct, sucessAct, _action, actGetCode);
|
||
}
|
||
|
||
private void btnBannerQuery_Click(object sender, EventArgs e)
|
||
{
|
||
FromDBDataQuery fromDBDataQuery = new FromDBDataQuery();
|
||
fromDBDataQuery.sqlTitle = new Dictionary<string, string>
|
||
{
|
||
{ "value1", "账号|120" },
|
||
{ "value2", "密码|100" },
|
||
{ "value3", "国家|60" },
|
||
{ "value4", "余额|60" },
|
||
{ "value5", "状态|60" },
|
||
{ "value6", "信息|150" }
|
||
};
|
||
fromDBDataQuery.type = "shopBalance";
|
||
fromDBDataQuery.typeName = "商城可用余额查询";
|
||
fromDBDataQuery.Show();
|
||
}
|
||
|
||
private void 删除ToolStripMenuItem_Click(object sender, EventArgs e)
|
||
{
|
||
DoubleBufferListView doubleBufferListView = listBanner;
|
||
foreach (ListViewItem selectedItem in doubleBufferListView.SelectedItems)
|
||
{
|
||
doubleBufferListView.Items.Remove(selectedItem);
|
||
}
|
||
}
|
||
|
||
private void 重新执行ToolStripMenuItem_Click(object sender, EventArgs e)
|
||
{
|
||
if (ShopBalanceTask.Instance.TaskIsRun)
|
||
{
|
||
MessageBox.Show("请先停止");
|
||
return;
|
||
}
|
||
List<AppleAcount> list = new List<AppleAcount>();
|
||
foreach (ListViewItem selectedItem in listBanner.SelectedItems)
|
||
{
|
||
list.Add(new AppleAcount
|
||
{
|
||
appleId = selectedItem.SubItems[1].Text,
|
||
applePwd = selectedItem.SubItems[2].Text
|
||
});
|
||
}
|
||
RearTaskRunBannar(list);
|
||
}
|
||
|
||
private void 复制ToolStripMenuItem_Click(object sender, EventArgs e)
|
||
{
|
||
copy();
|
||
}
|
||
|
||
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.groupBox9 = new System.Windows.Forms.GroupBox();
|
||
this.labGreyBalanceCountry = new System.Windows.Forms.Label();
|
||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||
this.labshopBalanceInter = new System.Windows.Forms.Label();
|
||
this.label10 = new System.Windows.Forms.Label();
|
||
this.label13 = new System.Windows.Forms.Label();
|
||
this.ckshopBannalVpn = new System.Windows.Forms.CheckBox();
|
||
this.groupBox10 = new System.Windows.Forms.GroupBox();
|
||
this.ckHashAuth = new System.Windows.Forms.CheckBox();
|
||
this.labBannerCount = new System.Windows.Forms.Label();
|
||
this.label16 = new System.Windows.Forms.Label();
|
||
this.btnLiteClre = new System.Windows.Forms.Button();
|
||
this.btnBannerQuery = new System.Windows.Forms.Button();
|
||
this.btnBannerInput = new System.Windows.Forms.Button();
|
||
this.btnBannerExper = new System.Windows.Forms.Button();
|
||
this.btnBannerStart = new System.Windows.Forms.Button();
|
||
this.groupBox12 = new System.Windows.Forms.GroupBox();
|
||
this.listBanner = 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.columnHeader11 = new System.Windows.Forms.ColumnHeader();
|
||
this.columnHeader12 = new System.Windows.Forms.ColumnHeader();
|
||
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
|
||
this.columnHeader14 = new System.Windows.Forms.ColumnHeader();
|
||
this.contextMenuStrip1 = 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.groupBox9.SuspendLayout();
|
||
this.groupBox10.SuspendLayout();
|
||
this.groupBox12.SuspendLayout();
|
||
this.contextMenuStrip1.SuspendLayout();
|
||
base.SuspendLayout();
|
||
this.groupBox9.Controls.Add(this.labGreyBalanceCountry);
|
||
this.groupBox9.Controls.Add(this.textBox2);
|
||
this.groupBox9.Controls.Add(this.labshopBalanceInter);
|
||
this.groupBox9.Controls.Add(this.label10);
|
||
this.groupBox9.Controls.Add(this.label13);
|
||
this.groupBox9.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
this.groupBox9.Location = new System.Drawing.Point(461, 14);
|
||
this.groupBox9.Name = "groupBox9";
|
||
this.groupBox9.Size = new System.Drawing.Size(510, 126);
|
||
this.groupBox9.TabIndex = 11;
|
||
this.groupBox9.TabStop = false;
|
||
this.groupBox9.Text = "功能说明";
|
||
this.labGreyBalanceCountry.AutoSize = true;
|
||
this.labGreyBalanceCountry.Location = new System.Drawing.Point(25, 42);
|
||
this.labGreyBalanceCountry.Name = "labGreyBalanceCountry";
|
||
this.labGreyBalanceCountry.Size = new System.Drawing.Size(0, 17);
|
||
this.labGreyBalanceCountry.TabIndex = 13;
|
||
this.textBox2.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||
this.textBox2.Location = new System.Drawing.Point(153, 96);
|
||
this.textBox2.Name = "textBox2";
|
||
this.textBox2.ReadOnly = true;
|
||
this.textBox2.Size = new System.Drawing.Size(351, 23);
|
||
this.textBox2.TabIndex = 11;
|
||
this.textBox2.Text = "导入格式:xxx@xx.com----密码";
|
||
this.labshopBalanceInter.AutoSize = true;
|
||
this.labshopBalanceInter.Font = new System.Drawing.Font("微软雅黑", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
|
||
this.labshopBalanceInter.ForeColor = System.Drawing.Color.Crimson;
|
||
this.labshopBalanceInter.Location = new System.Drawing.Point(103, 97);
|
||
this.labshopBalanceInter.Name = "labshopBalanceInter";
|
||
this.labshopBalanceInter.Size = new System.Drawing.Size(18, 19);
|
||
this.labshopBalanceInter.TabIndex = 2;
|
||
this.labshopBalanceInter.Text = "0";
|
||
this.label10.AutoSize = true;
|
||
this.label10.Location = new System.Drawing.Point(15, 99);
|
||
this.label10.Name = "label10";
|
||
this.label10.Size = new System.Drawing.Size(92, 17);
|
||
this.label10.TabIndex = 1;
|
||
this.label10.Text = "查询消耗点数:";
|
||
this.label13.AutoSize = true;
|
||
this.label13.Location = new System.Drawing.Point(15, 20);
|
||
this.label13.Name = "label13";
|
||
this.label13.Size = new System.Drawing.Size(488, 17);
|
||
this.label13.TabIndex = 0;
|
||
this.label13.Text = "查询ID余额在苹果商城是否可用 支持所有苹果商城允许余额下单的国家, 目前已知的国家:";
|
||
this.ckshopBannalVpn.AutoSize = true;
|
||
this.ckshopBannalVpn.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
|
||
this.ckshopBannalVpn.ForeColor = System.Drawing.Color.Red;
|
||
this.ckshopBannalVpn.Location = new System.Drawing.Point(186, 98);
|
||
this.ckshopBannalVpn.Name = "ckshopBannalVpn";
|
||
this.ckshopBannalVpn.Size = new System.Drawing.Size(111, 21);
|
||
this.ckshopBannalVpn.TabIndex = 10;
|
||
this.ckshopBannalVpn.Text = "使用随机IP代理";
|
||
this.ckshopBannalVpn.UseVisualStyleBackColor = true;
|
||
this.groupBox10.Controls.Add(this.ckHashAuth);
|
||
this.groupBox10.Controls.Add(this.labBannerCount);
|
||
this.groupBox10.Controls.Add(this.label16);
|
||
this.groupBox10.Controls.Add(this.ckshopBannalVpn);
|
||
this.groupBox10.Controls.Add(this.btnLiteClre);
|
||
this.groupBox10.Controls.Add(this.btnBannerQuery);
|
||
this.groupBox10.Controls.Add(this.btnBannerInput);
|
||
this.groupBox10.Controls.Add(this.btnBannerExper);
|
||
this.groupBox10.Controls.Add(this.btnBannerStart);
|
||
this.groupBox10.Location = new System.Drawing.Point(18, 14);
|
||
this.groupBox10.Name = "groupBox10";
|
||
this.groupBox10.Size = new System.Drawing.Size(437, 126);
|
||
this.groupBox10.TabIndex = 10;
|
||
this.groupBox10.TabStop = false;
|
||
this.groupBox10.Text = "操作";
|
||
this.ckHashAuth.AutoSize = true;
|
||
this.ckHashAuth.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
this.ckHashAuth.ForeColor = System.Drawing.Color.ForestGreen;
|
||
this.ckHashAuth.Location = new System.Drawing.Point(329, 96);
|
||
this.ckHashAuth.Name = "ckHashAuth";
|
||
this.ckHashAuth.Size = new System.Drawing.Size(99, 21);
|
||
this.ckHashAuth.TabIndex = 11;
|
||
this.ckHashAuth.Text = "有双重验证码";
|
||
this.ckHashAuth.UseVisualStyleBackColor = true;
|
||
this.labBannerCount.AutoSize = true;
|
||
this.labBannerCount.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
this.labBannerCount.ForeColor = System.Drawing.Color.OrangeRed;
|
||
this.labBannerCount.Location = new System.Drawing.Point(282, 15);
|
||
this.labBannerCount.Name = "labBannerCount";
|
||
this.labBannerCount.Size = new System.Drawing.Size(15, 17);
|
||
this.labBannerCount.TabIndex = 7;
|
||
this.labBannerCount.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(179, 16);
|
||
this.label16.Name = "label16";
|
||
this.label16.Size = new System.Drawing.Size(95, 17);
|
||
this.label16.TabIndex = 6;
|
||
this.label16.Text = "列表中账号数量:";
|
||
this.btnLiteClre.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
this.btnLiteClre.Location = new System.Drawing.Point(325, 68);
|
||
this.btnLiteClre.Name = "btnLiteClre";
|
||
this.btnLiteClre.Size = new System.Drawing.Size(96, 23);
|
||
this.btnLiteClre.TabIndex = 5;
|
||
this.btnLiteClre.Text = "清空账号列表";
|
||
this.btnLiteClre.UseVisualStyleBackColor = true;
|
||
this.btnLiteClre.Click += new System.EventHandler(btnLiteClre_Click);
|
||
this.btnBannerQuery.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
this.btnBannerQuery.Location = new System.Drawing.Point(179, 38);
|
||
this.btnBannerQuery.Name = "btnBannerQuery";
|
||
this.btnBannerQuery.Size = new System.Drawing.Size(140, 23);
|
||
this.btnBannerQuery.TabIndex = 4;
|
||
this.btnBannerQuery.Text = "商城余额查询记录";
|
||
this.btnBannerQuery.UseVisualStyleBackColor = true;
|
||
this.btnBannerQuery.Click += new System.EventHandler(btnBannerQuery_Click);
|
||
this.btnBannerInput.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
this.btnBannerInput.Location = new System.Drawing.Point(179, 69);
|
||
this.btnBannerInput.Name = "btnBannerInput";
|
||
this.btnBannerInput.Size = new System.Drawing.Size(140, 23);
|
||
this.btnBannerInput.TabIndex = 3;
|
||
this.btnBannerInput.Text = "账号输入";
|
||
this.btnBannerInput.UseVisualStyleBackColor = true;
|
||
this.btnBannerInput.Click += new System.EventHandler(btnBannerInput_Click);
|
||
this.btnBannerExper.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
this.btnBannerExper.Location = new System.Drawing.Point(325, 38);
|
||
this.btnBannerExper.Name = "btnBannerExper";
|
||
this.btnBannerExper.Size = new System.Drawing.Size(96, 23);
|
||
this.btnBannerExper.TabIndex = 2;
|
||
this.btnBannerExper.Text = "导出账号";
|
||
this.btnBannerExper.UseVisualStyleBackColor = true;
|
||
this.btnBannerExper.Click += new System.EventHandler(btnBannerExper_Click);
|
||
this.btnBannerStart.Font = new System.Drawing.Font("微软雅黑", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
|
||
this.btnBannerStart.ForeColor = System.Drawing.Color.Green;
|
||
this.btnBannerStart.Location = new System.Drawing.Point(18, 33);
|
||
this.btnBannerStart.Name = "btnBannerStart";
|
||
this.btnBannerStart.Size = new System.Drawing.Size(110, 65);
|
||
this.btnBannerStart.TabIndex = 1;
|
||
this.btnBannerStart.Text = "开始执行";
|
||
this.btnBannerStart.UseVisualStyleBackColor = true;
|
||
this.btnBannerStart.Click += new System.EventHandler(btnBannerStart_Click);
|
||
this.groupBox12.Controls.Add(this.listBanner);
|
||
this.groupBox12.Location = new System.Drawing.Point(15, 146);
|
||
this.groupBox12.Name = "groupBox12";
|
||
this.groupBox12.Size = new System.Drawing.Size(956, 408);
|
||
this.groupBox12.TabIndex = 8;
|
||
this.groupBox12.TabStop = false;
|
||
this.groupBox12.Text = "Apple账号列表";
|
||
this.listBanner.Columns.AddRange(new System.Windows.Forms.ColumnHeader[7] { this.columnHeader8, this.columnHeader9, this.columnHeader10, this.columnHeader11, this.columnHeader12, this.columnHeader1, this.columnHeader14 });
|
||
this.listBanner.ContextMenuStrip = this.contextMenuStrip1;
|
||
this.listBanner.Dock = System.Windows.Forms.DockStyle.Fill;
|
||
this.listBanner.Font = new System.Drawing.Font("微软雅黑", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
|
||
this.listBanner.FullRowSelect = true;
|
||
this.listBanner.HideSelection = false;
|
||
this.listBanner.Location = new System.Drawing.Point(3, 17);
|
||
this.listBanner.Name = "listBanner";
|
||
this.listBanner.Size = new System.Drawing.Size(950, 388);
|
||
this.listBanner.TabIndex = 0;
|
||
this.listBanner.UseCompatibleStateImageBehavior = false;
|
||
this.listBanner.View = System.Windows.Forms.View.Details;
|
||
this.columnHeader8.Text = "序号";
|
||
this.columnHeader9.Text = "账号";
|
||
this.columnHeader9.Width = 200;
|
||
this.columnHeader10.Text = "密码";
|
||
this.columnHeader10.Width = 150;
|
||
this.columnHeader11.Text = "国家";
|
||
this.columnHeader11.Width = 80;
|
||
this.columnHeader12.Text = "余额";
|
||
this.columnHeader12.Width = 80;
|
||
this.columnHeader1.Text = "状态";
|
||
this.columnHeader1.Width = 80;
|
||
this.columnHeader14.Text = "信息";
|
||
this.columnHeader14.Width = 250;
|
||
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[3] { this.删除ToolStripMenuItem, this.重新执行ToolStripMenuItem, this.复制ToolStripMenuItem });
|
||
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
||
this.contextMenuStrip1.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);
|
||
base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
|
||
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||
base.ClientSize = new System.Drawing.Size(981, 561);
|
||
base.Controls.Add(this.groupBox9);
|
||
base.Controls.Add(this.groupBox10);
|
||
base.Controls.Add(this.groupBox12);
|
||
base.MaximizeBox = false;
|
||
base.Name = "FromShopBalance";
|
||
base.ShowIcon = false;
|
||
base.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||
this.Text = "商城灰余额查询";
|
||
base.Load += new System.EventHandler(FromShopBalance_Load);
|
||
this.groupBox9.ResumeLayout(false);
|
||
this.groupBox9.PerformLayout();
|
||
this.groupBox10.ResumeLayout(false);
|
||
this.groupBox10.PerformLayout();
|
||
this.groupBox12.ResumeLayout(false);
|
||
this.contextMenuStrip1.ResumeLayout(false);
|
||
base.ResumeLayout(false);
|
||
}
|
||
}
|
||
}
|