Merge branch 'dev'
NuGet Testat merge into Master
This commit is contained in:
commit
a0002aaec3
@ -1,21 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Data;
|
||||
using MySql.Data.MySqlClient;
|
||||
using System.Configuration;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Windows.Controls;
|
||||
using LoggingClient.ViewModel;
|
||||
|
||||
namespace LoggingClient.Views
|
||||
|
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