1挪动一些老旧文件的位置以备后续删除 2图片显示 3店铺登录信息优化显示

This commit is contained in:
wule committed 2025-08-15 15:16:59 +08:00
1 parent 011b909bfc
commit 157f7e9f3e
59 files changed
+1160 -432

No files matched your search

@@ -0,0 +1,54 @@
using AllBase;
using TemuKJD.KJDForms.BaseForms;
using NaiBa.Util.Extension;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace TemuKJD.KJDForms.ToolForms
{
public partial class TextForm : LRBaseForm
{
public string Info { get; set; }
public delegate void OnSaveComplete(string msg);
public event OnSaveComplete onSaveComplete;
public TextForm()
{
Info = string.Empty;
InitializeComponent();
}
public TextForm(string info)
{
Info = info;
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
onSaveComplete(this.txtInfo.Text.Trim());
this.Close();
}
private void TextForm_Load(object sender, EventArgs e)
{
if (BaseClass.Ico != null)
Icon = BaseClass.Ico;
this.txtInfo.Text = Info.ParseToString().Trim();
}
private void txtInfo_KeyDown(object sender, KeyEventArgs e)
{
if (e.Control && e.KeyCode == Keys.A)
{
((TextBox)sender).SelectAll();
}
}
}
}