Basic Structure for adding Students and BookTypes
This commit is contained in:
commit
90b097f73d
22
BuechermarktClient.sln
Normal file
22
BuechermarktClient.sln
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.26403.3
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BuechermarktClient", "BuechermarktClient\BuechermarktClient.csproj", "{4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
14
BuechermarktClient/App.config
Normal file
14
BuechermarktClient/App.config
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<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" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
9
BuechermarktClient/App.xaml
Normal file
9
BuechermarktClient/App.xaml
Normal file
@ -0,0 +1,9 @@
|
||||
<Application x:Class="BuechermarktClient.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:BuechermarktClient"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
17
BuechermarktClient/App.xaml.cs
Normal file
17
BuechermarktClient/App.xaml.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
|
||||
namespace BuechermarktClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für "App.xaml"
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
}
|
||||
}
|
31
BuechermarktClient/BookTypes.xaml
Normal file
31
BuechermarktClient/BookTypes.xaml
Normal file
@ -0,0 +1,31 @@
|
||||
<Window x:Class="BuechermarktClient.BookTypes"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:BuechermarktClient"
|
||||
mc:Ignorable="d"
|
||||
Title="BookTypes" Height="300" Width="300">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"></RowDefinition>
|
||||
<RowDefinition Height="Auto"></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<ListView Grid.Row="0" Margin="0,0,0,0" Name="BookTypesList">
|
||||
<ListView.View>
|
||||
<GridView>
|
||||
<GridViewColumn Header="Name" DisplayMemberBinding="{Binding Name}" Width="Auto"></GridViewColumn>
|
||||
<GridViewColumn Header="ISBN" DisplayMemberBinding="{Binding ISBN}" Width="Auto"></GridViewColumn>
|
||||
</GridView>
|
||||
</ListView.View>
|
||||
<ListView.ItemContainerStyle>
|
||||
<Style TargetType="ListViewItem">
|
||||
<EventSetter Event="PreviewMouseDoubleClick" Handler="ListViewItem_PreviewMouseUp"></EventSetter>
|
||||
</Style>
|
||||
</ListView.ItemContainerStyle>
|
||||
</ListView>
|
||||
<Button Grid.Row="2" Content="Hinzufügen" VerticalAlignment="Center" Click="AddNew_Click">
|
||||
|
||||
</Button>
|
||||
</Grid>
|
||||
</Window>
|
80
BuechermarktClient/BookTypes.xaml.cs
Normal file
80
BuechermarktClient/BookTypes.xaml.cs
Normal file
@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using BuechermarktClient.Models;
|
||||
using System.Threading;
|
||||
using MongoDB.Driver;
|
||||
|
||||
namespace BuechermarktClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für BookTypes.xaml
|
||||
/// </summary>
|
||||
public partial class BookTypes : Window
|
||||
{
|
||||
public Thread RefreshThread = null;
|
||||
private bool ThreadRunning = true;
|
||||
|
||||
public BookTypes()
|
||||
{
|
||||
InitializeComponent();
|
||||
RefreshThread = new Thread(RefreshThreadS);
|
||||
RefreshThread.Start();
|
||||
RefreshThread.IsBackground = true;
|
||||
Closing += BookTypes_Closing;
|
||||
}
|
||||
|
||||
private void BookTypes_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
||||
{
|
||||
ThreadRunning = false;
|
||||
}
|
||||
|
||||
public void RefreshThreadS()
|
||||
{
|
||||
while (ThreadRunning)
|
||||
{
|
||||
LoadList();
|
||||
Thread.Sleep(1000);
|
||||
}
|
||||
}
|
||||
|
||||
public void LoadList()
|
||||
{
|
||||
var list = MainWindow.BookTypeCollection.FindSync((b)=>true).ToList();
|
||||
Dispatcher.BeginInvoke(new Action(delegate (){
|
||||
BookTypesList.ItemsSource = list;
|
||||
}));
|
||||
}
|
||||
|
||||
private void AddNew_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var editWindow = new BookTypesEdit(null)
|
||||
{
|
||||
Owner = this
|
||||
};
|
||||
editWindow.Show();
|
||||
}
|
||||
|
||||
private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
var item = sender as ListViewItem;
|
||||
if (item != null && item.IsSelected)
|
||||
{
|
||||
var editWindow = new BookTypesEdit(item.DataContext as BookType) {
|
||||
Owner = this
|
||||
};
|
||||
editWindow.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
23
BuechermarktClient/BookTypesEdit.xaml
Normal file
23
BuechermarktClient/BookTypesEdit.xaml
Normal file
@ -0,0 +1,23 @@
|
||||
<Window x:Class="BuechermarktClient.BookTypesEdit"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:BuechermarktClient"
|
||||
mc:Ignorable="d"
|
||||
Title="Buchtyp" Height="300" Width="300">
|
||||
<StackPanel VerticalAlignment="Top">
|
||||
<Label Content="Name" Margin="10,0"></Label>
|
||||
<TextBox Margin="10,0" Text="{Binding Path=BName, Mode=TwoWay}"></TextBox>
|
||||
<Label Content="ISBN" Margin="10,0"></Label>
|
||||
<TextBox Margin="10,0" Text="{Binding Path=BISBN, Mode=TwoWay}"></TextBox>
|
||||
<Grid Margin="10,10,10,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||
</Grid.ColumnDefinitions>
|
||||
<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>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</Window>
|
93
BuechermarktClient/BookTypesEdit.xaml.cs
Normal file
93
BuechermarktClient/BookTypesEdit.xaml.cs
Normal file
@ -0,0 +1,93 @@
|
||||
using BuechermarktClient.Models;
|
||||
using MongoDB.Driver;
|
||||
using System.ComponentModel;
|
||||
using System.Windows;
|
||||
|
||||
namespace BuechermarktClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für BookTypesEdit.xaml
|
||||
/// </summary>
|
||||
public partial class BookTypesEdit : Window, INotifyPropertyChanged
|
||||
{
|
||||
private bool New = false;
|
||||
private BookType BookType = null;
|
||||
private string _Name;
|
||||
public string BName
|
||||
{
|
||||
get
|
||||
{
|
||||
return _Name;
|
||||
}
|
||||
set {
|
||||
if(value != _Name)
|
||||
{
|
||||
_Name = value;
|
||||
OnPropertyChanged("BName");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private string _ISBN;
|
||||
public string BISBN
|
||||
{
|
||||
get
|
||||
{
|
||||
return _ISBN;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != _ISBN)
|
||||
{
|
||||
_ISBN = value;
|
||||
OnPropertyChanged("BISBN");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
protected void OnPropertyChanged(string propertyName)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
|
||||
public BookTypesEdit(BookType booktype)
|
||||
{
|
||||
DataContext = this;
|
||||
InitializeComponent();
|
||||
if(booktype == null)
|
||||
{
|
||||
BookType = new BookType();
|
||||
New = true;
|
||||
} else
|
||||
{
|
||||
BookType = booktype;
|
||||
BName = booktype.Name;
|
||||
BISBN = booktype.ISBN;
|
||||
}
|
||||
}
|
||||
|
||||
private void Save_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
BookType.Name = BName;
|
||||
BookType.ISBN = BISBN;
|
||||
if(New)
|
||||
{
|
||||
MainWindow.BookTypeCollection.InsertOne(BookType);
|
||||
} else
|
||||
{
|
||||
MainWindow.BookTypeCollection.FindOneAndUpdate(bt => bt.ID == BookType.ID, Builders<BookType>.Update.Set((bt) => bt.Name, BookType.Name).Set(bt => bt.ISBN, BookType.ISBN));
|
||||
}
|
||||
Close();
|
||||
}
|
||||
|
||||
private void Delete_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if(BookType.ID != null)
|
||||
{
|
||||
MainWindow.BookTypeCollection.DeleteOne(bt => bt.ID == BookType.ID);
|
||||
}
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
147
BuechermarktClient/BuechermarktClient.csproj
Normal file
147
BuechermarktClient/BuechermarktClient.csproj
Normal file
@ -0,0 +1,147 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<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')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{4DE1DCAB-3872-42C8-8E47-A1ED6A7A56E7}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<RootNamespace>BuechermarktClient</RootNamespace>
|
||||
<AssemblyName>BuechermarktClient</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MongoDB.Bson, Version=2.4.3.23, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Bson.2.4.3\lib\net45\MongoDB.Bson.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MongoDB.Driver, Version=2.4.3.23, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Driver.2.4.3\lib\net45\MongoDB.Driver.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="MongoDB.Driver.Core, Version=2.4.3.23, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\MongoDB.Driver.Core.2.4.3\lib\net45\MongoDB.Driver.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\RestSharp.105.2.3\lib\net452\RestSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<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>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xaml">
|
||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Page Include="BookTypes.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="Students.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="StudentsEdit.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Page Include="BookTypesEdit.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="BookTypes.xaml.cs">
|
||||
<DependentUpon>BookTypes.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Students.xaml.cs">
|
||||
<DependentUpon>Students.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="StudentsEdit.xaml.cs">
|
||||
<DependentUpon>StudentsEdit.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BookTypesEdit.xaml.cs">
|
||||
<DependentUpon>BookTypesEdit.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="MainWindow.xaml.cs">
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Models\Book.cs" />
|
||||
<Compile Include="Models\BookType.cs" />
|
||||
<Compile Include="Models\Student.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
17
BuechermarktClient/MainWindow.xaml
Normal file
17
BuechermarktClient/MainWindow.xaml
Normal file
@ -0,0 +1,17 @@
|
||||
<Window x:Class="BuechermarktClient.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:BuechermarktClient"
|
||||
mc:Ignorable="d"
|
||||
Title="Buechermarkt" Height="350" Width="525" Loaded="Window_Loaded">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||
<ColumnDefinition Width="Auto"></ColumnDefinition>
|
||||
</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="1" Content="Schüler" HorizontalAlignment="Left" Height="75" Margin="10,10,0,0" VerticalAlignment="Top" Width="100" Click="Students_Click"/>
|
||||
</Grid>
|
||||
</Window>
|
110
BuechermarktClient/MainWindow.xaml.cs
Normal file
110
BuechermarktClient/MainWindow.xaml.cs
Normal file
@ -0,0 +1,110 @@
|
||||
using BuechermarktClient.Models;
|
||||
using MongoDB.Driver;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace BuechermarktClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public static MongoClient Mongo;
|
||||
public static IMongoDatabase Database;
|
||||
public static IMongoCollection<BookType> BookTypeCollection;
|
||||
public static IMongoCollection<Book> BookCollection;
|
||||
public static IMongoCollection<Student> StudentCollection;
|
||||
|
||||
public BookTypes BookTypesWindow = null;
|
||||
public Students StudentsWindow = null;
|
||||
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
//ToDo get server informations
|
||||
Mongo = new MongoClient("mongodb://localhost:27017");
|
||||
Database = Mongo.GetDatabase("buechermarkt");
|
||||
BookTypeCollection = Database.GetCollection<BookType>("booktypes");
|
||||
BookCollection = Database.GetCollection<Book>("books");
|
||||
StudentCollection = Database.GetCollection<Student>("students");
|
||||
}
|
||||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void BookTypes_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if(BookTypesWindow == null)
|
||||
{
|
||||
BookTypesWindow = new BookTypes()
|
||||
{
|
||||
Owner = this
|
||||
};
|
||||
BookTypesWindow.Show();
|
||||
BookTypesWindow.Closed += BookTypesWindow_Closed;
|
||||
} else {
|
||||
BringWindowOnTop(BookTypesWindow);
|
||||
}
|
||||
}
|
||||
|
||||
private void BookTypesWindow_Closed(object sender, EventArgs e)
|
||||
{
|
||||
BookTypesWindow = null;
|
||||
}
|
||||
|
||||
private void BringWindowOnTop(Window window)
|
||||
{
|
||||
if (!window.IsVisible)
|
||||
{
|
||||
window.Show();
|
||||
}
|
||||
|
||||
if (window.WindowState == WindowState.Minimized)
|
||||
{
|
||||
window.WindowState = WindowState.Normal;
|
||||
}
|
||||
|
||||
window.Activate();
|
||||
window.Topmost = true; // important
|
||||
window.Topmost = false; // important
|
||||
window.Focus(); // important
|
||||
}
|
||||
|
||||
private void Students_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (StudentsWindow == null)
|
||||
{
|
||||
StudentsWindow = new Students()
|
||||
{
|
||||
Owner = this
|
||||
};
|
||||
StudentsWindow.Show();
|
||||
StudentsWindow.Closed += StudentsWindow_Closed;
|
||||
}
|
||||
else
|
||||
{
|
||||
BringWindowOnTop(StudentsWindow);
|
||||
}
|
||||
}
|
||||
|
||||
private void StudentsWindow_Closed(object sender, EventArgs e)
|
||||
{
|
||||
StudentsWindow = null;
|
||||
}
|
||||
}
|
||||
}
|
32
BuechermarktClient/Models/Book.cs
Normal file
32
BuechermarktClient/Models/Book.cs
Normal file
@ -0,0 +1,32 @@
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using MongoDB.Bson;
|
||||
using System;
|
||||
|
||||
namespace BuechermarktClient.Models
|
||||
{
|
||||
public class Book
|
||||
{
|
||||
[BsonId]
|
||||
public ObjectId ID { get; set; }
|
||||
|
||||
[BsonElement("student")]
|
||||
public ObjectId Student { get; set; }
|
||||
|
||||
[BsonElement("book_type")]
|
||||
public ObjectId BookType { get; set; }
|
||||
|
||||
[BsonElement("price")]
|
||||
public double Price { get; set; }
|
||||
|
||||
[BsonElement("state")]
|
||||
public BookState State { get; set; }
|
||||
|
||||
[BsonElement("label_id")]
|
||||
public string LabelId { get; set; }
|
||||
}
|
||||
|
||||
public enum BookState
|
||||
{
|
||||
|
||||
}
|
||||
}
|
18
BuechermarktClient/Models/BookType.cs
Normal file
18
BuechermarktClient/Models/BookType.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using MongoDB.Bson;
|
||||
|
||||
namespace BuechermarktClient.Models
|
||||
{
|
||||
|
||||
public class BookType
|
||||
{
|
||||
[BsonId]
|
||||
public ObjectId ID { get; set; }
|
||||
|
||||
[BsonElement("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[BsonElement("isbn")]
|
||||
public string ISBN { get; set; }
|
||||
}
|
||||
}
|
30
BuechermarktClient/Models/Student.cs
Normal file
30
BuechermarktClient/Models/Student.cs
Normal file
@ -0,0 +1,30 @@
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using MongoDB.Bson;
|
||||
using System;
|
||||
|
||||
namespace BuechermarktClient.Models
|
||||
{
|
||||
public class Student
|
||||
{
|
||||
[BsonId]
|
||||
public ObjectId ID { get; set; }
|
||||
|
||||
[BsonElement("forname")]
|
||||
public string Forname { get; set; }
|
||||
|
||||
[BsonElement("lastname")]
|
||||
public string Lastname { get; set; }
|
||||
|
||||
[BsonElement("email")]
|
||||
public string EMail { get; set; }
|
||||
|
||||
[BsonElement("phone_number")]
|
||||
public string PhoneNumber { get; set; }
|
||||
|
||||
[BsonElement("label_id")]
|
||||
public string LabelId { get; set; }
|
||||
|
||||
[BsonElement("form")]
|
||||
public string Form { get; set; }
|
||||
}
|
||||
}
|
55
BuechermarktClient/Properties/AssemblyInfo.cs
Normal file
55
BuechermarktClient/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,55 @@
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
|
||||
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||
// die einer Assembly zugeordnet sind.
|
||||
[assembly: AssemblyTitle("BuechermarktClient")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("BuechermarktClient")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2017")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 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
|
||||
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
//Um mit dem Erstellen lokalisierbarer Anwendungen zu beginnen, legen Sie
|
||||
//<UICulture>ImCodeVerwendeteKultur</UICulture> in der .csproj-Datei
|
||||
//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
|
||||
//des nachstehenden NeutralResourceLanguage-Attributs auf. Aktualisieren Sie "en-US" in der nachstehenden Zeile,
|
||||
//sodass es mit der UICulture-Einstellung in der Projektdatei übereinstimmt.
|
||||
|
||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
||||
|
||||
|
||||
[assembly: ThemeInfo(
|
||||
ResourceDictionaryLocation.None, //Speicherort der designspezifischen Ressourcenwörterbücher
|
||||
//(wird verwendet, wenn eine Ressource auf der Seite nicht gefunden wird,
|
||||
// oder in den Anwendungsressourcen-Wörterbüchern nicht gefunden werden kann.)
|
||||
ResourceDictionaryLocation.SourceAssembly //Speicherort des generischen Ressourcenwörterbuchs
|
||||
//(wird verwendet, wenn eine Ressource auf der Seite nicht gefunden wird,
|
||||
// designspezifischen Ressourcenwörterbuch nicht gefunden werden kann.)
|
||||
)]
|
||||
|
||||
|
||||
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||
//
|
||||
// Hauptversion
|
||||
// Nebenversion
|
||||
// Buildnummer
|
||||
// Revision
|
||||
//
|
||||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||
// übernehmen, indem Sie "*" eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
71
BuechermarktClient/Properties/Resources.Designer.cs
generated
Normal file
71
BuechermarktClient/Properties/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,71 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion: 4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code neu generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace BuechermarktClient.Properties
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||
/// </summary>
|
||||
// Diese Klasse wurde von der StronglyTypedResourceBuilder-Klasse
|
||||
// ü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
|
||||
// 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.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources
|
||||
{
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager
|
||||
{
|
||||
get
|
||||
{
|
||||
if ((resourceMan == null))
|
||||
{
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("BuechermarktClient.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
||||
/// Ressourcenlookups, die diese stark typisierte Ressourcenklasse verwenden.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture
|
||||
{
|
||||
get
|
||||
{
|
||||
return resourceCulture;
|
||||
}
|
||||
set
|
||||
{
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
117
BuechermarktClient/Properties/Resources.resx
Normal file
117
BuechermarktClient/Properties/Resources.resx
Normal file
@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, 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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<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>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: 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:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<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:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
30
BuechermarktClient/Properties/Settings.Designer.cs
generated
Normal file
30
BuechermarktClient/Properties/Settings.Designer.cs
generated
Normal file
@ -0,0 +1,30 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace BuechermarktClient.Properties
|
||||
{
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||
{
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default
|
||||
{
|
||||
get
|
||||
{
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
7
BuechermarktClient/Properties/Settings.settings
Normal file
7
BuechermarktClient/Properties/Settings.settings
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
35
BuechermarktClient/Students.xaml
Normal file
35
BuechermarktClient/Students.xaml
Normal file
@ -0,0 +1,35 @@
|
||||
<Window x:Class="BuechermarktClient.Students"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:BuechermarktClient"
|
||||
mc:Ignorable="d"
|
||||
Title="Students" Height="300" Width="300">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*"></RowDefinition>
|
||||
<RowDefinition Height="Auto"></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<ListView Grid.Row="0" Margin="0,0,0,0" Name="BookTypesList">
|
||||
<ListView.View>
|
||||
<GridView>
|
||||
<GridViewColumn Header="Vorname" DisplayMemberBinding="{Binding Forname}" Width="Auto"></GridViewColumn>
|
||||
<GridViewColumn Header="nachname" DisplayMemberBinding="{Binding Lastname}" Width="Auto"></GridViewColumn>
|
||||
<GridViewColumn Header="E-Mail" DisplayMemberBinding="{Binding EMail}" Width="Auto"></GridViewColumn>
|
||||
<GridViewColumn Header="Telefon" DisplayMemberBinding="{Binding PhoneNumber}" Width="Auto"></GridViewColumn>
|
||||
<GridViewColumn Header="LabelId" DisplayMemberBinding="{Binding LabelId}" Width="Auto"></GridViewColumn>
|
||||
<GridViewColumn Header="Klasse" DisplayMemberBinding="{Binding Form}" Width="Auto"></GridViewColumn>
|
||||
</GridView>
|
||||
</ListView.View>
|
||||
<ListView.ItemContainerStyle>
|
||||
<Style TargetType="ListViewItem">
|
||||
<EventSetter Event="PreviewMouseDoubleClick" Handler="ListViewItem_PreviewMouseUp"></EventSetter>
|
||||
</Style>
|
||||
</ListView.ItemContainerStyle>
|
||||
</ListView>
|
||||
<Button Grid.Row="2" Content="Hinzufügen" VerticalAlignment="Center" Click="AddNew_Click">
|
||||
|
||||
</Button>
|
||||
</Grid>
|
||||
</Window>
|
75
BuechermarktClient/Students.xaml.cs
Normal file
75
BuechermarktClient/Students.xaml.cs
Normal file
@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
using BuechermarktClient.Models;
|
||||
using System.Threading;
|
||||
using MongoDB.Driver;
|
||||
|
||||
namespace BuechermarktClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für Students.xaml
|
||||
/// </summary>
|
||||
public partial class Students : Window
|
||||
{
|
||||
public Thread RefreshThread = null;
|
||||
private bool ThreadRunning = true;
|
||||
|
||||
public Students()
|
||||
{
|
||||
InitializeComponent();
|
||||
InitializeComponent();
|
||||
RefreshThread = new Thread(RefreshThreadS);
|
||||
RefreshThread.Start();
|
||||
RefreshThread.IsBackground = true;
|
||||
Closing += Students_Closing;
|
||||
}
|
||||
|
||||
|
||||
private void Students_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
||||
{
|
||||
ThreadRunning = false;
|
||||
}
|
||||
|
||||
public void RefreshThreadS()
|
||||
{
|
||||
while (ThreadRunning)
|
||||
{
|
||||
LoadList();
|
||||
Thread.Sleep(1000);
|
||||
}
|
||||
}
|
||||
|
||||
public void LoadList()
|
||||
{
|
||||
var list = MainWindow.StudentCollection.FindSync((s) => true).ToList();
|
||||
Dispatcher.BeginInvoke(new Action(delegate () {
|
||||
BookTypesList.ItemsSource = list;
|
||||
}));
|
||||
}
|
||||
|
||||
private void AddNew_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var editWindow = new StudentsEdit(null)
|
||||
{
|
||||
Owner = this
|
||||
};
|
||||
editWindow.Show();
|
||||
}
|
||||
|
||||
private void ListViewItem_PreviewMouseUp(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
var item = sender as ListViewItem;
|
||||
if (item != null && item.IsSelected)
|
||||
{
|
||||
var editWindow = new StudentsEdit(item.DataContext as Student)
|
||||
{
|
||||
Owner = this
|
||||
};
|
||||
editWindow.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
31
BuechermarktClient/StudentsEdit.xaml
Normal file
31
BuechermarktClient/StudentsEdit.xaml
Normal file
@ -0,0 +1,31 @@
|
||||
<Window x:Class="BuechermarktClient.StudentsEdit"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:BuechermarktClient"
|
||||
mc:Ignorable="d"
|
||||
Title="Buchtyp" Height="335" Width="300">
|
||||
<StackPanel VerticalAlignment="Top">
|
||||
<Label Content="Vorname" Margin="10,0"></Label>
|
||||
<TextBox Margin="10,0" Text="{Binding Path=Forname, Mode=TwoWay}"></TextBox>
|
||||
<Label Content="Nachname" Margin="10,0"></Label>
|
||||
<TextBox Margin="10,0" Text="{Binding Path=Lastname, Mode=TwoWay}"></TextBox>
|
||||
<Label Content="E-Mail" Margin="10,0"></Label>
|
||||
<TextBox Margin="10,0" Text="{Binding Path=EMail, Mode=TwoWay}"></TextBox>
|
||||
<Label Content="Telefon" Margin="10,0"></Label>
|
||||
<TextBox Margin="10,0" Text="{Binding Path=PhoneNumber, Mode=TwoWay}"></TextBox>
|
||||
<Label Content="LabelId" Margin="10,0"></Label>
|
||||
<TextBox Margin="10,0" Text="{Binding Path=LabelId, Mode=TwoWay}"></TextBox>
|
||||
<Label Content="Klasse" Margin="10,0"></Label>
|
||||
<TextBox Margin="10,0" Text="{Binding Path=Form, Mode=TwoWay}"></TextBox>
|
||||
<Grid Margin="10,10,10,0">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||
<ColumnDefinition Width="*"></ColumnDefinition>
|
||||
</Grid.ColumnDefinitions>
|
||||
<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>
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</Window>
|
157
BuechermarktClient/StudentsEdit.xaml.cs
Normal file
157
BuechermarktClient/StudentsEdit.xaml.cs
Normal file
@ -0,0 +1,157 @@
|
||||
using BuechermarktClient.Models;
|
||||
using MongoDB.Driver;
|
||||
using System.ComponentModel;
|
||||
using System.Windows;
|
||||
|
||||
namespace BuechermarktClient
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaktionslogik für BookTypesEdit.xaml
|
||||
/// </summary>
|
||||
public partial class StudentsEdit : Window, INotifyPropertyChanged
|
||||
{
|
||||
private bool New = false;
|
||||
private Student Student = null;
|
||||
public string Forname
|
||||
{
|
||||
get
|
||||
{
|
||||
return Student.Forname;
|
||||
}
|
||||
set {
|
||||
if(value != Student.Forname)
|
||||
{
|
||||
Student.Forname = value;
|
||||
OnPropertyChanged("Forname");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string Lastname
|
||||
{
|
||||
get
|
||||
{
|
||||
return Student.Lastname;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != Student.Lastname)
|
||||
{
|
||||
Student.Lastname = value;
|
||||
OnPropertyChanged("Lastname");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string EMail
|
||||
{
|
||||
get
|
||||
{
|
||||
return Student.EMail;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != Student.EMail)
|
||||
{
|
||||
Student.EMail = value;
|
||||
OnPropertyChanged("EMail");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string PhoneNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return Student.PhoneNumber;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != Student.PhoneNumber)
|
||||
{
|
||||
Student.PhoneNumber = value;
|
||||
OnPropertyChanged("PhoneNumber");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string LabelId
|
||||
{
|
||||
get
|
||||
{
|
||||
return Student.LabelId;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != Student.LabelId)
|
||||
{
|
||||
Student.LabelId = value;
|
||||
OnPropertyChanged("LabelId");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public string Form
|
||||
{
|
||||
get
|
||||
{
|
||||
return Student.Form;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (value != Student.Form)
|
||||
{
|
||||
Student.Form = value;
|
||||
OnPropertyChanged("Form");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
protected void OnPropertyChanged(string propertyName)
|
||||
{
|
||||
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
|
||||
public StudentsEdit(Student student)
|
||||
{
|
||||
DataContext = this;
|
||||
if(student == null)
|
||||
{
|
||||
Student = new Student();
|
||||
New = true;
|
||||
} else
|
||||
{
|
||||
Student = student;
|
||||
}
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Save_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if(New)
|
||||
{
|
||||
MainWindow.StudentCollection.InsertOne(Student);
|
||||
} else
|
||||
{
|
||||
MainWindow.StudentCollection.FindOneAndUpdate(s => s.ID == Student.ID, Builders<Student>.Update
|
||||
.Set(s => s.Forname, Student.Forname)
|
||||
.Set(s => s.Lastname, Student.Lastname)
|
||||
.Set(s => s.EMail, Student.EMail)
|
||||
.Set(s => s.PhoneNumber, Student.PhoneNumber)
|
||||
.Set(s => s.LabelId, Student.LabelId)
|
||||
.Set(s=>s.Form, Student.Form));
|
||||
}
|
||||
Close();
|
||||
}
|
||||
|
||||
private void Delete_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if(Student.ID != null)
|
||||
{
|
||||
MainWindow.StudentCollection.DeleteOne(bt => bt.ID == Student.ID);
|
||||
}
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
14
BuechermarktClient/bin/Debug/BuechermarktClient.exe.config
Normal file
14
BuechermarktClient/bin/Debug/BuechermarktClient.exe.config
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<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" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
22445
BuechermarktClient/bin/Debug/MongoDB.Bson.xml
Normal file
22445
BuechermarktClient/bin/Debug/MongoDB.Bson.xml
Normal file
File diff suppressed because it is too large
Load Diff
13336
BuechermarktClient/bin/Debug/MongoDB.Driver.Core.xml
Normal file
13336
BuechermarktClient/bin/Debug/MongoDB.Driver.Core.xml
Normal file
File diff suppressed because it is too large
Load Diff
17863
BuechermarktClient/bin/Debug/MongoDB.Driver.xml
Normal file
17863
BuechermarktClient/bin/Debug/MongoDB.Driver.xml
Normal file
File diff suppressed because it is too large
Load Diff
10760
BuechermarktClient/bin/Debug/Newtonsoft.Json.xml
Normal file
10760
BuechermarktClient/bin/Debug/Newtonsoft.Json.xml
Normal file
File diff suppressed because it is too large
Load Diff
3095
BuechermarktClient/bin/Debug/RestSharp.xml
Normal file
3095
BuechermarktClient/bin/Debug/RestSharp.xml
Normal file
File diff suppressed because it is too large
Load Diff
70
BuechermarktClient/obj/Debug/App.g.cs
Normal file
70
BuechermarktClient/obj/Debug/App.g.cs
Normal file
@ -0,0 +1,70 @@
|
||||
#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A601CBE00213CB854D3A5B0F8E4EA1C9"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 5 "..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public static void Main() {
|
||||
BuechermarktClient.App app = new BuechermarktClient.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
70
BuechermarktClient/obj/Debug/App.g.i.cs
Normal file
70
BuechermarktClient/obj/Debug/App.g.i.cs
Normal file
@ -0,0 +1,70 @@
|
||||
#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "A601CBE00213CB854D3A5B0F8E4EA1C9"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 5 "..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public static void Main() {
|
||||
BuechermarktClient.App app = new BuechermarktClient.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
121
BuechermarktClient/obj/Debug/BookTypes - Kopieren.g.i.cs
Normal file
121
BuechermarktClient/obj/Debug/BookTypes - Kopieren.g.i.cs
Normal file
@ -0,0 +1,121 @@
|
||||
#pragma checksum "..\..\BookTypes - Kopieren.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3804A968D9CEB9784CCAB007BA4E2793"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// BookTypes
|
||||
/// </summary>
|
||||
public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||
|
||||
|
||||
#line 14 "..\..\BookTypes - Kopieren.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.ListView BookTypesList;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes%20-%20kopieren.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\BookTypes - Kopieren.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
||||
return;
|
||||
case 3:
|
||||
|
||||
#line 27 "..\..\BookTypes - Kopieren.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||
System.Windows.EventSetter eventSetter;
|
||||
switch (connectionId)
|
||||
{
|
||||
case 2:
|
||||
eventSetter = new System.Windows.EventSetter();
|
||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||
|
||||
#line 23 "..\..\BookTypes - Kopieren.xaml"
|
||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
BuechermarktClient/obj/Debug/BookTypes.baml
Normal file
BIN
BuechermarktClient/obj/Debug/BookTypes.baml
Normal file
Binary file not shown.
121
BuechermarktClient/obj/Debug/BookTypes.g.cs
Normal file
121
BuechermarktClient/obj/Debug/BookTypes.g.cs
Normal file
@ -0,0 +1,121 @@
|
||||
#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3804A968D9CEB9784CCAB007BA4E2793"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// BookTypes
|
||||
/// </summary>
|
||||
public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||
|
||||
|
||||
#line 14 "..\..\BookTypes.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.ListView BookTypesList;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\BookTypes.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
||||
return;
|
||||
case 3:
|
||||
|
||||
#line 27 "..\..\BookTypes.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||
System.Windows.EventSetter eventSetter;
|
||||
switch (connectionId)
|
||||
{
|
||||
case 2:
|
||||
eventSetter = new System.Windows.EventSetter();
|
||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||
|
||||
#line 23 "..\..\BookTypes.xaml"
|
||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
121
BuechermarktClient/obj/Debug/BookTypes.g.i.cs
Normal file
121
BuechermarktClient/obj/Debug/BookTypes.g.i.cs
Normal file
@ -0,0 +1,121 @@
|
||||
#pragma checksum "..\..\BookTypes.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "3804A968D9CEB9784CCAB007BA4E2793"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// BookTypes
|
||||
/// </summary>
|
||||
public partial class BookTypes : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||
|
||||
|
||||
#line 14 "..\..\BookTypes.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.ListView BookTypesList;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypes.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\BookTypes.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
||||
return;
|
||||
case 3:
|
||||
|
||||
#line 27 "..\..\BookTypes.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||
System.Windows.EventSetter eventSetter;
|
||||
switch (connectionId)
|
||||
{
|
||||
case 2:
|
||||
eventSetter = new System.Windows.EventSetter();
|
||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||
|
||||
#line 23 "..\..\BookTypes.xaml"
|
||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
94
BuechermarktClient/obj/Debug/BookTypesEdit - Kopieren.g.i.cs
Normal file
94
BuechermarktClient/obj/Debug/BookTypesEdit - Kopieren.g.i.cs
Normal file
@ -0,0 +1,94 @@
|
||||
#pragma checksum "..\..\BookTypesEdit - Kopieren.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// BookTypesEdit
|
||||
/// </summary>
|
||||
public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit%20-%20kopieren.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\BookTypesEdit - Kopieren.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 19 "..\..\BookTypesEdit - Kopieren.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
|
||||
#line 20 "..\..\BookTypesEdit - Kopieren.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
BuechermarktClient/obj/Debug/BookTypesEdit.baml
Normal file
BIN
BuechermarktClient/obj/Debug/BookTypesEdit.baml
Normal file
Binary file not shown.
94
BuechermarktClient/obj/Debug/BookTypesEdit.g.cs
Normal file
94
BuechermarktClient/obj/Debug/BookTypesEdit.g.cs
Normal file
@ -0,0 +1,94 @@
|
||||
#pragma checksum "..\..\BookTypesEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// BookTypesEdit
|
||||
/// </summary>
|
||||
public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\BookTypesEdit.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 19 "..\..\BookTypesEdit.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
|
||||
#line 20 "..\..\BookTypesEdit.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
94
BuechermarktClient/obj/Debug/BookTypesEdit.g.i.cs
Normal file
94
BuechermarktClient/obj/Debug/BookTypesEdit.g.i.cs
Normal file
@ -0,0 +1,94 @@
|
||||
#pragma checksum "..\..\BookTypesEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "82691408CF5C57ABF8F3969E05225178"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// BookTypesEdit
|
||||
/// </summary>
|
||||
public partial class BookTypesEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/booktypesedit.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\BookTypesEdit.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 19 "..\..\BookTypesEdit.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
|
||||
#line 20 "..\..\BookTypesEdit.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
@ -0,0 +1,33 @@
|
||||
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.pdb
|
||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\BuechermarktClient.csprojResolveAssemblyReference.cache
|
||||
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\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\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.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.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\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.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\RestSharp.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.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\Newtonsoft.Json.xml
|
||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\bin\Debug\RestSharp.xml
|
||||
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.baml
|
||||
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.baml
|
||||
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\Students.baml
|
||||
C:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\obj\Debug\StudentsEdit.baml
|
BIN
BuechermarktClient/obj/Debug/BuechermarktClient.g.resources
Normal file
BIN
BuechermarktClient/obj/Debug/BuechermarktClient.g.resources
Normal file
Binary file not shown.
@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\BookTypes.xaml;;
|
||||
FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\MainWindow.xaml;;
|
||||
FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\BookTypesEdit.xaml;;
|
||||
FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\Students.xaml;;
|
||||
FC:\Users\fabia\Documents\Projekte\privat\under development\BuechermarktClient\BuechermarktClient\StudentsEdit.xaml;;
|
||||
|
94
BuechermarktClient/obj/Debug/Login.g.i.cs
Normal file
94
BuechermarktClient/obj/Debug/Login.g.i.cs
Normal file
@ -0,0 +1,94 @@
|
||||
#pragma checksum "..\..\Login.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F889762A67CED8B8C47433E18757F5A0"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Login
|
||||
/// </summary>
|
||||
public partial class Login : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/login.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\Login.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 15 "..\..\Login.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
|
||||
#line 16 "..\..\Login.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
BuechermarktClient/obj/Debug/MainWindow.baml
Normal file
BIN
BuechermarktClient/obj/Debug/MainWindow.baml
Normal file
Binary file not shown.
102
BuechermarktClient/obj/Debug/MainWindow.g.cs
Normal file
102
BuechermarktClient/obj/Debug/MainWindow.g.cs
Normal file
@ -0,0 +1,102 @@
|
||||
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "555DF7808B3534D85CBC8AC2B0E4BB23"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MainWindow
|
||||
/// </summary>
|
||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/mainwindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\MainWindow.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 8 "..\..\MainWindow.xaml"
|
||||
((BuechermarktClient.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
|
||||
#line 14 "..\..\MainWindow.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypes_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 3:
|
||||
|
||||
#line 15 "..\..\MainWindow.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Students_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
102
BuechermarktClient/obj/Debug/MainWindow.g.i.cs
Normal file
102
BuechermarktClient/obj/Debug/MainWindow.g.i.cs
Normal file
@ -0,0 +1,102 @@
|
||||
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "555DF7808B3534D85CBC8AC2B0E4BB23"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MainWindow
|
||||
/// </summary>
|
||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/mainwindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\MainWindow.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 8 "..\..\MainWindow.xaml"
|
||||
((BuechermarktClient.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
|
||||
#line 14 "..\..\MainWindow.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.BookTypes_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 3:
|
||||
|
||||
#line 15 "..\..\MainWindow.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Students_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
BuechermarktClient/obj/Debug/Students.baml
Normal file
BIN
BuechermarktClient/obj/Debug/Students.baml
Normal file
Binary file not shown.
121
BuechermarktClient/obj/Debug/Students.g.cs
Normal file
121
BuechermarktClient/obj/Debug/Students.g.cs
Normal file
@ -0,0 +1,121 @@
|
||||
#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "E3910DEC8AFEF22336269C31853C6286"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Students
|
||||
/// </summary>
|
||||
public partial class Students : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||
|
||||
|
||||
#line 14 "..\..\Students.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.ListView BookTypesList;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/students.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\Students.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
||||
return;
|
||||
case 3:
|
||||
|
||||
#line 31 "..\..\Students.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||
System.Windows.EventSetter eventSetter;
|
||||
switch (connectionId)
|
||||
{
|
||||
case 2:
|
||||
eventSetter = new System.Windows.EventSetter();
|
||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||
|
||||
#line 27 "..\..\Students.xaml"
|
||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
121
BuechermarktClient/obj/Debug/Students.g.i.cs
Normal file
121
BuechermarktClient/obj/Debug/Students.g.i.cs
Normal file
@ -0,0 +1,121 @@
|
||||
#pragma checksum "..\..\Students.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "E3910DEC8AFEF22336269C31853C6286"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Students
|
||||
/// </summary>
|
||||
public partial class Students : System.Windows.Window, System.Windows.Markup.IComponentConnector, System.Windows.Markup.IStyleConnector {
|
||||
|
||||
|
||||
#line 14 "..\..\Students.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.ListView BookTypesList;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/students.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\Students.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
this.BookTypesList = ((System.Windows.Controls.ListView)(target));
|
||||
return;
|
||||
case 3:
|
||||
|
||||
#line 31 "..\..\Students.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.AddNew_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) {
|
||||
System.Windows.EventSetter eventSetter;
|
||||
switch (connectionId)
|
||||
{
|
||||
case 2:
|
||||
eventSetter = new System.Windows.EventSetter();
|
||||
eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent;
|
||||
|
||||
#line 27 "..\..\Students.xaml"
|
||||
eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseUp);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
((System.Windows.Style)(target)).Setters.Add(eventSetter);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
BuechermarktClient/obj/Debug/StudentsEdit.baml
Normal file
BIN
BuechermarktClient/obj/Debug/StudentsEdit.baml
Normal file
Binary file not shown.
94
BuechermarktClient/obj/Debug/StudentsEdit.g.cs
Normal file
94
BuechermarktClient/obj/Debug/StudentsEdit.g.cs
Normal file
@ -0,0 +1,94 @@
|
||||
#pragma checksum "..\..\StudentsEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "48BAC688059091648BFD0E454A953B5D"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// StudentsEdit
|
||||
/// </summary>
|
||||
public partial class StudentsEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/studentsedit.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\StudentsEdit.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 27 "..\..\StudentsEdit.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
|
||||
#line 28 "..\..\StudentsEdit.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
94
BuechermarktClient/obj/Debug/StudentsEdit.g.i.cs
Normal file
94
BuechermarktClient/obj/Debug/StudentsEdit.g.i.cs
Normal file
@ -0,0 +1,94 @@
|
||||
#pragma checksum "..\..\StudentsEdit.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "48BAC688059091648BFD0E454A953B5D"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using BuechermarktClient;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace BuechermarktClient {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// StudentsEdit
|
||||
/// </summary>
|
||||
public partial class StudentsEdit : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/BuechermarktClient;component/studentsedit.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\StudentsEdit.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 27 "..\..\StudentsEdit.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 2:
|
||||
|
||||
#line 28 "..\..\StudentsEdit.xaml"
|
||||
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Delete_Click);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
9
BuechermarktClient/packages.config
Normal file
9
BuechermarktClient/packages.config
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="MongoDB.Bson" version="2.4.3" targetFramework="net452" />
|
||||
<package id="MongoDB.Driver" version="2.4.3" targetFramework="net452" />
|
||||
<package id="MongoDB.Driver.Core" version="2.4.3" targetFramework="net452" />
|
||||
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net452" />
|
||||
<package id="RestSharp" version="105.2.3" targetFramework="net452" />
|
||||
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net452" />
|
||||
</packages>
|
BIN
packages/MongoDB.Bson.2.4.3/License.rtf
vendored
Normal file
BIN
packages/MongoDB.Bson.2.4.3/License.rtf
vendored
Normal file
Binary file not shown.
BIN
packages/MongoDB.Bson.2.4.3/MongoDB.Bson.2.4.3.nupkg
vendored
Normal file
BIN
packages/MongoDB.Bson.2.4.3/MongoDB.Bson.2.4.3.nupkg
vendored
Normal file
Binary file not shown.
22445
packages/MongoDB.Bson.2.4.3/lib/net45/MongoDB.Bson.XML
vendored
Normal file
22445
packages/MongoDB.Bson.2.4.3/lib/net45/MongoDB.Bson.XML
vendored
Normal file
File diff suppressed because it is too large
Load Diff
21631
packages/MongoDB.Bson.2.4.3/lib/netstandard1.5/MongoDB.Bson.xml
vendored
Normal file
21631
packages/MongoDB.Bson.2.4.3/lib/netstandard1.5/MongoDB.Bson.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/MongoDB.Driver.2.4.3/License.rtf
vendored
Normal file
BIN
packages/MongoDB.Driver.2.4.3/License.rtf
vendored
Normal file
Binary file not shown.
BIN
packages/MongoDB.Driver.2.4.3/MongoDB.Driver.2.4.3.nupkg
vendored
Normal file
BIN
packages/MongoDB.Driver.2.4.3/MongoDB.Driver.2.4.3.nupkg
vendored
Normal file
Binary file not shown.
17863
packages/MongoDB.Driver.2.4.3/lib/net45/MongoDB.Driver.XML
vendored
Normal file
17863
packages/MongoDB.Driver.2.4.3/lib/net45/MongoDB.Driver.XML
vendored
Normal file
File diff suppressed because it is too large
Load Diff
16378
packages/MongoDB.Driver.2.4.3/lib/netstandard1.5/MongoDB.Driver.xml
vendored
Normal file
16378
packages/MongoDB.Driver.2.4.3/lib/netstandard1.5/MongoDB.Driver.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/MongoDB.Driver.Core.2.4.3/License.rtf
vendored
Normal file
BIN
packages/MongoDB.Driver.Core.2.4.3/License.rtf
vendored
Normal file
Binary file not shown.
BIN
packages/MongoDB.Driver.Core.2.4.3/MongoDB.Driver.Core.2.4.3.nupkg
vendored
Normal file
BIN
packages/MongoDB.Driver.Core.2.4.3/MongoDB.Driver.Core.2.4.3.nupkg
vendored
Normal file
Binary file not shown.
13336
packages/MongoDB.Driver.Core.2.4.3/lib/net45/MongoDB.Driver.Core.XML
vendored
Normal file
13336
packages/MongoDB.Driver.Core.2.4.3/lib/net45/MongoDB.Driver.Core.XML
vendored
Normal file
File diff suppressed because it is too large
Load Diff
14211
packages/MongoDB.Driver.Core.2.4.3/lib/netstandard1.5/MongoDB.Driver.Core.xml
vendored
Normal file
14211
packages/MongoDB.Driver.Core.2.4.3/lib/netstandard1.5/MongoDB.Driver.Core.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
20
packages/Newtonsoft.Json.10.0.2/LICENSE.md
vendored
Normal file
20
packages/Newtonsoft.Json.10.0.2/LICENSE.md
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2007 James Newton-King
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
BIN
packages/Newtonsoft.Json.10.0.2/Newtonsoft.Json.10.0.2.nupkg
vendored
Normal file
BIN
packages/Newtonsoft.Json.10.0.2/Newtonsoft.Json.10.0.2.nupkg
vendored
Normal file
Binary file not shown.
9815
packages/Newtonsoft.Json.10.0.2/lib/net20/Newtonsoft.Json.xml
vendored
Normal file
9815
packages/Newtonsoft.Json.10.0.2/lib/net20/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
8944
packages/Newtonsoft.Json.10.0.2/lib/net35/Newtonsoft.Json.xml
vendored
Normal file
8944
packages/Newtonsoft.Json.10.0.2/lib/net35/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
9144
packages/Newtonsoft.Json.10.0.2/lib/net40/Newtonsoft.Json.xml
vendored
Normal file
9144
packages/Newtonsoft.Json.10.0.2/lib/net40/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
10760
packages/Newtonsoft.Json.10.0.2/lib/net45/Newtonsoft.Json.xml
vendored
Normal file
10760
packages/Newtonsoft.Json.10.0.2/lib/net45/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
10467
packages/Newtonsoft.Json.10.0.2/lib/netstandard1.0/Newtonsoft.Json.xml
vendored
Normal file
10467
packages/Newtonsoft.Json.10.0.2/lib/netstandard1.0/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
10559
packages/Newtonsoft.Json.10.0.2/lib/netstandard1.3/Newtonsoft.Json.xml
vendored
Normal file
10559
packages/Newtonsoft.Json.10.0.2/lib/netstandard1.3/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
8555
packages/Newtonsoft.Json.10.0.2/lib/portable-net40+sl5+win8+wpa81+wp8/Newtonsoft.Json.xml
vendored
Normal file
8555
packages/Newtonsoft.Json.10.0.2/lib/portable-net40+sl5+win8+wpa81+wp8/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
10467
packages/Newtonsoft.Json.10.0.2/lib/portable-net45+win8+wpa81+wp8/Newtonsoft.Json.xml
vendored
Normal file
10467
packages/Newtonsoft.Json.10.0.2/lib/portable-net45+win8+wpa81+wp8/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
116
packages/Newtonsoft.Json.10.0.2/tools/install.ps1
vendored
Normal file
116
packages/Newtonsoft.Json.10.0.2/tools/install.ps1
vendored
Normal file
@ -0,0 +1,116 @@
|
||||
param($installPath, $toolsPath, $package, $project)
|
||||
|
||||
# open json.net splash page on package install
|
||||
# don't open if json.net is installed as a dependency
|
||||
|
||||
try
|
||||
{
|
||||
$url = "http://www.newtonsoft.com/json/install?version=" + $package.Version
|
||||
$dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
|
||||
|
||||
if ($dte2.ActiveWindow.Caption -eq "Package Manager Console")
|
||||
{
|
||||
# user is installing from VS NuGet console
|
||||
# get reference to the window, the console host and the input history
|
||||
# show webpage if "install-package newtonsoft.json" was last input
|
||||
|
||||
$consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow])
|
||||
|
||||
$props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor `
|
||||
[System.Reflection.BindingFlags]::NonPublic)
|
||||
|
||||
$prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1
|
||||
if ($prop -eq $null) { return }
|
||||
|
||||
$hostInfo = $prop.GetValue($consoleWindow)
|
||||
if ($hostInfo -eq $null) { return }
|
||||
|
||||
$history = $hostInfo.WpfConsole.InputHistory.History
|
||||
|
||||
$lastCommand = $history | select -last 1
|
||||
|
||||
if ($lastCommand)
|
||||
{
|
||||
$lastCommand = $lastCommand.Trim().ToLower()
|
||||
if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json"))
|
||||
{
|
||||
$dte2.ItemOperations.Navigate($url) | Out-Null
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
# user is installing from VS NuGet dialog
|
||||
# get reference to the window, then smart output console provider
|
||||
# show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation
|
||||
|
||||
$instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor `
|
||||
[System.Reflection.BindingFlags]::NonPublic)
|
||||
|
||||
$consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor `
|
||||
[System.Reflection.BindingFlags]::NonPublic)
|
||||
|
||||
if ($instanceField -eq $null -or $consoleField -eq $null) { return }
|
||||
|
||||
$instance = $instanceField.GetValue($null)
|
||||
|
||||
if ($instance -eq $null) { return }
|
||||
|
||||
$consoleProvider = $consoleField.GetValue($instance)
|
||||
if ($consoleProvider -eq $null) { return }
|
||||
|
||||
$console = $consoleProvider.CreateOutputConsole($false)
|
||||
|
||||
$messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor `
|
||||
[System.Reflection.BindingFlags]::NonPublic)
|
||||
if ($messagesField -eq $null) { return }
|
||||
|
||||
$messages = $messagesField.GetValue($console)
|
||||
if ($messages -eq $null) { return }
|
||||
|
||||
$operations = $messages -split "=============================="
|
||||
|
||||
$lastOperation = $operations | select -last 1
|
||||
|
||||
if ($lastOperation)
|
||||
{
|
||||
$lastOperation = $lastOperation.ToLower()
|
||||
|
||||
$lines = $lastOperation -split "`r`n"
|
||||
|
||||
$installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1
|
||||
|
||||
if ($installMatch)
|
||||
{
|
||||
$dte2.ItemOperations.Navigate($url) | Out-Null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
try
|
||||
{
|
||||
$pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager")
|
||||
|
||||
$selection = $pmPane.TextDocument.Selection
|
||||
$selection.StartOfDocument($false)
|
||||
$selection.EndOfDocument($true)
|
||||
|
||||
if ($selection.Text.StartsWith("Attempting to gather dependencies information for package 'Newtonsoft.Json." + $package.Version + "'"))
|
||||
{
|
||||
# don't show on upgrade
|
||||
if (!$selection.Text.Contains("Removed package"))
|
||||
{
|
||||
$dte2.ItemOperations.Navigate($url) | Out-Null
|
||||
}
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
# stop potential errors from bubbling up
|
||||
# worst case the splash page won't open
|
||||
}
|
||||
}
|
||||
|
||||
# still yolo
|
BIN
packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg
vendored
Normal file
BIN
packages/RestSharp.105.2.3/RestSharp.105.2.3.nupkg
vendored
Normal file
Binary file not shown.
3020
packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml
vendored
Normal file
3020
packages/RestSharp.105.2.3/lib/MonoAndroid10/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3020
packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml
vendored
Normal file
3020
packages/RestSharp.105.2.3/lib/MonoTouch10/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3020
packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml
vendored
Normal file
3020
packages/RestSharp.105.2.3/lib/Xamarin.iOS10/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2858
packages/RestSharp.105.2.3/lib/net35/RestSharp.xml
vendored
Normal file
2858
packages/RestSharp.105.2.3/lib/net35/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3095
packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml
vendored
Normal file
3095
packages/RestSharp.105.2.3/lib/net4-client/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3095
packages/RestSharp.105.2.3/lib/net4/RestSharp.xml
vendored
Normal file
3095
packages/RestSharp.105.2.3/lib/net4/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3095
packages/RestSharp.105.2.3/lib/net45/RestSharp.xml
vendored
Normal file
3095
packages/RestSharp.105.2.3/lib/net45/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3095
packages/RestSharp.105.2.3/lib/net451/RestSharp.xml
vendored
Normal file
3095
packages/RestSharp.105.2.3/lib/net451/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3095
packages/RestSharp.105.2.3/lib/net452/RestSharp.xml
vendored
Normal file
3095
packages/RestSharp.105.2.3/lib/net452/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3095
packages/RestSharp.105.2.3/lib/net46/RestSharp.xml
vendored
Normal file
3095
packages/RestSharp.105.2.3/lib/net46/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
2649
packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml
vendored
Normal file
2649
packages/RestSharp.105.2.3/lib/sl5/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3866
packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml
vendored
Normal file
3866
packages/RestSharp.105.2.3/lib/windowsphone8/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
3866
packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml
vendored
Normal file
3866
packages/RestSharp.105.2.3/lib/windowsphone81/RestSharp.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
20
packages/RestSharp.105.2.3/readme.txt
vendored
Normal file
20
packages/RestSharp.105.2.3/readme.txt
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
*** IMPORTANT CHANGE IN RESTSHARP VERSION 103 ***
|
||||
|
||||
In 103.0, JSON.NET was removed as a dependency.
|
||||
|
||||
If this is still installed in your project and no other libraries depend on
|
||||
it you may remove it from your installed packages.
|
||||
|
||||
There is one breaking change: the default Json*Serializer* is no longer
|
||||
compatible with Json.NET. To use Json.NET for serialization, copy the code
|
||||
from https://github.com/restsharp/RestSharp/blob/86b31f9adf049d7fb821de8279154f41a17b36f7/RestSharp/Serializers/JsonSerializer.cs
|
||||
and register it with your client:
|
||||
|
||||
var client = new RestClient();
|
||||
client.JsonSerializer = new YourCustomSerializer();
|
||||
|
||||
The default Json*Deserializer* is mostly compatible, but it does not support
|
||||
all features which Json.NET has (like the ability to support a custom [JsonConverter]
|
||||
by decorating a certain property with an attribute). If you need these features, you
|
||||
must take care of the deserialization yourself to get it working.
|
||||
|
Binary file not shown.
31
packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ThirdPartyNotices.txt
vendored
Normal file
31
packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/ThirdPartyNotices.txt
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
This Microsoft .NET Library may incorporate components from the projects listed
|
||||
below. Microsoft licenses these components under the Microsoft .NET Library
|
||||
software license terms. The original copyright notices and the licenses under
|
||||
which Microsoft received such components are set forth below for informational
|
||||
purposes only. Microsoft reserves all rights not expressly granted herein,
|
||||
whether by implication, estoppel or otherwise.
|
||||
|
||||
1. .NET Core (https://github.com/dotnet/core/)
|
||||
|
||||
.NET Core
|
||||
Copyright (c) .NET Foundation and Contributors
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
128
packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/dotnet_library_license.txt
vendored
Normal file
128
packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/dotnet_library_license.txt
vendored
Normal file
@ -0,0 +1,128 @@
|
||||
|
||||
MICROSOFT SOFTWARE LICENSE TERMS
|
||||
|
||||
|
||||
MICROSOFT .NET LIBRARY
|
||||
|
||||
These license terms are an agreement between Microsoft Corporation (or based on where you live, one of its affiliates) and you. Please read them. They apply to the software named above, which includes the media on which you received it, if any. The terms also apply to any Microsoft
|
||||
|
||||
· updates,
|
||||
|
||||
· supplements,
|
||||
|
||||
· Internet-based services, and
|
||||
|
||||
· support services
|
||||
|
||||
for this software, unless other terms accompany those items. If so, those terms apply.
|
||||
|
||||
BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS. IF YOU DO NOT ACCEPT THEM, DO NOT USE THE SOFTWARE.
|
||||
|
||||
|
||||
IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE PERPETUAL RIGHTS BELOW.
|
||||
|
||||
1. INSTALLATION AND USE RIGHTS.
|
||||
|
||||
a. Installation and Use. You may install and use any number of copies of the software to design, develop and test your programs.
|
||||
|
||||
b. Third Party Programs. The software may include third party programs that Microsoft, not the third party, licenses to you under this agreement. Notices, if any, for the third party program are included for your information only.
|
||||
|
||||
2. ADDITIONAL LICENSING REQUIREMENTS AND/OR USE RIGHTS.
|
||||
|
||||
a. DISTRIBUTABLE CODE. The software is comprised of Distributable Code. “Distributable Code” is code that you are permitted to distribute in programs you develop if you comply with the terms below.
|
||||
|
||||
i. Right to Use and Distribute.
|
||||
|
||||
· You may copy and distribute the object code form of the software.
|
||||
|
||||
· Third Party Distribution. You may permit distributors of your programs to copy and distribute the Distributable Code as part of those programs.
|
||||
|
||||
ii. Distribution Requirements. For any Distributable Code you distribute, you must
|
||||
|
||||
· add significant primary functionality to it in your programs;
|
||||
|
||||
· require distributors and external end users to agree to terms that protect it at least as much as this agreement;
|
||||
|
||||
· display your valid copyright notice on your programs; and
|
||||
|
||||
· indemnify, defend, and hold harmless Microsoft from any claims, including attorneys’ fees, related to the distribution or use of your programs.
|
||||
|
||||
iii. Distribution Restrictions. You may not
|
||||
|
||||
· alter any copyright, trademark or patent notice in the Distributable Code;
|
||||
|
||||
· use Microsoft’s trademarks in your programs’ names or in a way that suggests your programs come from or are endorsed by Microsoft;
|
||||
|
||||
· include Distributable Code in malicious, deceptive or unlawful programs; or
|
||||
|
||||
· modify or distribute the source code of any Distributable Code so that any part of it becomes subject to an Excluded License. An Excluded License is one that requires, as a condition of use, modification or distribution, that
|
||||
|
||||
· the code be disclosed or distributed in source code form; or
|
||||
|
||||
· others have the right to modify it.
|
||||
|
||||
3. SCOPE OF LICENSE. The software is licensed, not sold. This agreement only gives you some rights to use the software. Microsoft reserves all other rights. Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not
|
||||
|
||||
· work around any technical limitations in the software;
|
||||
|
||||
· reverse engineer, decompile or disassemble the software, except and only to the extent that applicable law expressly permits, despite this limitation;
|
||||
|
||||
· publish the software for others to copy;
|
||||
|
||||
· rent, lease or lend the software;
|
||||
|
||||
· transfer the software or this agreement to any third party; or
|
||||
|
||||
· use the software for commercial software hosting services.
|
||||
|
||||
4. BACKUP COPY. You may make one backup copy of the software. You may use it only to reinstall the software.
|
||||
|
||||
5. DOCUMENTATION. Any person that has valid access to your computer or internal network may copy and use the documentation for your internal, reference purposes.
|
||||
|
||||
6. EXPORT RESTRICTIONS. The software is subject to United States export laws and regulations. You must comply with all domestic and international export laws and regulations that apply to the software. These laws include restrictions on destinations, end users and end use. For additional information, see www.microsoft.com/exporting.
|
||||
|
||||
7. SUPPORT SERVICES. Because this software is “as is,” we may not provide support services for it.
|
||||
|
||||
8. ENTIRE AGREEMENT. This agreement, and the terms for supplements, updates, Internet-based services and support services that you use, are the entire agreement for the software and support services.
|
||||
|
||||
9. APPLICABLE LAW.
|
||||
|
||||
a. United States. If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles. The laws of the state where you live govern all other claims, including claims under state consumer protection laws, unfair competition laws, and in tort.
|
||||
|
||||
b. Outside the United States. If you acquired the software in any other country, the laws of that country apply.
|
||||
|
||||
10. LEGAL EFFECT. This agreement describes certain legal rights. You may have other rights under the laws of your country. You may also have rights with respect to the party from whom you acquired the software. This agreement does not change your rights under the laws of your country if the laws of your country do not permit it to do so.
|
||||
|
||||
11. DISCLAIMER OF WARRANTY. THE SOFTWARE IS LICENSED “AS-IS.” YOU BEAR THE RISK OF USING IT. MICROSOFT GIVES NO EXPRESS WARRANTIES, GUARANTEES OR CONDITIONS. YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS OR STATUTORY GUARANTEES UNDER YOUR LOCAL LAWS WHICH THIS AGREEMENT CANNOT CHANGE. TO THE EXTENT PERMITTED UNDER YOUR LOCAL LAWS, MICROSOFT EXCLUDES THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||
|
||||
FOR AUSTRALIA – YOU HAVE STATUTORY GUARANTEES UNDER THE AUSTRALIAN CONSUMER LAW AND NOTHING IN THESE TERMS IS INTENDED TO AFFECT THOSE RIGHTS.
|
||||
|
||||
12. LIMITATION ON AND EXCLUSION OF REMEDIES AND DAMAGES. YOU CAN RECOVER FROM MICROSOFT AND ITS SUPPLIERS ONLY DIRECT DAMAGES UP TO U.S. $5.00. YOU CANNOT RECOVER ANY OTHER DAMAGES, INCLUDING CONSEQUENTIAL, LOST PROFITS, SPECIAL, INDIRECT OR INCIDENTAL DAMAGES.
|
||||
|
||||
This limitation applies to
|
||||
|
||||
· anything related to the software, services, content (including code) on third party Internet sites, or third party programs; and
|
||||
|
||||
· claims for breach of contract, breach of warranty, guarantee or condition, strict liability, negligence, or other tort to the extent permitted by applicable law.
|
||||
|
||||
It also applies even if Microsoft knew or should have known about the possibility of the damages. The above limitation or exclusion may not apply to you because your country may not allow the exclusion or limitation of incidental, consequential or other damages.
|
||||
|
||||
Please note: As this software is distributed in Quebec, Canada, some of the clauses in this agreement are provided below in French.
|
||||
|
||||
Remarque : Ce logiciel étant distribué au Québec, Canada, certaines des clauses dans ce contrat sont fournies ci-dessous en français.
|
||||
|
||||
EXONÉRATION DE GARANTIE. Le logiciel visé par une licence est offert « tel quel ». Toute utilisation de ce logiciel est à votre seule risque et péril. Microsoft n’accorde aucune autre garantie expresse. Vous pouvez bénéficier de droits additionnels en vertu du droit local sur la protection des consommateurs, que ce contrat ne peut modifier. La ou elles sont permises par le droit locale, les garanties implicites de qualité marchande, d’adéquation à un usage particulier et d’absence de contrefaçon sont exclues.
|
||||
|
||||
LIMITATION DES DOMMAGES-INTÉRÊTS ET EXCLUSION DE RESPONSABILITÉ POUR LES DOMMAGES. Vous pouvez obtenir de Microsoft et de ses fournisseurs une indemnisation en cas de dommages directs uniquement à hauteur de 5,00 $ US. Vous ne pouvez prétendre à aucune indemnisation pour les autres dommages, y compris les dommages spéciaux, indirects ou accessoires et pertes de bénéfices.
|
||||
|
||||
Cette limitation concerne :
|
||||
|
||||
· tout ce qui est relié au logiciel, aux services ou au contenu (y compris le code) figurant sur des sites Internet tiers ou dans des programmes tiers ; et
|
||||
|
||||
· les réclamations au titre de violation de contrat ou de garantie, ou au titre de responsabilité stricte, de négligence ou d’une autre faute dans la limite autorisée par la loi en vigueur.
|
||||
|
||||
Elle s’applique également, même si Microsoft connaissait ou devrait connaître l’éventualité d’un tel dommage. Si votre pays n’autorise pas l’exclusion ou la limitation de responsabilité pour les dommages indirects, accessoires ou de quelque nature que ce soit, il se peut que la limitation ou l’exclusion ci-dessus ne s’appliquera pas à votre égard.
|
||||
|
||||
EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous pourriez avoir d’autres droits prévus par les lois de votre pays. Le présent contrat ne modifie pas les droits que vous confèrent les lois de votre pays si celles-ci ne le permettent pas.
|
||||
|
||||
|
0
packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/MonoAndroid10/_._
vendored
Normal file
0
packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/MonoAndroid10/_._
vendored
Normal file
0
packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/MonoTouch10/_._
vendored
Normal file
0
packages/System.Runtime.InteropServices.RuntimeInformation.4.3.0/lib/MonoTouch10/_._
vendored
Normal file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user