Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yswenli committed Apr 18, 2023
1 parent 4ff54a9 commit 1071daa
Show file tree
Hide file tree
Showing 37 changed files with 470 additions and 208 deletions.
6 changes: 3 additions & 3 deletions ModelGenerator/Common/ConfigHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
*版本号: V1.0.0.0
*唯一标识:9b642397-4ee6-4277-8a1a-52b6010fa188
*当前的用户域:OCEANIA
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2021/7/19 14:20:22
*描述:
*
*=====================================================================
*修改标记
*修改时间:2021/7/19 14:20:22
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:
*
Expand Down
6 changes: 3 additions & 3 deletions ModelGenerator/Common/FileHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
*版本号: V1.0.0.0
*唯一标识:42d16536-5c19-4987-88fe-2f3cbe883546
*当前的用户域:OCEANIA
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2021/11/8 13:21:12
*描述:
*
*=====================================================================
*修改标记
*修改时间:2021/11/8 13:21:12
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:
*
Expand Down
6 changes: 3 additions & 3 deletions ModelGenerator/Common/InvokeHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
*版本号: V1.0.0.0
*唯一标识:fb5126a6-0c23-4d19-bc5d-68d0f9d51375
*当前的用户域:OCEANIA
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2021/6/3 15:51:33
*描述:
*
*=====================================================================
*修改标记
*修改时间:2021/6/3 15:51:33
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:
*
Expand Down
10 changes: 5 additions & 5 deletions ModelGenerator/Common/ListBoxExtends.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
*Copyright (c) 2022 Oceania All Rights Reserved.
*CLR版本: 4.0.30319.42000
*机器名称:LP20210416002
*公司名称:Mason.Wen
*公司名称:Walle.Wen
*命名空间:WEF.ModelGenerator.Common
*文件名: ListBoxExtends
*版本号: V1.0.0.0
*唯一标识:6ab5a043-e378-4e55-9122-0a06559ad8b7
*当前的用户域:Mason.Wen
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*当前的用户域:Walle.Wen
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2022/1/12 11:58:40
*描述:
*
*=====================================================================
*修改标记
*修改时间:2022/1/12 11:58:40
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:
*
Expand Down
6 changes: 3 additions & 3 deletions ModelGenerator/Common/MessageQueue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
*版本号: V1.0.0.0
*唯一标识:33986572-cc52-4214-a294-fe55478786fa
*当前的用户域:OCEANIA
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2022/2/24 18:05:28
*描述:
*
*=====================================================================
*修改标记
*修改时间:2022/2/24 18:05:28
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:
*
Expand Down
6 changes: 3 additions & 3 deletions ModelGenerator/Common/SyncDataHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
*版本号: V1.0.0.0
*唯一标识:94b4a9e0-cddc-4aaa-b26f-e6dd679efe2d
*当前的用户域:OCEANIA
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2021/7/20 10:46:08
*描述:
*
*=====================================================================
*修改标记
*修改时间:2021/7/20 10:46:08
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:
*
Expand Down
6 changes: 3 additions & 3 deletions ModelGenerator/Common/TemplateHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
*版本号: V1.0.0.0
*唯一标识:a691abfd-3fc6-4ada-a73b-02efc38486e5
*当前的用户域:OCEANIA
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2021/7/13 10:26:21
*描述:
*
*=====================================================================
*修改标记
*修改时间:2021/7/13 10:26:21
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:
*
Expand Down
10 changes: 5 additions & 5 deletions ModelGenerator/Common/TextBoxPositionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
*Copyright (c) 2022 Oceania All Rights Reserved.
*CLR版本: 4.0.30319.42000
*机器名称:LP20210416002
*公司名称:Mason.Wen
*公司名称:Walle.Wen
*命名空间:WEF.ModelGenerator.Common
*文件名: TextBoxPositionInfo
*版本号: V1.0.0.0
*唯一标识:9713a116-5bf9-4de3-ae1c-a5a8cc9aae84
*当前的用户域:Mason.Wen
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*当前的用户域:Walle.Wen
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2022/1/12 11:57:32
*描述:
*
*=====================================================================
*修改标记
*修改时间:2022/1/12 11:57:32
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:
*
Expand Down
10 changes: 5 additions & 5 deletions ModelGenerator/Common/WEFMessageBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
*Copyright (c) 2022 Oceania All Rights Reserved.
*CLR版本: 4.0.30319.42000
*机器名称:LP20210416002
*公司名称:Mason.Wen
*公司名称:Walle.Wen
*命名空间:WEF.ModelGenerator.Common
*文件名: MessageBoxEx
*版本号: V1.0.0.0
*唯一标识:60f74840-1030-4da4-be7b-1025025b4ae6
*当前的用户域:Mason.Wen
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*当前的用户域:Walle.Wen
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2022/1/12 13:27:15
*描述:
*
*=====================================================================
*修改标记
*修改时间:2022/1/12 13:27:15
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:
*
Expand Down
6 changes: 3 additions & 3 deletions ModelGenerator/Common/Win32Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
*版本号: V1.0.0.0
*唯一标识:bd4f439c-a2af-46dd-a796-f388d20ee5cb
*当前的用户域:OCEANIA
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2022/1/12 11:59:46
*描述:
*
*=====================================================================
*修改标记
*修改时间:2022/1/12 11:59:46
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:
*
Expand Down
6 changes: 3 additions & 3 deletions ModelGenerator/Common/XSDToCSharp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
*版本号: V1.0.0.0
*唯一标识:201fe12a-cff3-4a68-acb6-23c6a53ffe5d
*当前的用户域:OCEANIA
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2021/12/2 14:48:53
*描述:xsd 转换成C#
*
*=====================================================================
*修改标记
*修改时间:2021/12/2 14:48:53
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:xsd 转换成C#
*
Expand Down
41 changes: 41 additions & 0 deletions ModelGenerator/Controls/TextBoxE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,56 @@

using System.Windows.Forms;

using WEF.ModelGenerator.Common;

namespace WEF.ModelGenerator.Controls
{
/// <summary>
/// 扩展输入控件
/// </summary>
public class TextBoxE : TextBox
{
/// <summary>
/// 是否是输入键
/// </summary>
/// <param name="KeyData"></param>
/// <returns></returns>
protected override bool IsInputKey(Keys KeyData)
{
if ((KeyData == Keys.Up) || (KeyData == Keys.Down))
return true;
return base.IsInputKey(KeyData);
}

/// <summary>
/// 检查粘帖内容及长度
/// </summary>
/// <param name="m"></param>
protected override void WndProc(ref System.Windows.Forms.Message m)
{
//0x007B:鼠标右键 message ID
//0x0301:复制(包括ctrl + c) message ID (其实这个判断不要,因为设置textbox的PasswordChar属性 实际上已经屏蔽了复制功能)
//0x0302:粘贴(包括ctrl + v) message ID
if (m.Msg == 0x0302)
{
var txt = Clipboard.GetText();
if (string.IsNullOrEmpty(txt))
{
return;
}
if (txt.Length > this.MaxLength)
{
WEFMessageBox.Show(this, "粘贴的内容不能超过" + this.MaxLength, "Base64转小图片");
}
else
{
base.WndProc(ref m);
}
}
else
{
base.WndProc(ref m);
}
}
}
}
6 changes: 3 additions & 3 deletions ModelGenerator/Forms/ApiLogForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ModelGenerator/Forms/ApiLogForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
*版本号: V1.0.0.0
*唯一标识:9ae8c072-cd3c-4ef9-9433-92f6189af33e
*当前的用户域:OCEANIA
*创建人: Mason.Wen
*电子邮箱:Mason.Wen@oceania-inc.com
*创建人: Walle.Wen
*电子邮箱:Walle.Wen@oceania-inc.com
*创建时间:2022/4/14 21:29:16
*描述:
*
*=====================================================================
*修改标记
*修改时间:2022/4/14 21:29:16
*修改人: Mason.Wen
*修改人: Walle.Wen
*版本号: V1.0.0.0
*描述:
*
Expand Down
Loading

0 comments on commit 1071daa

Please sign in to comment.