README updated
This commit is contained in:
parent
f863babae6
commit
9d7c8e4632
32
README.md
32
README.md
@ -16,7 +16,39 @@
|
||||
|
||||
## NuGet
|
||||
|
||||
### Usage
|
||||
|
||||
Installiere neuste [LoggingClient](https://www.nuget.org/packages/LoggingClient/) Version von nuget.org
|
||||
|
||||
In deiner WPF-Application kannst du mit dem unteren Code-Snipped diese Library verwenden:
|
||||
|
||||
`MainWindow.xaml`
|
||||
|
||||
```xaml
|
||||
<Window x:Class="WpfLoggingClient.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:WpfLoggingClient"
|
||||
mc:Ignorable="d"
|
||||
xmlns:views="clr-namespace:LoggingClient.Views;assembly=LoggingClient"
|
||||
Title="MainWindow" Height="450" Width="800" ResizeMode="NoResize">
|
||||
<Grid>
|
||||
<views:LogView x:Name = "LogView"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
```
|
||||
|
||||
Ändere **DB-Name** und **Passwort** mit deine Angaben.
|
||||
|
||||
Button Erklärung:
|
||||
|
||||
| Button | Beschreibung |
|
||||
| --------- | ------------------------------------------------------- |
|
||||
| Load Data | Ladet alle Daten aus der DB in der Tabelle v_logentries |
|
||||
| Add | Mittels Textfelder kann man neue LogEntries hinzufügen |
|
||||
| Confirm | Wird einen LogEntrie quittiert/gelöscht |
|
||||
|
||||
## Obert Equality
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user