Changes
This commit is contained in:
parent
cce5794004
commit
d5f81e3348
@ -1,14 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||||
</startup>
|
</startup>
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
</configuration>
|
</configuration>
|
@ -1,9 +1,9 @@
|
|||||||
<Application x:Class="BuechermarktClient.App"
|
<Application x:Class="BuechermarktClient.App"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="clr-namespace:BuechermarktClient"
|
xmlns:local="clr-namespace:BuechermarktClient"
|
||||||
StartupUri="MainWindow.xaml">
|
StartupUri="MainWindow.xaml">
|
||||||
<Application.Resources>
|
<Application.Resources>
|
||||||
|
|
||||||
</Application.Resources>
|
</Application.Resources>
|
||||||
</Application>
|
</Application>
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Configuration;
|
using System.Configuration;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaktionslogik für "App.xaml"
|
/// Interaktionslogik für "App.xaml"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class App : Application
|
public partial class App : Application
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,28 +1,28 @@
|
|||||||
using MongoDB.Driver;
|
using MongoDB.Driver;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using System.IO.Compression;
|
using System.IO.Compression;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
public class Backup
|
public class Backup
|
||||||
{
|
{
|
||||||
public static void MakeBackup() {
|
public static void MakeBackup() {
|
||||||
|
|
||||||
var ts = (Int32)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds;
|
var ts = (Int32)(DateTime.UtcNow.Subtract(new DateTime(1970, 1, 1))).TotalSeconds;
|
||||||
var process = new Process();
|
var process = new Process();
|
||||||
process.StartInfo.FileName = ".\\mongodump.exe";
|
process.StartInfo.FileName = ".\\mongodump.exe";
|
||||||
process.StartInfo.Arguments = "--host " + MainWindow.MongoHost + " --db " + MainWindow.DatabaseName + " --gzip --out .\\backups\\" + ts;
|
process.StartInfo.Arguments = "--host " + MainWindow.MongoHost + " --db " + MainWindow.DatabaseName + " --gzip --out .\\backups\\" + ts;
|
||||||
process.StartInfo.RedirectStandardOutput = true;
|
process.StartInfo.RedirectStandardOutput = true;
|
||||||
process.StartInfo.UseShellExecute = false;
|
process.StartInfo.UseShellExecute = false;
|
||||||
process.StartInfo.CreateNoWindow = true;
|
process.StartInfo.CreateNoWindow = true;
|
||||||
process.Start();
|
process.Start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,42 +1,42 @@
|
|||||||
<Window x:Class="BuechermarktClient.BookTypes"
|
<Window x:Class="BuechermarktClient.BookTypes"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:BuechermarktClient"
|
xmlns:local="clr-namespace:BuechermarktClient"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="BookTypes" Height="300" Width="300">
|
Title="BookTypes" Height="300" Width="300">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto"></RowDefinition>
|
<RowDefinition Height="Auto"></RowDefinition>
|
||||||
<RowDefinition Height="*"></RowDefinition>
|
<RowDefinition Height="*"></RowDefinition>
|
||||||
<RowDefinition Height="Auto"></RowDefinition>
|
<RowDefinition Height="Auto"></RowDefinition>
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Label Content="Search:" Grid.Column="0"></Label>
|
<Label Content="Search:" Grid.Column="0"></Label>
|
||||||
<TextBox Grid.Column="1" Text="{Binding SearchField, Mode=OneWayToSource}"></TextBox>
|
<TextBox Grid.Column="1" Text="{Binding SearchField, Mode=OneWayToSource}"></TextBox>
|
||||||
<Button Content="S" Grid.Column="2" Width="25" Click="Search_Click"/>
|
<Button Content="S" Grid.Column="2" Width="25" Click="Search_Click"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<ListView Grid.Row="1" Margin="0,0,0,0" Name="BookTypesList">
|
<ListView Grid.Row="1" Margin="0,0,0,0" Name="BookTypesList">
|
||||||
<ListView.View>
|
<ListView.View>
|
||||||
<GridView>
|
<GridView>
|
||||||
<GridViewColumn Header="Name" DisplayMemberBinding="{Binding Name}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="Name" DisplayMemberBinding="{Binding Name}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="ISBN" DisplayMemberBinding="{Binding ISBN}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="ISBN" DisplayMemberBinding="{Binding ISBN}" Width="Auto"></GridViewColumn>
|
||||||
</GridView>
|
</GridView>
|
||||||
</ListView.View>
|
</ListView.View>
|
||||||
<ListView.ItemContainerStyle>
|
<ListView.ItemContainerStyle>
|
||||||
<Style TargetType="ListViewItem">
|
<Style TargetType="ListViewItem">
|
||||||
<EventSetter Event="PreviewMouseDoubleClick" Handler="ListViewItem_PreviewMouseUp"></EventSetter>
|
<EventSetter Event="PreviewMouseDoubleClick" Handler="ListViewItem_PreviewMouseUp"></EventSetter>
|
||||||
</Style>
|
</Style>
|
||||||
</ListView.ItemContainerStyle>
|
</ListView.ItemContainerStyle>
|
||||||
</ListView>
|
</ListView>
|
||||||
<Button Grid.Row="2" Content="Hinzufügen" VerticalAlignment="Center" Click="AddNew_Click">
|
<Button Grid.Row="2" Content="Hinzufügen" VerticalAlignment="Center" Click="AddNew_Click">
|
||||||
|
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -1,151 +1,151 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using BuechermarktClient.Models;
|
using BuechermarktClient.Models;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using MongoDB.Driver;
|
using MongoDB.Driver;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaktionslogik für BookTypes.xaml
|
/// Interaktionslogik für BookTypes.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BookTypes : Window
|
public partial class BookTypes : Window
|
||||||
{
|
{
|
||||||
public Thread RefreshThread = null;
|
public Thread RefreshThread = null;
|
||||||
private bool ThreadRunning = true;
|
private bool ThreadRunning = true;
|
||||||
|
|
||||||
public bool Chooser = false;
|
public bool Chooser = false;
|
||||||
|
|
||||||
private string _SearchField;
|
private string _SearchField;
|
||||||
public string SearchField {
|
public string SearchField {
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return _SearchField;
|
return _SearchField;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if(value != _SearchField)
|
if(value != _SearchField)
|
||||||
{
|
{
|
||||||
_SearchField = value;
|
_SearchField = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public BookType SelectedItem { get; private set; }
|
public BookType SelectedItem { get; private set; }
|
||||||
|
|
||||||
public BookTypes() : this(false) { }
|
public BookTypes() : this(false) { }
|
||||||
|
|
||||||
public BookTypes(bool select)
|
public BookTypes(bool select)
|
||||||
{
|
{
|
||||||
DataContext = this;
|
DataContext = this;
|
||||||
Chooser = select;
|
Chooser = select;
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
RefreshThread = new Thread(RefreshThreadS);
|
RefreshThread = new Thread(RefreshThreadS);
|
||||||
RefreshThread.Start();
|
RefreshThread.Start();
|
||||||
RefreshThread.IsBackground = true;
|
RefreshThread.IsBackground = true;
|
||||||
Closing += BookTypes_Closing;
|
Closing += BookTypes_Closing;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BookTypes_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
private void BookTypes_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
||||||
{
|
{
|
||||||
ThreadRunning = false;
|
ThreadRunning = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RefreshThreadS()
|
public void RefreshThreadS()
|
||||||
{
|
{
|
||||||
while (ThreadRunning)
|
while (ThreadRunning)
|
||||||
{
|
{
|
||||||
LoadList();
|
LoadList();
|
||||||
Thread.Sleep(1000);
|
Thread.Sleep(1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void LoadList()
|
public void LoadList()
|
||||||
{
|
{
|
||||||
List<Models.BookType> list = null;
|
List<Models.BookType> list = null;
|
||||||
var not = true;
|
var not = true;
|
||||||
while (not)
|
while (not)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
list = MainWindow.BookTypeCollection.FindSync((b) => true).ToList();
|
list = MainWindow.BookTypeCollection.FindSync((b) => true).ToList();
|
||||||
not = false;
|
not = false;
|
||||||
}
|
}
|
||||||
catch (MongoExecutionTimeoutException)
|
catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(200);
|
Thread.Sleep(200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var show = new List<BookType>();
|
var show = new List<BookType>();
|
||||||
if(SearchField != null && SearchField != String.Empty)
|
if(SearchField != null && SearchField != String.Empty)
|
||||||
{
|
{
|
||||||
if (SearchField == "%d%")
|
if (SearchField == "%d%")
|
||||||
{
|
{
|
||||||
foreach (var e in list)
|
foreach (var e in list)
|
||||||
{
|
{
|
||||||
foreach (var e2 in list)
|
foreach (var e2 in list)
|
||||||
{
|
{
|
||||||
if (e.ID == e2.ID) continue;
|
if (e.ID == e2.ID) continue;
|
||||||
if (e.ISBN == e2.ISBN) show.Add(e);
|
if (e.ISBN == e2.ISBN) show.Add(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
foreach (var e in list)
|
foreach (var e in list)
|
||||||
{
|
{
|
||||||
if (e.ISBN.ToLower().Contains(SearchField.ToLower()) || e.Name.ToLower().Contains(SearchField.ToLower()))
|
if (e.ISBN.ToLower().Contains(SearchField.ToLower()) || e.Name.ToLower().Contains(SearchField.ToLower()))
|
||||||
{
|
{
|
||||||
show.Add(e);
|
show.Add(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
show = list;
|
show = list;
|
||||||
}
|
}
|
||||||
Dispatcher.BeginInvoke(new Action(delegate (){
|
Dispatcher.BeginInvoke(new Action(delegate (){
|
||||||
BookTypesList.ItemsSource = show;
|
BookTypesList.ItemsSource = show;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddNew_Click(object sender, RoutedEventArgs e)
|
private void AddNew_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var editWindow = new BookTypesEdit(null)
|
var editWindow = new BookTypesEdit(null)
|
||||||
{
|
{
|
||||||
Owner = this
|
Owner = this
|
||||||
};
|
};
|
||||||
editWindow.Show();
|
editWindow.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e)
|
private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e)
|
||||||
{
|
{
|
||||||
if (sender is ListViewItem item && item.IsSelected)
|
if (sender is ListViewItem item && item.IsSelected)
|
||||||
{
|
{
|
||||||
SelectedItem = item.DataContext as BookType;
|
SelectedItem = item.DataContext as BookType;
|
||||||
if (Chooser)
|
if (Chooser)
|
||||||
{
|
{
|
||||||
DialogResult = true;
|
DialogResult = true;
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var editWindow = new BookTypesEdit(item.DataContext as BookType)
|
var editWindow = new BookTypesEdit(item.DataContext as BookType)
|
||||||
{
|
{
|
||||||
Owner = this
|
Owner = this
|
||||||
};
|
};
|
||||||
editWindow.Show();
|
editWindow.Show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Search_Click(object sender, RoutedEventArgs e)
|
private void Search_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
LoadList();
|
LoadList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
<Window x:Class="BuechermarktClient.BookTypesEdit"
|
<Window x:Class="BuechermarktClient.BookTypesEdit"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:BuechermarktClient"
|
xmlns:local="clr-namespace:BuechermarktClient"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Buchtyp" Height="300" Width="300">
|
Title="Buchtyp" Height="300" Width="300">
|
||||||
<StackPanel VerticalAlignment="Top">
|
<StackPanel VerticalAlignment="Top">
|
||||||
<Label Content="Name" Margin="10,0"></Label>
|
<Label Content="Name" Margin="10,0"></Label>
|
||||||
<TextBox Margin="10,0" Text="{Binding Path=BName, Mode=TwoWay}"></TextBox>
|
<TextBox Margin="10,0" Text="{Binding Path=BName, Mode=TwoWay}"></TextBox>
|
||||||
<Label Content="ISBN" Margin="10,0"></Label>
|
<Label Content="ISBN" Margin="10,0"></Label>
|
||||||
<TextBox Margin="10,0" Text="{Binding Path=BISBN, Mode=TwoWay}"></TextBox>
|
<TextBox Margin="10,0" Text="{Binding Path=BISBN, Mode=TwoWay}"></TextBox>
|
||||||
<Grid Margin="10,10,10,0">
|
<Grid Margin="10,10,10,0">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Button Grid.Column="0" Content="Speichern" Click="Save_Click" Margin="0,0,5,0"></Button>
|
<Button Grid.Column="0" Content="Speichern" Click="Save_Click" Margin="0,0,5,0"></Button>
|
||||||
<Button Grid.Column="1" Content="Löschen" Click="Delete_Click" Margin="5,0,0,0"></Button>
|
<Button Grid.Column="1" Content="Löschen" Click="Delete_Click" Margin="5,0,0,0"></Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -1,116 +1,116 @@
|
|||||||
using BuechermarktClient.Models;
|
using BuechermarktClient.Models;
|
||||||
using MongoDB.Driver;
|
using MongoDB.Driver;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaktionslogik für BookTypesEdit.xaml
|
/// Interaktionslogik für BookTypesEdit.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BookTypesEdit : Window, INotifyPropertyChanged
|
public partial class BookTypesEdit : Window, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
private bool New = false;
|
private bool New = false;
|
||||||
private BookType BookType = null;
|
private BookType BookType = null;
|
||||||
private string _Name;
|
private string _Name;
|
||||||
public string BName
|
public string BName
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return _Name;
|
return _Name;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
if(value != _Name)
|
if(value != _Name)
|
||||||
{
|
{
|
||||||
_Name = value;
|
_Name = value;
|
||||||
OnPropertyChanged("BName");
|
OnPropertyChanged("BName");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private string _ISBN;
|
private string _ISBN;
|
||||||
public string BISBN
|
public string BISBN
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return _ISBN;
|
return _ISBN;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value != _ISBN)
|
if (value != _ISBN)
|
||||||
{
|
{
|
||||||
_ISBN = value;
|
_ISBN = value;
|
||||||
OnPropertyChanged("BISBN");
|
OnPropertyChanged("BISBN");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
protected void OnPropertyChanged(string propertyName)
|
protected void OnPropertyChanged(string propertyName)
|
||||||
{
|
{
|
||||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||||
}
|
}
|
||||||
|
|
||||||
public BookTypesEdit(BookType booktype)
|
public BookTypesEdit(BookType booktype)
|
||||||
{
|
{
|
||||||
DataContext = this;
|
DataContext = this;
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
if(booktype == null)
|
if(booktype == null)
|
||||||
{
|
{
|
||||||
BookType = new BookType();
|
BookType = new BookType();
|
||||||
New = true;
|
New = true;
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
BookType = booktype;
|
BookType = booktype;
|
||||||
BName = booktype.Name;
|
BName = booktype.Name;
|
||||||
BISBN = booktype.ISBN;
|
BISBN = booktype.ISBN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Save_Click(object sender, RoutedEventArgs e)
|
private void Save_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
BookType.Name = BName;
|
BookType.Name = BName;
|
||||||
BookType.ISBN = BISBN;
|
BookType.ISBN = BISBN;
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (New)
|
if (New)
|
||||||
{
|
{
|
||||||
MainWindow.BookTypeCollection.InsertOne(BookType);
|
MainWindow.BookTypeCollection.InsertOne(BookType);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MainWindow.BookTypeCollection.FindOneAndUpdate(bt => bt.ID == BookType.ID, Builders<BookType>.Update.Set((bt) => bt.Name, BookType.Name).Set(bt => bt.ISBN, BookType.ISBN));
|
MainWindow.BookTypeCollection.FindOneAndUpdate(bt => bt.ID == BookType.ID, Builders<BookType>.Update.Set((bt) => bt.Name, BookType.Name).Set(bt => bt.ISBN, BookType.ISBN));
|
||||||
}
|
}
|
||||||
Close();
|
Close();
|
||||||
return;
|
return;
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Delete_Click(object sender, RoutedEventArgs e)
|
private void Delete_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (BookType.ID != null)
|
if (BookType.ID != null)
|
||||||
{
|
{
|
||||||
MainWindow.BookTypeCollection.DeleteOne(bt => bt.ID == BookType.ID);
|
MainWindow.BookTypeCollection.DeleteOne(bt => bt.ID == BookType.ID);
|
||||||
}
|
}
|
||||||
Close();
|
Close();
|
||||||
return;
|
return;
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,50 +1,50 @@
|
|||||||
<Window x:Class="BuechermarktClient.Books"
|
<Window x:Class="BuechermarktClient.Books"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:BuechermarktClient"
|
xmlns:local="clr-namespace:BuechermarktClient"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Books" Height="300" Width="600">
|
Title="Books" Height="300" Width="600">
|
||||||
<Window.Resources>
|
<Window.Resources>
|
||||||
<local:EnumConverter x:Key="EnumConverter"/>
|
<local:EnumConverter x:Key="EnumConverter"/>
|
||||||
<local:StudentConverter x:Key="StudentConverter"/>
|
<local:StudentConverter x:Key="StudentConverter"/>
|
||||||
<local:BookTypeConverter x:Key="BookTypeConverter"/>
|
<local:BookTypeConverter x:Key="BookTypeConverter"/>
|
||||||
</Window.Resources>
|
</Window.Resources>
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto"></RowDefinition>
|
<RowDefinition Height="Auto"></RowDefinition>
|
||||||
<RowDefinition Height="*"></RowDefinition>
|
<RowDefinition Height="*"></RowDefinition>
|
||||||
<RowDefinition Height="Auto"></RowDefinition>
|
<RowDefinition Height="Auto"></RowDefinition>
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<Grid Grid.Row="0">
|
<Grid Grid.Row="0">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Label Content="Search:" Grid.Column="0"></Label>
|
<Label Content="Search:" Grid.Column="0"></Label>
|
||||||
<TextBox Grid.Column="1" Text="{Binding SearchField, Mode=Default, UpdateSourceTrigger=PropertyChanged}"></TextBox>
|
<TextBox Grid.Column="1" Text="{Binding SearchField, Mode=Default, UpdateSourceTrigger=PropertyChanged}"></TextBox>
|
||||||
<Button Content="S" Grid.Column="2" Width="25" Click="Search_Click"/>
|
<Button Content="S" Grid.Column="2" Width="25" Click="Search_Click"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<ListView Grid.Row="1" Margin="0,0,0,0" Name="BooksList">
|
<ListView Grid.Row="1" Margin="0,0,0,0" Name="BooksList">
|
||||||
<ListView.View>
|
<ListView.View>
|
||||||
<GridView>
|
<GridView>
|
||||||
<GridViewColumn Header="Status" DisplayMemberBinding="{Binding Path=State, Converter={StaticResource EnumConverter}}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="Status" DisplayMemberBinding="{Binding Path=State, Converter={StaticResource EnumConverter}}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="Label" DisplayMemberBinding="{Binding LabelId}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="Label" DisplayMemberBinding="{Binding LabelId}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="Preis" DisplayMemberBinding="{Binding Price}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="Preis" DisplayMemberBinding="{Binding Price}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="Schüler" DisplayMemberBinding="{Binding Path=Student, Converter={StaticResource StudentConverter}}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="Schüler" DisplayMemberBinding="{Binding Path=Student, Converter={StaticResource StudentConverter}}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="Buchtyp" DisplayMemberBinding="{Binding Path=BookType, Converter={StaticResource BookTypeConverter}}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="Buchtyp" DisplayMemberBinding="{Binding Path=BookType, Converter={StaticResource BookTypeConverter}}" Width="Auto"></GridViewColumn>
|
||||||
</GridView>
|
</GridView>
|
||||||
</ListView.View>
|
</ListView.View>
|
||||||
<ListView.ItemContainerStyle>
|
<ListView.ItemContainerStyle>
|
||||||
<Style TargetType="ListViewItem">
|
<Style TargetType="ListViewItem">
|
||||||
<EventSetter Event="PreviewMouseDoubleClick" Handler="ListViewItem_PreviewMouseUp"></EventSetter>
|
<EventSetter Event="PreviewMouseDoubleClick" Handler="ListViewItem_PreviewMouseUp"></EventSetter>
|
||||||
</Style>
|
</Style>
|
||||||
</ListView.ItemContainerStyle>
|
</ListView.ItemContainerStyle>
|
||||||
</ListView>
|
</ListView>
|
||||||
<Button Grid.Row="2" Content="Hinzufügen" VerticalAlignment="Center" Click="AddNew_Click">
|
<Button Grid.Row="2" Content="Hinzufügen" VerticalAlignment="Center" Click="AddNew_Click">
|
||||||
|
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -1,203 +1,203 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using MongoDB.Driver;
|
using MongoDB.Driver;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using MongoDB.Bson;
|
using MongoDB.Bson;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
[ValueConversion(typeof(object), typeof(string))]
|
[ValueConversion(typeof(object), typeof(string))]
|
||||||
public class EnumConverter : IValueConverter
|
public class EnumConverter : IValueConverter
|
||||||
{
|
{
|
||||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
return value?.ToString();
|
return value?.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[ValueConversion(typeof(object), typeof(string))]
|
[ValueConversion(typeof(object), typeof(string))]
|
||||||
public class StudentConverter : IValueConverter
|
public class StudentConverter : IValueConverter
|
||||||
{
|
{
|
||||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
var i = MainWindow.StudentCollection.Find(s => s.ID == (ObjectId)value).FirstOrDefault();
|
var i = MainWindow.StudentCollection.Find(s => s.ID == (ObjectId)value).FirstOrDefault();
|
||||||
if (i == null) return value;
|
if (i == null) return value;
|
||||||
return i.Lastname + ", " + i.Forname;
|
return i.Lastname + ", " + i.Forname;
|
||||||
}
|
}
|
||||||
|
|
||||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[ValueConversion(typeof(object), typeof(string))]
|
[ValueConversion(typeof(object), typeof(string))]
|
||||||
public class BookTypeConverter : IValueConverter
|
public class BookTypeConverter : IValueConverter
|
||||||
{
|
{
|
||||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
var i = MainWindow.BookTypeCollection.Find(bt => bt.ID == (ObjectId)value).FirstOrDefault();
|
var i = MainWindow.BookTypeCollection.Find(bt => bt.ID == (ObjectId)value).FirstOrDefault();
|
||||||
if (i == null) return value;
|
if (i == null) return value;
|
||||||
return i.Name;
|
return i.Name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaktionslogik für Books.xaml
|
/// Interaktionslogik für Books.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Books : Window, INotifyPropertyChanged
|
public partial class Books : Window, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
public Thread RefreshThread = null;
|
public Thread RefreshThread = null;
|
||||||
private bool ThreadRunning = true;
|
private bool ThreadRunning = true;
|
||||||
|
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
protected void OnPropertyChanged(string propertyName)
|
protected void OnPropertyChanged(string propertyName)
|
||||||
{
|
{
|
||||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||||
}
|
}
|
||||||
|
|
||||||
private string _SearchField;
|
private string _SearchField;
|
||||||
public string SearchField
|
public string SearchField
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return _SearchField;
|
return _SearchField;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value != _SearchField)
|
if (value != _SearchField)
|
||||||
{
|
{
|
||||||
_SearchField = value;
|
_SearchField = value;
|
||||||
OnPropertyChanged("SearchField");
|
OnPropertyChanged("SearchField");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Books()
|
public Books()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
RefreshThread = new Thread(RefreshThreadS);
|
RefreshThread = new Thread(RefreshThreadS);
|
||||||
RefreshThread.Start();
|
RefreshThread.Start();
|
||||||
RefreshThread.IsBackground = true;
|
RefreshThread.IsBackground = true;
|
||||||
Closing += Book_Closing;
|
Closing += Book_Closing;
|
||||||
DataContext = this;
|
DataContext = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Book_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
private void Book_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
||||||
{
|
{
|
||||||
ThreadRunning = false;
|
ThreadRunning = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RefreshThreadS()
|
public void RefreshThreadS()
|
||||||
{
|
{
|
||||||
while (ThreadRunning)
|
while (ThreadRunning)
|
||||||
{
|
{
|
||||||
LoadList();
|
LoadList();
|
||||||
Thread.Sleep(5000);
|
Thread.Sleep(5000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void LoadList()
|
public void LoadList()
|
||||||
{
|
{
|
||||||
|
|
||||||
List<Models.Book> list = null;
|
List<Models.Book> list = null;
|
||||||
var not = true;
|
var not = true;
|
||||||
while (not)
|
while (not)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
list = MainWindow.BookCollection.FindSync((b) => true).ToList();
|
list = MainWindow.BookCollection.FindSync((b) => true).ToList();
|
||||||
not = false;
|
not = false;
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(200);
|
Thread.Sleep(200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var show = new List<Models.Book>();
|
var show = new List<Models.Book>();
|
||||||
if (SearchField != null && SearchField != String.Empty)
|
if (SearchField != null && SearchField != String.Empty)
|
||||||
{
|
{
|
||||||
if (SearchField == "%d%")
|
if (SearchField == "%d%")
|
||||||
{
|
{
|
||||||
foreach (var e in list)
|
foreach (var e in list)
|
||||||
{
|
{
|
||||||
foreach (var e2 in list)
|
foreach (var e2 in list)
|
||||||
{
|
{
|
||||||
if (e.ID == e2.ID) continue;
|
if (e.ID == e2.ID) continue;
|
||||||
if (e.LabelId == e2.LabelId) show.Add(e);
|
if (e.LabelId == e2.LabelId) show.Add(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
foreach (var e in list)
|
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()))
|
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);
|
show.Add(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(list.Count > 100)
|
if(list.Count > 100)
|
||||||
{
|
{
|
||||||
for(int i = 0; i < 100; i++)
|
for(int i = 0; i < 100; i++)
|
||||||
{
|
{
|
||||||
show.Add(list[i]);
|
show.Add(list[i]);
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
show = list;
|
show = list;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Dispatcher.BeginInvoke(new Action(delegate () {
|
Dispatcher.BeginInvoke(new Action(delegate () {
|
||||||
BooksList.ItemsSource = show;
|
BooksList.ItemsSource = show;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddNew_Click(object sender, RoutedEventArgs e)
|
private void AddNew_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var editWindow = new BooksEdit(null)
|
var editWindow = new BooksEdit(null)
|
||||||
{
|
{
|
||||||
Owner = this
|
Owner = this
|
||||||
};
|
};
|
||||||
editWindow.Show();
|
editWindow.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e)
|
private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e)
|
||||||
{
|
{
|
||||||
if (sender is ListViewItem item && item.IsSelected)
|
if (sender is ListViewItem item && item.IsSelected)
|
||||||
{
|
{
|
||||||
var editWindow = new BooksEdit(item.DataContext as Models.Book)
|
var editWindow = new BooksEdit(item.DataContext as Models.Book)
|
||||||
{
|
{
|
||||||
Owner = this
|
Owner = this
|
||||||
};
|
};
|
||||||
editWindow.Show();
|
editWindow.Show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Search_Click(object sender, RoutedEventArgs e)
|
private void Search_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
LoadList();
|
LoadList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,82 +1,82 @@
|
|||||||
<Window x:Class="BuechermarktClient.BooksEdit"
|
<Window x:Class="BuechermarktClient.BooksEdit"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:BuechermarktClient"
|
xmlns:local="clr-namespace:BuechermarktClient"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Buch" Height="360" Width="300">
|
Title="Buch" Height="360" Width="300">
|
||||||
<Window.Resources>
|
<Window.Resources>
|
||||||
<local:StringConverter x:Key="StringConverter"/>
|
<local:StringConverter x:Key="StringConverter"/>
|
||||||
</Window.Resources>
|
</Window.Resources>
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
|
|
||||||
<StackPanel Grid.Column="0">
|
<StackPanel Grid.Column="0">
|
||||||
<Label Content="Buch LabelId" Margin="10,0"></Label>
|
<Label Content="Buch LabelId" Margin="10,0"></Label>
|
||||||
<TextBox Margin="10,0" Text="{Binding Path=LabelId, Mode=TwoWay}" IsEnabled="{Binding New}"></TextBox>
|
<TextBox Margin="10,0" Text="{Binding Path=LabelId, Mode=TwoWay}" IsEnabled="{Binding New}"></TextBox>
|
||||||
<Label Content="Buch Typ:" Margin="10,0"></Label>
|
<Label Content="Buch Typ:" Margin="10,0"></Label>
|
||||||
<Grid Margin="10,0">
|
<Grid Margin="10,0">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<TextBox Margin="0,0,5,0" Text="{Binding Path=BookTypeISBN, Mode=TwoWay}"></TextBox>
|
<TextBox Margin="0,0,5,0" Text="{Binding Path=BookTypeISBN, Mode=TwoWay}"></TextBox>
|
||||||
<Button Grid.Column="1" Width="20" Click="SelectBookType_Click" Content="S" Height="20" VerticalAlignment="Top"></Button>
|
<Button Grid.Column="1" Width="20" Click="SelectBookType_Click" Content="S" Height="20" VerticalAlignment="Top"></Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Label Content="Schüler LabelId:" Margin="10,0"></Label>
|
<Label Content="Schüler LabelId:" Margin="10,0"></Label>
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<TextBox Margin="10,0,5,0" Text="{Binding Path=StudentLabelId, Mode=TwoWay}"></TextBox>
|
<TextBox Margin="10,0,5,0" Text="{Binding Path=StudentLabelId, Mode=TwoWay}"></TextBox>
|
||||||
<Button Grid.Column="1" Width="20" Margin="0,0,10,0" Click="SelectStudent_Click" Content="S"/>
|
<Button Grid.Column="1" Width="20" Margin="0,0,10,0" Click="SelectStudent_Click" Content="S"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Label Content="Preis:" Margin="10,0"></Label>
|
<Label Content="Preis:" Margin="10,0"></Label>
|
||||||
<TextBox Margin="10,0" Text="{Binding Path=Price, Mode=TwoWay, Converter={StaticResource StringConverter}}"></TextBox>
|
<TextBox Margin="10,0" Text="{Binding Path=Price, Mode=TwoWay, Converter={StaticResource StringConverter}}"></TextBox>
|
||||||
<Label Content="Status:" Margin="10,0"></Label>
|
<Label Content="Status:" Margin="10,0"></Label>
|
||||||
<ComboBox Margin="10,0" SelectedItem="{Binding Path=ComboState, Mode=TwoWay}" SelectedValue="{Binding Name}" Name="StateComboBox" DisplayMemberPath="Name"></ComboBox>
|
<ComboBox Margin="10,0" SelectedItem="{Binding Path=ComboState, Mode=TwoWay}" SelectedValue="{Binding Name}" Name="StateComboBox" DisplayMemberPath="Name"></ComboBox>
|
||||||
<Grid Margin="10,10,10,0">
|
<Grid Margin="10,10,10,0">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Button Grid.Column="0" Content="Speichern" Click="Save_Click" Margin="0,0,5,0"></Button>
|
<Button Grid.Column="0" Content="Speichern" Click="Save_Click" Margin="0,0,5,0"></Button>
|
||||||
<Button Grid.Column="1" Content="Löschen" Click="Delete_Click" Margin="5,0,0,0"></Button>
|
<Button Grid.Column="1" Content="Löschen" Click="Delete_Click" Margin="5,0,0,0"></Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel Grid.Column="1">
|
<StackPanel Grid.Column="1">
|
||||||
<GroupBox Header="Buch Typ" VerticalAlignment="Top">
|
<GroupBox Header="Buch Typ" VerticalAlignment="Top">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<Label Content="Name:" Margin="10,0"/>
|
<Label Content="Name:" Margin="10,0"/>
|
||||||
<TextBox Text="{Binding Path=BookType.Name, Mode=OneWay}" Margin="10,0" IsEnabled="False"></TextBox>
|
<TextBox Text="{Binding Path=BookType.Name, Mode=OneWay}" Margin="10,0" IsEnabled="False"></TextBox>
|
||||||
<Label Content="ISBN:" Margin="10,0"></Label>
|
<Label Content="ISBN:" Margin="10,0"></Label>
|
||||||
<TextBox Text="{Binding Path=BookType.ISBN, Mode=OneWay}" Margin="10,0" IsEnabled="False"></TextBox>
|
<TextBox Text="{Binding Path=BookType.ISBN, Mode=OneWay}" Margin="10,0" IsEnabled="False"></TextBox>
|
||||||
<Button Content="Details" Margin="10,10,10,0" Click="BookTypeDetails_Click"></Button>
|
<Button Content="Details" Margin="10,10,10,0" Click="BookTypeDetails_Click"></Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</GroupBox>
|
</GroupBox>
|
||||||
<GroupBox Header="Schüler" VerticalAlignment="Top">
|
<GroupBox Header="Schüler" VerticalAlignment="Top">
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<Label Content="Name:" Margin="10,0"/>
|
<Label Content="Name:" Margin="10,0"/>
|
||||||
<TextBox Margin="10,0" IsEnabled="False">
|
<TextBox Margin="10,0" IsEnabled="False">
|
||||||
<TextBox.Text>
|
<TextBox.Text>
|
||||||
<MultiBinding StringFormat="{}{0}, {1}">
|
<MultiBinding StringFormat="{}{0}, {1}">
|
||||||
<Binding Path="Student.Lastname"></Binding>
|
<Binding Path="Student.Lastname"></Binding>
|
||||||
<Binding Path="Student.Forname"></Binding>
|
<Binding Path="Student.Forname"></Binding>
|
||||||
</MultiBinding>
|
</MultiBinding>
|
||||||
</TextBox.Text>
|
</TextBox.Text>
|
||||||
</TextBox>
|
</TextBox>
|
||||||
<Label Content="Klasse:" Margin="10,0"></Label>
|
<Label Content="Klasse:" Margin="10,0"></Label>
|
||||||
<TextBox Text="{Binding Path=Student.Form, Mode=OneWay}" Margin="10,0" IsEnabled="False"></TextBox>
|
<TextBox Text="{Binding Path=Student.Form, Mode=OneWay}" Margin="10,0" IsEnabled="False"></TextBox>
|
||||||
<Label Content="E-Mail:" Margin="10,0"></Label>
|
<Label Content="E-Mail:" Margin="10,0"></Label>
|
||||||
<TextBox Text="{Binding Path=Student.EMail, Mode=OneWay}" Margin="10,0" IsEnabled="False"></TextBox>
|
<TextBox Text="{Binding Path=Student.EMail, Mode=OneWay}" Margin="10,0" IsEnabled="False"></TextBox>
|
||||||
<Button Content="Details" Margin="10,10,10,0" Click="StudentDetails_Click"></Button>
|
<Button Content="Details" Margin="10,10,10,0" Click="StudentDetails_Click"></Button>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</GroupBox>
|
</GroupBox>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -1,350 +1,350 @@
|
|||||||
using BuechermarktClient.Models;
|
using BuechermarktClient.Models;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using MongoDB.Driver;
|
using MongoDB.Driver;
|
||||||
using MongoDB.Bson;
|
using MongoDB.Bson;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
[ValueConversion(typeof(object), typeof(string))]
|
[ValueConversion(typeof(object), typeof(string))]
|
||||||
public class StringConverter : IValueConverter
|
public class StringConverter : IValueConverter
|
||||||
{
|
{
|
||||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
if((double)value == 0)
|
if((double)value == 0)
|
||||||
{
|
{
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
return value?.ToString();
|
return value?.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||||
{
|
{
|
||||||
var style = NumberStyles.AllowDecimalPoint;
|
var style = NumberStyles.AllowDecimalPoint;
|
||||||
var c = CultureInfo.CreateSpecificCulture("de-DE");
|
var c = CultureInfo.CreateSpecificCulture("de-DE");
|
||||||
if (value == null) return null;
|
if (value == null) return null;
|
||||||
if ((string)value == "") return 0;
|
if ((string)value == "") return 0;
|
||||||
if (!double.TryParse((string)value, style, c, out double outD)) return null;
|
if (!double.TryParse((string)value, style, c, out double outD)) return null;
|
||||||
return outD;
|
return outD;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaktionslogik für BookEdit.xaml
|
/// Interaktionslogik für BookEdit.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BooksEdit : Window, INotifyPropertyChanged
|
public partial class BooksEdit : Window, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
private bool New = false;
|
private bool New = false;
|
||||||
private Book Book = null;
|
private Book Book = null;
|
||||||
|
|
||||||
public string LabelId
|
public string LabelId
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Book.LabelId;
|
return Book.LabelId;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if(value != Book.LabelId)
|
if(value != Book.LabelId)
|
||||||
{
|
{
|
||||||
Book.LabelId = value;
|
Book.LabelId = value;
|
||||||
OnPropertyChanged("LabelId");
|
OnPropertyChanged("LabelId");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public Student Student
|
public Student Student
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return MainWindow.StudentCollection.Find(s => s.ID == Book.Student).FirstOrDefault();
|
return MainWindow.StudentCollection.Find(s => s.ID == Book.Student).FirstOrDefault();
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value != null && value.ID != Book.Student)
|
if (value != null && value.ID != Book.Student)
|
||||||
{
|
{
|
||||||
Book.Student = value.ID;
|
Book.Student = value.ID;
|
||||||
OnPropertyChanged("Student");
|
OnPropertyChanged("Student");
|
||||||
} else if(value == null)
|
} else if(value == null)
|
||||||
{
|
{
|
||||||
Book.Student = new MongoDB.Bson.ObjectId();
|
Book.Student = new MongoDB.Bson.ObjectId();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string StudentLabelId
|
public string StudentLabelId
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Student?.LabelId;
|
return Student?.LabelId;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
var st = Student;
|
var st = Student;
|
||||||
if (st == null || value != st.LabelId)
|
if (st == null || value != st.LabelId)
|
||||||
{
|
{
|
||||||
var f = true;
|
var f = true;
|
||||||
while (f)
|
while (f)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Student = MainWindow.StudentCollection.Find(s => s.LabelId.Equals(value)).FirstOrDefault();
|
Student = MainWindow.StudentCollection.Find(s => s.LabelId.Equals(value)).FirstOrDefault();
|
||||||
f = false;
|
f = false;
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
OnPropertyChanged("StudentLabelId");
|
OnPropertyChanged("StudentLabelId");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class ComboS
|
public class ComboS
|
||||||
{
|
{
|
||||||
public ComboS(string name,BookState state)
|
public ComboS(string name,BookState state)
|
||||||
{
|
{
|
||||||
Name = name;
|
Name = name;
|
||||||
Sate = state;
|
Sate = state;
|
||||||
}
|
}
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public BookState Sate { get; set; }
|
public BookState Sate { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<ComboS> StatesList;
|
public List<ComboS> StatesList;
|
||||||
|
|
||||||
public ComboS ComboState
|
public ComboS ComboState
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return StatesList.FirstOrDefault(s => s.Sate == Book.State);
|
return StatesList.FirstOrDefault(s => s.Sate == Book.State);
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if(value.Sate != Book.State)
|
if(value.Sate != Book.State)
|
||||||
{
|
{
|
||||||
Book.State = value.Sate;
|
Book.State = value.Sate;
|
||||||
OnPropertyChanged("ComboState");
|
OnPropertyChanged("ComboState");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public double Price
|
public double Price
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Book.Price;
|
return Book.Price;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if(value != Book.Price)
|
if(value != Book.Price)
|
||||||
{
|
{
|
||||||
Book.Price = value;
|
Book.Price = value;
|
||||||
OnPropertyChanged("Price");
|
OnPropertyChanged("Price");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public BookType BookType
|
public BookType BookType
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return MainWindow.BookTypeCollection.Find(b => b.ID == Book.BookType).FirstOrDefault();
|
return MainWindow.BookTypeCollection.Find(b => b.ID == Book.BookType).FirstOrDefault();
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value != null && value.ID != Book.BookType)
|
if (value != null && value.ID != Book.BookType)
|
||||||
{
|
{
|
||||||
Book.BookType = value.ID;
|
Book.BookType = value.ID;
|
||||||
OnPropertyChanged("BookType");
|
OnPropertyChanged("BookType");
|
||||||
}
|
}
|
||||||
else if (value == null)
|
else if (value == null)
|
||||||
{
|
{
|
||||||
Book.BookType = new ObjectId();
|
Book.BookType = new ObjectId();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string BookTypeISBN
|
public string BookTypeISBN
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return BookType?.ISBN;
|
return BookType?.ISBN;
|
||||||
|
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
var bt = BookType;
|
var bt = BookType;
|
||||||
if(bt == null || value != bt.ISBN)
|
if(bt == null || value != bt.ISBN)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
BookType = MainWindow.BookTypeCollection.Find(b => b.ISBN == value).FirstOrDefault();
|
BookType = MainWindow.BookTypeCollection.Find(b => b.ISBN == value).FirstOrDefault();
|
||||||
//ToDO Fehler wenn buch nicht vorhanden
|
//ToDO Fehler wenn buch nicht vorhanden
|
||||||
OnPropertyChanged("BookTypeISBN");
|
OnPropertyChanged("BookTypeISBN");
|
||||||
return;
|
return;
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
protected void OnPropertyChanged(string propertyName)
|
protected void OnPropertyChanged(string propertyName)
|
||||||
{
|
{
|
||||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||||
}
|
}
|
||||||
|
|
||||||
public BooksEdit(Book book)
|
public BooksEdit(Book book)
|
||||||
{
|
{
|
||||||
StatesList = new List<ComboS>
|
StatesList = new List<ComboS>
|
||||||
{
|
{
|
||||||
new ComboS("Im Lager", BookState.InStock),
|
new ComboS("Im Lager", BookState.InStock),
|
||||||
new ComboS("Verkauft", BookState.Selled),
|
new ComboS("Verkauft", BookState.Selled),
|
||||||
new ComboS("Verloren", BookState.Missing),
|
new ComboS("Verloren", BookState.Missing),
|
||||||
new ComboS("Zurück an den Schüler", BookState.BackToStudent)
|
new ComboS("Zurück an den Schüler", BookState.BackToStudent)
|
||||||
};
|
};
|
||||||
DataContext = this;
|
DataContext = this;
|
||||||
if (book == null)
|
if (book == null)
|
||||||
{
|
{
|
||||||
Book = new Book();
|
Book = new Book();
|
||||||
New = true;
|
New = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Book = book;
|
Book = book;
|
||||||
}
|
}
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
StateComboBox.ItemsSource = StatesList;
|
StateComboBox.ItemsSource = StatesList;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Save_Click(object sender, RoutedEventArgs e)
|
private void Save_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (New)
|
if (New)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
MainWindow.BookCollection.InsertOne(Book);
|
MainWindow.BookCollection.InsertOne(Book);
|
||||||
//var oldStudent = Student;
|
//var oldStudent = Student;
|
||||||
var oldIsbn = BookTypeISBN;
|
var oldIsbn = BookTypeISBN;
|
||||||
Book = new Book();
|
Book = new Book();
|
||||||
BookTypeISBN = oldIsbn;
|
BookTypeISBN = oldIsbn;
|
||||||
//Student = oldStudent;
|
//Student = oldStudent;
|
||||||
Book.State = BookState.InStock;
|
Book.State = BookState.InStock;
|
||||||
OnPropertyChanged(string.Empty);
|
OnPropertyChanged(string.Empty);
|
||||||
return;
|
return;
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
MainWindow.BookCollection.FindOneAndUpdate(b => b.ID == Book.ID, Builders<Book>.Update
|
MainWindow.BookCollection.FindOneAndUpdate(b => b.ID == Book.ID, Builders<Book>.Update
|
||||||
.Set(b => b.Student, Book.Student)
|
.Set(b => b.Student, Book.Student)
|
||||||
.Set(b => b.BookType, Book.BookType)
|
.Set(b => b.BookType, Book.BookType)
|
||||||
.Set(b => b.Price, Book.Price)
|
.Set(b => b.Price, Book.Price)
|
||||||
.Set(b => b.State, Book.State)
|
.Set(b => b.State, Book.State)
|
||||||
.Set(b => b.LabelId, Book.LabelId));
|
.Set(b => b.LabelId, Book.LabelId));
|
||||||
Close();
|
Close();
|
||||||
return;
|
return;
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Delete_Click(object sender, RoutedEventArgs e)
|
private void Delete_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (Book != null && Book.ID != null)
|
if (Book != null && Book.ID != null)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
MainWindow.StudentCollection.DeleteOne(bt => bt.ID == Book.ID);
|
MainWindow.StudentCollection.DeleteOne(bt => bt.ID == Book.ID);
|
||||||
Close();
|
Close();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
catch (MongoExecutionTimeoutException)
|
catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SelectBookType_Click(object sender, RoutedEventArgs e)
|
private void SelectBookType_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var btd = new BookTypes(true);
|
var btd = new BookTypes(true);
|
||||||
btd.ShowDialog();
|
btd.ShowDialog();
|
||||||
if (btd.DialogResult == true)
|
if (btd.DialogResult == true)
|
||||||
{
|
{
|
||||||
BookTypeISBN = btd.SelectedItem.ISBN;
|
BookTypeISBN = btd.SelectedItem.ISBN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BookTypeDetails_Click(object sender, RoutedEventArgs e)
|
private void BookTypeDetails_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var bte = new BookTypesEdit(BookType);
|
var bte = new BookTypesEdit(BookType);
|
||||||
bte.ShowDialog();
|
bte.ShowDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void StudentDetails_Click(object sender, RoutedEventArgs e)
|
private void StudentDetails_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var se = new StudentsEdit(Student);
|
var se = new StudentsEdit(Student);
|
||||||
se.ShowDialog();
|
se.ShowDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SelectStudent_Click(object sender, RoutedEventArgs e)
|
private void SelectStudent_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var sd = new Students(true);
|
var sd = new Students(true);
|
||||||
sd.ShowDialog();
|
sd.ShowDialog();
|
||||||
if (sd.DialogResult == true)
|
if (sd.DialogResult == true)
|
||||||
{
|
{
|
||||||
StudentLabelId = sd.SelectedItem.LabelId;
|
StudentLabelId = sd.SelectedItem.LabelId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,175 +1,175 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProjectGuid>{4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}</ProjectGuid>
|
<ProjectGuid>{4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<RootNamespace>BuechermarktClient</RootNamespace>
|
<RootNamespace>BuechermarktClient</RootNamespace>
|
||||||
<AssemblyName>BuechermarktClient</AssemblyName>
|
<AssemblyName>BuechermarktClient</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="MongoDB.Bson, Version=2.4.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<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>
|
<HintPath>..\packages\MongoDB.Bson.2.4.4\lib\net45\MongoDB.Bson.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="MongoDB.Driver, Version=2.4.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<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>
|
<HintPath>..\packages\MongoDB.Driver.2.4.4\lib\net45\MongoDB.Driver.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="MongoDB.Driver.Core, Version=2.4.4.0, Culture=neutral, processorArchitecture=MSIL">
|
<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>
|
<HintPath>..\packages\MongoDB.Driver.Core.2.4.4\lib\net45\MongoDB.Driver.Core.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.IO.Compression.FileSystem" />
|
<Reference Include="System.IO.Compression.FileSystem" />
|
||||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
|
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="System.Net.Http" />
|
<Reference Include="System.Net.Http" />
|
||||||
<Reference Include="System.Xaml">
|
<Reference Include="System.Xaml">
|
||||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="WindowsBase" />
|
<Reference Include="WindowsBase" />
|
||||||
<Reference Include="PresentationCore" />
|
<Reference Include="PresentationCore" />
|
||||||
<Reference Include="PresentationFramework" />
|
<Reference Include="PresentationFramework" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ApplicationDefinition Include="App.xaml">
|
<ApplicationDefinition Include="App.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</ApplicationDefinition>
|
</ApplicationDefinition>
|
||||||
<Page Include="Books.xaml">
|
<Page Include="Books.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="BooksEdit.xaml">
|
<Page Include="BooksEdit.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="BookTypes.xaml">
|
<Page Include="BookTypes.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="GetConnection.xaml">
|
<Page Include="GetConnection.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Sell.xaml">
|
<Page Include="Sell.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="Students.xaml">
|
<Page Include="Students.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="StudentsEdit.xaml">
|
<Page Include="StudentsEdit.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="BookTypesEdit.xaml">
|
<Page Include="BookTypesEdit.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="MainWindow.xaml">
|
<Page Include="MainWindow.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
<Compile Include="App.xaml.cs">
|
<Compile Include="App.xaml.cs">
|
||||||
<DependentUpon>App.xaml</DependentUpon>
|
<DependentUpon>App.xaml</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Backup.cs" />
|
<Compile Include="Backup.cs" />
|
||||||
<Compile Include="Books.xaml.cs">
|
<Compile Include="Books.xaml.cs">
|
||||||
<DependentUpon>Books.xaml</DependentUpon>
|
<DependentUpon>Books.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="BooksEdit.xaml.cs">
|
<Compile Include="BooksEdit.xaml.cs">
|
||||||
<DependentUpon>BooksEdit.xaml</DependentUpon>
|
<DependentUpon>BooksEdit.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="BookTypes.xaml.cs">
|
<Compile Include="BookTypes.xaml.cs">
|
||||||
<DependentUpon>BookTypes.xaml</DependentUpon>
|
<DependentUpon>BookTypes.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="GetConnection.xaml.cs">
|
<Compile Include="GetConnection.xaml.cs">
|
||||||
<DependentUpon>GetConnection.xaml</DependentUpon>
|
<DependentUpon>GetConnection.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Sell.xaml.cs">
|
<Compile Include="Sell.xaml.cs">
|
||||||
<DependentUpon>Sell.xaml</DependentUpon>
|
<DependentUpon>Sell.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="SigningService.cs" />
|
<Compile Include="SigningService.cs" />
|
||||||
<Compile Include="Students.xaml.cs">
|
<Compile Include="Students.xaml.cs">
|
||||||
<DependentUpon>Students.xaml</DependentUpon>
|
<DependentUpon>Students.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="StudentsEdit.xaml.cs">
|
<Compile Include="StudentsEdit.xaml.cs">
|
||||||
<DependentUpon>StudentsEdit.xaml</DependentUpon>
|
<DependentUpon>StudentsEdit.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="BookTypesEdit.xaml.cs">
|
<Compile Include="BookTypesEdit.xaml.cs">
|
||||||
<DependentUpon>BookTypesEdit.xaml</DependentUpon>
|
<DependentUpon>BookTypesEdit.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="MainWindow.xaml.cs">
|
<Compile Include="MainWindow.xaml.cs">
|
||||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Models\Book.cs" />
|
<Compile Include="Models\Book.cs" />
|
||||||
<Compile Include="Models\BookType.cs" />
|
<Compile Include="Models\BookType.cs" />
|
||||||
<Compile Include="Models\Student.cs" />
|
<Compile Include="Models\Student.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs">
|
<Compile Include="Properties\AssemblyInfo.cs">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Properties\Resources.Designer.cs">
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
<DependentUpon>Resources.resx</DependentUpon>
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Properties\Settings.Designer.cs">
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DependentUpon>Settings.settings</DependentUpon>
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
</Compile>
|
</Compile>
|
||||||
<EmbeddedResource Include="Properties\Resources.resx">
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
<None Include="Properties\Settings.settings">
|
<None Include="Properties\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
</Project>
|
</Project>
|
@ -1,12 +1,12 @@
|
|||||||
<Window x:Class="BuechermarktClient.GetConnection"
|
<Window x:Class="BuechermarktClient.GetConnection"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:BuechermarktClient"
|
xmlns:local="clr-namespace:BuechermarktClient"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="GetConnection" Height="150" Width="600">
|
Title="GetConnection" Height="150" Width="600">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Label Margin="5,5,0,0" Content="Waiting for Server" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="72"/>
|
<Label Margin="5,5,0,0" Content="Waiting for Server" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="72"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -1,64 +1,64 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaktionslogik für GetConnection.xaml
|
/// Interaktionslogik für GetConnection.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class GetConnection : Window
|
public partial class GetConnection : Window
|
||||||
{
|
{
|
||||||
public const string ServerIdentifier = "BUECHERMARKTCLIENT00018946";
|
public const string ServerIdentifier = "BUECHERMARKTCLIENT00018946";
|
||||||
|
|
||||||
public GetConnection()
|
public GetConnection()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
Loaded += (sender, e) =>
|
Loaded += (sender, e) =>
|
||||||
{
|
{
|
||||||
ListenForServer();
|
ListenForServer();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private UdpClient UdpClient;
|
private UdpClient UdpClient;
|
||||||
|
|
||||||
public void ListenForServer()
|
public void ListenForServer()
|
||||||
{
|
{
|
||||||
UdpClient = new UdpClient(3000);
|
UdpClient = new UdpClient(3000);
|
||||||
UdpClient.BeginReceive(Recevie, new object());
|
UdpClient.BeginReceive(Recevie, new object());
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Recevie(IAsyncResult ar)
|
public void Recevie(IAsyncResult ar)
|
||||||
{
|
{
|
||||||
var ip = new IPEndPoint(IPAddress.Any, 15000);
|
var ip = new IPEndPoint(IPAddress.Any, 15000);
|
||||||
var bytes = UdpClient.EndReceive(ar, ref ip);
|
var bytes = UdpClient.EndReceive(ar, ref ip);
|
||||||
string message = Encoding.ASCII.GetString(bytes);
|
string message = Encoding.ASCII.GetString(bytes);
|
||||||
if(message == ServerIdentifier)
|
if(message == ServerIdentifier)
|
||||||
{
|
{
|
||||||
MainWindow.MongoHost = ip.Address.ToString();
|
MainWindow.MongoHost = ip.Address.ToString();
|
||||||
Dispatcher.BeginInvoke(new Action(delegate () {
|
Dispatcher.BeginInvoke(new Action(delegate () {
|
||||||
Close();
|
Close();
|
||||||
}));
|
}));
|
||||||
//Success
|
//Success
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
//Retry
|
//Retry
|
||||||
ListenForServer();
|
ListenForServer();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,21 +1,21 @@
|
|||||||
<Window x:Class="BuechermarktClient.MainWindow"
|
<Window x:Class="BuechermarktClient.MainWindow"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:BuechermarktClient"
|
xmlns:local="clr-namespace:BuechermarktClient"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Buechermarkt" Height="350" Width="525" Loaded="Window_Loaded">
|
Title="Buechermarkt" Height="350" Width="525" Loaded="Window_Loaded">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Button Grid.Column="0" Content="Buchtypen" HorizontalAlignment="Left" Height="75" Margin="10,10,0,0" VerticalAlignment="Top" Width="100" Click="BookTypes_Click"/>
|
<Button Grid.Column="0" Content="Buchtypen" HorizontalAlignment="Left" Height="75" Margin="10,10,0,0" VerticalAlignment="Top" Width="100" Click="BookTypes_Click"/>
|
||||||
<Button Grid.Column="1" Content="Schüler" HorizontalAlignment="Left" Height="75" Margin="10,10,0,0" VerticalAlignment="Top" Width="100" Click="Students_Click"/>
|
<Button Grid.Column="1" Content="Schüler" HorizontalAlignment="Left" Height="75" Margin="10,10,0,0" VerticalAlignment="Top" Width="100" Click="Students_Click"/>
|
||||||
<Button Grid.Column="2" Content="Bücher" HorizontalAlignment="Left" Height="75" Margin="10,10,0,0" VerticalAlignment="Top" Width="100" Click="Books_Click"/>
|
<Button Grid.Column="2" Content="Bücher" HorizontalAlignment="Left" Height="75" Margin="10,10,0,0" VerticalAlignment="Top" Width="100" Click="Books_Click"/>
|
||||||
<Button Grid.Column="3" Content="Verkauf" HorizontalAlignment="Left" Height="75" Margin="10,10,0,0" VerticalAlignment="Top" Width="100" Click="Sell_Click"/>
|
<Button Grid.Column="3" Content="Verkauf" HorizontalAlignment="Left" Height="75" Margin="10,10,0,0" VerticalAlignment="Top" Width="100" Click="Sell_Click"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -1,194 +1,194 @@
|
|||||||
using BuechermarktClient.Models;
|
using BuechermarktClient.Models;
|
||||||
using MongoDB.Driver;
|
using MongoDB.Driver;
|
||||||
using MongoDB.Driver.Core.Clusters;
|
using MongoDB.Driver.Core.Clusters;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaktionslogik für MainWindow.xaml
|
/// Interaktionslogik für MainWindow.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class MainWindow : Window
|
public partial class MainWindow : Window
|
||||||
{
|
{
|
||||||
public static MongoClient Mongo;
|
public static MongoClient Mongo;
|
||||||
public const string DatabaseName = "buechermarkt";
|
public const string DatabaseName = "buechermarkt";
|
||||||
public static string MongoHost = "localhost";
|
public static string MongoHost = "localhost";
|
||||||
public static IMongoCollection<BookType> BookTypeCollection
|
public static IMongoCollection<BookType> BookTypeCollection
|
||||||
{
|
{
|
||||||
get {
|
get {
|
||||||
var database = Mongo.GetDatabase(DatabaseName);
|
var database = Mongo.GetDatabase(DatabaseName);
|
||||||
return database.GetCollection<BookType>("booktypes");
|
return database.GetCollection<BookType>("booktypes");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static IMongoCollection<Book> BookCollection
|
public static IMongoCollection<Book> BookCollection
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
var database = Mongo.GetDatabase(DatabaseName);
|
var database = Mongo.GetDatabase(DatabaseName);
|
||||||
return database.GetCollection<Book>("books");
|
return database.GetCollection<Book>("books");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static IMongoCollection<Student> StudentCollection
|
public static IMongoCollection<Student> StudentCollection
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
var database = Mongo.GetDatabase(DatabaseName);
|
var database = Mongo.GetDatabase(DatabaseName);
|
||||||
return database.GetCollection<Student>("students");
|
return database.GetCollection<Student>("students");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public BookTypes BookTypesWindow = null;
|
public BookTypes BookTypesWindow = null;
|
||||||
public Students StudentsWindow = null;
|
public Students StudentsWindow = null;
|
||||||
public Books BooksWindow = null;
|
public Books BooksWindow = null;
|
||||||
public Sell SellWindow = null;
|
public Sell SellWindow = null;
|
||||||
|
|
||||||
public MainWindow()
|
public MainWindow()
|
||||||
{
|
{
|
||||||
var s = new GetConnection();
|
var s = new GetConnection();
|
||||||
s.ShowDialog();
|
s.ShowDialog();
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
OnConnectionEstablised();
|
OnConnectionEstablised();
|
||||||
//ToDo get server informations
|
//ToDo get server informations
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnConnectionEstablised()
|
public void OnConnectionEstablised()
|
||||||
{
|
{
|
||||||
Mongo = new MongoClient("mongodb://" + MongoHost + ":27017");
|
Mongo = new MongoClient("mongodb://" + MongoHost + ":27017");
|
||||||
var t = new Thread(BackupService);
|
var t = new Thread(BackupService);
|
||||||
t.Start();
|
t.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BackupService()
|
private void BackupService()
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
Backup.MakeBackup();
|
Backup.MakeBackup();
|
||||||
Thread.Sleep(120000);
|
Thread.Sleep(120000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BookTypes_Click(object sender, RoutedEventArgs e)
|
private void BookTypes_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if(BookTypesWindow == null)
|
if(BookTypesWindow == null)
|
||||||
{
|
{
|
||||||
BookTypesWindow = new BookTypes()
|
BookTypesWindow = new BookTypes()
|
||||||
{
|
{
|
||||||
Owner = this
|
Owner = this
|
||||||
};
|
};
|
||||||
BookTypesWindow.Show();
|
BookTypesWindow.Show();
|
||||||
BookTypesWindow.Closed += BookTypesWindow_Closed;
|
BookTypesWindow.Closed += BookTypesWindow_Closed;
|
||||||
} else {
|
} else {
|
||||||
BringWindowOnTop(BookTypesWindow);
|
BringWindowOnTop(BookTypesWindow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BookTypesWindow_Closed(object sender, EventArgs e)
|
private void BookTypesWindow_Closed(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
BookTypesWindow = null;
|
BookTypesWindow = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BringWindowOnTop(Window window)
|
private void BringWindowOnTop(Window window)
|
||||||
{
|
{
|
||||||
if (!window.IsVisible)
|
if (!window.IsVisible)
|
||||||
{
|
{
|
||||||
window.Show();
|
window.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.WindowState == WindowState.Minimized)
|
if (window.WindowState == WindowState.Minimized)
|
||||||
{
|
{
|
||||||
window.WindowState = WindowState.Normal;
|
window.WindowState = WindowState.Normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
window.Activate();
|
window.Activate();
|
||||||
window.Topmost = true; // important
|
window.Topmost = true; // important
|
||||||
window.Topmost = false; // important
|
window.Topmost = false; // important
|
||||||
window.Focus(); // important
|
window.Focus(); // important
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Students_Click(object sender, RoutedEventArgs e)
|
private void Students_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (StudentsWindow == null)
|
if (StudentsWindow == null)
|
||||||
{
|
{
|
||||||
StudentsWindow = new Students()
|
StudentsWindow = new Students()
|
||||||
{
|
{
|
||||||
Owner = this
|
Owner = this
|
||||||
};
|
};
|
||||||
StudentsWindow.Show();
|
StudentsWindow.Show();
|
||||||
StudentsWindow.Closed += StudentsWindow_Closed;
|
StudentsWindow.Closed += StudentsWindow_Closed;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
BringWindowOnTop(StudentsWindow);
|
BringWindowOnTop(StudentsWindow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void StudentsWindow_Closed(object sender, EventArgs e)
|
private void StudentsWindow_Closed(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
StudentsWindow = null;
|
StudentsWindow = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Books_Click(object sender, RoutedEventArgs e)
|
private void Books_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (BooksWindow == null)
|
if (BooksWindow == null)
|
||||||
{
|
{
|
||||||
BooksWindow = new Books()
|
BooksWindow = new Books()
|
||||||
{
|
{
|
||||||
Owner = this
|
Owner = this
|
||||||
};
|
};
|
||||||
BooksWindow.Show();
|
BooksWindow.Show();
|
||||||
BooksWindow.Closed += BooksWindow_Closes;
|
BooksWindow.Closed += BooksWindow_Closes;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
BringWindowOnTop(BooksWindow);
|
BringWindowOnTop(BooksWindow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void BooksWindow_Closes(object sender, EventArgs e)
|
private void BooksWindow_Closes(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
BooksWindow = null;
|
BooksWindow = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Sell_Click(object sender, RoutedEventArgs e)
|
private void Sell_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (SellWindow == null)
|
if (SellWindow == null)
|
||||||
{
|
{
|
||||||
SellWindow = new Sell()
|
SellWindow = new Sell()
|
||||||
{
|
{
|
||||||
Owner = this
|
Owner = this
|
||||||
};
|
};
|
||||||
SellWindow.Show();
|
SellWindow.Show();
|
||||||
SellWindow.Closed += SellWindow_Closes;
|
SellWindow.Closed += SellWindow_Closes;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
BringWindowOnTop(SellWindow);
|
BringWindowOnTop(SellWindow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SellWindow_Closes(object sender, EventArgs e)
|
private void SellWindow_Closes(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
SellWindow = null;
|
SellWindow = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,35 +1,35 @@
|
|||||||
using MongoDB.Bson.Serialization.Attributes;
|
using MongoDB.Bson.Serialization.Attributes;
|
||||||
using MongoDB.Bson;
|
using MongoDB.Bson;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace BuechermarktClient.Models
|
namespace BuechermarktClient.Models
|
||||||
{
|
{
|
||||||
public class Book
|
public class Book
|
||||||
{
|
{
|
||||||
[BsonId]
|
[BsonId]
|
||||||
public ObjectId ID { get; set; }
|
public ObjectId ID { get; set; }
|
||||||
|
|
||||||
[BsonElement("student")]
|
[BsonElement("student")]
|
||||||
public ObjectId Student { get; set; }
|
public ObjectId Student { get; set; }
|
||||||
|
|
||||||
[BsonElement("book_type")]
|
[BsonElement("book_type")]
|
||||||
public ObjectId BookType { get; set; }
|
public ObjectId BookType { get; set; }
|
||||||
|
|
||||||
[BsonElement("price")]
|
[BsonElement("price")]
|
||||||
public double Price { get; set; }
|
public double Price { get; set; }
|
||||||
|
|
||||||
[BsonElement("state")]
|
[BsonElement("state")]
|
||||||
public BookState State { get; set; }
|
public BookState State { get; set; }
|
||||||
|
|
||||||
[BsonElement("label_id")]
|
[BsonElement("label_id")]
|
||||||
public string LabelId { get; set; }
|
public string LabelId { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum BookState
|
public enum BookState
|
||||||
{
|
{
|
||||||
InStock,
|
InStock,
|
||||||
Selled,
|
Selled,
|
||||||
BackToStudent,
|
BackToStudent,
|
||||||
Missing
|
Missing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
using MongoDB.Bson.Serialization.Attributes;
|
using MongoDB.Bson.Serialization.Attributes;
|
||||||
using MongoDB.Bson;
|
using MongoDB.Bson;
|
||||||
|
|
||||||
namespace BuechermarktClient.Models
|
namespace BuechermarktClient.Models
|
||||||
{
|
{
|
||||||
|
|
||||||
public class BookType
|
public class BookType
|
||||||
{
|
{
|
||||||
[BsonId]
|
[BsonId]
|
||||||
public ObjectId ID { get; set; }
|
public ObjectId ID { get; set; }
|
||||||
|
|
||||||
[BsonElement("name")]
|
[BsonElement("name")]
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
|
|
||||||
[BsonElement("isbn")]
|
[BsonElement("isbn")]
|
||||||
public string ISBN { get; set; }
|
public string ISBN { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,30 +1,30 @@
|
|||||||
using MongoDB.Bson.Serialization.Attributes;
|
using MongoDB.Bson.Serialization.Attributes;
|
||||||
using MongoDB.Bson;
|
using MongoDB.Bson;
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace BuechermarktClient.Models
|
namespace BuechermarktClient.Models
|
||||||
{
|
{
|
||||||
public class Student
|
public class Student
|
||||||
{
|
{
|
||||||
[BsonId]
|
[BsonId]
|
||||||
public ObjectId ID { get; set; }
|
public ObjectId ID { get; set; }
|
||||||
|
|
||||||
[BsonElement("forname")]
|
[BsonElement("forname")]
|
||||||
public string Forname { get; set; }
|
public string Forname { get; set; }
|
||||||
|
|
||||||
[BsonElement("lastname")]
|
[BsonElement("lastname")]
|
||||||
public string Lastname { get; set; }
|
public string Lastname { get; set; }
|
||||||
|
|
||||||
[BsonElement("email")]
|
[BsonElement("email")]
|
||||||
public string EMail { get; set; }
|
public string EMail { get; set; }
|
||||||
|
|
||||||
[BsonElement("phone_number")]
|
[BsonElement("phone_number")]
|
||||||
public string PhoneNumber { get; set; }
|
public string PhoneNumber { get; set; }
|
||||||
|
|
||||||
[BsonElement("label_id")]
|
[BsonElement("label_id")]
|
||||||
public string LabelId { get; set; }
|
public string LabelId { get; set; }
|
||||||
|
|
||||||
[BsonElement("form")]
|
[BsonElement("form")]
|
||||||
public string Form { get; set; }
|
public string Form { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,55 +1,55 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using System.Resources;
|
using System.Resources;
|
||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||||
// die einer Assembly zugeordnet sind.
|
// die einer Assembly zugeordnet sind.
|
||||||
[assembly: AssemblyTitle("BuechermarktClient")]
|
[assembly: AssemblyTitle("BuechermarktClient")]
|
||||||
[assembly: AssemblyDescription("")]
|
[assembly: AssemblyDescription("")]
|
||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("")]
|
[assembly: AssemblyCompany("")]
|
||||||
[assembly: AssemblyProduct("BuechermarktClient")]
|
[assembly: AssemblyProduct("BuechermarktClient")]
|
||||||
[assembly: AssemblyCopyright("Copyright © 2017")]
|
[assembly: AssemblyCopyright("Copyright © 2017")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
|
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
|
||||||
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
|
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
|
||||||
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||||
[assembly: ComVisible(false)]
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
//Um mit dem Erstellen lokalisierbarer Anwendungen zu beginnen, legen Sie
|
//Um mit dem Erstellen lokalisierbarer Anwendungen zu beginnen, legen Sie
|
||||||
//<UICulture>ImCodeVerwendeteKultur</UICulture> in der .csproj-Datei
|
//<UICulture>ImCodeVerwendeteKultur</UICulture> in der .csproj-Datei
|
||||||
//in einer <PropertyGroup> fest. Wenn Sie in den Quelldateien beispielsweise Deutsch
|
//in einer <PropertyGroup> fest. Wenn Sie in den Quelldateien beispielsweise Deutsch
|
||||||
//(Deutschland) verwenden, legen Sie <UICulture> auf \"de-DE\" fest. Heben Sie dann die Auskommentierung
|
//(Deutschland) verwenden, legen Sie <UICulture> auf \"de-DE\" fest. Heben Sie dann die Auskommentierung
|
||||||
//des nachstehenden NeutralResourceLanguage-Attributs auf. Aktualisieren Sie "en-US" in der nachstehenden Zeile,
|
//des nachstehenden NeutralResourceLanguage-Attributs auf. Aktualisieren Sie "en-US" in der nachstehenden Zeile,
|
||||||
//sodass es mit der UICulture-Einstellung in der Projektdatei übereinstimmt.
|
//sodass es mit der UICulture-Einstellung in der Projektdatei übereinstimmt.
|
||||||
|
|
||||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
||||||
|
|
||||||
|
|
||||||
[assembly: ThemeInfo(
|
[assembly: ThemeInfo(
|
||||||
ResourceDictionaryLocation.None, //Speicherort der designspezifischen Ressourcenwörterbücher
|
ResourceDictionaryLocation.None, //Speicherort der designspezifischen Ressourcenwörterbücher
|
||||||
//(wird verwendet, wenn eine Ressource auf der Seite nicht gefunden wird,
|
//(wird verwendet, wenn eine Ressource auf der Seite nicht gefunden wird,
|
||||||
// oder in den Anwendungsressourcen-Wörterbüchern nicht gefunden werden kann.)
|
// oder in den Anwendungsressourcen-Wörterbüchern nicht gefunden werden kann.)
|
||||||
ResourceDictionaryLocation.SourceAssembly //Speicherort des generischen Ressourcenwörterbuchs
|
ResourceDictionaryLocation.SourceAssembly //Speicherort des generischen Ressourcenwörterbuchs
|
||||||
//(wird verwendet, wenn eine Ressource auf der Seite nicht gefunden wird,
|
//(wird verwendet, wenn eine Ressource auf der Seite nicht gefunden wird,
|
||||||
// designspezifischen Ressourcenwörterbuch nicht gefunden werden kann.)
|
// designspezifischen Ressourcenwörterbuch nicht gefunden werden kann.)
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
|
||||||
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||||
//
|
//
|
||||||
// Hauptversion
|
// Hauptversion
|
||||||
// Nebenversion
|
// Nebenversion
|
||||||
// Buildnummer
|
// Buildnummer
|
||||||
// Revision
|
// Revision
|
||||||
//
|
//
|
||||||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||||
// übernehmen, indem Sie "*" eingeben:
|
// übernehmen, indem Sie "*" eingeben:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||||
|
142
BuechermarktClient/Properties/Resources.Designer.cs
generated
142
BuechermarktClient/Properties/Resources.Designer.cs
generated
@ -1,71 +1,71 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion: 4.0.30319.42000
|
// Laufzeitversion: 4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code neu generiert wird.
|
// der Code neu generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace BuechermarktClient.Properties
|
namespace BuechermarktClient.Properties
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
// Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
|
// Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
|
||||||
// über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
// über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
||||||
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
||||||
// mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
|
// mit der Option /str erneut aus, oder erstellen Sie Ihr VS-Projekt neu.
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
internal class Resources
|
internal class Resources
|
||||||
{
|
{
|
||||||
|
|
||||||
private static global::System.Resources.ResourceManager resourceMan;
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
internal Resources()
|
internal Resources()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Resources.ResourceManager ResourceManager
|
internal static global::System.Resources.ResourceManager ResourceManager
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ((resourceMan == null))
|
if ((resourceMan == null))
|
||||||
{
|
{
|
||||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BuechermarktClient.Properties.Resources", typeof(Resources).Assembly);
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BuechermarktClient.Properties.Resources", typeof(Resources).Assembly);
|
||||||
resourceMan = temp;
|
resourceMan = temp;
|
||||||
}
|
}
|
||||||
return resourceMan;
|
return resourceMan;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
||||||
/// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
|
/// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Globalization.CultureInfo Culture
|
internal static global::System.Globalization.CultureInfo Culture
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return resourceCulture;
|
return resourceCulture;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
resourceCulture = value;
|
resourceCulture = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,117 +1,117 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
Microsoft ResX Schema
|
||||||
|
|
||||||
Version 2.0
|
Version 2.0
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
The primary goals of this format is to allow a simple XML format
|
||||||
that is mostly human readable. The generation and parsing of the
|
that is mostly human readable. The generation and parsing of the
|
||||||
various data types are done through the TypeConverter classes
|
various data types are done through the TypeConverter classes
|
||||||
associated with the data types.
|
associated with the data types.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
<comment>This is a comment</comment>
|
<comment>This is a comment</comment>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
There are any number of "resheader" rows that contain simple
|
||||||
name/value pairs.
|
name/value pairs.
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
Each data row contains a name, and value. The row also contains a
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
text/value conversion through the TypeConverter architecture.
|
text/value conversion through the TypeConverter architecture.
|
||||||
Classes that don't support this are serialized and stored with the
|
Classes that don't support this are serialized and stored with the
|
||||||
mimetype set.
|
mimetype set.
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
The mimetype is used for serialized objects, and tells the
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
read any of the formats listed below.
|
read any of the formats listed below.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
value : The object must be serialized into a byte array
|
value : The object must be serialized into a byte array
|
||||||
: using a System.ComponentModel.TypeConverter
|
: using a System.ComponentModel.TypeConverter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
-->
|
-->
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:choice maxOccurs="unbounded">
|
<xsd:choice maxOccurs="unbounded">
|
||||||
<xsd:element name="metadata">
|
<xsd:element name="metadata">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="assembly">
|
<xsd:element name="assembly">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="data">
|
<xsd:element name="data">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="resheader">
|
<xsd:element name="resheader">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:choice>
|
</xsd:choice>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:schema>
|
</xsd:schema>
|
||||||
<resheader name="resmimetype">
|
<resheader name="resmimetype">
|
||||||
<value>text/microsoft-resx</value>
|
<value>text/microsoft-resx</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="version">
|
<resheader name="version">
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<resheader name="reader">
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
</root>
|
</root>
|
60
BuechermarktClient/Properties/Settings.Designer.cs
generated
60
BuechermarktClient/Properties/Settings.Designer.cs
generated
@ -1,30 +1,30 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
// Runtime Version:4.0.30319.42000
|
// Runtime Version:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace BuechermarktClient.Properties
|
namespace BuechermarktClient.Properties
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||||
{
|
{
|
||||||
|
|
||||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
public static Settings Default
|
public static Settings Default
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
||||||
<Profiles>
|
<Profiles>
|
||||||
<Profile Name="(Default)" />
|
<Profile Name="(Default)" />
|
||||||
</Profiles>
|
</Profiles>
|
||||||
<Settings />
|
<Settings />
|
||||||
</SettingsFile>
|
</SettingsFile>
|
@ -1,62 +1,62 @@
|
|||||||
<Window x:Class="BuechermarktClient.Sell"
|
<Window x:Class="BuechermarktClient.Sell"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:BuechermarktClient"
|
xmlns:local="clr-namespace:BuechermarktClient"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Sell" Height="300" Width="300">
|
Title="Sell" Height="300" Width="300">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto"></RowDefinition>
|
<RowDefinition Height="Auto"></RowDefinition>
|
||||||
<RowDefinition Height="*"></RowDefinition>
|
<RowDefinition Height="*"></RowDefinition>
|
||||||
<RowDefinition Height="Auto"></RowDefinition>
|
<RowDefinition Height="Auto"></RowDefinition>
|
||||||
<RowDefinition Height="Auto"></RowDefinition>
|
<RowDefinition Height="Auto"></RowDefinition>
|
||||||
<RowDefinition Height="Auto"></RowDefinition>
|
<RowDefinition Height="Auto"></RowDefinition>
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<Grid Grid.Row="0">
|
<Grid Grid.Row="0">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Label Content="Hinzufügen:" Grid.Column="0"></Label>
|
<Label Content="Hinzufügen:" Grid.Column="0"></Label>
|
||||||
<TextBox Grid.Column="1" Text="{Binding AddField, Mode=Default}" ForceCursor="True"></TextBox>
|
<TextBox Grid.Column="1" Text="{Binding AddField, Mode=Default}" ForceCursor="True"></TextBox>
|
||||||
<Button Content="A" Grid.Column="2" Width="25" Click="Add_Click"/>
|
<Button Content="A" Grid.Column="2" Width="25" Click="Add_Click"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<ListView Grid.Row="1" Name="BooksList">
|
<ListView Grid.Row="1" Name="BooksList">
|
||||||
<ListView.View>
|
<ListView.View>
|
||||||
<GridView>
|
<GridView>
|
||||||
<GridViewColumn Header="SID" DisplayMemberBinding="{Binding StudentId}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="SID" DisplayMemberBinding="{Binding StudentId}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="BID" DisplayMemberBinding="{Binding LabelId}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="BID" DisplayMemberBinding="{Binding LabelId}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="Buchtyp" DisplayMemberBinding="{Binding bookType}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="Buchtyp" DisplayMemberBinding="{Binding bookType}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="Preis" DisplayMemberBinding="{Binding Price}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="Preis" DisplayMemberBinding="{Binding Price}" Width="Auto"></GridViewColumn>
|
||||||
</GridView>
|
</GridView>
|
||||||
</ListView.View>
|
</ListView.View>
|
||||||
<ListView.ItemContainerStyle>
|
<ListView.ItemContainerStyle>
|
||||||
<Style TargetType="ListViewItem">
|
<Style TargetType="ListViewItem">
|
||||||
<EventSetter Event="PreviewMouseDoubleClick" Handler="ListViewItem_PreviewMouseUp"></EventSetter>
|
<EventSetter Event="PreviewMouseDoubleClick" Handler="ListViewItem_PreviewMouseUp"></EventSetter>
|
||||||
</Style>
|
</Style>
|
||||||
</ListView.ItemContainerStyle>
|
</ListView.ItemContainerStyle>
|
||||||
</ListView>
|
</ListView>
|
||||||
<Grid Grid.Row="2">
|
<Grid Grid.Row="2">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="*"/>
|
||||||
<ColumnDefinition Width="Auto"/>
|
<ColumnDefinition Width="Auto"/>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Label Grid.Column="0" Content="SV: " HorizontalContentAlignment="Right"></Label>
|
<Label Grid.Column="0" Content="SV: " HorizontalContentAlignment="Right"></Label>
|
||||||
<Label Grid.Column="1" Content="{Binding Path=SvSum, Mode=TwoWay}"></Label>
|
<Label Grid.Column="1" Content="{Binding Path=SvSum, Mode=TwoWay}"></Label>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid Grid.Row="3">
|
<Grid Grid.Row="3">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="*"/>
|
<ColumnDefinition Width="*"/>
|
||||||
<ColumnDefinition Width="Auto"/>
|
<ColumnDefinition Width="Auto"/>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Label Grid.Column="0" Content="Gesamt: " HorizontalContentAlignment="Right"></Label>
|
<Label Grid.Column="0" Content="Gesamt: " HorizontalContentAlignment="Right"></Label>
|
||||||
<Label Grid.Column="1" Content="{Binding Path=TotalSum, Mode=TwoWay}" FontSize="16" FontWeight="Bold"></Label>
|
<Label Grid.Column="1" Content="{Binding Path=TotalSum, Mode=TwoWay}" FontSize="16" FontWeight="Bold"></Label>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Button Grid.Row="4" Content="Abschließen" VerticalAlignment="Center" Click="SellAll_Click">
|
<Button Grid.Row="4" Content="Abschließen" VerticalAlignment="Center" Click="SellAll_Click">
|
||||||
|
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -1,286 +1,286 @@
|
|||||||
using BuechermarktClient.Models;
|
using BuechermarktClient.Models;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using MongoDB.Driver;
|
using MongoDB.Driver;
|
||||||
using MongoDB.Bson;
|
using MongoDB.Bson;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System;
|
using System;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Collections.Specialized;
|
using System.Collections.Specialized;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaktionslogik für Sell.xaml
|
/// Interaktionslogik für Sell.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Sell : Window, INotifyPropertyChanged
|
public partial class Sell : Window, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
|
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
protected void OnPropertyChanged(string propertyName)
|
protected void OnPropertyChanged(string propertyName)
|
||||||
{
|
{
|
||||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||||
}
|
}
|
||||||
|
|
||||||
private Dictionary<char, char> _Dictionary;
|
private Dictionary<char, char> _Dictionary;
|
||||||
private Dictionary<char, char> _ReverseDictionary;
|
private Dictionary<char, char> _ReverseDictionary;
|
||||||
|
|
||||||
private string _AddField;
|
private string _AddField;
|
||||||
public string AddField
|
public string AddField
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return _AddField;
|
return _AddField;
|
||||||
}
|
}
|
||||||
|
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if(value != _AddField)
|
if(value != _AddField)
|
||||||
{
|
{
|
||||||
_AddField = value;
|
_AddField = value;
|
||||||
OnPropertyChanged("AddField");
|
OnPropertyChanged("AddField");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private int _SvSum;
|
private int _SvSum;
|
||||||
public int SvSum
|
public int SvSum
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return _SvSum;
|
return _SvSum;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value != _SvSum)
|
if (value != _SvSum)
|
||||||
{
|
{
|
||||||
_SvSum = value;
|
_SvSum = value;
|
||||||
OnPropertyChanged("SvSum");
|
OnPropertyChanged("SvSum");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private double _TotalSum;
|
private double _TotalSum;
|
||||||
public double TotalSum
|
public double TotalSum
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return _TotalSum;
|
return _TotalSum;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if(value != _TotalSum)
|
if(value != _TotalSum)
|
||||||
{
|
{
|
||||||
_TotalSum = value;
|
_TotalSum = value;
|
||||||
OnPropertyChanged("TotalSum");
|
OnPropertyChanged("TotalSum");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private readonly ObservableCollection<SellBook> _SellBooks;
|
private readonly ObservableCollection<SellBook> _SellBooks;
|
||||||
|
|
||||||
|
|
||||||
public ObservableCollection<SellBook> SellBooks { get { return _SellBooks; } }
|
public ObservableCollection<SellBook> SellBooks { get { return _SellBooks; } }
|
||||||
|
|
||||||
private void listChanged(object sender, NotifyCollectionChangedEventArgs args)
|
private void listChanged(object sender, NotifyCollectionChangedEventArgs args)
|
||||||
{
|
{
|
||||||
SvSum = SellBooks.Count;
|
SvSum = SellBooks.Count;
|
||||||
var pr = 0.0;
|
var pr = 0.0;
|
||||||
foreach(var sb in SellBooks)
|
foreach(var sb in SellBooks)
|
||||||
{
|
{
|
||||||
pr += sb.Price;
|
pr += sb.Price;
|
||||||
}
|
}
|
||||||
TotalSum = SvSum + pr;
|
TotalSum = SvSum + pr;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Sell()
|
public Sell()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
DataContext = this;
|
DataContext = this;
|
||||||
_SellBooks = new ObservableCollection<SellBook>();
|
_SellBooks = new ObservableCollection<SellBook>();
|
||||||
_SellBooks.CollectionChanged += listChanged;
|
_SellBooks.CollectionChanged += listChanged;
|
||||||
_Dictionary = new Dictionary<char, char>();
|
_Dictionary = new Dictionary<char, char>();
|
||||||
_Dictionary.Add('a', 'A');
|
_Dictionary.Add('a', 'A');
|
||||||
_Dictionary.Add('b', 'B');
|
_Dictionary.Add('b', 'B');
|
||||||
_Dictionary.Add('c', 'C');
|
_Dictionary.Add('c', 'C');
|
||||||
_Dictionary.Add('d', 'D');
|
_Dictionary.Add('d', 'D');
|
||||||
_Dictionary.Add('e', 'E');
|
_Dictionary.Add('e', 'E');
|
||||||
_Dictionary.Add('f', 'F');
|
_Dictionary.Add('f', 'F');
|
||||||
_Dictionary.Add('g', 'G');
|
_Dictionary.Add('g', 'G');
|
||||||
_Dictionary.Add('h', 'H');
|
_Dictionary.Add('h', 'H');
|
||||||
_Dictionary.Add('i', 'I');
|
_Dictionary.Add('i', 'I');
|
||||||
_Dictionary.Add('j', 'J');
|
_Dictionary.Add('j', 'J');
|
||||||
_Dictionary.Add('k', 'K');
|
_Dictionary.Add('k', 'K');
|
||||||
_Dictionary.Add('l', 'L');
|
_Dictionary.Add('l', 'L');
|
||||||
_Dictionary.Add('m', 'M');
|
_Dictionary.Add('m', 'M');
|
||||||
_Dictionary.Add('n', 'N');
|
_Dictionary.Add('n', 'N');
|
||||||
_Dictionary.Add('o', 'O');
|
_Dictionary.Add('o', 'O');
|
||||||
_Dictionary.Add('p', 'P');
|
_Dictionary.Add('p', 'P');
|
||||||
_Dictionary.Add('q', 'Q');
|
_Dictionary.Add('q', 'Q');
|
||||||
_Dictionary.Add('r', 'R');
|
_Dictionary.Add('r', 'R');
|
||||||
_Dictionary.Add('s', 'S');
|
_Dictionary.Add('s', 'S');
|
||||||
_Dictionary.Add('t', 'T');
|
_Dictionary.Add('t', 'T');
|
||||||
_Dictionary.Add('u', 'U');
|
_Dictionary.Add('u', 'U');
|
||||||
_Dictionary.Add('v', 'V');
|
_Dictionary.Add('v', 'V');
|
||||||
_Dictionary.Add('w', 'W');
|
_Dictionary.Add('w', 'W');
|
||||||
_Dictionary.Add('x', 'X');
|
_Dictionary.Add('x', 'X');
|
||||||
_Dictionary.Add('y', 'Y');
|
_Dictionary.Add('y', 'Y');
|
||||||
_Dictionary.Add('z', 'Z');
|
_Dictionary.Add('z', 'Z');
|
||||||
_Dictionary.Add('1', '!');
|
_Dictionary.Add('1', '!');
|
||||||
_Dictionary.Add('2', '"');
|
_Dictionary.Add('2', '"');
|
||||||
_Dictionary.Add('3', '§');
|
_Dictionary.Add('3', '§');
|
||||||
_Dictionary.Add('4', '$');
|
_Dictionary.Add('4', '$');
|
||||||
_Dictionary.Add('5', '%');
|
_Dictionary.Add('5', '%');
|
||||||
_Dictionary.Add('6', '&');
|
_Dictionary.Add('6', '&');
|
||||||
_Dictionary.Add('7', '/');
|
_Dictionary.Add('7', '/');
|
||||||
_Dictionary.Add('8', '(');
|
_Dictionary.Add('8', '(');
|
||||||
_Dictionary.Add('9', ')');
|
_Dictionary.Add('9', ')');
|
||||||
_Dictionary.Add('0', '=');
|
_Dictionary.Add('0', '=');
|
||||||
_Dictionary.Add('ß', '?');
|
_Dictionary.Add('ß', '?');
|
||||||
_Dictionary.Add('-', '_');
|
_Dictionary.Add('-', '_');
|
||||||
|
|
||||||
_ReverseDictionary = new Dictionary<char, char>();
|
_ReverseDictionary = new Dictionary<char, char>();
|
||||||
foreach(var entry in _Dictionary)
|
foreach(var entry in _Dictionary)
|
||||||
{
|
{
|
||||||
_ReverseDictionary.Add(entry.Value, entry.Key);
|
_ReverseDictionary.Add(entry.Value, entry.Key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Add_Click(object sender, RoutedEventArgs e)
|
private void Add_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var reverse = ReverseString(AddField);
|
var reverse = ReverseString(AddField);
|
||||||
var case1 = ReverseUnderscore(AddField);
|
var case1 = ReverseUnderscore(AddField);
|
||||||
var case2 = ReverseUnderscore(reverse);
|
var case2 = ReverseUnderscore(reverse);
|
||||||
foreach (var s in SellBooks)
|
foreach (var s in SellBooks)
|
||||||
{
|
{
|
||||||
if(s.LabelId == AddField || s.LabelId == reverse || s.LabelId == case1 ||s.LabelId == case2)
|
if(s.LabelId == AddField || s.LabelId == reverse || s.LabelId == case1 ||s.LabelId == case2)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Das Buch ist bereits in der Liste");
|
MessageBox.Show("Das Buch ist bereits in der Liste");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var item = MainWindow.BookCollection.FindSync<Models.Book>(b => b.LabelId == AddField || b.LabelId == reverse || b.LabelId == case1 || b.LabelId == case2).FirstOrDefault();
|
var item = MainWindow.BookCollection.FindSync<Models.Book>(b => b.LabelId == AddField || b.LabelId == reverse || b.LabelId == case1 || b.LabelId == case2).FirstOrDefault();
|
||||||
if (item == null)
|
if (item == null)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Das Buch ist nicht vorhanden bitte überprüfen");
|
MessageBox.Show("Das Buch ist nicht vorhanden bitte überprüfen");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var stud = MainWindow.StudentCollection.FindSync<Models.Student>(s => s.ID == item.Student).FirstOrDefault();
|
var stud = MainWindow.StudentCollection.FindSync<Models.Student>(s => s.ID == item.Student).FirstOrDefault();
|
||||||
if (stud == null)
|
if (stud == null)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Der Schüler ist nicht vorhanden bitte überprüfen");
|
MessageBox.Show("Der Schüler ist nicht vorhanden bitte überprüfen");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var type = MainWindow.BookTypeCollection.FindSync<Models.BookType>(bt => bt.ID == item.BookType).FirstOrDefault();
|
var type = MainWindow.BookTypeCollection.FindSync<Models.BookType>(bt => bt.ID == item.BookType).FirstOrDefault();
|
||||||
if (type == null)
|
if (type == null)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Der Buchtyp (ObjId: " + item.BookType + ") ist nicht vorhanden bitte überprüfen");
|
MessageBox.Show("Der Buchtyp (ObjId: " + item.BookType + ") ist nicht vorhanden bitte überprüfen");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var sb = new SellBook();
|
var sb = new SellBook();
|
||||||
sb.StudentId = stud.LabelId;
|
sb.StudentId = stud.LabelId;
|
||||||
sb.LabelId = item.LabelId;
|
sb.LabelId = item.LabelId;
|
||||||
sb.Price = item.Price;
|
sb.Price = item.Price;
|
||||||
sb.Type = type.Name;
|
sb.Type = type.Name;
|
||||||
|
|
||||||
AddField = String.Empty;
|
AddField = String.Empty;
|
||||||
|
|
||||||
SellBooks.Add(sb);
|
SellBooks.Add(sb);
|
||||||
Dispatcher.BeginInvoke(new Action(delegate () {
|
Dispatcher.BeginInvoke(new Action(delegate () {
|
||||||
BooksList.ItemsSource = SellBooks;
|
BooksList.ItemsSource = SellBooks;
|
||||||
}));
|
}));
|
||||||
return;
|
return;
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e)
|
private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e)
|
||||||
{
|
{
|
||||||
if (sender is ListViewItem item && item.IsSelected)
|
if (sender is ListViewItem item && item.IsSelected)
|
||||||
{
|
{
|
||||||
SellBooks.Remove(item.DataContext as SellBook);
|
SellBooks.Remove(item.DataContext as SellBook);
|
||||||
Dispatcher.BeginInvoke(new Action(delegate () {
|
Dispatcher.BeginInvoke(new Action(delegate () {
|
||||||
BooksList.ItemsSource = SellBooks;
|
BooksList.ItemsSource = SellBooks;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SellAll_Click(object sender, RoutedEventArgs e)
|
private void SellAll_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
foreach (var sb in SellBooks)
|
foreach (var sb in SellBooks)
|
||||||
{
|
{
|
||||||
MainWindow.BookCollection.FindOneAndUpdate<Models.Book>(b => b.LabelId == sb.LabelId, Builders<Book>.Update.Set(b => b.State, Models.BookState.Selled));
|
MainWindow.BookCollection.FindOneAndUpdate<Models.Book>(b => b.LabelId == sb.LabelId, Builders<Book>.Update.Set(b => b.State, Models.BookState.Selled));
|
||||||
}
|
}
|
||||||
SellBooks.Clear();
|
SellBooks.Clear();
|
||||||
Dispatcher.BeginInvoke(new Action(delegate () {
|
Dispatcher.BeginInvoke(new Action(delegate () {
|
||||||
BooksList.ItemsSource = SellBooks;
|
BooksList.ItemsSource = SellBooks;
|
||||||
}));
|
}));
|
||||||
return;
|
return;
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private string ReverseString(string s)
|
private string ReverseString(string s)
|
||||||
{
|
{
|
||||||
var res = String.Empty;
|
var res = String.Empty;
|
||||||
foreach(var i in s)
|
foreach(var i in s)
|
||||||
{
|
{
|
||||||
char v;
|
char v;
|
||||||
if(_Dictionary.TryGetValue(i, out v) || _ReverseDictionary.TryGetValue(i, out v))
|
if(_Dictionary.TryGetValue(i, out v) || _ReverseDictionary.TryGetValue(i, out v))
|
||||||
{
|
{
|
||||||
res += v;
|
res += v;
|
||||||
} else {
|
} else {
|
||||||
MessageBox.Show(string.Format("Das Label enthält ungültige Zeichen ( {0} ), {1}", i, s));
|
MessageBox.Show(string.Format("Das Label enthält ungültige Zeichen ( {0} ), {1}", i, s));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
private string ReverseUnderscore(string s)
|
private string ReverseUnderscore(string s)
|
||||||
{
|
{
|
||||||
if(s.IndexOf("_") >= 0 || s.IndexOf("-") >= 0)
|
if(s.IndexOf("_") >= 0 || s.IndexOf("-") >= 0)
|
||||||
{
|
{
|
||||||
s = s.Replace("_", "?").Replace("-", "ß");
|
s = s.Replace("_", "?").Replace("-", "ß");
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
s = s.Replace("?", "_").Replace("ß", "-");
|
s = s.Replace("?", "_").Replace("ß", "-");
|
||||||
}
|
}
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SellBook
|
public class SellBook
|
||||||
{
|
{
|
||||||
public string StudentId { get; set; }
|
public string StudentId { get; set; }
|
||||||
public string LabelId { get; set; }
|
public string LabelId { get; set; }
|
||||||
public string Type { get; set; }
|
public string Type { get; set; }
|
||||||
public double Price { get; set; }
|
public double Price { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,91 +1,91 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
class SigningService
|
class SigningService
|
||||||
{
|
{
|
||||||
public SigningService()
|
public SigningService()
|
||||||
{
|
{
|
||||||
WebServer es = new WebServer(r =>
|
WebServer es = new WebServer(r =>
|
||||||
{
|
{
|
||||||
return "hi";
|
return "hi";
|
||||||
}, "test");
|
}, "test");
|
||||||
es.Run();
|
es.Run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class WebServer
|
public class WebServer
|
||||||
{
|
{
|
||||||
private readonly HttpListener _listener = new HttpListener();
|
private readonly HttpListener _listener = new HttpListener();
|
||||||
private readonly Func<HttpListenerRequest, string> _responderMethod;
|
private readonly Func<HttpListenerRequest, string> _responderMethod;
|
||||||
|
|
||||||
public WebServer(string[] prefixes, Func<HttpListenerRequest, string> method)
|
public WebServer(string[] prefixes, Func<HttpListenerRequest, string> method)
|
||||||
{
|
{
|
||||||
if (!HttpListener.IsSupported)
|
if (!HttpListener.IsSupported)
|
||||||
throw new NotSupportedException(
|
throw new NotSupportedException(
|
||||||
"Needs Windows XP SP2, Server 2003 or later.");
|
"Needs Windows XP SP2, Server 2003 or later.");
|
||||||
|
|
||||||
// URI prefixes are required, for example
|
// URI prefixes are required, for example
|
||||||
// "http://localhost:8080/index/".
|
// "http://localhost:8080/index/".
|
||||||
if (prefixes == null || prefixes.Length == 0)
|
if (prefixes == null || prefixes.Length == 0)
|
||||||
throw new ArgumentException("prefixes");
|
throw new ArgumentException("prefixes");
|
||||||
|
|
||||||
// A responder method is required
|
// A responder method is required
|
||||||
if (method == null)
|
if (method == null)
|
||||||
throw new ArgumentException("method");
|
throw new ArgumentException("method");
|
||||||
|
|
||||||
foreach (string s in prefixes)
|
foreach (string s in prefixes)
|
||||||
_listener.Prefixes.Add(s);
|
_listener.Prefixes.Add(s);
|
||||||
|
|
||||||
_responderMethod = method;
|
_responderMethod = method;
|
||||||
_listener.Start();
|
_listener.Start();
|
||||||
}
|
}
|
||||||
|
|
||||||
public WebServer(Func<HttpListenerRequest, string> method, params string[] prefixes)
|
public WebServer(Func<HttpListenerRequest, string> method, params string[] prefixes)
|
||||||
: this(prefixes, method) { }
|
: this(prefixes, method) { }
|
||||||
|
|
||||||
public void Run()
|
public void Run()
|
||||||
{
|
{
|
||||||
ThreadPool.QueueUserWorkItem((o) =>
|
ThreadPool.QueueUserWorkItem((o) =>
|
||||||
{
|
{
|
||||||
Console.WriteLine("Webserver running...");
|
Console.WriteLine("Webserver running...");
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
while (_listener.IsListening)
|
while (_listener.IsListening)
|
||||||
{
|
{
|
||||||
ThreadPool.QueueUserWorkItem((c) =>
|
ThreadPool.QueueUserWorkItem((c) =>
|
||||||
{
|
{
|
||||||
var ctx = c as HttpListenerContext;
|
var ctx = c as HttpListenerContext;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
string rstr = _responderMethod(ctx.Request);
|
string rstr = _responderMethod(ctx.Request);
|
||||||
byte[] buf = Encoding.UTF8.GetBytes(rstr);
|
byte[] buf = Encoding.UTF8.GetBytes(rstr);
|
||||||
ctx.Response.ContentLength64 = buf.Length;
|
ctx.Response.ContentLength64 = buf.Length;
|
||||||
ctx.Response.OutputStream.Write(buf, 0, buf.Length);
|
ctx.Response.OutputStream.Write(buf, 0, buf.Length);
|
||||||
}
|
}
|
||||||
catch { } // suppress any exceptions
|
catch { } // suppress any exceptions
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
// always close the stream
|
// always close the stream
|
||||||
ctx.Response.OutputStream.Close();
|
ctx.Response.OutputStream.Close();
|
||||||
}
|
}
|
||||||
}, _listener.GetContext());
|
}, _listener.GetContext());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch { } // suppress any exceptions
|
catch { } // suppress any exceptions
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Stop()
|
public void Stop()
|
||||||
{
|
{
|
||||||
_listener.Stop();
|
_listener.Stop();
|
||||||
_listener.Close();
|
_listener.Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,47 +1,47 @@
|
|||||||
<Window x:Class="BuechermarktClient.Students"
|
<Window x:Class="BuechermarktClient.Students"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:BuechermarktClient"
|
xmlns:local="clr-namespace:BuechermarktClient"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Students" Height="300" Width="300">
|
Title="Students" Height="300" Width="300">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto"></RowDefinition>
|
<RowDefinition Height="Auto"></RowDefinition>
|
||||||
<RowDefinition Height="*"></RowDefinition>
|
<RowDefinition Height="*"></RowDefinition>
|
||||||
<RowDefinition Height="Auto"></RowDefinition>
|
<RowDefinition Height="Auto"></RowDefinition>
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<Grid Grid.Row="0">
|
<Grid Grid.Row="0">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Label Content="Search:" Grid.Column="0"></Label>
|
<Label Content="Search:" Grid.Column="0"></Label>
|
||||||
<TextBox Grid.Column="1" Text="{Binding SearchField, Mode=OneWayToSource}"></TextBox>
|
<TextBox Grid.Column="1" Text="{Binding SearchField, Mode=OneWayToSource}"></TextBox>
|
||||||
<Button Content="S" Grid.Column="2" Width="25" Click="Search_Click"/>
|
<Button Content="S" Grid.Column="2" Width="25" Click="Search_Click"/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<ListView Grid.Row="1" Margin="0,0,0,0" Name="ViewList">
|
<ListView Grid.Row="1" Margin="0,0,0,0" Name="ViewList">
|
||||||
<ListView.View>
|
<ListView.View>
|
||||||
<GridView>
|
<GridView>
|
||||||
<GridViewColumn Header="Vorname" DisplayMemberBinding="{Binding Forname}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="Vorname" DisplayMemberBinding="{Binding Forname}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="nachname" DisplayMemberBinding="{Binding Lastname}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="nachname" DisplayMemberBinding="{Binding Lastname}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="E-Mail" DisplayMemberBinding="{Binding EMail}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="E-Mail" DisplayMemberBinding="{Binding EMail}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="Telefon" DisplayMemberBinding="{Binding PhoneNumber}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="Telefon" DisplayMemberBinding="{Binding PhoneNumber}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="LabelId" DisplayMemberBinding="{Binding LabelId}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="LabelId" DisplayMemberBinding="{Binding LabelId}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="Klasse" DisplayMemberBinding="{Binding Form}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="Klasse" DisplayMemberBinding="{Binding Form}" Width="Auto"></GridViewColumn>
|
||||||
<GridViewColumn Header="ID" DisplayMemberBinding="{Binding ID}" Width="Auto"></GridViewColumn>
|
<GridViewColumn Header="ID" DisplayMemberBinding="{Binding ID}" Width="Auto"></GridViewColumn>
|
||||||
</GridView>
|
</GridView>
|
||||||
</ListView.View>
|
</ListView.View>
|
||||||
<ListView.ItemContainerStyle>
|
<ListView.ItemContainerStyle>
|
||||||
<Style TargetType="ListViewItem">
|
<Style TargetType="ListViewItem">
|
||||||
<EventSetter Event="PreviewMouseDoubleClick" Handler="ListViewItem_PreviewMouseUp"></EventSetter>
|
<EventSetter Event="PreviewMouseDoubleClick" Handler="ListViewItem_PreviewMouseUp"></EventSetter>
|
||||||
</Style>
|
</Style>
|
||||||
</ListView.ItemContainerStyle>
|
</ListView.ItemContainerStyle>
|
||||||
</ListView>
|
</ListView>
|
||||||
<Button Grid.Row="2" Content="Hinzufügen" VerticalAlignment="Center" Click="AddNew_Click">
|
<Button Grid.Row="2" Content="Hinzufügen" VerticalAlignment="Center" Click="AddNew_Click">
|
||||||
|
|
||||||
</Button>
|
</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -1,156 +1,156 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using BuechermarktClient.Models;
|
using BuechermarktClient.Models;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using MongoDB.Driver;
|
using MongoDB.Driver;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaktionslogik für Students.xaml
|
/// Interaktionslogik für Students.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Students : Window
|
public partial class Students : Window
|
||||||
{
|
{
|
||||||
public Thread RefreshThread = null;
|
public Thread RefreshThread = null;
|
||||||
private bool ThreadRunning = true;
|
private bool ThreadRunning = true;
|
||||||
|
|
||||||
|
|
||||||
public bool Chooser = false;
|
public bool Chooser = false;
|
||||||
|
|
||||||
private string _SearchField;
|
private string _SearchField;
|
||||||
public string SearchField
|
public string SearchField
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return _SearchField;
|
return _SearchField;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value != _SearchField)
|
if (value != _SearchField)
|
||||||
{
|
{
|
||||||
_SearchField = value;
|
_SearchField = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public Student SelectedItem { get; private set; }
|
public Student SelectedItem { get; private set; }
|
||||||
|
|
||||||
public Students() : this(false){ }
|
public Students() : this(false){ }
|
||||||
|
|
||||||
public Students(bool select)
|
public Students(bool select)
|
||||||
{
|
{
|
||||||
DataContext = this;
|
DataContext = this;
|
||||||
Chooser = select;
|
Chooser = select;
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
RefreshThread = new Thread(RefreshThreadS);
|
RefreshThread = new Thread(RefreshThreadS);
|
||||||
RefreshThread.Start();
|
RefreshThread.Start();
|
||||||
RefreshThread.IsBackground = true;
|
RefreshThread.IsBackground = true;
|
||||||
Closing += Students_Closing;
|
Closing += Students_Closing;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private void Students_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
private void Students_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
||||||
{
|
{
|
||||||
ThreadRunning = false;
|
ThreadRunning = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RefreshThreadS()
|
public void RefreshThreadS()
|
||||||
{
|
{
|
||||||
while (ThreadRunning)
|
while (ThreadRunning)
|
||||||
{
|
{
|
||||||
LoadList();
|
LoadList();
|
||||||
Thread.Sleep(1000);
|
Thread.Sleep(1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void LoadList()
|
public void LoadList()
|
||||||
{
|
{
|
||||||
List<Models.Student> list = null;
|
List<Models.Student> list = null;
|
||||||
var not = true;
|
var not = true;
|
||||||
while (not)
|
while (not)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
list = MainWindow.StudentCollection.FindSync((b) => true).ToList();
|
list = MainWindow.StudentCollection.FindSync((b) => true).ToList();
|
||||||
not = false;
|
not = false;
|
||||||
}
|
}
|
||||||
catch (MongoExecutionTimeoutException)
|
catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(200);
|
Thread.Sleep(200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var show = new List<Student>();
|
var show = new List<Student>();
|
||||||
if (SearchField != null && SearchField != String.Empty)
|
if (SearchField != null && SearchField != String.Empty)
|
||||||
{
|
{
|
||||||
if(SearchField == "%d%")
|
if(SearchField == "%d%")
|
||||||
{
|
{
|
||||||
foreach (var e in list)
|
foreach (var e in list)
|
||||||
{
|
{
|
||||||
foreach (var e2 in list)
|
foreach (var e2 in list)
|
||||||
{
|
{
|
||||||
if (e.ID == e2.ID) continue;
|
if (e.ID == e2.ID) continue;
|
||||||
if (e.LabelId == e2.LabelId) show.Add(e);
|
if (e.LabelId == e2.LabelId) show.Add(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
foreach (var e in list)
|
foreach (var e in list)
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
if (e.Forname.ToLower().Contains(SearchField.ToLower()) || e.Lastname.ToLower().Contains(SearchField.ToLower()) || e.EMail.ToLower().Contains(SearchField.ToLower()) || e.Form.ToLower().Contains(SearchField.ToLower()) || e.LabelId.ToLower().Contains(SearchField.ToLower()))
|
if (e.Forname.ToLower().Contains(SearchField.ToLower()) || e.Lastname.ToLower().Contains(SearchField.ToLower()) || e.EMail.ToLower().Contains(SearchField.ToLower()) || e.Form.ToLower().Contains(SearchField.ToLower()) || e.LabelId.ToLower().Contains(SearchField.ToLower()))
|
||||||
{
|
{
|
||||||
show.Add(e);
|
show.Add(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
show = list;
|
show = list;
|
||||||
}
|
}
|
||||||
Dispatcher.BeginInvoke(new Action(delegate () {
|
Dispatcher.BeginInvoke(new Action(delegate () {
|
||||||
ViewList.ItemsSource = show;
|
ViewList.ItemsSource = show;
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AddNew_Click(object sender, RoutedEventArgs e)
|
private void AddNew_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
var editWindow = new StudentsEdit(null)
|
var editWindow = new StudentsEdit(null)
|
||||||
{
|
{
|
||||||
Owner = this
|
Owner = this
|
||||||
};
|
};
|
||||||
editWindow.Show();
|
editWindow.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e)
|
private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e)
|
||||||
{
|
{
|
||||||
if (sender is ListViewItem item && item.IsSelected)
|
if (sender is ListViewItem item && item.IsSelected)
|
||||||
{
|
{
|
||||||
SelectedItem = item.DataContext as Student;
|
SelectedItem = item.DataContext as Student;
|
||||||
if (Chooser)
|
if (Chooser)
|
||||||
{
|
{
|
||||||
DialogResult = true;
|
DialogResult = true;
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var editWindow = new StudentsEdit(item.DataContext as Student)
|
var editWindow = new StudentsEdit(item.DataContext as Student)
|
||||||
{
|
{
|
||||||
Owner = this
|
Owner = this
|
||||||
};
|
};
|
||||||
editWindow.Show();
|
editWindow.Show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Search_Click(object sender, RoutedEventArgs e)
|
private void Search_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
LoadList();
|
LoadList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,33 +1,33 @@
|
|||||||
<Window x:Class="BuechermarktClient.StudentsEdit"
|
<Window x:Class="BuechermarktClient.StudentsEdit"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:local="clr-namespace:BuechermarktClient"
|
xmlns:local="clr-namespace:BuechermarktClient"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Schüler" Height="393.494" Width="300">
|
Title="Schüler" Height="393.494" Width="300">
|
||||||
<StackPanel VerticalAlignment="Top">
|
<StackPanel VerticalAlignment="Top">
|
||||||
<Label Content="Vorname" Margin="10,0"></Label>
|
<Label Content="Vorname" Margin="10,0"></Label>
|
||||||
<TextBox Margin="10,0" Text="{Binding Path=Forname, Mode=TwoWay}"></TextBox>
|
<TextBox Margin="10,0" Text="{Binding Path=Forname, Mode=TwoWay}"></TextBox>
|
||||||
<Label Content="Nachname" Margin="10,0"></Label>
|
<Label Content="Nachname" Margin="10,0"></Label>
|
||||||
<TextBox Margin="10,0" Text="{Binding Path=Lastname, Mode=TwoWay}"></TextBox>
|
<TextBox Margin="10,0" Text="{Binding Path=Lastname, Mode=TwoWay}"></TextBox>
|
||||||
<Label Content="E-Mail" Margin="10,0"></Label>
|
<Label Content="E-Mail" Margin="10,0"></Label>
|
||||||
<TextBox Margin="10,0" Text="{Binding Path=EMail, Mode=TwoWay}"></TextBox>
|
<TextBox Margin="10,0" Text="{Binding Path=EMail, Mode=TwoWay}"></TextBox>
|
||||||
<Label Content="Telefon" Margin="10,0"></Label>
|
<Label Content="Telefon" Margin="10,0"></Label>
|
||||||
<TextBox Margin="10,0" Text="{Binding Path=PhoneNumber, Mode=TwoWay}"></TextBox>
|
<TextBox Margin="10,0" Text="{Binding Path=PhoneNumber, Mode=TwoWay}"></TextBox>
|
||||||
<Label Content="LabelId" Margin="10,0"></Label>
|
<Label Content="LabelId" Margin="10,0"></Label>
|
||||||
<TextBox Margin="10,0" Text="{Binding Path=LabelId, Mode=TwoWay}"></TextBox>
|
<TextBox Margin="10,0" Text="{Binding Path=LabelId, Mode=TwoWay}"></TextBox>
|
||||||
<Label Content="Klasse" Margin="10,0"></Label>
|
<Label Content="Klasse" Margin="10,0"></Label>
|
||||||
<TextBox Margin="10,0" Text="{Binding Path=Form, Mode=TwoWay}"></TextBox>
|
<TextBox Margin="10,0" Text="{Binding Path=Form, Mode=TwoWay}"></TextBox>
|
||||||
<Label Content="iD" Margin="10,0"></Label>
|
<Label Content="iD" Margin="10,0"></Label>
|
||||||
<TextBox Margin="10,0" Text="{Binding Path=ID, Mode=OneWay}"></TextBox>
|
<TextBox Margin="10,0" Text="{Binding Path=ID, Mode=OneWay}"></TextBox>
|
||||||
<Grid Margin="10,10,10,0">
|
<Grid Margin="10,10,10,0">
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||||
</Grid.ColumnDefinitions>
|
</Grid.ColumnDefinitions>
|
||||||
<Button Grid.Column="0" Content="Speichern" Click="Save_Click" Margin="0,0,5,0"></Button>
|
<Button Grid.Column="0" Content="Speichern" Click="Save_Click" Margin="0,0,5,0"></Button>
|
||||||
<Button Grid.Column="1" Content="Löschen" Click="Delete_Click" Margin="5,0,0,0"></Button>
|
<Button Grid.Column="1" Content="Löschen" Click="Delete_Click" Margin="5,0,0,0"></Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -1,197 +1,197 @@
|
|||||||
using BuechermarktClient.Models;
|
using BuechermarktClient.Models;
|
||||||
using MongoDB.Driver;
|
using MongoDB.Driver;
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
namespace BuechermarktClient
|
namespace BuechermarktClient
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaktionslogik für BookTypesEdit.xaml
|
/// Interaktionslogik für BookTypesEdit.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class StudentsEdit : Window, INotifyPropertyChanged
|
public partial class StudentsEdit : Window, INotifyPropertyChanged
|
||||||
{
|
{
|
||||||
private bool New = false;
|
private bool New = false;
|
||||||
private Student Student = null;
|
private Student Student = null;
|
||||||
public string Forname
|
public string Forname
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Student.Forname;
|
return Student.Forname;
|
||||||
}
|
}
|
||||||
set {
|
set {
|
||||||
if(value != Student.Forname)
|
if(value != Student.Forname)
|
||||||
{
|
{
|
||||||
Student.Forname = value;
|
Student.Forname = value;
|
||||||
OnPropertyChanged("Forname");
|
OnPropertyChanged("Forname");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Lastname
|
public string Lastname
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Student.Lastname;
|
return Student.Lastname;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value != Student.Lastname)
|
if (value != Student.Lastname)
|
||||||
{
|
{
|
||||||
Student.Lastname = value;
|
Student.Lastname = value;
|
||||||
OnPropertyChanged("Lastname");
|
OnPropertyChanged("Lastname");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string EMail
|
public string EMail
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Student.EMail;
|
return Student.EMail;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value != Student.EMail)
|
if (value != Student.EMail)
|
||||||
{
|
{
|
||||||
Student.EMail = value;
|
Student.EMail = value;
|
||||||
OnPropertyChanged("EMail");
|
OnPropertyChanged("EMail");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string PhoneNumber
|
public string PhoneNumber
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Student.PhoneNumber;
|
return Student.PhoneNumber;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value != Student.PhoneNumber)
|
if (value != Student.PhoneNumber)
|
||||||
{
|
{
|
||||||
Student.PhoneNumber = value;
|
Student.PhoneNumber = value;
|
||||||
OnPropertyChanged("PhoneNumber");
|
OnPropertyChanged("PhoneNumber");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string ID
|
public string ID
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Student.ID.ToString();
|
return Student.ID.ToString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string LabelId
|
public string LabelId
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Student.LabelId;
|
return Student.LabelId;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value != Student.LabelId)
|
if (value != Student.LabelId)
|
||||||
{
|
{
|
||||||
Student.LabelId = value;
|
Student.LabelId = value;
|
||||||
OnPropertyChanged("LabelId");
|
OnPropertyChanged("LabelId");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Form
|
public string Form
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Student.Form;
|
return Student.Form;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (value != Student.Form)
|
if (value != Student.Form)
|
||||||
{
|
{
|
||||||
Student.Form = value;
|
Student.Form = value;
|
||||||
OnPropertyChanged("Form");
|
OnPropertyChanged("Form");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public event PropertyChangedEventHandler PropertyChanged;
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
protected void OnPropertyChanged(string propertyName)
|
protected void OnPropertyChanged(string propertyName)
|
||||||
{
|
{
|
||||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||||
}
|
}
|
||||||
|
|
||||||
public StudentsEdit(Student student)
|
public StudentsEdit(Student student)
|
||||||
{
|
{
|
||||||
DataContext = this;
|
DataContext = this;
|
||||||
if(student == null)
|
if(student == null)
|
||||||
{
|
{
|
||||||
Student = new Student();
|
Student = new Student();
|
||||||
New = true;
|
New = true;
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
Student = student;
|
Student = student;
|
||||||
}
|
}
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Save_Click(object sender, RoutedEventArgs e)
|
private void Save_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (New)
|
if (New)
|
||||||
{
|
{
|
||||||
MainWindow.StudentCollection.InsertOne(Student);
|
MainWindow.StudentCollection.InsertOne(Student);
|
||||||
Student = new Student();
|
Student = new Student();
|
||||||
Forname = "";
|
Forname = "";
|
||||||
Lastname = "";
|
Lastname = "";
|
||||||
EMail = "";
|
EMail = "";
|
||||||
PhoneNumber = "";
|
PhoneNumber = "";
|
||||||
LabelId = "";
|
LabelId = "";
|
||||||
Form = "";
|
Form = "";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MainWindow.StudentCollection.FindOneAndUpdate(s => s.ID == Student.ID, Builders<Student>.Update
|
MainWindow.StudentCollection.FindOneAndUpdate(s => s.ID == Student.ID, Builders<Student>.Update
|
||||||
.Set(s => s.Forname, Student.Forname)
|
.Set(s => s.Forname, Student.Forname)
|
||||||
.Set(s => s.Lastname, Student.Lastname)
|
.Set(s => s.Lastname, Student.Lastname)
|
||||||
.Set(s => s.EMail, Student.EMail)
|
.Set(s => s.EMail, Student.EMail)
|
||||||
.Set(s => s.PhoneNumber, Student.PhoneNumber)
|
.Set(s => s.PhoneNumber, Student.PhoneNumber)
|
||||||
.Set(s => s.LabelId, Student.LabelId)
|
.Set(s => s.LabelId, Student.LabelId)
|
||||||
.Set(s => s.Form, Student.Form));
|
.Set(s => s.Form, Student.Form));
|
||||||
|
|
||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
} catch (MongoExecutionTimeoutException)
|
} catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Delete_Click(object sender, RoutedEventArgs e)
|
private void Delete_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (Student.ID != null)
|
if (Student.ID != null)
|
||||||
{
|
{
|
||||||
MainWindow.StudentCollection.DeleteOne(bt => bt.ID == Student.ID);
|
MainWindow.StudentCollection.DeleteOne(bt => bt.ID == Student.ID);
|
||||||
}
|
}
|
||||||
Close();
|
Close();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
catch (MongoExecutionTimeoutException)
|
catch (MongoExecutionTimeoutException)
|
||||||
{
|
{
|
||||||
Thread.Sleep(100);
|
Thread.Sleep(100);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
BIN
BuechermarktClient/bin/Debug/BuechermarktClient.exe
Normal file
BIN
BuechermarktClient/bin/Debug/BuechermarktClient.exe
Normal file
Binary file not shown.
@ -1,14 +1,14 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<startup>
|
<startup>
|
||||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||||
</startup>
|
</startup>
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
<assemblyIdentity name="System.Runtime.InteropServices.RuntimeInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" />
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
</configuration>
|
</configuration>
|
BIN
BuechermarktClient/bin/Debug/BuechermarktClient.pdb
Normal file
BIN
BuechermarktClient/bin/Debug/BuechermarktClient.pdb
Normal file
Binary file not shown.
BIN
BuechermarktClient/bin/Debug/MongoDB.Bson.dll
Normal file
BIN
BuechermarktClient/bin/Debug/MongoDB.Bson.dll
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
BuechermarktClient/bin/Debug/MongoDB.Driver.Core.dll
Normal file
BIN
BuechermarktClient/bin/Debug/MongoDB.Driver.Core.dll
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
BuechermarktClient/bin/Debug/MongoDB.Driver.dll
Normal file
BIN
BuechermarktClient/bin/Debug/MongoDB.Driver.dll
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
BuechermarktClient/bin/Debug/Newtonsoft.Json.dll
Normal file
BIN
BuechermarktClient/bin/Debug/Newtonsoft.Json.dll
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
BuechermarktClient/bin/Debug/mongodump.exe
Normal file
BIN
BuechermarktClient/bin/Debug/mongodump.exe
Normal file
Binary file not shown.
@ -1,70 +1,70 @@
|
|||||||
#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A601CBE00213CB854D3A5B0F8E4EA1C9"
|
#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A601CBE00213CB854D3A5B0F8E4EA1C9"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// App
|
/// App
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class App : System.Windows.Application {
|
public partial class App : System.Windows.Application {
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
|
|
||||||
#line 5 "..\..\App.xaml"
|
#line 5 "..\..\App.xaml"
|
||||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Application Entry Point.
|
/// Application Entry Point.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.STAThreadAttribute()]
|
[System.STAThreadAttribute()]
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public static void Main() {
|
public static void Main() {
|
||||||
BuechermarktClient.App app = new BuechermarktClient.App();
|
BuechermarktClient.App app = new BuechermarktClient.App();
|
||||||
app.InitializeComponent();
|
app.InitializeComponent();
|
||||||
app.Run();
|
app.Run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,70 +1,70 @@
|
|||||||
#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A601CBE00213CB854D3A5B0F8E4EA1C9"
|
#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A601CBE00213CB854D3A5B0F8E4EA1C9"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// App
|
/// App
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class App : System.Windows.Application {
|
public partial class App : System.Windows.Application {
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
|
|
||||||
#line 5 "..\..\App.xaml"
|
#line 5 "..\..\App.xaml"
|
||||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Application Entry Point.
|
/// Application Entry Point.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.STAThreadAttribute()]
|
[System.STAThreadAttribute()]
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public static void Main() {
|
public static void Main() {
|
||||||
BuechermarktClient.App app = new BuechermarktClient.App();
|
BuechermarktClient.App app = new BuechermarktClient.App();
|
||||||
app.InitializeComponent();
|
app.InitializeComponent();
|
||||||
app.Run();
|
app.Run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,121 +1,121 @@
|
|||||||
#pragma checksum "..\..\Book.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B183AD2B0448955DE79C8EA2943A99FD"
|
#pragma checksum "..\..\Book.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "B183AD2B0448955DE79C8EA2943A99FD"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Book
|
/// Book
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Book : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
public partial class Book : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 14 "..\..\Book.xaml"
|
#line 14 "..\..\Book.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ListView BookTypesList;
|
internal System.Windows.Controls.ListView BookTypesList;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/book.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/book.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\Book.xaml"
|
#line 1 "..\..\Book.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
||||||
return;
|
return;
|
||||||
case 3:
|
case 3:
|
||||||
|
|
||||||
#line 30 "..\..\Book.xaml"
|
#line 30 "..\..\Book.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||||
System.Windows.EventSetter eventSetter;
|
System.Windows.EventSetter eventSetter;
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
eventSetter = new System.Windows.EventSetter();
|
eventSetter = new System.Windows.EventSetter();
|
||||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||||
|
|
||||||
#line 26 "..\..\Book.xaml"
|
#line 26 "..\..\Book.xaml"
|
||||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,75 +1,75 @@
|
|||||||
#pragma checksum "..\..\BookEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "53FC3D30B9DE907E18735D8B4A386792"
|
#pragma checksum "..\..\BookEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "53FC3D30B9DE907E18735D8B4A386792"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// BookEdit
|
/// BookEdit
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BookEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class BookEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/bookedit.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/bookedit.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\BookEdit.xaml"
|
#line 1 "..\..\BookEdit.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,121 +1,121 @@
|
|||||||
#pragma checksum "..\..\BookTypes - Kopieren.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3804A968D9CEB9784CCAB007BA4E2793"
|
#pragma checksum "..\..\BookTypes - Kopieren.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3804A968D9CEB9784CCAB007BA4E2793"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// BookTypes
|
/// BookTypes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 14 "..\..\BookTypes - Kopieren.xaml"
|
#line 14 "..\..\BookTypes - Kopieren.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ListView BookTypesList;
|
internal System.Windows.Controls.ListView BookTypesList;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes%20-%20kopieren.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes%20-%20kopieren.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\BookTypes - Kopieren.xaml"
|
#line 1 "..\..\BookTypes - Kopieren.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
||||||
return;
|
return;
|
||||||
case 3:
|
case 3:
|
||||||
|
|
||||||
#line 27 "..\..\BookTypes - Kopieren.xaml"
|
#line 27 "..\..\BookTypes - Kopieren.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||||
System.Windows.EventSetter eventSetter;
|
System.Windows.EventSetter eventSetter;
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 2:
|
case 2:
|
||||||
eventSetter = new System.Windows.EventSetter();
|
eventSetter = new System.Windows.EventSetter();
|
||||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||||
|
|
||||||
#line 23 "..\..\BookTypes - Kopieren.xaml"
|
#line 23 "..\..\BookTypes - Kopieren.xaml"
|
||||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,129 +1,129 @@
|
|||||||
#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "69E247AFC50A459A29907C1D6F49CCB1"
|
#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "69E247AFC50A459A29907C1D6F49CCB1"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// BookTypes
|
/// BookTypes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 25 "..\..\BookTypes.xaml"
|
#line 25 "..\..\BookTypes.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ListView BookTypesList;
|
internal System.Windows.Controls.ListView BookTypesList;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\BookTypes.xaml"
|
#line 1 "..\..\BookTypes.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 23 "..\..\BookTypes.xaml"
|
#line 23 "..\..\BookTypes.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 38 "..\..\BookTypes.xaml"
|
#line 38 "..\..\BookTypes.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||||
System.Windows.EventSetter eventSetter;
|
System.Windows.EventSetter eventSetter;
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 3:
|
case 3:
|
||||||
eventSetter = new System.Windows.EventSetter();
|
eventSetter = new System.Windows.EventSetter();
|
||||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||||
|
|
||||||
#line 34 "..\..\BookTypes.xaml"
|
#line 34 "..\..\BookTypes.xaml"
|
||||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,129 +1,129 @@
|
|||||||
#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "69E247AFC50A459A29907C1D6F49CCB1"
|
#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "69E247AFC50A459A29907C1D6F49CCB1"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// BookTypes
|
/// BookTypes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 25 "..\..\BookTypes.xaml"
|
#line 25 "..\..\BookTypes.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ListView BookTypesList;
|
internal System.Windows.Controls.ListView BookTypesList;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\BookTypes.xaml"
|
#line 1 "..\..\BookTypes.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 23 "..\..\BookTypes.xaml"
|
#line 23 "..\..\BookTypes.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 38 "..\..\BookTypes.xaml"
|
#line 38 "..\..\BookTypes.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||||
System.Windows.EventSetter eventSetter;
|
System.Windows.EventSetter eventSetter;
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 3:
|
case 3:
|
||||||
eventSetter = new System.Windows.EventSetter();
|
eventSetter = new System.Windows.EventSetter();
|
||||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||||
|
|
||||||
#line 34 "..\..\BookTypes.xaml"
|
#line 34 "..\..\BookTypes.xaml"
|
||||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,94 +1,94 @@
|
|||||||
#pragma checksum "..\..\BookTypesEdit - Kopieren.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178"
|
#pragma checksum "..\..\BookTypesEdit - Kopieren.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// BookTypesEdit
|
/// BookTypesEdit
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit%20-%20kopieren.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit%20-%20kopieren.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\BookTypesEdit - Kopieren.xaml"
|
#line 1 "..\..\BookTypesEdit - Kopieren.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 19 "..\..\BookTypesEdit - Kopieren.xaml"
|
#line 19 "..\..\BookTypesEdit - Kopieren.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
#line 20 "..\..\BookTypesEdit - Kopieren.xaml"
|
#line 20 "..\..\BookTypesEdit - Kopieren.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,94 +1,94 @@
|
|||||||
#pragma checksum "..\..\BookTypesEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178"
|
#pragma checksum "..\..\BookTypesEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// BookTypesEdit
|
/// BookTypesEdit
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\BookTypesEdit.xaml"
|
#line 1 "..\..\BookTypesEdit.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 19 "..\..\BookTypesEdit.xaml"
|
#line 19 "..\..\BookTypesEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
#line 20 "..\..\BookTypesEdit.xaml"
|
#line 20 "..\..\BookTypesEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,94 +1,94 @@
|
|||||||
#pragma checksum "..\..\BookTypesEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178"
|
#pragma checksum "..\..\BookTypesEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// BookTypesEdit
|
/// BookTypesEdit
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\BookTypesEdit.xaml"
|
#line 1 "..\..\BookTypesEdit.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 19 "..\..\BookTypesEdit.xaml"
|
#line 19 "..\..\BookTypesEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
#line 20 "..\..\BookTypesEdit.xaml"
|
#line 20 "..\..\BookTypesEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,129 +1,129 @@
|
|||||||
#pragma checksum "..\..\Books.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "50E9CEAD80AB919D558A4823C2548875"
|
#pragma checksum "..\..\Books.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "50E9CEAD80AB919D558A4823C2548875"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Books
|
/// Books
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Books : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
public partial class Books : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 30 "..\..\Books.xaml"
|
#line 30 "..\..\Books.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ListView BooksList;
|
internal System.Windows.Controls.ListView BooksList;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/books.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/books.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\Books.xaml"
|
#line 1 "..\..\Books.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 28 "..\..\Books.xaml"
|
#line 28 "..\..\Books.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
this.BooksList = ((System.Windows.Controls.ListView)(target));
|
this.BooksList = ((System.Windows.Controls.ListView)(target));
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 46 "..\..\Books.xaml"
|
#line 46 "..\..\Books.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||||
System.Windows.EventSetter eventSetter;
|
System.Windows.EventSetter eventSetter;
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 3:
|
case 3:
|
||||||
eventSetter = new System.Windows.EventSetter();
|
eventSetter = new System.Windows.EventSetter();
|
||||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||||
|
|
||||||
#line 42 "..\..\Books.xaml"
|
#line 42 "..\..\Books.xaml"
|
||||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,129 +1,129 @@
|
|||||||
#pragma checksum "..\..\Books.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "50E9CEAD80AB919D558A4823C2548875"
|
#pragma checksum "..\..\Books.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "50E9CEAD80AB919D558A4823C2548875"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Books
|
/// Books
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Books : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
public partial class Books : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 30 "..\..\Books.xaml"
|
#line 30 "..\..\Books.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ListView BooksList;
|
internal System.Windows.Controls.ListView BooksList;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/books.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/books.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\Books.xaml"
|
#line 1 "..\..\Books.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 28 "..\..\Books.xaml"
|
#line 28 "..\..\Books.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
this.BooksList = ((System.Windows.Controls.ListView)(target));
|
this.BooksList = ((System.Windows.Controls.ListView)(target));
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 46 "..\..\Books.xaml"
|
#line 46 "..\..\Books.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||||
System.Windows.EventSetter eventSetter;
|
System.Windows.EventSetter eventSetter;
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 3:
|
case 3:
|
||||||
eventSetter = new System.Windows.EventSetter();
|
eventSetter = new System.Windows.EventSetter();
|
||||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||||
|
|
||||||
#line 42 "..\..\Books.xaml"
|
#line 42 "..\..\Books.xaml"
|
||||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,137 +1,137 @@
|
|||||||
#pragma checksum "..\..\BooksEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "06D0E6E88FCAD8BC03096A6FF1F1BF04"
|
#pragma checksum "..\..\BooksEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "06D0E6E88FCAD8BC03096A6FF1F1BF04"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// BooksEdit
|
/// BooksEdit
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BooksEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class BooksEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 42 "..\..\BooksEdit.xaml"
|
#line 42 "..\..\BooksEdit.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ComboBox StateComboBox;
|
internal System.Windows.Controls.ComboBox StateComboBox;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booksedit.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booksedit.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\BooksEdit.xaml"
|
#line 1 "..\..\BooksEdit.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 28 "..\..\BooksEdit.xaml"
|
#line 28 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectBookType_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectBookType_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
#line 37 "..\..\BooksEdit.xaml"
|
#line 37 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectStudent_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectStudent_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 3:
|
case 3:
|
||||||
this.StateComboBox = ((System.Windows.Controls.ComboBox)(target));
|
this.StateComboBox = ((System.Windows.Controls.ComboBox)(target));
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 48 "..\..\BooksEdit.xaml"
|
#line 48 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 5:
|
case 5:
|
||||||
|
|
||||||
#line 49 "..\..\BooksEdit.xaml"
|
#line 49 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 6:
|
case 6:
|
||||||
|
|
||||||
#line 59 "..\..\BooksEdit.xaml"
|
#line 59 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypeDetails_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypeDetails_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 7:
|
case 7:
|
||||||
|
|
||||||
#line 77 "..\..\BooksEdit.xaml"
|
#line 77 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StudentDetails_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StudentDetails_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,137 +1,137 @@
|
|||||||
#pragma checksum "..\..\BooksEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "06D0E6E88FCAD8BC03096A6FF1F1BF04"
|
#pragma checksum "..\..\BooksEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "06D0E6E88FCAD8BC03096A6FF1F1BF04"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// BooksEdit
|
/// BooksEdit
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class BooksEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class BooksEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 42 "..\..\BooksEdit.xaml"
|
#line 42 "..\..\BooksEdit.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ComboBox StateComboBox;
|
internal System.Windows.Controls.ComboBox StateComboBox;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booksedit.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booksedit.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\BooksEdit.xaml"
|
#line 1 "..\..\BooksEdit.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 28 "..\..\BooksEdit.xaml"
|
#line 28 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectBookType_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectBookType_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
#line 37 "..\..\BooksEdit.xaml"
|
#line 37 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectStudent_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectStudent_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 3:
|
case 3:
|
||||||
this.StateComboBox = ((System.Windows.Controls.ComboBox)(target));
|
this.StateComboBox = ((System.Windows.Controls.ComboBox)(target));
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 48 "..\..\BooksEdit.xaml"
|
#line 48 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 5:
|
case 5:
|
||||||
|
|
||||||
#line 49 "..\..\BooksEdit.xaml"
|
#line 49 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 6:
|
case 6:
|
||||||
|
|
||||||
#line 59 "..\..\BooksEdit.xaml"
|
#line 59 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypeDetails_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypeDetails_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 7:
|
case 7:
|
||||||
|
|
||||||
#line 77 "..\..\BooksEdit.xaml"
|
#line 77 "..\..\BooksEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StudentDetails_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StudentDetails_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,113 +1,113 @@
|
|||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\BuechermarktClient.exe.config
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\BuechermarktClient.exe.config
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\BuechermarktClient.exe
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\BuechermarktClient.exe
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\BuechermarktClient.pdb
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\BuechermarktClient.pdb
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Bson.dll
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Bson.dll
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.dll
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.dll
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.dll
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.dll
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\Newtonsoft.Json.dll
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\Newtonsoft.Json.dll
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\System.Runtime.InteropServices.RuntimeInformation.dll
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\System.Runtime.InteropServices.RuntimeInformation.dll
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Bson.xml
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Bson.xml
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.xml
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.xml
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.xml
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.xml
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\Newtonsoft.Json.xml
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\Newtonsoft.Json.xml
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\Books.g.cs
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\Books.g.cs
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BooksEdit.g.cs
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BooksEdit.g.cs
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypes.g.cs
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypes.g.cs
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\Students.g.cs
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\Students.g.cs
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\StudentsEdit.g.cs
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\StudentsEdit.g.cs
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypesEdit.g.cs
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypesEdit.g.cs
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\MainWindow.g.cs
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\MainWindow.g.cs
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\App.g.cs
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\App.g.cs
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.cache
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.cache
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.lref
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.lref
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\Books.baml
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\Books.baml
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BooksEdit.baml
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BooksEdit.baml
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypes.baml
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypes.baml
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\Students.baml
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\Students.baml
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\StudentsEdit.baml
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\StudentsEdit.baml
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypesEdit.baml
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BookTypesEdit.baml
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\MainWindow.baml
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\MainWindow.baml
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.g.resources
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.g.resources
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.Properties.Resources.resources
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.Properties.Resources.resources
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.csproj.GenerateResource.Cache
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.csproj.GenerateResource.Cache
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.exe
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.exe
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.pdb
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.pdb
|
||||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\GeneratedInternalTypeHelper.g.cs
|
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\GeneratedInternalTypeHelper.g.cs
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.csprojResolveAssemblyReference.cache
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.csprojResolveAssemblyReference.cache
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Books.g.cs
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Books.g.cs
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BooksEdit.g.cs
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BooksEdit.g.cs
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypes.g.cs
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypes.g.cs
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Students.g.cs
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Students.g.cs
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\StudentsEdit.g.cs
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\StudentsEdit.g.cs
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypesEdit.g.cs
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypesEdit.g.cs
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\MainWindow.g.cs
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\MainWindow.g.cs
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\App.g.cs
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\App.g.cs
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\GeneratedInternalTypeHelper.g.cs
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\GeneratedInternalTypeHelper.g.cs
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.cache
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.cache
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.lref
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.lref
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.exe.config
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.exe.config
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.exe
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.exe
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.pdb
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.pdb
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Bson.dll
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Bson.dll
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.dll
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.dll
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.dll
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.dll
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\Newtonsoft.Json.dll
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\Newtonsoft.Json.dll
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Bson.xml
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Bson.xml
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.xml
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.xml
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.xml
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.xml
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\Newtonsoft.Json.xml
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\Newtonsoft.Json.xml
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Books.baml
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Books.baml
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BooksEdit.baml
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BooksEdit.baml
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypes.baml
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypes.baml
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Students.baml
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\Students.baml
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\StudentsEdit.baml
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\StudentsEdit.baml
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypesEdit.baml
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BookTypesEdit.baml
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\MainWindow.baml
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\MainWindow.baml
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.g.resources
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.g.resources
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.Properties.Resources.resources
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.Properties.Resources.resources
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.csproj.GenerateResource.Cache
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.csproj.GenerateResource.Cache
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.exe
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.exe
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.pdb
|
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.pdb
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\bin\Debug\System.Runtime.InteropServices.RuntimeInformation.dll
|
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.g.cs
|
||||||
D:\Dokumente\Projekte\Privat\buechermarkt\BuechermarktClient\obj\Debug\GetConnection.baml
|
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.config
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\BuechermarktClient.exe
|
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\BuechermarktClient.pdb
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Bson.dll
|
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.Core.dll
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.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\Newtonsoft.Json.dll
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Bson.xml
|
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.xml
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\MongoDB.Driver.Core.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\bin\Debug\Newtonsoft.Json.xml
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.csprojResolveAssemblyReference.cache
|
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\Books.g.cs
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BooksEdit.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\BookTypes.g.cs
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\GetConnection.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\Students.g.cs
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\StudentsEdit.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\BookTypesEdit.g.cs
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\MainWindow.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\App.g.cs
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\GeneratedInternalTypeHelper.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.cache
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient_MarkupCompile.lref
|
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\Books.baml
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BooksEdit.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\BookTypes.baml
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\GetConnection.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\Students.baml
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\StudentsEdit.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\BookTypesEdit.baml
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\MainWindow.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.g.resources
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.Properties.Resources.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.csproj.GenerateResource.Cache
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.exe
|
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.exe
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.pdb
|
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\BuechermarktClient.pdb
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\System.Runtime.InteropServices.RuntimeInformation.dll
|
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\bin\Debug\System.Runtime.InteropServices.RuntimeInformation.dll
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\Sell.g.cs
|
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\Sell.g.cs
|
||||||
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\Sell.baml
|
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\Sell.baml
|
||||||
|
Binary file not shown.
Binary file not shown.
BIN
BuechermarktClient/obj/Debug/BuechermarktClient.exe
Normal file
BIN
BuechermarktClient/obj/Debug/BuechermarktClient.exe
Normal file
Binary file not shown.
BIN
BuechermarktClient/obj/Debug/BuechermarktClient.pdb
Normal file
BIN
BuechermarktClient/obj/Debug/BuechermarktClient.pdb
Normal file
Binary file not shown.
@ -1,13 +1,13 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("mongodump.exe")]
|
[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("mongodump.exe")]
|
||||||
|
|
||||||
|
|
||||||
|
@ -0,0 +1,20 @@
|
|||||||
|
BuechermarktClient
|
||||||
|
|
||||||
|
|
||||||
|
winexe
|
||||||
|
C#
|
||||||
|
.cs
|
||||||
|
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\
|
||||||
|
BuechermarktClient
|
||||||
|
none
|
||||||
|
false
|
||||||
|
DEBUG;TRACE
|
||||||
|
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\App.xaml
|
||||||
|
92087576092
|
||||||
|
|
||||||
|
18-1224789506
|
||||||
|
70-1428833885
|
||||||
|
Books.xaml;BooksEdit.xaml;BookTypes.xaml;GetConnection.xaml;Sell.xaml;Students.xaml;StudentsEdit.xaml;BookTypesEdit.xaml;MainWindow.xaml;
|
||||||
|
|
||||||
|
False
|
||||||
|
|
@ -0,0 +1,20 @@
|
|||||||
|
BuechermarktClient
|
||||||
|
|
||||||
|
|
||||||
|
winexe
|
||||||
|
C#
|
||||||
|
.cs
|
||||||
|
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\obj\Debug\
|
||||||
|
BuechermarktClient
|
||||||
|
none
|
||||||
|
false
|
||||||
|
DEBUG;TRACE
|
||||||
|
D:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\App.xaml
|
||||||
|
92087576092
|
||||||
|
|
||||||
|
221087900245
|
||||||
|
70-1428833885
|
||||||
|
Books.xaml;BooksEdit.xaml;BookTypes.xaml;GetConnection.xaml;Sell.xaml;Students.xaml;StudentsEdit.xaml;BookTypesEdit.xaml;MainWindow.xaml;
|
||||||
|
|
||||||
|
False
|
||||||
|
|
@ -1,12 +1,12 @@
|
|||||||
|
|
||||||
|
|
||||||
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\Books.xaml;;
|
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\Books.xaml;;
|
||||||
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BooksEdit.xaml;;
|
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BooksEdit.xaml;;
|
||||||
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BookTypes.xaml;;
|
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BookTypes.xaml;;
|
||||||
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\GetConnection.xaml;;
|
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\GetConnection.xaml;;
|
||||||
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\Students.xaml;;
|
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\Students.xaml;;
|
||||||
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\StudentsEdit.xaml;;
|
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\StudentsEdit.xaml;;
|
||||||
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BookTypesEdit.xaml;;
|
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\BookTypesEdit.xaml;;
|
||||||
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\MainWindow.xaml;;
|
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\MainWindow.xaml;;
|
||||||
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\Sell.xaml;;
|
FD:\Dokumente\Projekte\Buechermarkt\BuechermarktClient\Sell.xaml;;
|
||||||
|
|
||||||
|
1
BuechermarktClient/obj/Debug/CoreCompileInputs.cache
Normal file
1
BuechermarktClient/obj/Debug/CoreCompileInputs.cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
59ce571d66006c4d30eb185dfa2f32e4b6cc58c2
|
Binary file not shown.
Binary file not shown.
@ -1,62 +1,62 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace XamlGeneratedNamespace {
|
namespace XamlGeneratedNamespace {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// GeneratedInternalTypeHelper
|
/// GeneratedInternalTypeHelper
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
|
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// CreateInstance
|
/// CreateInstance
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
|
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
|
||||||
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
|
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
|
||||||
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
|
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// GetPropertyValue
|
/// GetPropertyValue
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
|
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
|
||||||
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
|
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// SetPropertyValue
|
/// SetPropertyValue
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
|
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
|
||||||
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
|
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// CreateDelegate
|
/// CreateDelegate
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
|
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
|
||||||
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
|
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
|
||||||
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
|
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
|
||||||
delegateType,
|
delegateType,
|
||||||
handler}, null)));
|
handler}, null)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// AddEventHandler
|
/// AddEventHandler
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
|
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
|
||||||
eventInfo.AddEventHandler(target, handler);
|
eventInfo.AddEventHandler(target, handler);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,62 +1,62 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace XamlGeneratedNamespace {
|
namespace XamlGeneratedNamespace {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// GeneratedInternalTypeHelper
|
/// GeneratedInternalTypeHelper
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
|
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// CreateInstance
|
/// CreateInstance
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
|
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
|
||||||
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
|
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
|
||||||
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
|
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// GetPropertyValue
|
/// GetPropertyValue
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
|
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
|
||||||
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
|
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// SetPropertyValue
|
/// SetPropertyValue
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
|
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
|
||||||
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
|
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// CreateDelegate
|
/// CreateDelegate
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
|
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
|
||||||
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
|
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
|
||||||
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
|
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
|
||||||
delegateType,
|
delegateType,
|
||||||
handler}, null)));
|
handler}, null)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// AddEventHandler
|
/// AddEventHandler
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
|
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
|
||||||
eventInfo.AddEventHandler(target, handler);
|
eventInfo.AddEventHandler(target, handler);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,75 +1,75 @@
|
|||||||
#pragma checksum "..\..\GetConnection.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6D127FC079E11D18F8EBE625E055FE2D"
|
#pragma checksum "..\..\GetConnection.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6D127FC079E11D18F8EBE625E055FE2D"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// GetConnection
|
/// GetConnection
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class GetConnection : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class GetConnection : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/getconnection.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/getconnection.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\GetConnection.xaml"
|
#line 1 "..\..\GetConnection.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,75 +1,75 @@
|
|||||||
#pragma checksum "..\..\GetConnection.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6D127FC079E11D18F8EBE625E055FE2D"
|
#pragma checksum "..\..\GetConnection.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6D127FC079E11D18F8EBE625E055FE2D"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// GetConnection
|
/// GetConnection
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class GetConnection : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class GetConnection : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/getconnection.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/getconnection.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\GetConnection.xaml"
|
#line 1 "..\..\GetConnection.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,94 +1,94 @@
|
|||||||
#pragma checksum "..\..\Login.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F889762A67CED8B8C47433E18757F5A0"
|
#pragma checksum "..\..\Login.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F889762A67CED8B8C47433E18757F5A0"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Login
|
/// Login
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Login : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class Login : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/login.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/login.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\Login.xaml"
|
#line 1 "..\..\Login.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 15 "..\..\Login.xaml"
|
#line 15 "..\..\Login.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
#line 16 "..\..\Login.xaml"
|
#line 16 "..\..\Login.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,118 +1,118 @@
|
|||||||
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "520B213CE639A04EE6A19EB58C6DD82B"
|
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "520B213CE639A04EE6A19EB58C6DD82B"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// MainWindow
|
/// MainWindow
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/mainwindow.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/mainwindow.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\MainWindow.xaml"
|
#line 1 "..\..\MainWindow.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 8 "..\..\MainWindow.xaml"
|
#line 8 "..\..\MainWindow.xaml"
|
||||||
((BuechermarktClient.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
((BuechermarktClient.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
#line 16 "..\..\MainWindow.xaml"
|
#line 16 "..\..\MainWindow.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypes_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypes_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 3:
|
case 3:
|
||||||
|
|
||||||
#line 17 "..\..\MainWindow.xaml"
|
#line 17 "..\..\MainWindow.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Students_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Students_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 18 "..\..\MainWindow.xaml"
|
#line 18 "..\..\MainWindow.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Books_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Books_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 5:
|
case 5:
|
||||||
|
|
||||||
#line 19 "..\..\MainWindow.xaml"
|
#line 19 "..\..\MainWindow.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Sell_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Sell_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,118 +1,118 @@
|
|||||||
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "520B213CE639A04EE6A19EB58C6DD82B"
|
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "520B213CE639A04EE6A19EB58C6DD82B"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// MainWindow
|
/// MainWindow
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/mainwindow.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/mainwindow.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\MainWindow.xaml"
|
#line 1 "..\..\MainWindow.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 8 "..\..\MainWindow.xaml"
|
#line 8 "..\..\MainWindow.xaml"
|
||||||
((BuechermarktClient.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
((BuechermarktClient.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
#line 16 "..\..\MainWindow.xaml"
|
#line 16 "..\..\MainWindow.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypes_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypes_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 3:
|
case 3:
|
||||||
|
|
||||||
#line 17 "..\..\MainWindow.xaml"
|
#line 17 "..\..\MainWindow.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Students_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Students_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 18 "..\..\MainWindow.xaml"
|
#line 18 "..\..\MainWindow.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Books_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Books_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 5:
|
case 5:
|
||||||
|
|
||||||
#line 19 "..\..\MainWindow.xaml"
|
#line 19 "..\..\MainWindow.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Sell_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Sell_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,129 +1,129 @@
|
|||||||
#pragma checksum "..\..\Sell.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "FD5592658FAD976F9BD380A194B58274"
|
#pragma checksum "..\..\Sell.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "FD5592658FAD976F9BD380A194B58274"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sell
|
/// Sell
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Sell : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
public partial class Sell : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 27 "..\..\Sell.xaml"
|
#line 27 "..\..\Sell.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ListView BooksList;
|
internal System.Windows.Controls.ListView BooksList;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/sell.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/sell.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\Sell.xaml"
|
#line 1 "..\..\Sell.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 25 "..\..\Sell.xaml"
|
#line 25 "..\..\Sell.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
this.BooksList = ((System.Windows.Controls.ListView)(target));
|
this.BooksList = ((System.Windows.Controls.ListView)(target));
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 58 "..\..\Sell.xaml"
|
#line 58 "..\..\Sell.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SellAll_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SellAll_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||||
System.Windows.EventSetter eventSetter;
|
System.Windows.EventSetter eventSetter;
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 3:
|
case 3:
|
||||||
eventSetter = new System.Windows.EventSetter();
|
eventSetter = new System.Windows.EventSetter();
|
||||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||||
|
|
||||||
#line 38 "..\..\Sell.xaml"
|
#line 38 "..\..\Sell.xaml"
|
||||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,129 +1,129 @@
|
|||||||
#pragma checksum "..\..\Sell.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "FD5592658FAD976F9BD380A194B58274"
|
#pragma checksum "..\..\Sell.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "FD5592658FAD976F9BD380A194B58274"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sell
|
/// Sell
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Sell : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
public partial class Sell : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 27 "..\..\Sell.xaml"
|
#line 27 "..\..\Sell.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ListView BooksList;
|
internal System.Windows.Controls.ListView BooksList;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/sell.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/sell.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\Sell.xaml"
|
#line 1 "..\..\Sell.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 25 "..\..\Sell.xaml"
|
#line 25 "..\..\Sell.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Add_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
this.BooksList = ((System.Windows.Controls.ListView)(target));
|
this.BooksList = ((System.Windows.Controls.ListView)(target));
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 58 "..\..\Sell.xaml"
|
#line 58 "..\..\Sell.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SellAll_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SellAll_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||||
System.Windows.EventSetter eventSetter;
|
System.Windows.EventSetter eventSetter;
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 3:
|
case 3:
|
||||||
eventSetter = new System.Windows.EventSetter();
|
eventSetter = new System.Windows.EventSetter();
|
||||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||||
|
|
||||||
#line 38 "..\..\Sell.xaml"
|
#line 38 "..\..\Sell.xaml"
|
||||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,129 +1,129 @@
|
|||||||
#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "58E438404BAC5A52DE8371DE0FBEE454"
|
#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "58E438404BAC5A52DE8371DE0FBEE454"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Students
|
/// Students
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Students : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
public partial class Students : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 25 "..\..\Students.xaml"
|
#line 25 "..\..\Students.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ListView ViewList;
|
internal System.Windows.Controls.ListView ViewList;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/students.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/students.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\Students.xaml"
|
#line 1 "..\..\Students.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 23 "..\..\Students.xaml"
|
#line 23 "..\..\Students.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
this.ViewList = ((System.Windows.Controls.ListView)(target));
|
this.ViewList = ((System.Windows.Controls.ListView)(target));
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 43 "..\..\Students.xaml"
|
#line 43 "..\..\Students.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||||
System.Windows.EventSetter eventSetter;
|
System.Windows.EventSetter eventSetter;
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 3:
|
case 3:
|
||||||
eventSetter = new System.Windows.EventSetter();
|
eventSetter = new System.Windows.EventSetter();
|
||||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||||
|
|
||||||
#line 39 "..\..\Students.xaml"
|
#line 39 "..\..\Students.xaml"
|
||||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,129 +1,129 @@
|
|||||||
#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "58E438404BAC5A52DE8371DE0FBEE454"
|
#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "58E438404BAC5A52DE8371DE0FBEE454"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Students
|
/// Students
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Students : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
public partial class Students : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 25 "..\..\Students.xaml"
|
#line 25 "..\..\Students.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ListView ViewList;
|
internal System.Windows.Controls.ListView ViewList;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/students.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/students.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\Students.xaml"
|
#line 1 "..\..\Students.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 23 "..\..\Students.xaml"
|
#line 23 "..\..\Students.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Search_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
this.ViewList = ((System.Windows.Controls.ListView)(target));
|
this.ViewList = ((System.Windows.Controls.ListView)(target));
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 4:
|
||||||
|
|
||||||
#line 43 "..\..\Students.xaml"
|
#line 43 "..\..\Students.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||||
System.Windows.EventSetter eventSetter;
|
System.Windows.EventSetter eventSetter;
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 3:
|
case 3:
|
||||||
eventSetter = new System.Windows.EventSetter();
|
eventSetter = new System.Windows.EventSetter();
|
||||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||||
|
|
||||||
#line 39 "..\..\Students.xaml"
|
#line 39 "..\..\Students.xaml"
|
||||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,94 +1,94 @@
|
|||||||
#pragma checksum "..\..\StudentsEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A651F5976C9CB85987FB0E5FE8C50825"
|
#pragma checksum "..\..\StudentsEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A651F5976C9CB85987FB0E5FE8C50825"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// StudentsEdit
|
/// StudentsEdit
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class StudentsEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class StudentsEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/studentsedit.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/studentsedit.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\StudentsEdit.xaml"
|
#line 1 "..\..\StudentsEdit.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 29 "..\..\StudentsEdit.xaml"
|
#line 29 "..\..\StudentsEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
#line 30 "..\..\StudentsEdit.xaml"
|
#line 30 "..\..\StudentsEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,94 +1,94 @@
|
|||||||
#pragma checksum "..\..\StudentsEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A651F5976C9CB85987FB0E5FE8C50825"
|
#pragma checksum "..\..\StudentsEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A651F5976C9CB85987FB0E5FE8C50825"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Dieser Code wurde von einem Tool generiert.
|
// Dieser Code wurde von einem Tool generiert.
|
||||||
// Laufzeitversion:4.0.30319.42000
|
// Laufzeitversion:4.0.30319.42000
|
||||||
//
|
//
|
||||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||||
// der Code erneut generiert wird.
|
// der Code erneut generiert wird.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using BuechermarktClient;
|
using BuechermarktClient;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Automation;
|
using System.Windows.Automation;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Ink;
|
using System.Windows.Ink;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Markup;
|
using System.Windows.Markup;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Animation;
|
using System.Windows.Media.Animation;
|
||||||
using System.Windows.Media.Effects;
|
using System.Windows.Media.Effects;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media.Media3D;
|
using System.Windows.Media.Media3D;
|
||||||
using System.Windows.Media.TextFormatting;
|
using System.Windows.Media.TextFormatting;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
using System.Windows.Shell;
|
using System.Windows.Shell;
|
||||||
|
|
||||||
|
|
||||||
namespace BuechermarktClient {
|
namespace BuechermarktClient {
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// StudentsEdit
|
/// StudentsEdit
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class StudentsEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class StudentsEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// InitializeComponent
|
/// InitializeComponent
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
if (_contentLoaded) {
|
if (_contentLoaded) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/studentsedit.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/studentsedit.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\StudentsEdit.xaml"
|
#line 1 "..\..\StudentsEdit.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
}
|
}
|
||||||
|
|
||||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
|
|
||||||
#line 29 "..\..\StudentsEdit.xaml"
|
#line 29 "..\..\StudentsEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 2:
|
||||||
|
|
||||||
#line 30 "..\..\StudentsEdit.xaml"
|
#line 30 "..\..\StudentsEdit.xaml"
|
||||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
@ -1,8 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="MongoDB.Bson" version="2.4.4" 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" version="2.4.4" targetFramework="net452" />
|
||||||
<package id="MongoDB.Driver.Core" 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="Newtonsoft.Json" version="10.0.3" targetFramework="net452" />
|
||||||
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net452" />
|
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net452" />
|
||||||
</packages>
|
</packages>
|
Loading…
Reference in New Issue
Block a user