Fixed Several bugs;

Book Labels are now searchable in many ways
Server broadcast apamming fixed
This commit is contained in:
2017-06-27 21:54:13 +02:00
parent f115808d4e
commit 51d1119776
107 changed files with 120180 additions and 122328 deletions

View File

@ -16,9 +16,11 @@
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="Auto"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Label Content="Search:" Grid.Column="0"></Label>
<TextBox Grid.Column="1" Text="{Binding SearchField, Mode=OneWayToSource}"></TextBox>
<Button Content="S" Grid.Column="2" Width="25" Click="Search_Click"/>
</Grid>
<ListView Grid.Row="1" Margin="0,0,0,0" Name="BookTypesList">
<ListView.View>

View File

@ -31,7 +31,6 @@ namespace BuechermarktClient
if(value != _SearchField)
{
_SearchField = value;
LoadList();
}
}
}
@ -67,7 +66,21 @@ namespace BuechermarktClient
public void LoadList()
{
var list = MainWindow.BookTypeCollection.FindSync((b)=>true).ToList();
List<Models.BookType> list = null;
var not = true;
while (not)
{
try
{
list = MainWindow.BookTypeCollection.FindSync((b) => true).ToList();
not = false;
}
catch (Exception e)
{
Thread.Sleep(200);
}
}
var show = new List<BookType>();
if(SearchField != null && SearchField != String.Empty)
{
@ -115,5 +128,10 @@ namespace BuechermarktClient
}
}
}
private void Search_Click(object sender, RoutedEventArgs e)
{
LoadList();
}
}
}

View File

@ -1,6 +1,8 @@
using BuechermarktClient.Models;
using MongoDB.Driver;
using System;
using System.ComponentModel;
using System.Threading;
using System.Windows;
namespace BuechermarktClient
@ -71,23 +73,44 @@ namespace BuechermarktClient
{
BookType.Name = BName;
BookType.ISBN = BISBN;
if(New)
while (true)
{
MainWindow.BookTypeCollection.InsertOne(BookType);
} else
{
MainWindow.BookTypeCollection.FindOneAndUpdate(bt => bt.ID == BookType.ID, Builders<BookType>.Update.Set((bt) => bt.Name, BookType.Name).Set(bt => bt.ISBN, BookType.ISBN));
try
{
if (New)
{
MainWindow.BookTypeCollection.InsertOne(BookType);
}
else
{
MainWindow.BookTypeCollection.FindOneAndUpdate(bt => bt.ID == BookType.ID, Builders<BookType>.Update.Set((bt) => bt.Name, BookType.Name).Set(bt => bt.ISBN, BookType.ISBN));
}
Close();
return;
} catch (Exception)
{
Thread.Sleep(100);
}
}
Close();
}
private void Delete_Click(object sender, RoutedEventArgs e)
{
if(BookType.ID != null)
while (true)
{
MainWindow.BookTypeCollection.DeleteOne(bt => bt.ID == BookType.ID);
try
{
if (BookType.ID != null)
{
MainWindow.BookTypeCollection.DeleteOne(bt => bt.ID == BookType.ID);
}
Close();
return;
} catch (Exception)
{
Thread.Sleep(100);
}
}
Close();
}
}
}

View File

@ -13,10 +13,21 @@
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="Auto"></RowDefinition>
</Grid.RowDefinitions>
<ListView Grid.Row="0" Margin="0,0,0,0" Name="BooksList">
<Grid Grid.Row="0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="Auto"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Label Content="Search:" Grid.Column="0"></Label>
<TextBox Grid.Column="1" Text="{Binding SearchField, Mode=OneWayToSource}"></TextBox>
<Button Content="S" Grid.Column="2" Width="25" Click="Search_Click"/>
</Grid>
<ListView Grid.Row="1" Margin="0,0,0,0" Name="BooksList">
<ListView.View>
<GridView>
<GridViewColumn Header="Status" DisplayMemberBinding="{Binding Path=State, Converter={StaticResource EnumConverter}}" Width="Auto"></GridViewColumn>

View File

@ -8,6 +8,7 @@ using MongoDB.Driver;
using System.Windows.Data;
using System.Globalization;
using MongoDB.Bson;
using System.Collections.Generic;
namespace BuechermarktClient
{
@ -65,6 +66,8 @@ namespace BuechermarktClient
public Thread RefreshThread = null;
private bool ThreadRunning = true;
public string SearchField { get; set; }
public Books()
{
InitializeComponent();
@ -84,15 +87,53 @@ namespace BuechermarktClient
while (ThreadRunning)
{
LoadList();
Thread.Sleep(1000);
Thread.Sleep(5000);
}
}
public void LoadList()
{
var list = MainWindow.BookCollection.FindSync((b) => true).ToList();
List<Models.Book> list = null;
var not = true;
while (not)
{
try
{
list = MainWindow.BookCollection.FindSync((b) => true).ToList();
not = false;
} catch (Exception e)
{
Thread.Sleep(200);
}
}
var show = new List<Models.Book>();
if (SearchField != null && SearchField != String.Empty)
{
foreach (var e in list)
{
if (e.LabelId.ToLower().Contains(SearchField.ToLower()) || e.Price.ToString().ToLower().Contains(SearchField.ToLower()) || e.Student.ToString().ToLower().Contains(SearchField.ToLower()) || e.BookType.ToString().ToLower().Contains(SearchField.ToLower()) || e.State.ToString().ToLower().Contains(SearchField.ToLower()))
{
show.Add(e);
}
}
}
else
{
if(list.Count > 100)
{
for(int i = 0; i < 150; i++)
{
show.Add(list[i]);
}
} else
{
show = list;
}
}
Dispatcher.BeginInvoke(new Action(delegate () {
BooksList.ItemsSource = list;
BooksList.ItemsSource = show;
}));
}
@ -116,5 +157,10 @@ namespace BuechermarktClient
editWindow.Show();
}
}
private void Search_Click(object sender, RoutedEventArgs e)
{
LoadList();
}
}
}

View File

@ -8,6 +8,7 @@ using System.Collections.Generic;
using System.Windows.Data;
using System;
using System.Globalization;
using System.Threading;
namespace BuechermarktClient
{
@ -21,8 +22,10 @@ namespace BuechermarktClient
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
if(value == null) return null;
if (!double.TryParse((string)value, out double outD)) return null;
var style = NumberStyles.AllowDecimalPoint;
var c = CultureInfo.CreateSpecificCulture("de-DE");
if (value == null) return null;
if (!double.TryParse((string)value, style, c, out double outD)) return null;
return outD;
}
}
@ -54,7 +57,16 @@ namespace BuechermarktClient
{
get
{
return MainWindow.StudentCollection.Find(s => s.ID == Book.Student).FirstOrDefault();
while (true)
{
try
{
return MainWindow.StudentCollection.Find(s => s.ID == Book.Student).FirstOrDefault();
} catch (Exception)
{
Thread.Sleep(100);
}
}
}
set
{
@ -80,7 +92,17 @@ namespace BuechermarktClient
var st = Student;
if (st == null || value != st.LabelId)
{
Student = MainWindow.StudentCollection.Find(s => s.LabelId.Equals(value)).FirstOrDefault();
var f = true;
while (f)
{
try
{
Student = MainWindow.StudentCollection.Find(s => s.LabelId.Equals(value)).FirstOrDefault();
} catch (Exception)
{
Thread.Sleep(100);
}
}
OnPropertyChanged("StudentLabelId");
}
}
@ -135,7 +157,16 @@ namespace BuechermarktClient
{
get
{
return MainWindow.BookTypeCollection.Find(b => b.ID == Book.BookType).FirstOrDefault();
while (true)
{
try
{
return MainWindow.BookTypeCollection.Find(b => b.ID == Book.BookType).FirstOrDefault();
} catch (Exception)
{
Thread.Sleep(100);
}
}
}
set
{
@ -163,8 +194,18 @@ namespace BuechermarktClient
var bt = BookType;
if(bt == null || value != bt.ISBN)
{
BookType = MainWindow.BookTypeCollection.Find(b => b.ISBN == value).FirstOrDefault();
OnPropertyChanged("BookTypeISBN");
while (true)
{
try
{
BookType = MainWindow.BookTypeCollection.Find(b => b.ISBN == value).FirstOrDefault();
OnPropertyChanged("BookTypeISBN");
return;
} catch (Exception)
{
Thread.Sleep(100);
}
}
}
}
}
@ -203,22 +244,42 @@ namespace BuechermarktClient
{
if (New)
{
MainWindow.BookCollection.InsertOne(Book);
var oldStudent = Student;
Book = new Book();
Student = oldStudent;
Book.State = BookState.InStock;
OnPropertyChanged(string.Empty);
while (true)
{
try
{
MainWindow.BookCollection.InsertOne(Book);
var oldStudent = Student;
Book = new Book();
Student = oldStudent;
Book.State = BookState.InStock;
OnPropertyChanged(string.Empty);
return;
} catch (Exception)
{
Thread.Sleep(100);
}
}
}
else
{
MainWindow.BookCollection.FindOneAndUpdate(b => b.ID == Book.ID, Builders<Book>.Update
.Set(b => b.Student, Book.Student)
.Set(b => b.BookType, Book.BookType)
.Set(b => b.Price, Book.Price)
.Set(b => b.State, Book.State)
.Set(b => b.LabelId, Book.LabelId));
Close();
while (true)
{
try
{
MainWindow.BookCollection.FindOneAndUpdate(b => b.ID == Book.ID, Builders<Book>.Update
.Set(b => b.Student, Book.Student)
.Set(b => b.BookType, Book.BookType)
.Set(b => b.Price, Book.Price)
.Set(b => b.State, Book.State)
.Set(b => b.LabelId, Book.LabelId));
Close();
return;
} catch (Exception)
{
Thread.Sleep(100);
}
}
}
}
@ -226,9 +287,23 @@ namespace BuechermarktClient
{
if (Book != null && Book.ID != null)
{
MainWindow.StudentCollection.DeleteOne(bt => bt.ID == Student.ID);
while (true)
{
try
{
MainWindow.StudentCollection.DeleteOne(bt => bt.ID == Student.ID);
Close();
return;
}
catch (Exception)
{
Thread.Sleep(100);
}
}
} else
{
Close();
}
Close();
}
private void SelectBookType_Click(object sender, RoutedEventArgs e)

View File

@ -34,17 +34,17 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="MongoDB.Bson, Version=2.4.3.23, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Bson.2.4.3\lib\net45\MongoDB.Bson.dll</HintPath>
<Reference Include="MongoDB.Bson, Version=2.4.4.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Bson.2.4.4\lib\net45\MongoDB.Bson.dll</HintPath>
</Reference>
<Reference Include="MongoDB.Driver, Version=2.4.3.23, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Driver.2.4.3\lib\net45\MongoDB.Driver.dll</HintPath>
<Reference Include="MongoDB.Driver, Version=2.4.4.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Driver.2.4.4\lib\net45\MongoDB.Driver.dll</HintPath>
</Reference>
<Reference Include="MongoDB.Driver.Core, Version=2.4.3.23, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Driver.Core.2.4.3\lib\net45\MongoDB.Driver.Core.dll</HintPath>
<Reference Include="MongoDB.Driver.Core, Version=2.4.4.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MongoDB.Driver.Core.2.4.4\lib\net45\MongoDB.Driver.Core.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />

View File

@ -38,7 +38,7 @@ namespace BuechermarktClient
public void ListenForServer()
{
UdpClient = new UdpClient(15000);
UdpClient = new UdpClient(3000);
UdpClient.BeginReceive(Recevie, new object());
}

View File

@ -1,5 +1,6 @@
using BuechermarktClient.Models;
using MongoDB.Driver;
using MongoDB.Driver.Core.Clusters;
using System;
using System.Collections.Generic;
using System.Diagnostics;
@ -25,12 +26,31 @@ namespace BuechermarktClient
public partial class MainWindow : Window
{
public static MongoClient Mongo;
public static IMongoDatabase Database;
public static IMongoCollection<BookType> BookTypeCollection;
public static IMongoCollection<Book> BookCollection;
public static IMongoCollection<Student> StudentCollection;
public const string DatabaseName = "buechermarkt";
public static string MongoHost = "localhost";
public static IMongoCollection<BookType> BookTypeCollection
{
get {
var database = Mongo.GetDatabase(DatabaseName);
return database.GetCollection<BookType>("booktypes");
}
}
public static IMongoCollection<Book> BookCollection
{
get
{
var database = Mongo.GetDatabase(DatabaseName);
return database.GetCollection<Book>("books");
}
}
public static IMongoCollection<Student> StudentCollection
{
get
{
var database = Mongo.GetDatabase(DatabaseName);
return database.GetCollection<Student>("students");
}
}
public BookTypes BookTypesWindow = null;
public Students StudentsWindow = null;
@ -45,13 +65,21 @@ namespace BuechermarktClient
//ToDo get server informations
}
public void ConnectionTester()
{
Mongo.Cluster.DescriptionChanged += (object sender, ClusterDescriptionChangedEventArgs e) =>
{
};
}
public void OnConnectionEstablised()
{
Mongo = new MongoClient("mongodb://" + MongoHost + ":27017");
Database = Mongo.GetDatabase(DatabaseName);
BookTypeCollection = Database.GetCollection<BookType>("booktypes");
BookCollection = Database.GetCollection<Book>("books");
StudentCollection = Database.GetCollection<Student>("students");
//Database = Mongo.GetDatabase(DatabaseName);
//BookTypeCollection =
//BookCollection = Database.GetCollection<Book>("books");
//StudentCollection = Database.GetCollection<Student>("students");
var t = new Thread(BackupService);
t.Start();
@ -62,7 +90,7 @@ namespace BuechermarktClient
while (true)
{
Backup.MakeBackup();
Thread.Sleep(30000);
Thread.Sleep(120000);
}
}

View File

@ -16,9 +16,11 @@
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"></ColumnDefinition>
<ColumnDefinition Width="*"></ColumnDefinition>
<ColumnDefinition Width="Auto"></ColumnDefinition>
</Grid.ColumnDefinitions>
<Label Content="Search:" Grid.Column="0"></Label>
<TextBox Grid.Column="1" Text="{Binding SearchField, Mode=OneWayToSource}"></TextBox>
<Button Content="S" Grid.Column="2" Width="25" Click="Search_Click"/>
</Grid>
<ListView Grid.Row="1" Margin="0,0,0,0" Name="ViewList">
<ListView.View>

View File

@ -33,7 +33,6 @@ namespace BuechermarktClient
if (value != _SearchField)
{
_SearchField = value;
LoadList();
}
}
}
@ -71,7 +70,21 @@ namespace BuechermarktClient
public void LoadList()
{
var list = MainWindow.StudentCollection.FindSync((b) => true).ToList();
List<Models.Student> list = null;
var not = true;
while (not)
{
try
{
list = MainWindow.StudentCollection.FindSync((b) => true).ToList();
not = false;
}
catch (Exception e)
{
Thread.Sleep(200);
}
}
var show = new List<Student>();
if (SearchField != null && SearchField != String.Empty)
{
@ -121,5 +134,10 @@ namespace BuechermarktClient
}
}
}
private void Search_Click(object sender, RoutedEventArgs e)
{
LoadList();
}
}
}

View File

@ -1,6 +1,8 @@
using BuechermarktClient.Models;
using MongoDB.Driver;
using System;
using System.ComponentModel;
using System.Threading;
using System.Windows;
namespace BuechermarktClient
@ -129,37 +131,58 @@ namespace BuechermarktClient
private void Save_Click(object sender, RoutedEventArgs e)
{
if(New)
while (true)
{
MainWindow.StudentCollection.InsertOne(Student);
Student = new Student();
Forname = "";
Lastname = "";
EMail = "";
PhoneNumber = "";
LabelId = "";
Form = "";
} else
{
MainWindow.StudentCollection.FindOneAndUpdate(s => s.ID == Student.ID, Builders<Student>.Update
.Set(s => s.Forname, Student.Forname)
.Set(s => s.Lastname, Student.Lastname)
.Set(s => s.EMail, Student.EMail)
.Set(s => s.PhoneNumber, Student.PhoneNumber)
.Set(s => s.LabelId, Student.LabelId)
.Set(s=>s.Form, Student.Form));
try
{
if (New)
{
MainWindow.StudentCollection.InsertOne(Student);
Student = new Student();
Forname = "";
Lastname = "";
EMail = "";
PhoneNumber = "";
LabelId = "";
Form = "";
}
else
{
MainWindow.StudentCollection.FindOneAndUpdate(s => s.ID == Student.ID, Builders<Student>.Update
.Set(s => s.Forname, Student.Forname)
.Set(s => s.Lastname, Student.Lastname)
.Set(s => s.EMail, Student.EMail)
.Set(s => s.PhoneNumber, Student.PhoneNumber)
.Set(s => s.LabelId, Student.LabelId)
.Set(s => s.Form, Student.Form));
Close();
Close();
return;
}
} catch (Exception)
{
Thread.Sleep(100);
}
}
}
private void Delete_Click(object sender, RoutedEventArgs e)
{
if(Student.ID != null)
while (true)
{
MainWindow.StudentCollection.DeleteOne(bt => bt.ID == Student.ID);
try
{
if (Student.ID != null)
{
MainWindow.StudentCollection.DeleteOne(bt => bt.ID == Student.ID);
}
Close();
}
catch (Exception)
{
Thread.Sleep(100);
}
}
Close();
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -905,21 +905,6 @@
<c>true</c> if this instance can convert the specified value type; otherwise, <c>false</c>.
</returns>
</member>
<member name="T:Newtonsoft.Json.FloatParseHandling">
<summary>
Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatParseHandling.Double">
<summary>
Floating point numbers are parsed to <see cref="F:Newtonsoft.Json.FloatParseHandling.Double"/>.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatParseHandling.Decimal">
<summary>
Floating point numbers are parsed to <see cref="F:Newtonsoft.Json.FloatParseHandling.Decimal"/>.
</summary>
</member>
<member name="T:Newtonsoft.Json.DateFormatHandling">
<summary>
Specifies how dates are formatted when writing JSON text.
@ -1038,6 +1023,21 @@
Write special floating point values as the property's default value in JSON, e.g. 0.0 for a <see cref="T:System.Double"/> property, <c>null</c> for a <see cref="T:System.Nullable`1"/> of <see cref="T:System.Double"/> property.
</summary>
</member>
<member name="T:Newtonsoft.Json.FloatParseHandling">
<summary>
Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatParseHandling.Double">
<summary>
Floating point numbers are parsed to <see cref="F:Newtonsoft.Json.FloatParseHandling.Double"/>.
</summary>
</member>
<member name="F:Newtonsoft.Json.FloatParseHandling.Decimal">
<summary>
Floating point numbers are parsed to <see cref="F:Newtonsoft.Json.FloatParseHandling.Decimal"/>.
</summary>
</member>
<member name="T:Newtonsoft.Json.Formatting">
<summary>
Specifies formatting options for the <see cref="T:Newtonsoft.Json.JsonTextWriter"/>.
@ -6586,56 +6586,6 @@
If this is <c>null</c>, default load settings will be used.</param>
<returns>A <see cref="T:Newtonsoft.Json.Linq.JProperty"/> that contains the JSON that was read from the specified <see cref="T:Newtonsoft.Json.JsonReader"/>.</returns>
</member>
<member name="T:Newtonsoft.Json.Linq.JRaw">
<summary>
Represents a raw JSON string.
</summary>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.CreateAsync(Newtonsoft.Json.JsonReader,System.Threading.CancellationToken)">
<summary>
Asynchronously creates an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.
</summary>
<param name="reader">The reader.</param>
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None"/>.</param>
<returns>A <see cref="T:System.Threading.Tasks.Task`1"/> representing the asynchronous creation. The <see cref="P:System.Threading.Tasks.Task`1.Result"/>
property returns an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.#ctor(Newtonsoft.Json.Linq.JRaw)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JRaw"/> class from another <see cref="T:Newtonsoft.Json.Linq.JRaw"/> object.
</summary>
<param name="other">A <see cref="T:Newtonsoft.Json.Linq.JRaw"/> object to copy from.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.#ctor(System.Object)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JRaw"/> class.
</summary>
<param name="rawJson">The raw json.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.Create(Newtonsoft.Json.JsonReader)">
<summary>
Creates an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.
</summary>
<param name="reader">The reader.</param>
<returns>An instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.</returns>
</member>
<member name="T:Newtonsoft.Json.Linq.JsonMergeSettings">
<summary>
Specifies the settings used when merging JSON.
</summary>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonMergeSettings.MergeArrayHandling">
<summary>
Gets or sets the method used when merging JSON arrays.
</summary>
<value>The method used when merging JSON arrays.</value>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonMergeSettings.MergeNullValueHandling">
<summary>
Gets or sets how null value properties are merged.
</summary>
<value>How null value properties are merged.</value>
</member>
<member name="T:Newtonsoft.Json.Linq.JPropertyDescriptor">
<summary>
Represents a view of a <see cref="T:Newtonsoft.Json.Linq.JProperty"/>.
@ -6723,6 +6673,78 @@
The hash code for the name of the member.
</returns>
</member>
<member name="T:Newtonsoft.Json.Linq.JRaw">
<summary>
Represents a raw JSON string.
</summary>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.CreateAsync(Newtonsoft.Json.JsonReader,System.Threading.CancellationToken)">
<summary>
Asynchronously creates an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.
</summary>
<param name="reader">The reader.</param>
<param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None"/>.</param>
<returns>A <see cref="T:System.Threading.Tasks.Task`1"/> representing the asynchronous creation. The <see cref="P:System.Threading.Tasks.Task`1.Result"/>
property returns an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.</returns>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.#ctor(Newtonsoft.Json.Linq.JRaw)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JRaw"/> class from another <see cref="T:Newtonsoft.Json.Linq.JRaw"/> object.
</summary>
<param name="other">A <see cref="T:Newtonsoft.Json.Linq.JRaw"/> object to copy from.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.#ctor(System.Object)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JRaw"/> class.
</summary>
<param name="rawJson">The raw json.</param>
</member>
<member name="M:Newtonsoft.Json.Linq.JRaw.Create(Newtonsoft.Json.JsonReader)">
<summary>
Creates an instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.
</summary>
<param name="reader">The reader.</param>
<returns>An instance of <see cref="T:Newtonsoft.Json.Linq.JRaw"/> with the content of the reader's current token.</returns>
</member>
<member name="T:Newtonsoft.Json.Linq.JsonLoadSettings">
<summary>
Specifies the settings used when loading JSON.
</summary>
</member>
<member name="M:Newtonsoft.Json.Linq.JsonLoadSettings.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JsonLoadSettings"/> class.
</summary>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonLoadSettings.CommentHandling">
<summary>
Gets or sets how JSON comments are handled when loading JSON.
</summary>
<value>The JSON comment handling.</value>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonLoadSettings.LineInfoHandling">
<summary>
Gets or sets how JSON line info is handled when loading JSON.
</summary>
<value>The JSON line info handling.</value>
</member>
<member name="T:Newtonsoft.Json.Linq.JsonMergeSettings">
<summary>
Specifies the settings used when merging JSON.
</summary>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonMergeSettings.MergeArrayHandling">
<summary>
Gets or sets the method used when merging JSON arrays.
</summary>
<value>The method used when merging JSON arrays.</value>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonMergeSettings.MergeNullValueHandling">
<summary>
Gets or sets how null value properties are merged.
</summary>
<value>How null value properties are merged.</value>
</member>
<member name="T:Newtonsoft.Json.Linq.JToken">
<summary>
Represents an abstract JSON token.
@ -8316,28 +8338,6 @@
<paramref name="obj"/> is not of the same type as this instance.
</exception>
</member>
<member name="T:Newtonsoft.Json.Linq.JsonLoadSettings">
<summary>
Specifies the settings used when loading JSON.
</summary>
</member>
<member name="M:Newtonsoft.Json.Linq.JsonLoadSettings.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Linq.JsonLoadSettings"/> class.
</summary>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonLoadSettings.CommentHandling">
<summary>
Gets or sets how JSON comments are handled when loading JSON.
</summary>
<value>The JSON comment handling.</value>
</member>
<member name="P:Newtonsoft.Json.Linq.JsonLoadSettings.LineInfoHandling">
<summary>
Gets or sets how JSON line info is handled when loading JSON.
</summary>
<value>The JSON line info handling.</value>
</member>
<member name="T:Newtonsoft.Json.Linq.MergeArrayHandling">
<summary>
Specifies how JSON arrays are merged together.
@ -9126,71 +9126,6 @@
</note>
</summary>
</member>
<member name="T:Newtonsoft.Json.Serialization.ISerializationBinder">
<summary>
Allows users to control class loading and mandate what class to load.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.ISerializationBinder.BindToType(System.String,System.String)">
<summary>
When implemented, controls the binding of a serialized object to a type.
</summary>
<param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly"/> name of the serialized object.</param>
<param name="typeName">Specifies the <see cref="T:System.Type"/> name of the serialized object</param>
<returns>The type of the object the formatter creates a new instance of.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.ISerializationBinder.BindToName(System.Type,System.String@,System.String@)">
<summary>
When implemented, controls the binding of a serialized object to a type.
</summary>
<param name="serializedType">The type of the object the formatter creates a new instance of.</param>
<param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly"/> name of the serialized object.</param>
<param name="typeName">Specifies the <see cref="T:System.Type"/> name of the serialized object.</param>
</member>
<member name="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy">
<summary>
A snake case naming strategy.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor(System.Boolean,System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
<param name="processDictionaryKeys">
A flag indicating whether dictionary keys should be processed.
</param>
<param name="overrideSpecifiedNames">
A flag indicating whether explicitly specified property names should be processed,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>.
</param>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor(System.Boolean,System.Boolean,System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
<param name="processDictionaryKeys">
A flag indicating whether dictionary keys should be processed.
</param>
<param name="overrideSpecifiedNames">
A flag indicating whether explicitly specified property names should be processed,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>.
</param>
<param name="processExtensionDataNames">
A flag indicating whether extension data names should be processed.
</param>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.ResolvePropertyName(System.String)">
<summary>
Resolves the specified property name.
</summary>
<param name="name">The property name to resolve.</param>
<returns>The resolved property name.</returns>
</member>
<member name="T:Newtonsoft.Json.Serialization.CamelCaseNamingStrategy">
<summary>
A camel case naming strategy.
@ -9666,59 +9601,6 @@
<param name="type">The type to resolve a contract for.</param>
<returns>The contract for a given type.</returns>
</member>
<member name="T:Newtonsoft.Json.Serialization.NamingStrategy">
<summary>
A base class for resolving how property names and dictionary keys are serialized.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.ProcessDictionaryKeys">
<summary>
A flag indicating whether dictionary keys should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.ProcessExtensionDataNames">
<summary>
A flag indicating whether extension data names should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.OverrideSpecifiedNames">
<summary>
A flag indicating whether explicitly specified property names,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>, should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetPropertyName(System.String,System.Boolean)">
<summary>
Gets the serialized name for a given property name.
</summary>
<param name="name">The initial property name.</param>
<param name="hasSpecifiedName">A flag indicating whether the property has had a name explicitly specified.</param>
<returns>The serialized property name.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetExtensionDataName(System.String)">
<summary>
Gets the serialized name for a given extension data name.
</summary>
<param name="name">The initial extension data name.</param>
<returns>The serialized extension data name.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetDictionaryKey(System.String)">
<summary>
Gets the serialized key for a given dictionary key.
</summary>
<param name="key">The initial dictionary key.</param>
<returns>The serialized dictionary key.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.ResolvePropertyName(System.String)">
<summary>
Resolves the specified property name.
</summary>
<param name="name">The property name to resolve.</param>
<returns>The resolved property name.</returns>
</member>
<member name="T:Newtonsoft.Json.Serialization.IReferenceResolver">
<summary>
Used to resolve references when serializing and deserializing JSON by the <see cref="T:Newtonsoft.Json.JsonSerializer"/>.
@ -9758,6 +9640,27 @@
<param name="reference">The reference.</param>
<param name="value">The object to reference.</param>
</member>
<member name="T:Newtonsoft.Json.Serialization.ISerializationBinder">
<summary>
Allows users to control class loading and mandate what class to load.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.ISerializationBinder.BindToType(System.String,System.String)">
<summary>
When implemented, controls the binding of a serialized object to a type.
</summary>
<param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly"/> name of the serialized object.</param>
<param name="typeName">Specifies the <see cref="T:System.Type"/> name of the serialized object</param>
<returns>The type of the object the formatter creates a new instance of.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.ISerializationBinder.BindToName(System.Type,System.String@,System.String@)">
<summary>
When implemented, controls the binding of a serialized object to a type.
</summary>
<param name="serializedType">The type of the object the formatter creates a new instance of.</param>
<param name="assemblyName">Specifies the <see cref="T:System.Reflection.Assembly"/> name of the serialized object.</param>
<param name="typeName">Specifies the <see cref="T:System.Type"/> name of the serialized object.</param>
</member>
<member name="T:Newtonsoft.Json.Serialization.ITraceWriter">
<summary>
Represents a trace writer.
@ -10428,6 +10331,59 @@
A <see cref="T:System.String"/> of the most recent trace messages.
</returns>
</member>
<member name="T:Newtonsoft.Json.Serialization.NamingStrategy">
<summary>
A base class for resolving how property names and dictionary keys are serialized.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.ProcessDictionaryKeys">
<summary>
A flag indicating whether dictionary keys should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.ProcessExtensionDataNames">
<summary>
A flag indicating whether extension data names should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="P:Newtonsoft.Json.Serialization.NamingStrategy.OverrideSpecifiedNames">
<summary>
A flag indicating whether explicitly specified property names,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>, should be processed.
Defaults to <c>false</c>.
</summary>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetPropertyName(System.String,System.Boolean)">
<summary>
Gets the serialized name for a given property name.
</summary>
<param name="name">The initial property name.</param>
<param name="hasSpecifiedName">A flag indicating whether the property has had a name explicitly specified.</param>
<returns>The serialized property name.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetExtensionDataName(System.String)">
<summary>
Gets the serialized name for a given extension data name.
</summary>
<param name="name">The initial extension data name.</param>
<returns>The serialized extension data name.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.GetDictionaryKey(System.String)">
<summary>
Gets the serialized key for a given dictionary key.
</summary>
<param name="key">The initial dictionary key.</param>
<returns>The serialized dictionary key.</returns>
</member>
<member name="M:Newtonsoft.Json.Serialization.NamingStrategy.ResolvePropertyName(System.String)">
<summary>
Resolves the specified property name.
</summary>
<param name="name">The property name to resolve.</param>
<returns>The resolved property name.</returns>
</member>
<member name="T:Newtonsoft.Json.Serialization.ObjectConstructor`1">
<summary>
Represents a method that constructs an object.
@ -10490,20 +10446,49 @@
<param name="target">The target to get the value from.</param>
<returns>The value.</returns>
</member>
<member name="T:Newtonsoft.Json.TypeNameAssemblyFormatHandling">
<member name="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy">
<summary>
Indicates the method that will be used during deserialization for locating and loading assemblies.
A snake case naming strategy.
</summary>
</member>
<member name="F:Newtonsoft.Json.TypeNameAssemblyFormatHandling.Simple">
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor(System.Boolean,System.Boolean)">
<summary>
In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the <c>LoadWithPartialName</c> method of the <see cref="T:System.Reflection.Assembly"/> class is used to load the assembly.
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
<param name="processDictionaryKeys">
A flag indicating whether dictionary keys should be processed.
</param>
<param name="overrideSpecifiedNames">
A flag indicating whether explicitly specified property names should be processed,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>.
</param>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor(System.Boolean,System.Boolean,System.Boolean)">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
<param name="processDictionaryKeys">
A flag indicating whether dictionary keys should be processed.
</param>
<param name="overrideSpecifiedNames">
A flag indicating whether explicitly specified property names should be processed,
e.g. a property name customized with a <see cref="T:Newtonsoft.Json.JsonPropertyAttribute"/>.
</param>
<param name="processExtensionDataNames">
A flag indicating whether extension data names should be processed.
</param>
</member>
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.#ctor">
<summary>
Initializes a new instance of the <see cref="T:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy"/> class.
</summary>
</member>
<member name="F:Newtonsoft.Json.TypeNameAssemblyFormatHandling.Full">
<member name="M:Newtonsoft.Json.Serialization.SnakeCaseNamingStrategy.ResolvePropertyName(System.String)">
<summary>
In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The <c>Load</c> method of the <see cref="T:System.Reflection.Assembly"/> class is used to load the assembly.
Resolves the specified property name.
</summary>
<param name="name">The property name to resolve.</param>
<returns>The resolved property name.</returns>
</member>
<member name="T:Newtonsoft.Json.StringEscapeHandling">
<summary>
@ -10525,6 +10510,21 @@
HTML (&lt;, &gt;, &amp;, &apos;, &quot;) and control characters (e.g. newline) are escaped.
</summary>
</member>
<member name="T:Newtonsoft.Json.TypeNameAssemblyFormatHandling">
<summary>
Indicates the method that will be used during deserialization for locating and loading assemblies.
</summary>
</member>
<member name="F:Newtonsoft.Json.TypeNameAssemblyFormatHandling.Simple">
<summary>
In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the <c>LoadWithPartialName</c> method of the <see cref="T:System.Reflection.Assembly"/> class is used to load the assembly.
</summary>
</member>
<member name="F:Newtonsoft.Json.TypeNameAssemblyFormatHandling.Full">
<summary>
In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The <c>Load</c> method of the <see cref="T:System.Reflection.Assembly"/> class is used to load the assembly.
</summary>
</member>
<member name="T:Newtonsoft.Json.TypeNameHandling">
<summary>
Specifies type name handling options for the <see cref="T:Newtonsoft.Json.JsonSerializer"/>.

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0A2A30BE6E5B8C01C72CED013BD65F47"
#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "69E247AFC50A459A29907C1D6F49CCB1"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
@ -41,7 +41,7 @@ namespace BuechermarktClient {
public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
#line 23 "..\..\BookTypes.xaml"
#line 25 "..\..\BookTypes.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ListView BookTypesList;
@ -79,11 +79,19 @@ namespace BuechermarktClient {
switch (connectionId)
{
case 1:
#line 23 "..\..\BookTypes.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
#line default
#line hidden
return;
case 2:
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
return;
case 3:
case 4:
#line 36 "..\..\BookTypes.xaml"
#line 38 "..\..\BookTypes.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
#line default
@ -103,11 +111,11 @@ namespace BuechermarktClient {
System.Windows.EventSetter eventSetter;
switch (connectionId)
{
case 2:
case 3:
eventSetter = new System.Windows.EventSetter();
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
#line 32 "..\..\BookTypes.xaml"
#line 34 "..\..\BookTypes.xaml"
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
#line default

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0A2A30BE6E5B8C01C72CED013BD65F47"
#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "69E247AFC50A459A29907C1D6F49CCB1"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
@ -41,7 +41,7 @@ namespace BuechermarktClient {
public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
#line 23 "..\..\BookTypes.xaml"
#line 25 "..\..\BookTypes.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ListView BookTypesList;
@ -79,11 +79,19 @@ namespace BuechermarktClient {
switch (connectionId)
{
case 1:
#line 23 "..\..\BookTypes.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
#line default
#line hidden
return;
case 2:
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
return;
case 3:
case 4:
#line 36 "..\..\BookTypes.xaml"
#line 38 "..\..\BookTypes.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
#line default
@ -103,11 +111,11 @@ namespace BuechermarktClient {
System.Windows.EventSetter eventSetter;
switch (connectionId)
{
case 2:
case 3:
eventSetter = new System.Windows.EventSetter();
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
#line 32 "..\..\BookTypes.xaml"
#line 34 "..\..\BookTypes.xaml"
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
#line default

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\Books.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "4DEBA5853B20A92CCD7D34AE21518E50"
#pragma checksum "..\..\Books.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "208306820FDFEC1EB549468FCF65C11A"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
@ -41,7 +41,7 @@ namespace BuechermarktClient {
public partial class Books : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
#line 19 "..\..\Books.xaml"
#line 30 "..\..\Books.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ListView BooksList;
@ -79,11 +79,19 @@ namespace BuechermarktClient {
switch (connectionId)
{
case 1:
#line 28 "..\..\Books.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
#line default
#line hidden
return;
case 2:
this.BooksList = ((System.Windows.Controls.ListView)(target));
return;
case 3:
case 4:
#line 35 "..\..\Books.xaml"
#line 46 "..\..\Books.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
#line default
@ -103,11 +111,11 @@ namespace BuechermarktClient {
System.Windows.EventSetter eventSetter;
switch (connectionId)
{
case 2:
case 3:
eventSetter = new System.Windows.EventSetter();
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
#line 31 "..\..\Books.xaml"
#line 42 "..\..\Books.xaml"
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
#line default

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\Books.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "4DEBA5853B20A92CCD7D34AE21518E50"
#pragma checksum "..\..\Books.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "208306820FDFEC1EB549468FCF65C11A"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
@ -41,7 +41,7 @@ namespace BuechermarktClient {
public partial class Books : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
#line 19 "..\..\Books.xaml"
#line 30 "..\..\Books.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ListView BooksList;
@ -79,11 +79,19 @@ namespace BuechermarktClient {
switch (connectionId)
{
case 1:
#line 28 "..\..\Books.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
#line default
#line hidden
return;
case 2:
this.BooksList = ((System.Windows.Controls.ListView)(target));
return;
case 3:
case 4:
#line 35 "..\..\Books.xaml"
#line 46 "..\..\Books.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
#line default
@ -103,11 +111,11 @@ namespace BuechermarktClient {
System.Windows.EventSetter eventSetter;
switch (connectionId)
{
case 2:
case 3:
eventSetter = new System.Windows.EventSetter();
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
#line 31 "..\..\Books.xaml"
#line 42 "..\..\Books.xaml"
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
#line default

View File

@ -71,3 +71,41 @@ D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Buecherma
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\System.Runtime.InteropServices.RuntimeInformation.dll
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\GetConnection.g.cs
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\GetConnection.baml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.exe.config
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.exe
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.pdb
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Bson.dll
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.dll
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.dll
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\Newtonsoft.Json.dll
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Bson.xml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.xml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.xml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\Newtonsoft.Json.xml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.csprojResolveAssemblyReference.cache
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\Books.g.cs
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BooksEdit.g.cs
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BookTypes.g.cs
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\GetConnection.g.cs
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\Students.g.cs
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\StudentsEdit.g.cs
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BookTypesEdit.g.cs
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\MainWindow.g.cs
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\App.g.cs
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\GeneratedInternalTypeHelper.g.cs
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.cache
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.lref
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\Books.baml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BooksEdit.baml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BookTypes.baml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\GetConnection.baml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\Students.baml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\StudentsEdit.baml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BookTypesEdit.baml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\MainWindow.baml
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.g.resources
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.Properties.Resources.resources
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.csproj.GenerateResource.Cache
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.exe
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.pdb
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\System.Runtime.InteropServices.RuntimeInformation.dll

View File

@ -0,0 +1,11 @@
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\GeneratedInternalTypeHelper.g.i.cs
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\Books.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BooksEdit.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BookTypes.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\GetConnection.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\Students.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\StudentsEdit.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BookTypesEdit.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\MainWindow.xaml;;

View File

@ -1,11 +1,11 @@

FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\Books.xaml;;
FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\BooksEdit.xaml;;
FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\BookTypes.xaml;;
FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\Students.xaml;;
FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\StudentsEdit.xaml;;
FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\BookTypesEdit.xaml;;
FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\MainWindow.xaml;;
FD:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\GetConnection.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\Books.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BooksEdit.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BookTypes.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\GetConnection.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\Students.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\StudentsEdit.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BookTypesEdit.xaml;;
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\MainWindow.xaml;;

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "EDC5100C03A0B74B7C5A0FBE89681C34"
#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "4AE871DA27E2F745E369A8786824FD02"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
@ -41,7 +41,7 @@ namespace BuechermarktClient {
public partial class Students : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
#line 23 "..\..\Students.xaml"
#line 25 "..\..\Students.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ListView ViewList;
@ -79,11 +79,19 @@ namespace BuechermarktClient {
switch (connectionId)
{
case 1:
#line 23 "..\..\Students.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
#line default
#line hidden
return;
case 2:
this.ViewList = ((System.Windows.Controls.ListView)(target));
return;
case 3:
case 4:
#line 40 "..\..\Students.xaml"
#line 42 "..\..\Students.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
#line default
@ -103,11 +111,11 @@ namespace BuechermarktClient {
System.Windows.EventSetter eventSetter;
switch (connectionId)
{
case 2:
case 3:
eventSetter = new System.Windows.EventSetter();
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
#line 36 "..\..\Students.xaml"
#line 38 "..\..\Students.xaml"
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
#line default

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "EDC5100C03A0B74B7C5A0FBE89681C34"
#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "4AE871DA27E2F745E369A8786824FD02"
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
@ -41,7 +41,7 @@ namespace BuechermarktClient {
public partial class Students : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
#line 23 "..\..\Students.xaml"
#line 25 "..\..\Students.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ListView ViewList;
@ -79,11 +79,19 @@ namespace BuechermarktClient {
switch (connectionId)
{
case 1:
#line 23 "..\..\Students.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
#line default
#line hidden
return;
case 2:
this.ViewList = ((System.Windows.Controls.ListView)(target));
return;
case 3:
case 4:
#line 40 "..\..\Students.xaml"
#line 42 "..\..\Students.xaml"
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
#line default
@ -103,11 +111,11 @@ namespace BuechermarktClient {
System.Windows.EventSetter eventSetter;
switch (connectionId)
{
case 2:
case 3:
eventSetter = new System.Windows.EventSetter();
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
#line 36 "..\..\Students.xaml"
#line 38 "..\..\Students.xaml"
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
#line default

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="MongoDB.Bson" version="2.4.3" targetFramework="net452" />
<package id="MongoDB.Driver" version="2.4.3" targetFramework="net452" />
<package id="MongoDB.Driver.Core" version="2.4.3" targetFramework="net452" />
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net452" />
<package id="MongoDB.Bson" version="2.4.4" targetFramework="net452" />
<package id="MongoDB.Driver" version="2.4.4" targetFramework="net452" />
<package id="MongoDB.Driver.Core" version="2.4.4" targetFramework="net452" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net452" />
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net452" />
</packages>