Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.Package
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘龙飞
VIZ.Package
Commits
035b7f1e
Commit
035b7f1e
authored
Jan 17, 2023
by
liulongfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
登录界面样式调整
parent
3c876d85
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
24 deletions
+33
-24
VIZ.Package.Module.Resource/Images/logo_large.png
+0
-0
VIZ.Package.Module.Resource/VIZ.Package.Module.Resource.csproj
+5
-1
VIZ.Package.Module/Login/View/LoginView.xaml
+26
-21
VIZ.Package/LoginWindow.xaml
+1
-1
VIZ.Package/MainWindow.xaml
+1
-1
No files found.
VIZ.Package.Module.Resource/Images/logo_large.png
0 → 100644
View file @
035b7f1e
18.8 KB
VIZ.Package.Module.Resource/VIZ.Package.Module.Resource.csproj
View file @
035b7f1e
...
...
@@ -187,9 +187,12 @@
<Resource Include="Icons\image_20x20.png" />
</ItemGroup>
<ItemGroup>
<None
Include="Resources\Vedio.jpeg">
<None Include="Resources\Vedio.jpeg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Resource Include="Images\logo_large.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file
VIZ.Package.Module/Login/View/LoginView.xaml
View file @
035b7f1e
...
...
@@ -9,27 +9,37 @@
xmlns:local="clr-namespace:VIZ.Package.Module"
mc:Ignorable="d"
d:DataContext="{d:DesignInstance Type=local:LoginViewModel}"
d:DesignHeight="450" d:DesignWidth="800">
d:Background="White"
d:DesignHeight="600" d:DesignWidth="500">
<dxmvvm:Interaction.Behaviors>
<dxmvvm:EventToCommand EventName="Loaded" Command="{Binding Path=LoadedCommand}"></dxmvvm:EventToCommand>
</dxmvvm:Interaction.Behaviors>
<Grid>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="200"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<!-- Logo -->
<Image Width="170" HorizontalAlignment="Center" VerticalAlignment="Top"
Source="/VIZ.Package.Module.Resource;component/Images/logo_large.png"></Image>
<!-- 功能区 -->
<Grid Grid.Row="1">
<Grid.RowDefinitions>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="50"></RowDefinition>
<RowDefinition Height="40"></RowDefinition>
<RowDefinition Height="40"></RowDefinition>
<RowDefinition Height="40"></RowDefinition>
<RowDefinition Height="40"></RowDefinition>
<RowDefinition Height="40"></RowDefinition>
<RowDefinition Height="40"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="120"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="100"></ColumnDefinition>
</Grid.ColumnDefinitions>
<!-- 引擎 -->
<TextBlock Text="引擎:" Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0"></TextBlock>
...
...
@@ -50,29 +60,24 @@
<TextBlock Text="IP:" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0"></TextBlock>
<dxe:TextEdit Grid.Row="2" Grid.Column="1" Height="30"
EditValue="{Binding GH_IP,Mode=TwoWay}"></dxe:TextEdit>
<!-- 端口 -->
<TextBlock Text="端口:" Grid.Row="3" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0"></TextBlock>
<dxe:TextEdit Grid.Row="3" Grid.Column="1" Height="30" MaskType="RegEx"
Mask="[0-9]{0,7}"
EditValue="{Binding GH_Port,Mode=TwoWay}"></dxe:TextEdit>
<!-- ServerName -->
<TextBlock Text="服务名:" Grid.Row="
4
" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0"></TextBlock>
<dxe:TextEdit Grid.Row="
4
" Grid.Column="1" Height="30"
<TextBlock Text="服务名:" Grid.Row="
3
" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0"></TextBlock>
<dxe:TextEdit Grid.Row="
3
" Grid.Column="1" Height="30"
EditValue="{Binding GH_ServerName,Mode=TwoWay}"></dxe:TextEdit>
<!-- UserName -->
<TextBlock Text="用户名:" Grid.Row="
5
" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0"></TextBlock>
<dxe:TextEdit Grid.Row="
5
" Grid.Column="1" Height="30"
<TextBlock Text="用户名:" Grid.Row="
4
" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0"></TextBlock>
<dxe:TextEdit Grid.Row="
4
" Grid.Column="1" Height="30"
EditValue="{Binding VIZ_UserName,Mode=TwoWay}"></dxe:TextEdit>
<!-- Password -->
<TextBlock Text="密码:" Grid.Row="
6
" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0"></TextBlock>
<dxe:TextEdit Grid.Row="
6
" Grid.Column="1" Height="30"
<TextBlock Text="密码:" Grid.Row="
5
" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,10,0"></TextBlock>
<dxe:TextEdit Grid.Row="
5
" Grid.Column="1" Height="30"
EditValue="{Binding VIZ_Password,Mode=TwoWay}"></dxe:TextEdit>
<!-- 按钮组 -->
<Button Grid.Row="7"
Width="120" Height="40" Grid.Column="1" Content="登录" HorizontalAlignment="Right
"
<Button Grid.Row="7"
Height="40" Grid.Column="1" Content="登录" HorizontalAlignment="Stretch
"
Command="{Binding Path=LoginCommand}"></Button>
</Grid>
...
...
VIZ.Package/LoginWindow.xaml
View file @
035b7f1e
...
...
@@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:module="clr-namespace:VIZ.Package.Module;assembly=VIZ.Package.Module"
Title="
咪咕播控系统" Height="480" Width="500"
Title="
魔羯座" Height="600" Width="500" ControlBoxButtonSet="Close,Minimize"
WindowStartupLocation="CenterScreen">
<module:LoginView Margin="20"></module:LoginView>
...
...
VIZ.Package/MainWindow.xaml
View file @
035b7f1e
...
...
@@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:module="clr-namespace:VIZ.Package.Module;assembly=VIZ.Package.Module"
Title="
咪咕播控系统
" Height="1000" Width="1600" ShowTitle="False"
Title="
魔羯座
" Height="1000" Width="1600" ShowTitle="False"
WindowStartupLocation="CenterScreen" WindowState="Maximized">
<dx:ThemedWindow.ToolbarItems>
<!-- 主视图顶部 -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment