加入微信客服相关功能 40%

This commit is contained in:
wule committed 2026-01-17 10:36:56 +08:00
1 parent f71cb1bba8
commit c05c7e4f23
93 files changed
+2824 -356

No files matched your search

+41 -25
View File
@@ -12,11 +12,12 @@ using AllBase;
//using TemuKJD.ChatForms;
//using TemuKJD.DashBoardForms;
using TemuKJD.BaseForms;
using TemuKJD.WXForms.TalkForms;
using Work;
namespace TemuKJD
{
public partial class ChangeForm : LRBaseForm
public partial class ChangeForm : BaseGeneralForm
{
public MainForm mf;
public ChangeForm()
@@ -24,6 +25,40 @@ namespace TemuKJD
InitializeComponent();
}
private void ChangeForm_Load(object sender, EventArgs e)
{
TitleText = "功能选择 - " + BaseClass.ToolName;
if (BaseClass.Ico != null)
{
Iconx = BaseClass.Ico;
Icon = BaseClass.Ico;
}
mf.Hide();
Text += " - " + BaseClass.ToolName;
pnlExtend.Visible = BaseClass.DarenYaoyue;
//直接登录上货工具
if (BaseClass.MainPath != "weixin1")
{
label1.Visible = true;
pnlChat.Visible = pnlUploadGoods.Visible = false;
Task.Run(() =>
{
System.Threading.Thread.Sleep(100);
Invoke(new Action(() =>
{
panel2_Click(this.pnlUploadGoods, null);
}));
});
}
else
{
label1.Visible = false;
pnlChat.Visible = pnlUploadGoods.Visible = true;
}
}
private void panel1_Click(object sender, EventArgs e)
{
Process p = new Process();
@@ -73,36 +108,17 @@ namespace TemuKJD
Process.GetCurrentProcess().Kill();
}
private void ChangeForm_Load(object sender, EventArgs e)
{
TitleText = "功能选择 - " + BaseClass.ToolName;
if (BaseClass.Ico != null)
{
Iconx = BaseClass.Ico;
Icon = BaseClass.Ico;
}
mf.Hide();
Text += " - " + BaseClass.ToolName;
pnlExtend.Visible = BaseClass.DarenYaoyue;
//直接登录上货工具
Task.Run(() =>
{
System.Threading.Thread.Sleep(100);
Invoke(new Action(() =>
{
panel2_Click(this.panel2, null);
}));
});
}
private void pnlChat_Click(object sender, EventArgs e)
{
//ChatForm cf = new ChatForm();
//cf.Show();
//cf.SetTitle();
//Hide();
WxTalkForm cf = new WxTalkForm();
cf.Show();
//cf.SetTitle();
Hide();
}
private void pnlExtend_Click(object sender, EventArgs e)