Chat Design Aktuallisierung

This commit is contained in:
Waldi
2017-10-12 12:54:33 +02:00
parent ceed10bf81
commit 7d70fe02a7
14 changed files with 34 additions and 10 deletions

View File

@@ -30,6 +30,9 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>ownchat_favicon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json">
<HintPath>..\libs\Newtonsoft.Json.dll</HintPath>
@@ -110,5 +113,14 @@
<ItemGroup>
<Resource Include="Ressourcen\SymbolRefresh32.png" />
</ItemGroup>
<ItemGroup>
<Resource Include="Ressourcen\ownChat-Background.png" />
<Resource Include="Ressourcen\ownchat_favicon.png" />
<Resource Include="Ressourcen\ownchat_icon.png" />
<Resource Include="Ressourcen\ownchat_logo.png" />
</ItemGroup>
<ItemGroup>
<Content Include="ownchat_favicon.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -10,7 +10,7 @@
<Grid.Background>
<ImageBrush>
<ImageBrush.ImageSource>
<BitmapImage UriSource="Ressourcen/BeyondsoftChat.jpg" />
<BitmapImage UriSource="Ressourcen/ownChat-Background.png" />
</ImageBrush.ImageSource>
</ImageBrush>
</Grid.Background>
@@ -23,7 +23,9 @@
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<GroupBox Grid.Column="0" Header="Login" HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="GroupBoxLogin">
<!-- <Image Source="Ressourcen/ownchat_logo.png" HorizontalAlignment="Right" VerticalAlignment="Top" Height="200" Width="200" RenderOptions.BitmapScalingMode="HighQuality"/>-->
<GroupBox Grid.Column="0" Header="Login" HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="GroupBoxLogin" Foreground="White">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
@@ -38,16 +40,16 @@
<ColumnDefinition Width="150"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Grid.Row="0" Margin="3">Kundennummer:</Label>
<Label Grid.Column="0" Grid.Row="0" Margin="3" Foreground="White">Kundennummer:</Label>
<TextBox x:Name="TextBoxKundennummer" Grid.Column="1" Grid.Row="0" Margin="3" VerticalContentAlignment="Center"/>
<Label Grid.Column="0" Grid.Row="1" Margin="3">ChatCode:</Label>
<Label Grid.Column="0" Grid.Row="1" Margin="3" Foreground="White">ChatCode:</Label>
<TextBox x:Name="TextBoxChatCode" Grid.Column="1" Grid.Row="1" Margin="3" VerticalContentAlignment="Center"/>
<Label Grid.Column="0" Grid.Row="2" Margin="3">Benutzername:</Label>
<Label Grid.Column="0" Grid.Row="2" Margin="3" Foreground="White">Benutzername:</Label>
<TextBox x:Name="TextBoxBenutzerName" Grid.Column="1" Grid.Row="2" Margin="3" VerticalContentAlignment="Center" />
<Label Grid.Column="0" Grid.Row="3" Margin="3">Passwort:</Label>
<Label Grid.Column="0" Grid.Row="3" Margin="3" Foreground="White">Passwort:</Label>
<PasswordBox x:Name="TextBoxPasswort" Grid.Column="1" Grid.Row="3" Margin="3" VerticalContentAlignment="Center"/>
<!--
@@ -64,6 +66,7 @@
</Grid>
</GroupBox>
<Label x:Name="lblVersion" HorizontalAlignment="Right" VerticalAlignment="Bottom" Foreground="White"/>
</Grid>
</Grid>

View File

@@ -53,6 +53,9 @@ namespace ChatController
//encrypt verschlüsselte datei
LeseDateiFallsVorhanden();
var version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version;
lblVersion.Content = String.Format("Version: {0}", version);
}
private void AnmeldenButton_OnClick(object sender, RoutedEventArgs e)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB