完成大部分的界面,剩下文件及聊天机制
This commit is contained in:
@@ -155,9 +155,15 @@
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
<Grid DockPanel.Dock="Right" Width="auto" MinWidth="220">
|
||||
<StackPanel>
|
||||
<GroupBox Grid.Column="0" Grid.Row="0" Header="账户信息" Margin="2,0,0,0">
|
||||
<Grid DockPanel.Dock="Right" Width="230">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"></RowDefinition>
|
||||
<RowDefinition Height="auto"></RowDefinition>
|
||||
<RowDefinition Height="*"></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<GroupBox Header="账户信息" Margin="2,0,0,0" Grid.Row="0">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"></RowDefinition>
|
||||
@@ -208,40 +214,30 @@
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Grid.Column="0" Grid.Row="0" Header="系统信息" Margin="2,5,0,0">
|
||||
<StackPanel>
|
||||
<GroupBox Header="公告" Margin="2,5,0,0" Grid.Row="1">
|
||||
<Grid Height="100">
|
||||
<TextBlock Foreground="DodgerBlue" x:Name="TextBlock_Announcement" TextWrapping="Wrap"></TextBlock>
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
|
||||
<GroupBox Header="系统信息" Margin="2,5,0,0" Grid.Row="2">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="auto"></RowDefinition>
|
||||
<RowDefinition Height="auto"></RowDefinition>
|
||||
<RowDefinition Height="auto"></RowDefinition>
|
||||
<RowDefinition Height="auto"></RowDefinition>
|
||||
<RowDefinition Height="auto"></RowDefinition>
|
||||
<RowDefinition Height="auto"></RowDefinition>
|
||||
<RowDefinition Height="*"></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="auto"></ColumnDefinition>
|
||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||
<ColumnDefinition Width="auto"></ColumnDefinition>
|
||||
</Grid.ColumnDefinitions>
|
||||
|
||||
<TextBlock Grid.Row="0" Grid.Column="0">权限等级:</TextBlock>
|
||||
<TextBlock Grid.Row="1" Grid.Column="0">所属分厂:</TextBlock>
|
||||
<TextBlock Grid.Row="2" Grid.Column="0">注册时间:</TextBlock>
|
||||
<TextBlock Grid.Row="3" Grid.Column="0">登录频次:</TextBlock>
|
||||
<TextBlock Grid.Row="4" Grid.Column="0">最近登录:</TextBlock>
|
||||
<TextBlock Grid.Row="5" Grid.Column="0">上次登录IP:</TextBlock>
|
||||
|
||||
<TextBlock Grid.Row="0" Grid.Column="1"></TextBlock>
|
||||
<TextBlock Grid.Row="1" Grid.Column="1"></TextBlock>
|
||||
<TextBlock Grid.Row="2" Grid.Column="1"></TextBlock>
|
||||
<TextBlock Grid.Row="3" Grid.Column="1"></TextBlock>
|
||||
<TextBlock Grid.Row="4" Grid.Column="1"></TextBlock>
|
||||
<TextBlock Grid.Row="5" Grid.Column="1"></TextBlock>
|
||||
<TextBlock Grid.Row="0" Grid.Column="0">共享文件:</TextBlock>
|
||||
<TextBlock Grid.Row="1" Grid.Column="0">在线信息:</TextBlock>
|
||||
<ListBox Grid.Row="2" Grid.ColumnSpan="2" x:Name="ListBox_Onlines" FontSize="10.5"></ListBox>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</GroupBox>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
||||
<Grid>
|
||||
|
||||
@@ -152,7 +152,7 @@ namespace 软件系统客户端Wpf
|
||||
net_socket_client.AcceptByte += Net_socket_client_AcceptByte;
|
||||
net_socket_client.AcceptString += Net_socket_client_AcceptString;
|
||||
|
||||
//label_Announcement.Text = UserClient.Announcement;
|
||||
TextBlock_Announcement.Text = UserClient.Announcement;
|
||||
|
||||
TextBlock_Version.Text = UserClient.CurrentVersion.ToString();
|
||||
|
||||
@@ -381,7 +381,7 @@ namespace 软件系统客户端Wpf
|
||||
{
|
||||
if (IsWindowShow) Dispatcher.Invoke(new Action(() =>
|
||||
{
|
||||
//listBox1.DataSource = data.Split('#');
|
||||
ListBox_Onlines.ItemsSource = data.Split('#');
|
||||
}));
|
||||
}
|
||||
else if (customer == CommonHeadCode.MultiNetHeadCode.关闭客户端)
|
||||
@@ -397,7 +397,7 @@ namespace 软件系统客户端Wpf
|
||||
if (IsWindowShow) Dispatcher.Invoke(new Action(() =>
|
||||
{
|
||||
UserClient.Announcement = data;
|
||||
//label_Announcement.Text = data;
|
||||
TextBlock_Announcement.Text = data;
|
||||
FormPopup fpp = new FormPopup(data, System.Drawing.Color.DodgerBlue, 10000);
|
||||
fpp.Show();
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user