Skip to content

Commit d8ddce2

Browse files
committed
网络组件BUG修复,主界面修改,添加图标,调试顺利
1 parent 7d42f2f commit d8ddce2

13 files changed

Lines changed: 458 additions & 185 deletions

Public/HslCommunication.dll

-512 Bytes
Binary file not shown.

软件系统客户端模版/FormMainWindow.Designer.cs

Lines changed: 179 additions & 140 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

软件系统客户端模版/FormMainWindow.cs

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ private void Net_socket_client_AcceptString(HuTcpState object1, string object2)
302302
UserClient.DateTimeServer = Convert.ToDateTime(object2.Substring(4));
303303
if (IsHandleCreated) Invoke(new Action(() =>
304304
{
305-
toolStripStatusLabel_time.Text = UserClient.DateTimeServer.ToString("yyyy-MM-dd HH:mm");
305+
toolStripStatusLabel_time.Text = UserClient.DateTimeServer.ToString("yyyy-MM-dd HH:mm")+$"({net_socket_client.DelayTime}ms)";
306306
}));
307307
}
308308
}
@@ -374,19 +374,20 @@ private void MainRenderInitialization()
374374
{
375375
//将所有的子集控件添加进去
376376

377-
/*
377+
/*******************************************************************************
378+
*
378379
* 例如此处展示了文件控件是如何添加进去的
379380
* 1.先进行实例化,赋值初始参数
380381
* 2.添加进项目
381382
* 3.显示
382-
*/
383+
*
384+
*******************************************************************************/
383385

384386
UIControls_Files = new UIControls.ShareFilesRender()
385387
{
386-
Parent = this,//决定了放在哪个界面显示,此处仅仅是测试
387-
Visible = true,
388-
Location = new Point(100, 100),
389-
//Dock = DockStyle.Fill,
388+
Visible = false,
389+
Parent = panel_main,//决定了放在哪个界面显示,此处示例
390+
Dock = DockStyle.Fill,
390391
};
391392
all_main_render.Add(UIControls_Files);
392393
}

软件系统客户端模版/Properties/Resources.Designer.cs

Lines changed: 55 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

软件系统客户端模版/Properties/Resources.resx

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
4747
mimetype: application/x-microsoft.net.object.binary.base64
4848
value : The object must be serialized with
49-
: System.Serialization.Formatters.Binary.BinaryFormatter
49+
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
5050
: and then encoded with base64 encoding.
5151
5252
mimetype: application/x-microsoft.net.object.soap.base64
@@ -60,6 +60,7 @@
6060
: and then encoded with base64 encoding.
6161
-->
6262
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
63+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
6364
<xsd:element name="root" msdata:IsDataSet="true">
6465
<xsd:complexType>
6566
<xsd:choice maxOccurs="unbounded">
@@ -68,9 +69,10 @@
6869
<xsd:sequence>
6970
<xsd:element name="value" type="xsd:string" minOccurs="0" />
7071
</xsd:sequence>
71-
<xsd:attribute name="name" type="xsd:string" />
72+
<xsd:attribute name="name" use="required" type="xsd:string" />
7273
<xsd:attribute name="type" type="xsd:string" />
7374
<xsd:attribute name="mimetype" type="xsd:string" />
75+
<xsd:attribute ref="xml:space" />
7476
</xsd:complexType>
7577
</xsd:element>
7678
<xsd:element name="assembly">
@@ -85,9 +87,10 @@
8587
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
8688
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
8789
</xsd:sequence>
88-
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
90+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
8991
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
9092
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
93+
<xsd:attribute ref="xml:space" />
9194
</xsd:complexType>
9295
</xsd:element>
9396
<xsd:element name="resheader">
@@ -114,4 +117,15 @@
114117
<resheader name="writer">
115118
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116119
</resheader>
120+
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
121+
<data name="Team_32xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
122+
<value>..\Resources\Team_32xLG.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
123+
</data>
124+
<data name="PickAxe_32xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
125+
<value>..\Resources\PickAxe_32xLG.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
126+
</data>
127+
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
128+
<data name="ASCube_32xLG" type="System.Resources.ResXFileRef, System.Windows.Forms">
129+
<value>..\Resources\ASCube_32xLG.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
130+
</data>
117131
</root>
599 Bytes
Loading
665 Bytes
Loading
654 Bytes
Loading

软件系统客户端模版/UIControls/OnlineChatRender.Designer.cs

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.ComponentModel;
4+
using System.Drawing;
5+
using System.Data;
6+
using System.Linq;
7+
using System.Text;
8+
using System.Windows.Forms;
9+
10+
namespace 软件系统客户端模版.UIControls
11+
{
12+
public partial class OnlineChatRender : UserControl
13+
{
14+
public OnlineChatRender()
15+
{
16+
InitializeComponent();
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)