wpf我的信息显示时BUG修复,右侧信息支持屏蔽,v1.7.1
This commit is contained in:
@@ -278,22 +278,21 @@ namespace ClientsLibrary
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (result.IsSuccess)
|
if (result.IsSuccess)
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
if (IsHandleCreated) Invoke(new Action(() =>
|
if (IsHandleCreated) Invoke(new Action(() =>
|
||||||
{
|
{
|
||||||
// 下载完成
|
// 下载完成
|
||||||
Bitmap bitmap = new Bitmap(ms);
|
Bitmap bitmap = new Bitmap(ms);
|
||||||
pictureBox_UserPortrait.Image = bitmap;
|
pictureBox_UserPortrait.Image = bitmap;
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
bitmap.Save(fileName);
|
bitmap.Save(fileName);
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
// 不知道什么原因
|
||||||
}
|
}
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ namespace CommonLibrary
|
|||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
SoftBasic.FrameworkVersion = new SystemVersion("1.7.0");
|
SoftBasic.FrameworkVersion = new SystemVersion("1.7.1");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -112,7 +112,11 @@
|
|||||||
<materialDesign:PackIcon Kind="Palette" />
|
<materialDesign:PackIcon Kind="Palette" />
|
||||||
</MenuItem.Icon>
|
</MenuItem.Icon>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
<MenuItem Header="窗口显示" x:Name="MenuItem窗口显示" Click="MenuItem窗口显示_Click">
|
||||||
|
<MenuItem.Icon>
|
||||||
|
<materialDesign:PackIcon Kind="KeyboardTab" />
|
||||||
|
</MenuItem.Icon>
|
||||||
|
</MenuItem>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem Header="_关于">
|
<MenuItem Header="_关于">
|
||||||
<MenuItem.Icon>
|
<MenuItem.Icon>
|
||||||
@@ -192,8 +196,8 @@
|
|||||||
|
|
||||||
|
|
||||||
<!--右侧的账户信息和登录消息-->
|
<!--右侧的账户信息和登录消息-->
|
||||||
<Grid DockPanel.Dock="Right" Width="230">
|
<Grid DockPanel.Dock="Right">
|
||||||
<Grid>
|
<Grid Name="MainPageRight" Width="230">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="auto"></RowDefinition>
|
<RowDefinition Height="auto"></RowDefinition>
|
||||||
<RowDefinition Height="auto"></RowDefinition>
|
<RowDefinition Height="auto"></RowDefinition>
|
||||||
|
|||||||
@@ -30,8 +30,6 @@ namespace 软件系统客户端Wpf
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************************
|
/***************************************************************************************
|
||||||
*
|
*
|
||||||
* 模版日期 2017-09-24
|
* 模版日期 2017-09-24
|
||||||
@@ -414,6 +412,18 @@ namespace 软件系统客户端Wpf
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void MenuItem窗口显示_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
if (MainPageRight.Visibility != Visibility.Collapsed)
|
||||||
|
{
|
||||||
|
MainPageRight.Visibility = Visibility.Collapsed;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MainPageRight.Visibility = Visibility.Visible;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 异步网络块
|
#region 异步网络块
|
||||||
|
|||||||
@@ -42,9 +42,7 @@ using 软件系统服务端模版.BasicSupport;
|
|||||||
/********************************************************************************************
|
/********************************************************************************************
|
||||||
*
|
*
|
||||||
* 本项目模版不包含 《软件自动更新.exe》
|
* 本项目模版不包含 《软件自动更新.exe》
|
||||||
* 如需支持部署环境的自动升级 请联系hsl200909@163.com获取
|
* 该exe程序来自另一个开源项目HslCommunication
|
||||||
* 软件自动更新.exe 将绑定IP,端口和软件名称后授权销售,30元人民币一组,永久使用
|
|
||||||
* 软件自动更新的部署提供长期的技术支持
|
|
||||||
*
|
*
|
||||||
********************************************************************************************/
|
********************************************************************************************/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user