#nullable enable using AntdUI; using WinLabel = System.Windows.Forms.Label; using WinPanel = System.Windows.Forms.Panel; using WinTextBox = System.Windows.Forms.TextBox; namespace Vmianqian { partial class Form1 { /// /// Required designer variable. /// private System.ComponentModel.IContainer? components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing) { components?.Dispose(); } base.Dispose(disposing); } /// /// Required method for Designer support. /// private void InitializeComponent() { DataGridViewCellStyle dataGridViewCellStyle1 = new DataGridViewCellStyle(); DataGridViewCellStyle dataGridViewCellStyle2 = new DataGridViewCellStyle(); DataGridViewCellStyle dataGridViewCellStyle3 = new DataGridViewCellStyle(); DataGridViewCellStyle dataGridViewCellStyle4 = new DataGridViewCellStyle(); homeSummaryCard = new System.Windows.Forms.Panel(); lblSummaryTitle = new AntdUI.Label(); lblSummaryDesc = new AntdUI.Label(); homeConfigCard = new System.Windows.Forms.Panel(); btnSaveConfig = new AntdUI.Button(); btnHeartbeatCheck = new AntdUI.Button(); chkHeartbeatEnabled = new Switch(); lblHeartbeatDesc = new AntdUI.Label(); lblServerUrlTitle = new AntdUI.Label(); txtServerUrl = new Input(); lblApiKeyTitle = new AntdUI.Label(); txtApiKey = new Input(); homeMemberCard = new System.Windows.Forms.Panel(); lblMemberPlaceholder = new AntdUI.Label(); homeLogCard = new System.Windows.Forms.Panel(); btnClearLog = new AntdUI.Button(); txtLog = new TextBox(); wechatHookCard = new System.Windows.Forms.Panel(); label1 = new AntdUI.Label(); btnSelectWechatPath = new AntdUI.Button(); txtWechatPath = new Input(); lblWechatSidTitle = new AntdUI.Label(); txtWechatId = new Input(); btnWechatSidAuto = new AntdUI.Button(); btnWechatHookStart = new AntdUI.Button(); wechatProtocolCard = new System.Windows.Forms.Panel(); numWechatInterval = new NumericUpDown(); chkWheel = new Checkbox(); btnWechatProtocolStart = new AntdUI.Button(); lblWechatFrequencyTitle = new AntdUI.Label(); wechatLogCard = new System.Windows.Forms.Panel(); btnClearWechatLog = new AntdUI.Button(); gridWechatLogs = new DataGridView(); dataGridViewTextBoxColumn1 = new DataGridViewTextBoxColumn(); dataGridViewTextBoxColumn2 = new DataGridViewTextBoxColumn(); dataGridViewTextBoxColumn3 = new DataGridViewTextBoxColumn(); dataGridViewTextBoxColumn4 = new DataGridViewTextBoxColumn(); 订单状态 = new DataGridViewTextBoxColumn(); dataGridViewTextBoxColumn5 = new DataGridViewTextBoxColumn(); alipayConfigCard = new System.Windows.Forms.Panel(); numAlipayInterval = new NumericUpDown(); lblAlipayDesc = new AntdUI.Label(); txtAliPath = new Input(); txtAliAppId = new Input(); txtAliPid = new Input(); alipayLogCard = new System.Windows.Forms.Panel(); gridAlipayLogs = new DataGridView(); dataGridViewTextBoxColumn6 = new DataGridViewTextBoxColumn(); dataGridViewTextBoxColumn8 = new DataGridViewTextBoxColumn(); dataGridViewTextBoxColumn9 = new DataGridViewTextBoxColumn(); dataGridViewTextBoxColumn7 = new DataGridViewTextBoxColumn(); dataGridViewTextBoxColumn10 = new DataGridViewTextBoxColumn(); 状态 = new DataGridViewTextBoxColumn(); dataGridViewTextBoxColumn11 = new DataGridViewTextBoxColumn(); settingsEmailCard = new System.Windows.Forms.Panel(); btnEmailSave = new AntdUI.Button(); btnEmailTest = new AntdUI.Button(); lblSenderEmailTitle = new AntdUI.Label(); txtSenderEmail = new Input(); lblSmtpHostTitle = new AntdUI.Label(); txtSmtpHost = new Input(); lblSmtpPortTitle = new AntdUI.Label(); txtSmtpPort = new Input(); lblNotifyEmailTitle = new AntdUI.Label(); txtNotifyEmail = new Input(); lblEmailAuthCodeTitle = new AntdUI.Label(); txtEmailAuthCode = new Input(); titlebar = new PageHeader(); lblTopNotice = new AntdUI.Label(); lblAlipayStatusValue = new AntdUI.Label(); lblWechatStatusValue = new AntdUI.Label(); bottomBar = new PageHeader(); lblRuntimeBottom = new System.Windows.Forms.Label(); buttonCollapse = new AntdUI.Button(); menu = new AntdUI.Menu(); contentHost = new System.Windows.Forms.Panel(); pageHome = new System.Windows.Forms.Panel(); pageSettings = new System.Windows.Forms.Panel(); pageAlipay = new System.Windows.Forms.Panel(); pageWechat = new System.Windows.Forms.Panel(); homeSummaryCard.SuspendLayout(); homeConfigCard.SuspendLayout(); homeMemberCard.SuspendLayout(); homeLogCard.SuspendLayout(); wechatHookCard.SuspendLayout(); wechatProtocolCard.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)numWechatInterval).BeginInit(); wechatLogCard.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)gridWechatLogs).BeginInit(); alipayConfigCard.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)numAlipayInterval).BeginInit(); alipayLogCard.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)gridAlipayLogs).BeginInit(); settingsEmailCard.SuspendLayout(); titlebar.SuspendLayout(); bottomBar.SuspendLayout(); contentHost.SuspendLayout(); pageHome.SuspendLayout(); pageSettings.SuspendLayout(); pageAlipay.SuspendLayout(); pageWechat.SuspendLayout(); SuspendLayout(); // // homeSummaryCard // homeSummaryCard.BackColor = Color.White; homeSummaryCard.Controls.Add(lblSummaryTitle); homeSummaryCard.Controls.Add(lblSummaryDesc); homeSummaryCard.Location = new Point(20, 23); homeSummaryCard.Name = "homeSummaryCard"; homeSummaryCard.Size = new Size(960, 100); homeSummaryCard.TabIndex = 3; homeSummaryCard.Tag = "home-summary"; // // lblSummaryTitle // lblSummaryTitle.AutoSizeMode = TAutoSize.Auto; lblSummaryTitle.Font = new Font("Microsoft YaHei UI", 22F); lblSummaryTitle.Location = new Point(28, 21); lblSummaryTitle.Name = "lblSummaryTitle"; lblSummaryTitle.Size = new Size(407, 38); lblSummaryTitle.TabIndex = 0; lblSummaryTitle.Text = "欢迎使用 V免签 PC 监听客户端"; // // lblSummaryDesc // lblSummaryDesc.ForeColor = Color.DimGray; lblSummaryDesc.Location = new Point(28, 59); lblSummaryDesc.Name = "lblSummaryDesc"; lblSummaryDesc.Size = new Size(899, 32); lblSummaryDesc.TabIndex = 1; lblSummaryDesc.Text = "当前阶段先打通“PC端本地监听 -> V免签服务端回调 -> 心跳检测”链路,整体布局按 AntdUI Demo 风格复刻。"; // // homeConfigCard // homeConfigCard.BackColor = Color.White; homeConfigCard.Controls.Add(btnSaveConfig); homeConfigCard.Controls.Add(btnHeartbeatCheck); homeConfigCard.Controls.Add(chkHeartbeatEnabled); homeConfigCard.Controls.Add(lblHeartbeatDesc); homeConfigCard.Controls.Add(lblServerUrlTitle); homeConfigCard.Controls.Add(txtServerUrl); homeConfigCard.Controls.Add(lblApiKeyTitle); homeConfigCard.Controls.Add(txtApiKey); homeConfigCard.Location = new Point(20, 141); homeConfigCard.Name = "homeConfigCard"; homeConfigCard.Size = new Size(470, 280); homeConfigCard.TabIndex = 2; homeConfigCard.Tag = "home-config"; // // btnSaveConfig // btnSaveConfig.Location = new Point(24, 209); btnSaveConfig.Name = "btnSaveConfig"; btnSaveConfig.Size = new Size(210, 55); btnSaveConfig.TabIndex = 0; btnSaveConfig.Text = "保存配置"; btnSaveConfig.Type = TTypeMini.Primary; btnSaveConfig.Click += btnSaveConfig_Click; // // btnHeartbeatCheck // btnHeartbeatCheck.Location = new Point(241, 209); btnHeartbeatCheck.Name = "btnHeartbeatCheck"; btnHeartbeatCheck.Size = new Size(210, 55); btnHeartbeatCheck.TabIndex = 1; btnHeartbeatCheck.Text = "心跳检测"; btnHeartbeatCheck.Type = TTypeMini.Primary; btnHeartbeatCheck.Click += btnHeartbeatCheck_Click; // // chkHeartbeatEnabled // chkHeartbeatEnabled.Location = new Point(24, 306); chkHeartbeatEnabled.Name = "chkHeartbeatEnabled"; chkHeartbeatEnabled.Size = new Size(62, 55); chkHeartbeatEnabled.TabIndex = 2; chkHeartbeatEnabled.CheckedChanged += chkHeartbeatEnabled_CheckedChanged; // // lblHeartbeatDesc // lblHeartbeatDesc.AutoSizeMode = TAutoSize.Auto; lblHeartbeatDesc.ForeColor = Color.DimGray; lblHeartbeatDesc.Location = new Point(90, 311); lblHeartbeatDesc.Name = "lblHeartbeatDesc"; lblHeartbeatDesc.Size = new Size(48, 16); lblHeartbeatDesc.TabIndex = 3; lblHeartbeatDesc.Text = "自动心跳"; // // lblServerUrlTitle // lblServerUrlTitle.AutoSizeMode = TAutoSize.Auto; lblServerUrlTitle.Location = new Point(24, 20); lblServerUrlTitle.Name = "lblServerUrlTitle"; lblServerUrlTitle.Size = new Size(57, 16); lblServerUrlTitle.TabIndex = 4; lblServerUrlTitle.Text = "V免签地址"; // // txtServerUrl // txtServerUrl.Location = new Point(24, 47); txtServerUrl.Name = "txtServerUrl"; txtServerUrl.PlaceholderText = "例如:https://你的域名/"; txtServerUrl.Size = new Size(427, 55); txtServerUrl.TabIndex = 5; // // lblApiKeyTitle // lblApiKeyTitle.AutoSizeMode = TAutoSize.Auto; lblApiKeyTitle.Location = new Point(24, 116); lblApiKeyTitle.Name = "lblApiKeyTitle"; lblApiKeyTitle.Size = new Size(96, 16); lblApiKeyTitle.TabIndex = 6; lblApiKeyTitle.Text = "通信密钥 / Token"; // // txtApiKey // txtApiKey.Location = new Point(24, 144); txtApiKey.Name = "txtApiKey"; txtApiKey.PlaceholderText = "请输入与服务端密钥"; txtApiKey.Size = new Size(427, 55); txtApiKey.TabIndex = 7; // // homeMemberCard // homeMemberCard.BackColor = Color.White; homeMemberCard.Controls.Add(lblMemberPlaceholder); homeMemberCard.Location = new Point(510, 141); homeMemberCard.Name = "homeMemberCard"; homeMemberCard.Size = new Size(470, 280); homeMemberCard.TabIndex = 1; homeMemberCard.Tag = "home-member"; // // lblMemberPlaceholder // lblMemberPlaceholder.ForeColor = Color.DimGray; lblMemberPlaceholder.Location = new Point(24, 20); lblMemberPlaceholder.Name = "lblMemberPlaceholder"; lblMemberPlaceholder.Size = new Size(429, 52); lblMemberPlaceholder.TabIndex = 0; lblMemberPlaceholder.Text = "预留区域:后续用于会员登录、设备绑定、解绑与状态展示。"; // // homeLogCard // homeLogCard.BackColor = Color.White; homeLogCard.Controls.Add(btnClearLog); homeLogCard.Controls.Add(txtLog); homeLogCard.Location = new Point(20, 444); homeLogCard.Name = "homeLogCard"; homeLogCard.Size = new Size(960, 449); homeLogCard.TabIndex = 0; homeLogCard.Tag = "home-log"; // // btnClearLog // btnClearLog.Anchor = AnchorStyles.Top | AnchorStyles.Right; btnClearLog.Location = new Point(844, 11); btnClearLog.Name = "btnClearLog"; btnClearLog.Size = new Size(92, 36); btnClearLog.TabIndex = 0; btnClearLog.Text = "清空"; btnClearLog.Type = TTypeMini.Primary; btnClearLog.Click += btnClearLog_Click; // // txtLog // txtLog.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; txtLog.BackColor = Color.Black; txtLog.BorderStyle = BorderStyle.FixedSingle; txtLog.ForeColor = Color.Lime; txtLog.Location = new Point(24, 50); txtLog.Multiline = true; txtLog.Name = "txtLog"; txtLog.ReadOnly = true; txtLog.ScrollBars = ScrollBars.Vertical; txtLog.Size = new Size(911, 373); txtLog.TabIndex = 1; // // wechatHookCard // wechatHookCard.BackColor = Color.White; wechatHookCard.Controls.Add(label1); wechatHookCard.Controls.Add(btnSelectWechatPath); wechatHookCard.Controls.Add(txtWechatPath); wechatHookCard.Controls.Add(lblWechatSidTitle); wechatHookCard.Controls.Add(txtWechatId); wechatHookCard.Location = new Point(23, 26); wechatHookCard.Name = "wechatHookCard"; wechatHookCard.Size = new Size(473, 195); wechatHookCard.TabIndex = 2; wechatHookCard.Tag = "wechat-hook"; // // label1 // label1.AutoSizeMode = TAutoSize.Auto; label1.Location = new Point(21, 18); label1.Name = "label1"; label1.Size = new Size(72, 16); label1.TabIndex = 8; label1.Text = "微信程序地址"; label1.Click += label1_Click; // // btnSelectWechatPath // btnSelectWechatPath.BorderWidth = 2F; btnSelectWechatPath.Ghost = true; btnSelectWechatPath.Location = new Point(357, 48); btnSelectWechatPath.Name = "btnSelectWechatPath"; btnSelectWechatPath.Size = new Size(100, 40); btnSelectWechatPath.TabIndex = 0; btnSelectWechatPath.Text = "选择路径"; btnSelectWechatPath.Type = TTypeMini.Primary; btnSelectWechatPath.Click += btnSelectWechatPath_Click; // // txtWechatPath // txtWechatPath.Location = new Point(21, 48); txtWechatPath.Name = "txtWechatPath"; txtWechatPath.PlaceholderText = "微信.exe 路径"; txtWechatPath.Size = new Size(330, 40); txtWechatPath.TabIndex = 2; // // lblWechatSidTitle // lblWechatSidTitle.AutoSizeMode = TAutoSize.Auto; lblWechatSidTitle.Location = new Point(21, 105); lblWechatSidTitle.Name = "lblWechatSidTitle"; lblWechatSidTitle.Size = new Size(48, 16); lblWechatSidTitle.TabIndex = 4; lblWechatSidTitle.Text = "微信 SID"; // // txtWechatId // txtWechatId.Location = new Point(21, 136); txtWechatId.Name = "txtWechatId"; txtWechatId.PlaceholderText = "可选"; txtWechatId.Size = new Size(330, 40); txtWechatId.TabIndex = 5; // // btnWechatSidAuto // btnWechatSidAuto.BorderWidth = 2F; btnWechatSidAuto.Ghost = true; btnWechatSidAuto.Location = new Point(156, 68); btnWechatSidAuto.Name = "btnWechatSidAuto"; btnWechatSidAuto.Size = new Size(110, 45); btnWechatSidAuto.TabIndex = 0; btnWechatSidAuto.Text = "2. 获取SID"; btnWechatSidAuto.Type = TTypeMini.Primary; btnWechatSidAuto.Click += btnWechatSidAuto_Click; // // btnWechatHookStart // btnWechatHookStart.Location = new Point(26, 68); btnWechatHookStart.Name = "btnWechatHookStart"; btnWechatHookStart.Size = new Size(110, 45); btnWechatHookStart.TabIndex = 1; btnWechatHookStart.Text = "1. 启动微信"; btnWechatHookStart.Type = TTypeMini.Primary; btnWechatHookStart.Click += btnWechatHookStart_Click; // // wechatProtocolCard // wechatProtocolCard.BackColor = Color.White; wechatProtocolCard.Controls.Add(btnWechatSidAuto); wechatProtocolCard.Controls.Add(numWechatInterval); wechatProtocolCard.Controls.Add(chkWheel); wechatProtocolCard.Controls.Add(btnWechatProtocolStart); wechatProtocolCard.Controls.Add(btnWechatHookStart); wechatProtocolCard.Controls.Add(lblWechatFrequencyTitle); wechatProtocolCard.Location = new Point(523, 26); wechatProtocolCard.Name = "wechatProtocolCard"; wechatProtocolCard.Size = new Size(462, 195); wechatProtocolCard.TabIndex = 1; wechatProtocolCard.Tag = "wechat-protocol"; // // numWechatInterval // numWechatInterval.Location = new Point(126, 23); numWechatInterval.Maximum = new decimal(new int[] { 3600, 0, 0, 0 }); numWechatInterval.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); numWechatInterval.Name = "numWechatInterval"; numWechatInterval.Size = new Size(61, 23); numWechatInterval.TabIndex = 1; numWechatInterval.Value = new decimal(new int[] { 5, 0, 0, 0 }); numWechatInterval.ValueChanged += numWechatInterval_ValueChanged; // // chkWheel // chkWheel.AutoSizeMode = TAutoSize.Auto; chkWheel.Location = new Point(229, 18); chkWheel.Name = "chkWheel"; chkWheel.Size = new Size(80, 32); chkWheel.TabIndex = 2; chkWheel.Text = "接口轮询"; // // btnWechatProtocolStart // btnWechatProtocolStart.Location = new Point(286, 68); btnWechatProtocolStart.Name = "btnWechatProtocolStart"; btnWechatProtocolStart.Size = new Size(110, 45); btnWechatProtocolStart.TabIndex = 3; btnWechatProtocolStart.Text = "3. 开始监听"; btnWechatProtocolStart.Type = TTypeMini.Primary; btnWechatProtocolStart.Click += btnWechatProtocolStart_Click; // // lblWechatFrequencyTitle // lblWechatFrequencyTitle.AutoSizeMode = TAutoSize.Auto; lblWechatFrequencyTitle.Location = new Point(26, 26); lblWechatFrequencyTitle.Name = "lblWechatFrequencyTitle"; lblWechatFrequencyTitle.Size = new Size(84, 16); lblWechatFrequencyTitle.TabIndex = 6; lblWechatFrequencyTitle.Text = "监控频率(秒)"; // // wechatLogCard // wechatLogCard.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; wechatLogCard.BackColor = Color.White; wechatLogCard.Controls.Add(btnClearWechatLog); wechatLogCard.Controls.Add(gridWechatLogs); wechatLogCard.Location = new Point(23, 249); wechatLogCard.Name = "wechatLogCard"; wechatLogCard.Size = new Size(962, 644); wechatLogCard.TabIndex = 0; wechatLogCard.Tag = "wechat-log"; // // btnClearWechatLog // btnClearWechatLog.Anchor = AnchorStyles.Top | AnchorStyles.Right; btnClearWechatLog.Ghost = true; btnClearWechatLog.Location = new Point(878, 11); btnClearWechatLog.Name = "btnClearWechatLog"; btnClearWechatLog.Size = new Size(59, 26); btnClearWechatLog.TabIndex = 0; btnClearWechatLog.Text = "清空"; btnClearWechatLog.Type = TTypeMini.Primary; btnClearWechatLog.Click += btnClearWechatLog_Click; // // gridWechatLogs // gridWechatLogs.AllowUserToAddRows = false; gridWechatLogs.AllowUserToDeleteRows = false; gridWechatLogs.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; gridWechatLogs.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; gridWechatLogs.BackgroundColor = Color.White; dataGridViewCellStyle1.Alignment = DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle1.BackColor = SystemColors.Control; dataGridViewCellStyle1.Font = new Font("Microsoft YaHei UI", 9F); dataGridViewCellStyle1.ForeColor = SystemColors.WindowText; dataGridViewCellStyle1.SelectionBackColor = SystemColors.Highlight; dataGridViewCellStyle1.SelectionForeColor = SystemColors.HighlightText; dataGridViewCellStyle1.WrapMode = DataGridViewTriState.True; gridWechatLogs.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; gridWechatLogs.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; gridWechatLogs.Columns.AddRange(new DataGridViewColumn[] { dataGridViewTextBoxColumn1, dataGridViewTextBoxColumn2, dataGridViewTextBoxColumn3, dataGridViewTextBoxColumn4, 订单状态, dataGridViewTextBoxColumn5 }); dataGridViewCellStyle2.Alignment = DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle2.BackColor = SystemColors.Window; dataGridViewCellStyle2.Font = new Font("Microsoft YaHei UI", 9F); dataGridViewCellStyle2.ForeColor = SystemColors.ControlText; dataGridViewCellStyle2.SelectionBackColor = SystemColors.Highlight; dataGridViewCellStyle2.SelectionForeColor = SystemColors.HighlightText; dataGridViewCellStyle2.WrapMode = DataGridViewTriState.False; gridWechatLogs.DefaultCellStyle = dataGridViewCellStyle2; gridWechatLogs.Location = new Point(24, 50); gridWechatLogs.Name = "gridWechatLogs"; gridWechatLogs.ReadOnly = true; gridWechatLogs.RowHeadersVisible = false; gridWechatLogs.RowHeadersWidth = 62; gridWechatLogs.Size = new Size(913, 572); gridWechatLogs.TabIndex = 1; // // dataGridViewTextBoxColumn1 // dataGridViewTextBoxColumn1.HeaderText = "收款方"; dataGridViewTextBoxColumn1.MinimumWidth = 8; dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; dataGridViewTextBoxColumn1.ReadOnly = true; // // dataGridViewTextBoxColumn2 // dataGridViewTextBoxColumn2.FillWeight = 50F; dataGridViewTextBoxColumn2.HeaderText = "金额"; dataGridViewTextBoxColumn2.MinimumWidth = 8; dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; dataGridViewTextBoxColumn2.ReadOnly = true; // // dataGridViewTextBoxColumn3 // dataGridViewTextBoxColumn3.FillWeight = 120F; dataGridViewTextBoxColumn3.HeaderText = "时间"; dataGridViewTextBoxColumn3.MinimumWidth = 8; dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; dataGridViewTextBoxColumn3.ReadOnly = true; // // dataGridViewTextBoxColumn4 // dataGridViewTextBoxColumn4.FillWeight = 305.0631F; dataGridViewTextBoxColumn4.HeaderText = "备注/订单号"; dataGridViewTextBoxColumn4.MinimumWidth = 8; dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; dataGridViewTextBoxColumn4.ReadOnly = true; // // 订单状态 // 订单状态.HeaderText = "订单状态"; 订单状态.Name = "订单状态"; 订单状态.ReadOnly = true; // // dataGridViewTextBoxColumn5 // dataGridViewTextBoxColumn5.HeaderText = "回调状态"; dataGridViewTextBoxColumn5.MinimumWidth = 8; dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; dataGridViewTextBoxColumn5.ReadOnly = true; // // alipayConfigCard // alipayConfigCard.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; alipayConfigCard.BackColor = Color.White; alipayConfigCard.Controls.Add(numAlipayInterval); alipayConfigCard.Controls.Add(lblAlipayDesc); alipayConfigCard.Controls.Add(txtAliPath); alipayConfigCard.Controls.Add(txtAliAppId); alipayConfigCard.Controls.Add(txtAliPid); alipayConfigCard.Location = new Point(23, 24); alipayConfigCard.Name = "alipayConfigCard"; alipayConfigCard.Size = new Size(962, 131); alipayConfigCard.TabIndex = 1; alipayConfigCard.Tag = "alipay-config"; // // numAlipayInterval // numAlipayInterval.Location = new Point(687, 35); numAlipayInterval.Maximum = new decimal(new int[] { 3600, 0, 0, 0 }); numAlipayInterval.Minimum = new decimal(new int[] { 1, 0, 0, 0 }); numAlipayInterval.Name = "numAlipayInterval"; numAlipayInterval.Size = new Size(61, 23); numAlipayInterval.TabIndex = 0; numAlipayInterval.Value = new decimal(new int[] { 5, 0, 0, 0 }); // // lblAlipayDesc // lblAlipayDesc.ForeColor = Color.DimGray; lblAlipayDesc.Location = new Point(25, 80); lblAlipayDesc.Name = "lblAlipayDesc"; lblAlipayDesc.Size = new Size(890, 33); lblAlipayDesc.TabIndex = 1; lblAlipayDesc.Text = "后续这里接入支付宝真实到账监听逻辑,目前保留参数配置与回调结果展示。"; // // txtAliPath // txtAliPath.Location = new Point(25, 24); txtAliPath.Name = "txtAliPath"; txtAliPath.PlaceholderText = "程序路径"; txtAliPath.Size = new Size(272, 40); txtAliPath.TabIndex = 1; // // txtAliAppId // txtAliAppId.Location = new Point(319, 24); txtAliAppId.Name = "txtAliAppId"; txtAliAppId.PlaceholderText = "AppId"; txtAliAppId.Size = new Size(154, 40); txtAliAppId.TabIndex = 2; // // txtAliPid // txtAliPid.Location = new Point(500, 24); txtAliPid.Name = "txtAliPid"; txtAliPid.PlaceholderText = "Pid/UserId"; txtAliPid.Size = new Size(154, 40); txtAliPid.TabIndex = 3; // // alipayLogCard // alipayLogCard.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; alipayLogCard.BackColor = Color.White; alipayLogCard.Controls.Add(gridAlipayLogs); alipayLogCard.Location = new Point(23, 178); alipayLogCard.Name = "alipayLogCard"; alipayLogCard.Size = new Size(962, 707); alipayLogCard.TabIndex = 0; alipayLogCard.Tag = "alipay-log"; // // gridAlipayLogs // gridAlipayLogs.AllowUserToAddRows = false; gridAlipayLogs.AllowUserToDeleteRows = false; gridAlipayLogs.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right; gridAlipayLogs.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill; gridAlipayLogs.BackgroundColor = Color.White; dataGridViewCellStyle3.Alignment = DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle3.BackColor = SystemColors.Control; dataGridViewCellStyle3.Font = new Font("Microsoft YaHei UI", 9F); dataGridViewCellStyle3.ForeColor = SystemColors.WindowText; dataGridViewCellStyle3.SelectionBackColor = SystemColors.Highlight; dataGridViewCellStyle3.SelectionForeColor = SystemColors.HighlightText; dataGridViewCellStyle3.WrapMode = DataGridViewTriState.True; gridAlipayLogs.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3; gridAlipayLogs.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; gridAlipayLogs.Columns.AddRange(new DataGridViewColumn[] { dataGridViewTextBoxColumn6, dataGridViewTextBoxColumn8, dataGridViewTextBoxColumn9, dataGridViewTextBoxColumn7, dataGridViewTextBoxColumn10, 状态, dataGridViewTextBoxColumn11 }); dataGridViewCellStyle4.Alignment = DataGridViewContentAlignment.MiddleLeft; dataGridViewCellStyle4.BackColor = SystemColors.Window; dataGridViewCellStyle4.Font = new Font("Microsoft YaHei UI", 9F); dataGridViewCellStyle4.ForeColor = SystemColors.ControlText; dataGridViewCellStyle4.SelectionBackColor = SystemColors.Highlight; dataGridViewCellStyle4.SelectionForeColor = SystemColors.HighlightText; dataGridViewCellStyle4.WrapMode = DataGridViewTriState.False; gridAlipayLogs.DefaultCellStyle = dataGridViewCellStyle4; gridAlipayLogs.Location = new Point(24, 28); gridAlipayLogs.Name = "gridAlipayLogs"; gridAlipayLogs.ReadOnly = true; gridAlipayLogs.RowHeadersVisible = false; gridAlipayLogs.RowHeadersWidth = 62; gridAlipayLogs.Size = new Size(913, 655); gridAlipayLogs.TabIndex = 0; // // dataGridViewTextBoxColumn6 // dataGridViewTextBoxColumn6.HeaderText = "序号"; dataGridViewTextBoxColumn6.MinimumWidth = 8; dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; dataGridViewTextBoxColumn6.ReadOnly = true; // // dataGridViewTextBoxColumn8 // dataGridViewTextBoxColumn8.FillWeight = 50F; dataGridViewTextBoxColumn8.HeaderText = "金额"; dataGridViewTextBoxColumn8.MinimumWidth = 8; dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; dataGridViewTextBoxColumn8.ReadOnly = true; // // dataGridViewTextBoxColumn9 // dataGridViewTextBoxColumn9.HeaderText = "时间"; dataGridViewTextBoxColumn9.MinimumWidth = 8; dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; dataGridViewTextBoxColumn9.ReadOnly = true; // // dataGridViewTextBoxColumn7 // dataGridViewTextBoxColumn7.FillWeight = 120F; dataGridViewTextBoxColumn7.HeaderText = "订单号"; dataGridViewTextBoxColumn7.MinimumWidth = 8; dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; dataGridViewTextBoxColumn7.ReadOnly = true; // // dataGridViewTextBoxColumn10 // dataGridViewTextBoxColumn10.HeaderText = "备注"; dataGridViewTextBoxColumn10.MinimumWidth = 8; dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; dataGridViewTextBoxColumn10.ReadOnly = true; // // 状态 // 状态.HeaderText = "订单状态"; 状态.Name = "状态"; 状态.ReadOnly = true; // // dataGridViewTextBoxColumn11 // dataGridViewTextBoxColumn11.HeaderText = "回调状态"; dataGridViewTextBoxColumn11.MinimumWidth = 8; dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; dataGridViewTextBoxColumn11.ReadOnly = true; // // settingsEmailCard // settingsEmailCard.Anchor = AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right; settingsEmailCard.BackColor = Color.White; settingsEmailCard.Controls.Add(btnEmailSave); settingsEmailCard.Controls.Add(btnEmailTest); settingsEmailCard.Controls.Add(lblSenderEmailTitle); settingsEmailCard.Controls.Add(txtSenderEmail); settingsEmailCard.Controls.Add(lblSmtpHostTitle); settingsEmailCard.Controls.Add(txtSmtpHost); settingsEmailCard.Controls.Add(lblSmtpPortTitle); settingsEmailCard.Controls.Add(txtSmtpPort); settingsEmailCard.Controls.Add(lblNotifyEmailTitle); settingsEmailCard.Controls.Add(txtNotifyEmail); settingsEmailCard.Controls.Add(lblEmailAuthCodeTitle); settingsEmailCard.Controls.Add(txtEmailAuthCode); settingsEmailCard.Location = new Point(20, 23); settingsEmailCard.Name = "settingsEmailCard"; settingsEmailCard.Size = new Size(582, 395); settingsEmailCard.TabIndex = 0; settingsEmailCard.Tag = "settings-email"; // // btnEmailSave // btnEmailSave.Location = new Point(24, 312); btnEmailSave.Name = "btnEmailSave"; btnEmailSave.Size = new Size(120, 55); btnEmailSave.TabIndex = 0; btnEmailSave.Text = "保存配置"; btnEmailSave.Type = TTypeMini.Primary; btnEmailSave.Click += btnEmailSave_Click; // // btnEmailTest // btnEmailTest.BorderWidth = 2F; btnEmailTest.Ghost = true; btnEmailTest.Location = new Point(154, 312); btnEmailTest.Name = "btnEmailTest"; btnEmailTest.Size = new Size(120, 55); btnEmailTest.TabIndex = 1; btnEmailTest.Text = "邮箱测试"; btnEmailTest.Type = TTypeMini.Primary; btnEmailTest.Click += btnEmailTest_Click; // // lblSenderEmailTitle // lblSenderEmailTitle.AutoSizeMode = TAutoSize.Auto; lblSenderEmailTitle.Location = new Point(24, 21); lblSenderEmailTitle.Name = "lblSenderEmailTitle"; lblSenderEmailTitle.Size = new Size(48, 16); lblSenderEmailTitle.TabIndex = 2; lblSenderEmailTitle.Text = "发送邮箱"; // // txtSenderEmail // txtSenderEmail.Location = new Point(24, 49); txtSenderEmail.Name = "txtSenderEmail"; txtSenderEmail.PlaceholderText = "例如:yunzer_cn@163.com"; txtSenderEmail.Size = new Size(250, 55); txtSenderEmail.TabIndex = 3; // // lblSmtpHostTitle // lblSmtpHostTitle.AutoSizeMode = TAutoSize.Auto; lblSmtpHostTitle.Location = new Point(24, 116); lblSmtpHostTitle.Name = "lblSmtpHostTitle"; lblSmtpHostTitle.Size = new Size(61, 16); lblSmtpHostTitle.TabIndex = 4; lblSmtpHostTitle.Text = "SMTP 主机"; // // txtSmtpHost // txtSmtpHost.Location = new Point(24, 144); txtSmtpHost.Name = "txtSmtpHost"; txtSmtpHost.PlaceholderText = "例如:smtp.163.com"; txtSmtpHost.Size = new Size(250, 55); txtSmtpHost.TabIndex = 5; // // lblSmtpPortTitle // lblSmtpPortTitle.AutoSizeMode = TAutoSize.Auto; lblSmtpPortTitle.Location = new Point(24, 211); lblSmtpPortTitle.Name = "lblSmtpPortTitle"; lblSmtpPortTitle.Size = new Size(61, 16); lblSmtpPortTitle.TabIndex = 6; lblSmtpPortTitle.Text = "SMTP 端口"; // // txtSmtpPort // txtSmtpPort.Location = new Point(24, 239); txtSmtpPort.Name = "txtSmtpPort"; txtSmtpPort.PlaceholderText = "例如:465"; txtSmtpPort.Size = new Size(250, 55); txtSmtpPort.TabIndex = 7; // // lblNotifyEmailTitle // lblNotifyEmailTitle.AutoSizeMode = TAutoSize.Auto; lblNotifyEmailTitle.Location = new Point(308, 21); lblNotifyEmailTitle.Name = "lblNotifyEmailTitle"; lblNotifyEmailTitle.Size = new Size(48, 16); lblNotifyEmailTitle.TabIndex = 8; lblNotifyEmailTitle.Text = "通知邮箱"; // // txtNotifyEmail // txtNotifyEmail.Location = new Point(308, 49); txtNotifyEmail.Name = "txtNotifyEmail"; txtNotifyEmail.PlaceholderText = "用于接收测试邮件"; txtNotifyEmail.Size = new Size(250, 55); txtNotifyEmail.TabIndex = 9; // // lblEmailAuthCodeTitle // lblEmailAuthCodeTitle.AutoSizeMode = TAutoSize.Auto; lblEmailAuthCodeTitle.Location = new Point(308, 115); lblEmailAuthCodeTitle.Name = "lblEmailAuthCodeTitle"; lblEmailAuthCodeTitle.Size = new Size(36, 16); lblEmailAuthCodeTitle.TabIndex = 10; lblEmailAuthCodeTitle.Text = "授权码"; // // txtEmailAuthCode // txtEmailAuthCode.Location = new Point(308, 143); txtEmailAuthCode.Name = "txtEmailAuthCode"; txtEmailAuthCode.PlaceholderText = "用于发送测试邮件"; txtEmailAuthCode.Size = new Size(250, 55); txtEmailAuthCode.TabIndex = 11; // // titlebar // titlebar.Controls.Add(lblTopNotice); titlebar.Controls.Add(lblAlipayStatusValue); titlebar.Controls.Add(lblWechatStatusValue); titlebar.DividerShow = true; titlebar.Dock = DockStyle.Top; titlebar.Location = new Point(0, 0); titlebar.Name = "titlebar"; titlebar.ShowButton = true; titlebar.ShowIcon = true; titlebar.Size = new Size(1200, 44); titlebar.SubText = "V0.0.1"; titlebar.TabIndex = 3; titlebar.Text = "V免签PC客户端"; // // lblTopNotice // lblTopNotice.Dock = DockStyle.Fill; lblTopNotice.ForeColor = Color.DimGray; lblTopNotice.Location = new Point(160, 0); lblTopNotice.Name = "lblTopNotice"; lblTopNotice.Size = new Size(656, 44); lblTopNotice.TabIndex = 0; lblTopNotice.Text = "监听未启动"; lblTopNotice.TextAlign = ContentAlignment.MiddleRight; // // lblAlipayStatusValue // lblAlipayStatusValue.Dock = DockStyle.Right; lblAlipayStatusValue.ForeColor = Color.Red; lblAlipayStatusValue.Location = new Point(816, 0); lblAlipayStatusValue.Name = "lblAlipayStatusValue"; lblAlipayStatusValue.Size = new Size(120, 44); lblAlipayStatusValue.TabIndex = 1; lblAlipayStatusValue.Text = "支付宝: 离线"; lblAlipayStatusValue.TextAlign = ContentAlignment.MiddleCenter; // // lblWechatStatusValue // lblWechatStatusValue.Dock = DockStyle.Right; lblWechatStatusValue.ForeColor = Color.Red; lblWechatStatusValue.Location = new Point(936, 0); lblWechatStatusValue.Name = "lblWechatStatusValue"; lblWechatStatusValue.Size = new Size(120, 44); lblWechatStatusValue.TabIndex = 2; lblWechatStatusValue.Text = "微信: 离线"; lblWechatStatusValue.TextAlign = ContentAlignment.MiddleCenter; // // bottomBar // bottomBar.Controls.Add(lblRuntimeBottom); bottomBar.Controls.Add(buttonCollapse); bottomBar.DividerShow = true; bottomBar.Dock = DockStyle.Bottom; bottomBar.Location = new Point(0, 960); bottomBar.Name = "bottomBar"; bottomBar.Size = new Size(1200, 40); bottomBar.TabIndex = 2; bottomBar.UseLeftMargin = false; // // lblRuntimeBottom // lblRuntimeBottom.Dock = DockStyle.Right; lblRuntimeBottom.ForeColor = Color.Gray; lblRuntimeBottom.Location = new Point(980, 0); lblRuntimeBottom.Name = "lblRuntimeBottom"; lblRuntimeBottom.Size = new Size(220, 40); lblRuntimeBottom.TabIndex = 0; lblRuntimeBottom.Text = "00天:00时:00分:00秒"; lblRuntimeBottom.TextAlign = ContentAlignment.MiddleRight; // // buttonCollapse // buttonCollapse.Dock = DockStyle.Left; buttonCollapse.Ghost = true; buttonCollapse.IconRatio = 0.6F; buttonCollapse.IconSvg = "MenuUnfoldOutlined"; buttonCollapse.Location = new Point(0, 0); buttonCollapse.Name = "buttonCollapse"; buttonCollapse.Radius = 0; buttonCollapse.Size = new Size(50, 40); buttonCollapse.TabIndex = 1; buttonCollapse.Toggle = true; buttonCollapse.ToggleIconSvg = "MenuFoldOutlined"; buttonCollapse.WaveSize = 0; buttonCollapse.Click += ButtonCollapse_Click; // // menu // menu.Dock = DockStyle.Left; menu.Font = new Font("Microsoft YaHei UI", 9F); menu.IconRatio = 1F; menu.Indent = true; menu.Location = new Point(0, 44); menu.Name = "menu"; menu.Radius = 0; menu.Size = new Size(192, 916); menu.TabIndex = 1; menu.Unique = true; menu.SelectChanged += Menu_SelectChanged; // // contentHost // contentHost.BackColor = Color.White; contentHost.Controls.Add(pageHome); contentHost.Controls.Add(pageSettings); contentHost.Controls.Add(pageAlipay); contentHost.Controls.Add(pageWechat); contentHost.Dock = DockStyle.Fill; contentHost.Location = new Point(192, 44); contentHost.Name = "contentHost"; contentHost.Size = new Size(1008, 916); contentHost.TabIndex = 0; // // pageHome // pageHome.AutoScroll = true; pageHome.BackColor = Color.FromArgb(245, 247, 250); pageHome.Controls.Add(homeLogCard); pageHome.Controls.Add(homeSummaryCard); pageHome.Controls.Add(homeMemberCard); pageHome.Controls.Add(homeConfigCard); pageHome.Dock = DockStyle.Fill; pageHome.Location = new Point(0, 0); pageHome.Name = "pageHome"; pageHome.Padding = new Padding(20); pageHome.Size = new Size(1008, 916); pageHome.TabIndex = 3; // // pageSettings // pageSettings.AutoScroll = true; pageSettings.BackColor = Color.FromArgb(245, 247, 250); pageSettings.Controls.Add(settingsEmailCard); pageSettings.Dock = DockStyle.Fill; pageSettings.Location = new Point(0, 0); pageSettings.Name = "pageSettings"; pageSettings.Padding = new Padding(20); pageSettings.Size = new Size(1008, 916); pageSettings.TabIndex = 0; // // pageAlipay // pageAlipay.AutoScroll = true; pageAlipay.BackColor = Color.FromArgb(245, 247, 250); pageAlipay.Controls.Add(alipayConfigCard); pageAlipay.Controls.Add(alipayLogCard); pageAlipay.Dock = DockStyle.Fill; pageAlipay.Location = new Point(0, 0); pageAlipay.Name = "pageAlipay"; pageAlipay.Size = new Size(1008, 916); pageAlipay.TabIndex = 1; // // pageWechat // pageWechat.AutoScroll = true; pageWechat.BackColor = Color.FromArgb(245, 247, 250); pageWechat.Controls.Add(wechatHookCard); pageWechat.Controls.Add(wechatProtocolCard); pageWechat.Controls.Add(wechatLogCard); pageWechat.Dock = DockStyle.Fill; pageWechat.Location = new Point(0, 0); pageWechat.Name = "pageWechat"; pageWechat.Size = new Size(1008, 916); pageWechat.TabIndex = 2; // // Form1 // AutoScaleDimensions = new SizeF(7F, 17F); AutoScaleMode = AutoScaleMode.Font; BackColor = Color.White; ClientSize = new Size(1200, 1000); Controls.Add(contentHost); Controls.Add(menu); Controls.Add(bottomBar); Controls.Add(titlebar); Font = new Font("Microsoft YaHei UI", 9F); MaximizeBox = false; MaximumSize = new Size(1200, 1000); MinimumSize = new Size(1200, 985); Name = "Form1"; StartPosition = FormStartPosition.CenterScreen; Text = "V免签 Demo"; homeSummaryCard.ResumeLayout(false); homeSummaryCard.PerformLayout(); homeConfigCard.ResumeLayout(false); homeConfigCard.PerformLayout(); homeMemberCard.ResumeLayout(false); homeLogCard.ResumeLayout(false); homeLogCard.PerformLayout(); wechatHookCard.ResumeLayout(false); wechatHookCard.PerformLayout(); wechatProtocolCard.ResumeLayout(false); wechatProtocolCard.PerformLayout(); ((System.ComponentModel.ISupportInitialize)numWechatInterval).EndInit(); wechatLogCard.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)gridWechatLogs).EndInit(); alipayConfigCard.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)numAlipayInterval).EndInit(); alipayLogCard.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)gridAlipayLogs).EndInit(); settingsEmailCard.ResumeLayout(false); settingsEmailCard.PerformLayout(); titlebar.ResumeLayout(false); bottomBar.ResumeLayout(false); contentHost.ResumeLayout(false); pageHome.ResumeLayout(false); pageSettings.ResumeLayout(false); pageAlipay.ResumeLayout(false); pageWechat.ResumeLayout(false); ResumeLayout(false); } private WinPanel homeSummaryCard = null!; private WinPanel homeConfigCard = null!; private WinPanel homeMemberCard = null!; private WinPanel homeLogCard = null!; private WinPanel wechatHookCard = null!; private WinPanel wechatProtocolCard = null!; private WinPanel wechatLogCard = null!; private WinPanel alipayConfigCard = null!; private AntdUI.Label lblAlipayDesc = null!; private WinPanel alipayLogCard = null!; private WinPanel settingsEmailCard = null!; private AntdUI.Label label1 = null!; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; private DataGridViewTextBoxColumn 订单状态; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn8; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn9; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn10; private DataGridViewTextBoxColumn 状态; private DataGridViewTextBoxColumn dataGridViewTextBoxColumn11; } }