diff --git a/LoggingClient/LoggingClient/Views/LogView.xaml.cs b/LoggingClient/LoggingClient/Views/LogView.xaml.cs index 1a560fa..3a8efab 100644 --- a/LoggingClient/LoggingClient/Views/LogView.xaml.cs +++ b/LoggingClient/LoggingClient/Views/LogView.xaml.cs @@ -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 diff --git a/README.md b/README.md index cd631e2..e4afe0b 100644 --- a/README.md +++ b/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 + + + + + +``` + +Ä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