663 lines
30 KiB
C#
663 lines
30 KiB
C#
namespace cursorTokenLogin
|
|
{
|
|
partial class Form1
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
|
splitMain = new SplitContainer();
|
|
btnMenuVipLogin = new Button();
|
|
btnMenuCursorLogin = new Button();
|
|
panelRight = new Panel();
|
|
panelContentHost = new Panel();
|
|
panelVipView = new Panel();
|
|
grpVipActivation = new GroupBox();
|
|
btnRefreshCursor = new Button();
|
|
btnActivateVip = new Button();
|
|
txtActivationCode = new TextBox();
|
|
lblActivationCode = new Label();
|
|
grpVipInfo = new GroupBox();
|
|
btnCopyDeviceId = new FontAwesome.Sharp.IconButton();
|
|
lblVipStatusValue = new Label();
|
|
lblVipStatus = new Label();
|
|
txtDeviceId = new TextBox();
|
|
lblDeviceId = new Label();
|
|
panelCursorLoginView = new Panel();
|
|
grpToken = new GroupBox();
|
|
txtToken = new TextBox();
|
|
btnStartSwitch = new FontAwesome.Sharp.IconButton();
|
|
panelGlobal = new Panel();
|
|
tlpGlobal = new TableLayoutPanel();
|
|
grpRunLog = new GroupBox();
|
|
btnClearLog = new Button();
|
|
txtRunLog = new RichTextBox();
|
|
lblCursorPath = new Label();
|
|
panelPathRow = new Panel();
|
|
flowPathButtons = new FlowLayoutPanel();
|
|
btnAutoFindCursorPath = new Button();
|
|
btnManualCursorPath = new Button();
|
|
txtCursorPath = new TextBox();
|
|
flowBottomActions = new FlowLayoutPanel();
|
|
btnCheckUpdate = new FontAwesome.Sharp.IconButton();
|
|
btnDonate = new FontAwesome.Sharp.IconButton();
|
|
btnEmergencyRepair = new FontAwesome.Sharp.IconButton();
|
|
statusStripMain = new StatusStrip();
|
|
toolStripStatusLabelSpacer = new ToolStripStatusLabel();
|
|
toolStripStatusLabelVersion = new ToolStripStatusLabel();
|
|
((System.ComponentModel.ISupportInitialize)splitMain).BeginInit();
|
|
splitMain.Panel1.SuspendLayout();
|
|
splitMain.Panel2.SuspendLayout();
|
|
splitMain.SuspendLayout();
|
|
panelRight.SuspendLayout();
|
|
panelContentHost.SuspendLayout();
|
|
panelVipView.SuspendLayout();
|
|
grpVipActivation.SuspendLayout();
|
|
grpVipInfo.SuspendLayout();
|
|
panelCursorLoginView.SuspendLayout();
|
|
grpToken.SuspendLayout();
|
|
panelGlobal.SuspendLayout();
|
|
tlpGlobal.SuspendLayout();
|
|
grpRunLog.SuspendLayout();
|
|
panelPathRow.SuspendLayout();
|
|
flowPathButtons.SuspendLayout();
|
|
flowBottomActions.SuspendLayout();
|
|
statusStripMain.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// splitMain
|
|
//
|
|
splitMain.Dock = DockStyle.Top;
|
|
splitMain.FixedPanel = FixedPanel.Panel1;
|
|
splitMain.IsSplitterFixed = true;
|
|
splitMain.Location = new Point(0, 0);
|
|
splitMain.Name = "splitMain";
|
|
//
|
|
// splitMain.Panel1
|
|
//
|
|
splitMain.Panel1.Controls.Add(btnMenuVipLogin);
|
|
splitMain.Panel1.Controls.Add(btnMenuCursorLogin);
|
|
splitMain.Panel1.Padding = new Padding(12);
|
|
//
|
|
// splitMain.Panel2
|
|
//
|
|
splitMain.Panel2.Controls.Add(panelRight);
|
|
splitMain.Size = new Size(980, 434);
|
|
splitMain.SplitterDistance = 180;
|
|
splitMain.TabIndex = 0;
|
|
//
|
|
// btnMenuVipLogin
|
|
//
|
|
btnMenuVipLogin.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
btnMenuVipLogin.Font = new Font("Microsoft YaHei UI", 10.5F);
|
|
btnMenuVipLogin.Location = new Point(12, 68);
|
|
btnMenuVipLogin.Name = "btnMenuVipLogin";
|
|
btnMenuVipLogin.Size = new Size(156, 48);
|
|
btnMenuVipLogin.TabIndex = 1;
|
|
btnMenuVipLogin.Text = "会员登录";
|
|
btnMenuVipLogin.UseVisualStyleBackColor = false;
|
|
btnMenuVipLogin.Click += btnMenuVipLogin_Click;
|
|
//
|
|
// btnMenuCursorLogin
|
|
//
|
|
btnMenuCursorLogin.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
btnMenuCursorLogin.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Bold);
|
|
btnMenuCursorLogin.Location = new Point(12, 12);
|
|
btnMenuCursorLogin.Name = "btnMenuCursorLogin";
|
|
btnMenuCursorLogin.Size = new Size(156, 48);
|
|
btnMenuCursorLogin.TabIndex = 0;
|
|
btnMenuCursorLogin.Text = "Cursor登录器";
|
|
btnMenuCursorLogin.UseVisualStyleBackColor = false;
|
|
btnMenuCursorLogin.Click += btnMenuCursorLogin_Click;
|
|
//
|
|
// panelRight
|
|
//
|
|
panelRight.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
panelRight.Controls.Add(panelContentHost);
|
|
panelRight.Location = new Point(0, 0);
|
|
panelRight.Name = "panelRight";
|
|
panelRight.Size = new Size(796, 434);
|
|
panelRight.TabIndex = 0;
|
|
//
|
|
// panelContentHost
|
|
//
|
|
panelContentHost.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
panelContentHost.Controls.Add(panelVipView);
|
|
panelContentHost.Controls.Add(panelCursorLoginView);
|
|
panelContentHost.Location = new Point(0, 0);
|
|
panelContentHost.Name = "panelContentHost";
|
|
panelContentHost.Padding = new Padding(14, 12, 14, 10);
|
|
panelContentHost.Size = new Size(796, 434);
|
|
panelContentHost.TabIndex = 0;
|
|
//
|
|
// panelVipView
|
|
//
|
|
panelVipView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
panelVipView.Controls.Add(grpVipActivation);
|
|
panelVipView.Controls.Add(grpVipInfo);
|
|
panelVipView.Location = new Point(14, 12);
|
|
panelVipView.Name = "panelVipView";
|
|
panelVipView.Padding = new Padding(10);
|
|
panelVipView.Size = new Size(768, 412);
|
|
panelVipView.TabIndex = 1;
|
|
panelVipView.Visible = false;
|
|
//
|
|
// grpVipActivation
|
|
//
|
|
grpVipActivation.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
grpVipActivation.Controls.Add(btnRefreshCursor);
|
|
grpVipActivation.Controls.Add(btnActivateVip);
|
|
grpVipActivation.Controls.Add(txtActivationCode);
|
|
grpVipActivation.Controls.Add(lblActivationCode);
|
|
grpVipActivation.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold);
|
|
grpVipActivation.Location = new Point(10, 215);
|
|
grpVipActivation.Name = "grpVipActivation";
|
|
grpVipActivation.Padding = new Padding(10);
|
|
grpVipActivation.Size = new Size(748, 187);
|
|
grpVipActivation.TabIndex = 1;
|
|
grpVipActivation.TabStop = false;
|
|
grpVipActivation.Text = "会员激活";
|
|
grpVipActivation.Enter += grpVipActivation_Enter;
|
|
//
|
|
// btnRefreshCursor
|
|
//
|
|
btnRefreshCursor.Font = new Font("Microsoft YaHei UI", 10.5F, FontStyle.Bold);
|
|
btnRefreshCursor.Location = new Point(24, 124);
|
|
btnRefreshCursor.Name = "btnRefreshCursor";
|
|
btnRefreshCursor.Size = new Size(262, 42);
|
|
btnRefreshCursor.TabIndex = 3;
|
|
btnRefreshCursor.Text = "刷新 Cursor";
|
|
btnRefreshCursor.UseVisualStyleBackColor = false;
|
|
btnRefreshCursor.Click += btnRefreshCursor_Click;
|
|
//
|
|
// btnActivateVip
|
|
//
|
|
btnActivateVip.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
btnActivateVip.Location = new Point(582, 74);
|
|
btnActivateVip.Name = "btnActivateVip";
|
|
btnActivateVip.Size = new Size(150, 36);
|
|
btnActivateVip.TabIndex = 2;
|
|
btnActivateVip.Text = "激活按钮";
|
|
btnActivateVip.UseVisualStyleBackColor = true;
|
|
btnActivateVip.Click += btnActivateVip_Click;
|
|
//
|
|
// txtActivationCode
|
|
//
|
|
txtActivationCode.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right;
|
|
txtActivationCode.Location = new Point(24, 75);
|
|
txtActivationCode.Name = "txtActivationCode";
|
|
txtActivationCode.PlaceholderText = "请输入激活码";
|
|
txtActivationCode.Size = new Size(546, 33);
|
|
txtActivationCode.TabIndex = 1;
|
|
//
|
|
// lblActivationCode
|
|
//
|
|
lblActivationCode.AutoSize = true;
|
|
lblActivationCode.Font = new Font("Microsoft YaHei UI", 10F);
|
|
lblActivationCode.Location = new Point(24, 43);
|
|
lblActivationCode.Name = "lblActivationCode";
|
|
lblActivationCode.Size = new Size(112, 27);
|
|
lblActivationCode.TabIndex = 0;
|
|
lblActivationCode.Text = "激活码填写";
|
|
//
|
|
// grpVipInfo
|
|
//
|
|
grpVipInfo.Controls.Add(btnCopyDeviceId);
|
|
grpVipInfo.Controls.Add(lblVipStatusValue);
|
|
grpVipInfo.Controls.Add(lblVipStatus);
|
|
grpVipInfo.Controls.Add(txtDeviceId);
|
|
grpVipInfo.Controls.Add(lblDeviceId);
|
|
grpVipInfo.Dock = DockStyle.Top;
|
|
grpVipInfo.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold);
|
|
grpVipInfo.Location = new Point(10, 10);
|
|
grpVipInfo.Name = "grpVipInfo";
|
|
grpVipInfo.Padding = new Padding(10);
|
|
grpVipInfo.Size = new Size(748, 205);
|
|
grpVipInfo.TabIndex = 0;
|
|
grpVipInfo.TabStop = false;
|
|
grpVipInfo.Text = "会员信息";
|
|
//
|
|
// btnCopyDeviceId
|
|
//
|
|
btnCopyDeviceId.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
btnCopyDeviceId.IconChar = FontAwesome.Sharp.IconChar.Copy;
|
|
btnCopyDeviceId.IconColor = Color.DimGray;
|
|
btnCopyDeviceId.IconFont = FontAwesome.Sharp.IconFont.Auto;
|
|
btnCopyDeviceId.IconSize = 16;
|
|
btnCopyDeviceId.ImageAlign = ContentAlignment.MiddleLeft;
|
|
btnCopyDeviceId.Location = new Point(582, 39);
|
|
btnCopyDeviceId.Name = "btnCopyDeviceId";
|
|
btnCopyDeviceId.Padding = new Padding(6, 0, 0, 0);
|
|
btnCopyDeviceId.Size = new Size(150, 33);
|
|
btnCopyDeviceId.TabIndex = 4;
|
|
btnCopyDeviceId.Text = "复制设备号";
|
|
btnCopyDeviceId.TextImageRelation = TextImageRelation.ImageBeforeText;
|
|
btnCopyDeviceId.UseVisualStyleBackColor = true;
|
|
btnCopyDeviceId.Click += btnCopyDeviceId_Click;
|
|
//
|
|
// lblVipStatusValue
|
|
//
|
|
lblVipStatusValue.AutoSize = true;
|
|
lblVipStatusValue.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold);
|
|
lblVipStatusValue.ForeColor = Color.DarkRed;
|
|
lblVipStatusValue.Location = new Point(112, 75);
|
|
lblVipStatusValue.Name = "lblVipStatusValue";
|
|
lblVipStatusValue.Size = new Size(72, 27);
|
|
lblVipStatusValue.TabIndex = 3;
|
|
lblVipStatusValue.Text = "未激活";
|
|
//
|
|
// lblVipStatus
|
|
//
|
|
lblVipStatus.AutoSize = true;
|
|
lblVipStatus.Font = new Font("Microsoft YaHei UI", 10F);
|
|
lblVipStatus.Location = new Point(24, 75);
|
|
lblVipStatus.Name = "lblVipStatus";
|
|
lblVipStatus.Size = new Size(92, 27);
|
|
lblVipStatus.TabIndex = 2;
|
|
lblVipStatus.Text = "会员状态";
|
|
//
|
|
// txtDeviceId
|
|
//
|
|
txtDeviceId.Location = new Point(101, 39);
|
|
txtDeviceId.Name = "txtDeviceId";
|
|
txtDeviceId.ReadOnly = true;
|
|
txtDeviceId.Size = new Size(469, 33);
|
|
txtDeviceId.TabIndex = 1;
|
|
//
|
|
// lblDeviceId
|
|
//
|
|
lblDeviceId.AutoSize = true;
|
|
lblDeviceId.Font = new Font("Microsoft YaHei UI", 10F);
|
|
lblDeviceId.Location = new Point(24, 42);
|
|
lblDeviceId.Name = "lblDeviceId";
|
|
lblDeviceId.Size = new Size(72, 27);
|
|
lblDeviceId.TabIndex = 0;
|
|
lblDeviceId.Text = "设备号";
|
|
//
|
|
// panelCursorLoginView
|
|
//
|
|
panelCursorLoginView.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
panelCursorLoginView.Controls.Add(grpToken);
|
|
panelCursorLoginView.Controls.Add(btnStartSwitch);
|
|
panelCursorLoginView.Location = new Point(14, 12);
|
|
panelCursorLoginView.Name = "panelCursorLoginView";
|
|
panelCursorLoginView.Padding = new Padding(10);
|
|
panelCursorLoginView.Size = new Size(768, 412);
|
|
panelCursorLoginView.TabIndex = 0;
|
|
//
|
|
// grpToken
|
|
//
|
|
grpToken.Controls.Add(txtToken);
|
|
grpToken.Dock = DockStyle.Top;
|
|
grpToken.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold);
|
|
grpToken.Location = new Point(10, 10);
|
|
grpToken.Name = "grpToken";
|
|
grpToken.Padding = new Padding(10);
|
|
grpToken.Size = new Size(748, 340);
|
|
grpToken.TabIndex = 0;
|
|
grpToken.TabStop = false;
|
|
grpToken.Text = "Token 输入";
|
|
//
|
|
// txtToken
|
|
//
|
|
txtToken.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
txtToken.Location = new Point(10, 36);
|
|
txtToken.Multiline = true;
|
|
txtToken.Name = "txtToken";
|
|
txtToken.PlaceholderText = "请输入 Cursor Token...";
|
|
txtToken.ScrollBars = ScrollBars.Vertical;
|
|
txtToken.Size = new Size(728, 294);
|
|
txtToken.TabIndex = 0;
|
|
//
|
|
// btnStartSwitch
|
|
//
|
|
btnStartSwitch.Dock = DockStyle.Bottom;
|
|
btnStartSwitch.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold);
|
|
btnStartSwitch.IconChar = FontAwesome.Sharp.IconChar.Rocket;
|
|
btnStartSwitch.IconColor = Color.DodgerBlue;
|
|
btnStartSwitch.IconFont = FontAwesome.Sharp.IconFont.Auto;
|
|
btnStartSwitch.IconSize = 20;
|
|
btnStartSwitch.ImageAlign = ContentAlignment.MiddleLeft;
|
|
btnStartSwitch.Location = new Point(10, 350);
|
|
btnStartSwitch.Margin = new Padding(10, 8, 10, 0);
|
|
btnStartSwitch.Name = "btnStartSwitch";
|
|
btnStartSwitch.Padding = new Padding(8, 0, 0, 0);
|
|
btnStartSwitch.Size = new Size(748, 52);
|
|
btnStartSwitch.TabIndex = 2;
|
|
btnStartSwitch.Text = "开始换号";
|
|
btnStartSwitch.TextImageRelation = TextImageRelation.ImageBeforeText;
|
|
btnStartSwitch.UseVisualStyleBackColor = false;
|
|
btnStartSwitch.Click += btnStartSwitch_Click;
|
|
//
|
|
// panelGlobal
|
|
//
|
|
panelGlobal.Controls.Add(tlpGlobal);
|
|
panelGlobal.Location = new Point(0, 440);
|
|
panelGlobal.Name = "panelGlobal";
|
|
panelGlobal.Padding = new Padding(20, 6, 20, 8);
|
|
panelGlobal.Size = new Size(980, 420);
|
|
panelGlobal.TabIndex = 1;
|
|
//
|
|
// tlpGlobal
|
|
//
|
|
tlpGlobal.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
tlpGlobal.ColumnCount = 1;
|
|
tlpGlobal.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
|
|
tlpGlobal.Controls.Add(grpRunLog, 0, 0);
|
|
tlpGlobal.Controls.Add(lblCursorPath, 0, 1);
|
|
tlpGlobal.Controls.Add(panelPathRow, 0, 2);
|
|
tlpGlobal.Controls.Add(flowBottomActions, 0, 3);
|
|
tlpGlobal.Location = new Point(20, 6);
|
|
tlpGlobal.Name = "tlpGlobal";
|
|
tlpGlobal.RowCount = 4;
|
|
tlpGlobal.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
|
|
tlpGlobal.RowStyles.Add(new RowStyle(SizeType.Absolute, 26F));
|
|
tlpGlobal.RowStyles.Add(new RowStyle(SizeType.Absolute, 40F));
|
|
tlpGlobal.RowStyles.Add(new RowStyle(SizeType.Absolute, 64F));
|
|
tlpGlobal.Size = new Size(940, 406);
|
|
tlpGlobal.TabIndex = 0;
|
|
//
|
|
// grpRunLog
|
|
//
|
|
grpRunLog.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
grpRunLog.Controls.Add(btnClearLog);
|
|
grpRunLog.Controls.Add(txtRunLog);
|
|
grpRunLog.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold);
|
|
grpRunLog.Location = new Point(3, 3);
|
|
grpRunLog.Name = "grpRunLog";
|
|
grpRunLog.Padding = new Padding(10, 10, 10, 12);
|
|
grpRunLog.Size = new Size(934, 270);
|
|
grpRunLog.TabIndex = 0;
|
|
grpRunLog.TabStop = false;
|
|
grpRunLog.Text = "运行日志";
|
|
//
|
|
// btnClearLog
|
|
//
|
|
btnClearLog.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Right;
|
|
btnClearLog.Location = new Point(823, 39);
|
|
btnClearLog.Name = "btnClearLog";
|
|
btnClearLog.Size = new Size(100, 216);
|
|
btnClearLog.TabIndex = 1;
|
|
btnClearLog.Text = "清空日志";
|
|
btnClearLog.UseVisualStyleBackColor = true;
|
|
btnClearLog.Click += btnClearLog_Click;
|
|
//
|
|
// txtRunLog
|
|
//
|
|
txtRunLog.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
txtRunLog.BackColor = Color.White;
|
|
txtRunLog.BorderStyle = BorderStyle.FixedSingle;
|
|
txtRunLog.Font = new Font("Consolas", 9.5F);
|
|
txtRunLog.ForeColor = Color.Black;
|
|
txtRunLog.Location = new Point(18, 39);
|
|
txtRunLog.Name = "txtRunLog";
|
|
txtRunLog.ReadOnly = true;
|
|
txtRunLog.ScrollBars = RichTextBoxScrollBars.Vertical;
|
|
txtRunLog.Size = new Size(794, 216);
|
|
txtRunLog.TabIndex = 0;
|
|
txtRunLog.Text = "";
|
|
txtRunLog.WordWrap = false;
|
|
//
|
|
// lblCursorPath
|
|
//
|
|
lblCursorPath.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
lblCursorPath.Font = new Font("Microsoft YaHei UI", 10F);
|
|
lblCursorPath.Location = new Point(3, 276);
|
|
lblCursorPath.Name = "lblCursorPath";
|
|
lblCursorPath.Size = new Size(934, 26);
|
|
lblCursorPath.TabIndex = 0;
|
|
lblCursorPath.Text = "Cursor 路径配置";
|
|
lblCursorPath.TextAlign = ContentAlignment.MiddleLeft;
|
|
//
|
|
// panelPathRow
|
|
//
|
|
panelPathRow.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
panelPathRow.Controls.Add(flowPathButtons);
|
|
panelPathRow.Controls.Add(txtCursorPath);
|
|
panelPathRow.Location = new Point(3, 305);
|
|
panelPathRow.Name = "panelPathRow";
|
|
panelPathRow.Size = new Size(934, 34);
|
|
panelPathRow.TabIndex = 2;
|
|
//
|
|
// flowPathButtons
|
|
//
|
|
flowPathButtons.Controls.Add(btnAutoFindCursorPath);
|
|
flowPathButtons.Controls.Add(btnManualCursorPath);
|
|
flowPathButtons.FlowDirection = FlowDirection.RightToLeft;
|
|
flowPathButtons.Location = new Point(716, -3);
|
|
flowPathButtons.Margin = new Padding(0);
|
|
flowPathButtons.Name = "flowPathButtons";
|
|
flowPathButtons.Padding = new Padding(0, 2, 0, 2);
|
|
flowPathButtons.Size = new Size(218, 34);
|
|
flowPathButtons.TabIndex = 1;
|
|
flowPathButtons.WrapContents = false;
|
|
//
|
|
// btnAutoFindCursorPath
|
|
//
|
|
btnAutoFindCursorPath.Location = new Point(118, 5);
|
|
btnAutoFindCursorPath.Margin = new Padding(6, 3, 0, 3);
|
|
btnAutoFindCursorPath.Name = "btnAutoFindCursorPath";
|
|
btnAutoFindCursorPath.Size = new Size(100, 30);
|
|
btnAutoFindCursorPath.TabIndex = 3;
|
|
btnAutoFindCursorPath.Text = "自动查找";
|
|
btnAutoFindCursorPath.UseVisualStyleBackColor = true;
|
|
btnAutoFindCursorPath.Click += btnAutoFindCursorPath_Click;
|
|
//
|
|
// btnManualCursorPath
|
|
//
|
|
btnManualCursorPath.Location = new Point(12, 5);
|
|
btnManualCursorPath.Margin = new Padding(6, 3, 0, 3);
|
|
btnManualCursorPath.Name = "btnManualCursorPath";
|
|
btnManualCursorPath.Size = new Size(100, 30);
|
|
btnManualCursorPath.TabIndex = 2;
|
|
btnManualCursorPath.Text = "手动配置";
|
|
btnManualCursorPath.UseVisualStyleBackColor = true;
|
|
btnManualCursorPath.Click += btnManualCursorPath_Click;
|
|
//
|
|
// txtCursorPath
|
|
//
|
|
txtCursorPath.Location = new Point(0, 3);
|
|
txtCursorPath.Name = "txtCursorPath";
|
|
txtCursorPath.PlaceholderText = "请输入或自动查找 Cursor 路径";
|
|
txtCursorPath.Size = new Size(710, 30);
|
|
txtCursorPath.TabIndex = 1;
|
|
//
|
|
// flowBottomActions
|
|
//
|
|
flowBottomActions.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
flowBottomActions.Controls.Add(btnCheckUpdate);
|
|
flowBottomActions.Controls.Add(btnDonate);
|
|
flowBottomActions.Controls.Add(btnEmergencyRepair);
|
|
flowBottomActions.FlowDirection = FlowDirection.RightToLeft;
|
|
flowBottomActions.Location = new Point(0, 342);
|
|
flowBottomActions.Margin = new Padding(0);
|
|
flowBottomActions.Name = "flowBottomActions";
|
|
flowBottomActions.Size = new Size(940, 64);
|
|
flowBottomActions.TabIndex = 3;
|
|
flowBottomActions.WrapContents = false;
|
|
//
|
|
// btnCheckUpdate
|
|
//
|
|
btnCheckUpdate.IconChar = FontAwesome.Sharp.IconChar.SyncAlt;
|
|
btnCheckUpdate.IconColor = Color.DimGray;
|
|
btnCheckUpdate.IconFont = FontAwesome.Sharp.IconFont.Auto;
|
|
btnCheckUpdate.IconSize = 16;
|
|
btnCheckUpdate.ImageAlign = ContentAlignment.MiddleLeft;
|
|
btnCheckUpdate.Location = new Point(808, 2);
|
|
btnCheckUpdate.Margin = new Padding(8, 2, 0, 2);
|
|
btnCheckUpdate.Name = "btnCheckUpdate";
|
|
btnCheckUpdate.Padding = new Padding(6, 0, 0, 0);
|
|
btnCheckUpdate.Size = new Size(132, 36);
|
|
btnCheckUpdate.TabIndex = 5;
|
|
btnCheckUpdate.Text = "检查更新";
|
|
btnCheckUpdate.TextImageRelation = TextImageRelation.ImageBeforeText;
|
|
btnCheckUpdate.UseVisualStyleBackColor = true;
|
|
btnCheckUpdate.Click += btnCheckUpdate_Click;
|
|
//
|
|
// btnDonate
|
|
//
|
|
btnDonate.IconChar = FontAwesome.Sharp.IconChar.Heart;
|
|
btnDonate.IconColor = Color.DeepPink;
|
|
btnDonate.IconFont = FontAwesome.Sharp.IconFont.Auto;
|
|
btnDonate.IconSize = 16;
|
|
btnDonate.ImageAlign = ContentAlignment.MiddleLeft;
|
|
btnDonate.Location = new Point(668, 2);
|
|
btnDonate.Margin = new Padding(8, 2, 0, 2);
|
|
btnDonate.Name = "btnDonate";
|
|
btnDonate.Padding = new Padding(6, 0, 0, 0);
|
|
btnDonate.Size = new Size(132, 36);
|
|
btnDonate.TabIndex = 4;
|
|
btnDonate.Text = "捐赠支持";
|
|
btnDonate.TextImageRelation = TextImageRelation.ImageBeforeText;
|
|
btnDonate.UseVisualStyleBackColor = true;
|
|
btnDonate.Click += btnDonate_Click;
|
|
//
|
|
// btnEmergencyRepair
|
|
//
|
|
btnEmergencyRepair.IconChar = FontAwesome.Sharp.IconChar.Tools;
|
|
btnEmergencyRepair.IconColor = Color.DimGray;
|
|
btnEmergencyRepair.IconFont = FontAwesome.Sharp.IconFont.Auto;
|
|
btnEmergencyRepair.IconSize = 16;
|
|
btnEmergencyRepair.ImageAlign = ContentAlignment.MiddleLeft;
|
|
btnEmergencyRepair.Location = new Point(528, 2);
|
|
btnEmergencyRepair.Margin = new Padding(8, 2, 0, 2);
|
|
btnEmergencyRepair.Name = "btnEmergencyRepair";
|
|
btnEmergencyRepair.Padding = new Padding(6, 0, 0, 0);
|
|
btnEmergencyRepair.Size = new Size(132, 36);
|
|
btnEmergencyRepair.TabIndex = 3;
|
|
btnEmergencyRepair.Text = "应急检修";
|
|
btnEmergencyRepair.TextImageRelation = TextImageRelation.ImageBeforeText;
|
|
btnEmergencyRepair.UseVisualStyleBackColor = true;
|
|
btnEmergencyRepair.Click += btnEmergencyRepair_Click;
|
|
//
|
|
// statusStripMain
|
|
//
|
|
statusStripMain.Dock = DockStyle.None;
|
|
statusStripMain.ImageScalingSize = new Size(20, 20);
|
|
statusStripMain.Items.AddRange(new ToolStripItem[] { toolStripStatusLabelSpacer, toolStripStatusLabelVersion });
|
|
statusStripMain.Location = new Point(0, 829);
|
|
statusStripMain.Name = "statusStripMain";
|
|
statusStripMain.Padding = new Padding(1, 0, 16, 0);
|
|
statusStripMain.Size = new Size(139, 31);
|
|
statusStripMain.TabIndex = 2;
|
|
statusStripMain.Text = "statusStrip1";
|
|
//
|
|
// toolStripStatusLabelSpacer
|
|
//
|
|
toolStripStatusLabelSpacer.Name = "toolStripStatusLabelSpacer";
|
|
toolStripStatusLabelSpacer.Size = new Size(2, 24);
|
|
toolStripStatusLabelSpacer.Spring = true;
|
|
//
|
|
// toolStripStatusLabelVersion
|
|
//
|
|
toolStripStatusLabelVersion.Name = "toolStripStatusLabelVersion";
|
|
toolStripStatusLabelVersion.Size = new Size(120, 24);
|
|
toolStripStatusLabelVersion.Text = "Version 1.0.0";
|
|
//
|
|
// Form1
|
|
//
|
|
AutoScaleDimensions = new SizeF(11F, 24F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(980, 860);
|
|
Controls.Add(panelGlobal);
|
|
Controls.Add(statusStripMain);
|
|
Controls.Add(splitMain);
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
MinimumSize = new Size(980, 680);
|
|
Name = "Form1";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "Cursor 换号器";
|
|
splitMain.Panel1.ResumeLayout(false);
|
|
splitMain.Panel2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)splitMain).EndInit();
|
|
splitMain.ResumeLayout(false);
|
|
panelRight.ResumeLayout(false);
|
|
panelContentHost.ResumeLayout(false);
|
|
panelVipView.ResumeLayout(false);
|
|
grpVipActivation.ResumeLayout(false);
|
|
grpVipActivation.PerformLayout();
|
|
grpVipInfo.ResumeLayout(false);
|
|
grpVipInfo.PerformLayout();
|
|
panelCursorLoginView.ResumeLayout(false);
|
|
grpToken.ResumeLayout(false);
|
|
grpToken.PerformLayout();
|
|
panelGlobal.ResumeLayout(false);
|
|
tlpGlobal.ResumeLayout(false);
|
|
grpRunLog.ResumeLayout(false);
|
|
panelPathRow.ResumeLayout(false);
|
|
panelPathRow.PerformLayout();
|
|
flowPathButtons.ResumeLayout(false);
|
|
flowBottomActions.ResumeLayout(false);
|
|
statusStripMain.ResumeLayout(false);
|
|
statusStripMain.PerformLayout();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private SplitContainer splitMain;
|
|
private Button btnMenuCursorLogin;
|
|
private Button btnMenuVipLogin;
|
|
private Panel panelRight;
|
|
private Panel panelContentHost;
|
|
private Panel panelCursorLoginView;
|
|
private GroupBox grpToken;
|
|
private GroupBox grpRunLog;
|
|
private Button btnClearLog;
|
|
private FontAwesome.Sharp.IconButton btnStartSwitch;
|
|
private RichTextBox txtRunLog;
|
|
private TextBox txtToken;
|
|
private Panel panelVipView;
|
|
private GroupBox grpVipActivation;
|
|
private Button btnRefreshCursor;
|
|
private Button btnActivateVip;
|
|
private TextBox txtActivationCode;
|
|
private Label lblActivationCode;
|
|
private GroupBox grpVipInfo;
|
|
private FontAwesome.Sharp.IconButton btnCopyDeviceId;
|
|
private Label lblVipStatusValue;
|
|
private Label lblVipStatus;
|
|
private TextBox txtDeviceId;
|
|
private Label lblDeviceId;
|
|
private Panel panelGlobal;
|
|
private TableLayoutPanel tlpGlobal;
|
|
private Panel panelPathRow;
|
|
private FlowLayoutPanel flowPathButtons;
|
|
private Button btnManualCursorPath;
|
|
private Button btnAutoFindCursorPath;
|
|
private TextBox txtCursorPath;
|
|
private Label lblCursorPath;
|
|
private StatusStrip statusStripMain;
|
|
private ToolStripStatusLabel toolStripStatusLabelSpacer;
|
|
private ToolStripStatusLabel toolStripStatusLabelVersion;
|
|
private FlowLayoutPanel flowBottomActions;
|
|
private FontAwesome.Sharp.IconButton btnCheckUpdate;
|
|
private FontAwesome.Sharp.IconButton btnDonate;
|
|
private FontAwesome.Sharp.IconButton btnEmergencyRepair;
|
|
}
|
|
}
|