Initial Commit
This commit is contained in:
parent
e95e446b7a
commit
5a79b62d7c
BIN
.vs/Przepisy/v15/.suo
Normal file
BIN
.vs/Przepisy/v15/.suo
Normal file
Binary file not shown.
0
.vs/Przepisy/v15/Server/sqlite3/db.lock
Normal file
0
.vs/Przepisy/v15/Server/sqlite3/db.lock
Normal file
BIN
.vs/Przepisy/v15/Server/sqlite3/storage.ide
Normal file
BIN
.vs/Przepisy/v15/Server/sqlite3/storage.ide
Normal file
Binary file not shown.
BIN
.vs/Przepisy/v15/Server/sqlite3/storage.ide-shm
Normal file
BIN
.vs/Przepisy/v15/Server/sqlite3/storage.ide-shm
Normal file
Binary file not shown.
BIN
.vs/Przepisy/v15/Server/sqlite3/storage.ide-wal
Normal file
BIN
.vs/Przepisy/v15/Server/sqlite3/storage.ide-wal
Normal file
Binary file not shown.
25
Przepisy.sln
Normal file
25
Przepisy.sln
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 15
|
||||||
|
VisualStudioVersion = 15.0.28307.645
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Przepisy", "Przepisy\Przepisy.csproj", "{A3CB8102-DE02-4B45-A6BD-D3B055B43FA3}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{A3CB8102-DE02-4B45-A6BD-D3B055B43FA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{A3CB8102-DE02-4B45-A6BD-D3B055B43FA3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{A3CB8102-DE02-4B45-A6BD-D3B055B43FA3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{A3CB8102-DE02-4B45-A6BD-D3B055B43FA3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {501011C8-72C3-4C57-B03F-28B2421BB362}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
6
Przepisy/App.config
Normal file
6
Przepisy/App.config
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
9
Przepisy/App.xaml
Normal file
9
Przepisy/App.xaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<Application x:Class="Przepisy.App"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:local="clr-namespace:Przepisy"
|
||||||
|
StartupUri="MainWindow.xaml">
|
||||||
|
<Application.Resources>
|
||||||
|
|
||||||
|
</Application.Resources>
|
||||||
|
</Application>
|
17
Przepisy/App.xaml.cs
Normal file
17
Przepisy/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 Przepisy
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Logika interakcji dla klasy App.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class App : Application
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
39
Przepisy/MainWindow.xaml
Normal file
39
Przepisy/MainWindow.xaml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
<Window x:Class="Przepisy.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:Przepisy"
|
||||||
|
xmlns:vm="clr-namespace:Przepisy.ViewModels"
|
||||||
|
xmlns:views="clr-namespace:Przepisy.Views"
|
||||||
|
|
||||||
|
mc:Ignorable="d"
|
||||||
|
Title="MainWindow" Height="450" Width="800">
|
||||||
|
<Window.Resources>
|
||||||
|
<DataTemplate x:Name="recipeViewTemplate" DataType="{x:Type vm:RecipesVM}">
|
||||||
|
<views:RecipeView DataContext="{Binding}"/>
|
||||||
|
</DataTemplate>
|
||||||
|
</Window.Resources>
|
||||||
|
<Grid Background="#FFB2DEB2">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<ContentControl Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="6" Grid.RowSpan="5" Content="{Binding}"/>
|
||||||
|
<StackPanel Grid.Row="6" Grid.Column="2" Grid.ColumnSpan="1" Grid.RowSpan="1" >
|
||||||
|
<Button Content="Przepisy" Click="RecipeView_Clicked" Height="50"/>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</Window>
|
37
Przepisy/MainWindow.xaml.cs
Normal file
37
Przepisy/MainWindow.xaml.cs
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
using Przepisy.ViewModels;
|
||||||
|
|
||||||
|
namespace Przepisy
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Logika interakcji dla klasy MainWindow.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class MainWindow : Window
|
||||||
|
{
|
||||||
|
public MainWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void RecipeView_Clicked(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
DataContext = new RecipesVM();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
51
Przepisy/Models/Recipe.cs
Normal file
51
Przepisy/Models/Recipe.cs
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Przepisy.Models
|
||||||
|
{
|
||||||
|
public class Recipe : INotifyPropertyChanged
|
||||||
|
{
|
||||||
|
|
||||||
|
private string name;
|
||||||
|
|
||||||
|
public string Name
|
||||||
|
{
|
||||||
|
get { return name; }
|
||||||
|
set { name = value; PropertyChange(nameof(Name)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private string description;
|
||||||
|
|
||||||
|
public string Description
|
||||||
|
{
|
||||||
|
get { return description; }
|
||||||
|
set { description = value; PropertyChange(nameof(Description)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public Recipe(string name, string description)
|
||||||
|
{
|
||||||
|
Name = name;
|
||||||
|
Description = description;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
|
|
||||||
|
private void PropertyChange(string propertyName)
|
||||||
|
{
|
||||||
|
if (PropertyChanged != null)
|
||||||
|
{
|
||||||
|
PropertyChanged.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
55
Przepisy/Properties/AssemblyInfo.cs
Normal file
55
Przepisy/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;
|
||||||
|
|
||||||
|
// Ogólne informacje o zestawie są kontrolowane poprzez następujący
|
||||||
|
// zestaw atrybutów. Zmień wartości tych atrybutów, aby zmodyfikować informacje
|
||||||
|
// powiązane z zestawem.
|
||||||
|
[assembly: AssemblyTitle("Przepisy")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("Przepisy")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2019")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Ustawienie elementu ComVisible na wartość false sprawia, że typy w tym zestawie są niewidoczne
|
||||||
|
// dla składników COM. Jeśli potrzebny jest dostęp do typu w tym zestawie z
|
||||||
|
// COM, ustaw wartość true dla atrybutu ComVisible tego typu.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
//Aby rozpocząć kompilację aplikacji możliwych do zlokalizowania, ustaw
|
||||||
|
//<UICulture>Kultura_używana_podczas_kodowania</UICulture> w pliku csproj
|
||||||
|
//w grupie <PropertyGroup>. Jeśli na przykład jest używany język angielski (USA)
|
||||||
|
//w plikach źródłowych ustaw dla elementu <UICulture> wartość en-US. Następnie usuń komentarz dla
|
||||||
|
//poniższego atrybutu NeutralResourceLanguage. Zaktualizuj wartość „en-US” w
|
||||||
|
//poniższej linii tak, aby dopasować ustawienie UICulture w pliku projektu.
|
||||||
|
|
||||||
|
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
||||||
|
|
||||||
|
|
||||||
|
[assembly: ThemeInfo(
|
||||||
|
ResourceDictionaryLocation.None, //gdzie znajdują się słowniki zasobów specyficznych dla motywów
|
||||||
|
//(używane, jeśli nie można odnaleźć zasobu na stronie,
|
||||||
|
// lub słowniki zasobów aplikacji)
|
||||||
|
ResourceDictionaryLocation.SourceAssembly //gdzie znajduje się słownik zasobów ogólnych
|
||||||
|
//(używane, jeśli nie można odnaleźć zasobu na stronie,
|
||||||
|
// aplikacji lub słowników zasobów specyficznych dla motywów)
|
||||||
|
)]
|
||||||
|
|
||||||
|
|
||||||
|
// Informacje o wersji zestawu zawierają następujące cztery wartości:
|
||||||
|
//
|
||||||
|
// Wersja główna
|
||||||
|
// Wersja pomocnicza
|
||||||
|
// Numer kompilacji
|
||||||
|
// Rewizja
|
||||||
|
//
|
||||||
|
// Możesz określić wszystkie wartości lub użyć domyślnych numerów kompilacji i poprawki
|
||||||
|
// przy użyciu symbolu „*”, tak jak pokazano poniżej:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
71
Przepisy/Properties/Resources.Designer.cs
generated
Normal file
71
Przepisy/Properties/Resources.Designer.cs
generated
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// Ten kod został wygenerowany przez narzędzie.
|
||||||
|
// Wersja środowiska uruchomieniowego: 4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Modyfikacje tego pliku mogą spowodować niewłaściwe zachowanie i zostaną utracone
|
||||||
|
// w przypadku ponownego wygenerowania kodu.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace Przepisy.Properties
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Silnie typizowana klasa zasobów do wyszukiwania zlokalizowanych ciągów itd.
|
||||||
|
/// </summary>
|
||||||
|
// Ta klasa została automatycznie wygenerowana za pomocą klasy StronglyTypedResourceBuilder
|
||||||
|
// przez narzędzie, takie jak ResGen lub Visual Studio.
|
||||||
|
// Aby dodać lub usunąć składowe, edytuj plik ResX, a następnie ponownie uruchom narzędzie ResGen
|
||||||
|
// z opcją /str lub ponownie skompiluj projekt programu VS.
|
||||||
|
[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>
|
||||||
|
/// Zwraca buforowane wystąpienie składnika ResourceManager używane przez tę klasę.
|
||||||
|
/// </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("Przepisy.Properties.Resources", typeof(Resources).Assembly);
|
||||||
|
resourceMan = temp;
|
||||||
|
}
|
||||||
|
return resourceMan;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Przesłania właściwość CurrentUICulture bieżącego wątku dla wszystkich
|
||||||
|
/// przypadków przeszukiwania zasobów za pomocą tej silnie typizowanej klasy zasobów.
|
||||||
|
/// </summary>
|
||||||
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
|
internal static global::System.Globalization.CultureInfo Culture
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return resourceCulture;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
resourceCulture = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
117
Przepisy/Properties/Resources.resx
Normal file
117
Przepisy/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
Przepisy/Properties/Settings.Designer.cs
generated
Normal file
30
Przepisy/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 Przepisy.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
Przepisy/Properties/Settings.settings
Normal file
7
Przepisy/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>
|
140
Przepisy/Przepisy.csproj
Normal file
140
Przepisy/Przepisy.csproj
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<?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>{A3CB8102-DE02-4B45-A6BD-D3B055B43FA3}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>Przepisy</RootNamespace>
|
||||||
|
<AssemblyName>Przepisy</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
<PublishUrl>publish\</PublishUrl>
|
||||||
|
<Install>true</Install>
|
||||||
|
<InstallFrom>Disk</InstallFrom>
|
||||||
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
|
<UpdateInterval>7</UpdateInterval>
|
||||||
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
|
<UpdateRequired>false</UpdateRequired>
|
||||||
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
</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="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<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>
|
||||||
|
<Compile Include="ViewModels\RecipesVM.cs" />
|
||||||
|
<Compile Include="Views\RecipeView.xaml.cs">
|
||||||
|
<DependentUpon>RecipeView.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<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="MainWindow.xaml.cs">
|
||||||
|
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||||
|
<SubType>Code</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Page Include="Views\RecipeView.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Models\Recipe.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">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="App.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include=".NETFramework,Version=v4.6.1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Microsoft .NET Framework 4.6.1 %28x86 and x64%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
13
Przepisy/Przepisy.csproj.user
Normal file
13
Przepisy/Przepisy.csproj.user
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<PublishUrlHistory>publish\</PublishUrlHistory>
|
||||||
|
<InstallUrlHistory />
|
||||||
|
<SupportUrlHistory />
|
||||||
|
<UpdateUrlHistory />
|
||||||
|
<BootstrapperUrlHistory />
|
||||||
|
<ErrorReportUrlHistory />
|
||||||
|
<FallbackCulture>en-US</FallbackCulture>
|
||||||
|
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
67
Przepisy/ViewModels/RecipesVM.cs
Normal file
67
Przepisy/ViewModels/RecipesVM.cs
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
using Przepisy.Models;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Przepisy.ViewModels
|
||||||
|
{
|
||||||
|
public class RecipesVM
|
||||||
|
{
|
||||||
|
public ObservableCollection<Recipe> Recipes { get; set; }
|
||||||
|
public RecipesVM()
|
||||||
|
{
|
||||||
|
Recipes = new ObservableCollection<Recipe>();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void AddRecipe(string name, string description)
|
||||||
|
{
|
||||||
|
|
||||||
|
Recipes.Add(new Recipe(name, description));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public async Task SaveToFileAsync()
|
||||||
|
{
|
||||||
|
|
||||||
|
string jsonTodo = JsonConvert.SerializeObject(Recipes);
|
||||||
|
using (StreamWriter writer = new StreamWriter("Recipes.txt"))
|
||||||
|
{
|
||||||
|
await writer.WriteAsync(jsonTodo);
|
||||||
|
}
|
||||||
|
Console.WriteLine("Zapisano.");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public async Task ReadFileAsync()
|
||||||
|
{
|
||||||
|
string json;
|
||||||
|
try
|
||||||
|
{
|
||||||
|
using (StreamReader reader = new StreamReader("Recipes.txt"))
|
||||||
|
{
|
||||||
|
|
||||||
|
json = await reader.ReadToEndAsync();
|
||||||
|
List<Recipe> items = JsonConvert.DeserializeObject<List<Recipe>>(json);
|
||||||
|
|
||||||
|
foreach (var item in items)
|
||||||
|
Recipes.Add(new Recipe(item.Name, item.Description));
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
Console.WriteLine("Wystąpił błąd.");
|
||||||
|
Console.WriteLine(e.Message);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
68
Przepisy/Views/RecipeView.xaml
Normal file
68
Przepisy/Views/RecipeView.xaml
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
<UserControl x:Class="Przepisy.Views.RecipeView"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:local="clr-namespace:Przepisy.Views"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
d:DesignHeight="450" d:DesignWidth="800">
|
||||||
|
<Grid Background="#FFC5D2FD">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
<ColumnDefinition/>
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
<RowDefinition/>
|
||||||
|
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
|
||||||
|
<StackPanel Grid.Column="0" Grid.ColumnSpan="1" Grid.Row="0" Grid.RowSpan="9">
|
||||||
|
<Label Content="Dodaj przepis" FontSize="18" FontWeight="Bold" Grid.Row="1" Grid.RowSpan="1"/>
|
||||||
|
<Label Content="Nazwa przepisu
" Grid.Row="2" Grid.RowSpan="1"/>
|
||||||
|
<TextBox x:Name="InputName" TextWrapping="Wrap" Height="30" Width="205" RenderTransformOrigin="0.465,0.396" Grid.Row="3" Grid.RowSpan="1"/>
|
||||||
|
<Label Content="Treść przepisu
" HorizontalAlignment="Left" Width="400" Grid.Row="3" Grid.RowSpan="1" />
|
||||||
|
<TextBox x:Name="InputDescription" Width="205" Height="150" Grid.Row="4" Grid.RowSpan="3" />
|
||||||
|
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Grid.Column="0" Grid.Row="8" Grid.RowSpan="2">
|
||||||
|
<Button x:Name="ButtonAddRecipe" Content="Dodaj przepis" Width="114" Height="39" Click="ButtonAddRecipe_Click" Grid.Row="3" Margin="143,0" />
|
||||||
|
|
||||||
|
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<StackPanel Grid.Column="1" Grid.ColumnSpan="1" Grid.Row="0" Grid.RowSpan="6" VerticalAlignment="Top" >
|
||||||
|
<Label Content="Lista przepisów" FontSize="18" FontWeight="Bold"/>
|
||||||
|
|
||||||
|
<ListBox x:Name="RecipesListView" ItemsSource="{Binding Recipes}" Height="315" >
|
||||||
|
<ListBox.ItemTemplate>
|
||||||
|
<ItemContainerTemplate>
|
||||||
|
<StackPanel>
|
||||||
|
<Label Content="Nazwa:"/>
|
||||||
|
<TextBlock Text="{Binding Name}"/>
|
||||||
|
<Label Content="Przygotowanie:"/>
|
||||||
|
<TextBlock Text="{Binding Description}" />
|
||||||
|
<Label/>
|
||||||
|
<Border />
|
||||||
|
</StackPanel>
|
||||||
|
</ItemContainerTemplate>
|
||||||
|
</ListBox.ItemTemplate>
|
||||||
|
</ListBox>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<StackPanel Grid.Column="1" Grid.ColumnSpan="1" Grid.Row="7" Grid.RowSpan="2" >
|
||||||
|
|
||||||
|
<Button Name="ReadFile" Content="Wczytaj z pliku" VerticalAlignment="Bottom" Height="33" Click="ReadFile_Click"/>
|
||||||
|
<Button Name="SaveFile" Content="Zapisz do pliku" VerticalAlignment="Bottom" Height="34" Click="SaveFile_Click" />
|
||||||
|
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
</UserControl>
|
58
Przepisy/Views/RecipeView.xaml.cs
Normal file
58
Przepisy/Views/RecipeView.xaml.cs
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
using Przepisy.ViewModels;
|
||||||
|
|
||||||
|
namespace Przepisy.Views
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Logika interakcji dla klasy RecipeView.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class RecipeView : UserControl
|
||||||
|
{
|
||||||
|
public RecipesVM vm { get { return DataContext as RecipesVM; } }
|
||||||
|
|
||||||
|
|
||||||
|
public RecipeView()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ButtonAddRecipe_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
if (InputName.Text == null || InputDescription.Text == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
vm.AddRecipe(InputName.Text, InputDescription.Text);
|
||||||
|
InputName.Text = "";
|
||||||
|
InputDescription.Text = "";
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private async void SaveFile_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
await vm.SaveToFileAsync();
|
||||||
|
}
|
||||||
|
|
||||||
|
private async void ReadFile_Click(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
await vm.ReadFileAsync();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
BIN
Przepisy/bin/Debug/Newtonsoft.Json.dll
Normal file
BIN
Przepisy/bin/Debug/Newtonsoft.Json.dll
Normal file
Binary file not shown.
11172
Przepisy/bin/Debug/Newtonsoft.Json.xml
Normal file
11172
Przepisy/bin/Debug/Newtonsoft.Json.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
Przepisy/bin/Debug/Przepisy.exe
Normal file
BIN
Przepisy/bin/Debug/Przepisy.exe
Normal file
Binary file not shown.
6
Przepisy/bin/Debug/Przepisy.exe.config
Normal file
6
Przepisy/bin/Debug/Przepisy.exe.config
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
BIN
Przepisy/bin/Debug/Przepisy.pdb
Normal file
BIN
Przepisy/bin/Debug/Przepisy.pdb
Normal file
Binary file not shown.
1
Przepisy/bin/Debug/Recipes.txt
Normal file
1
Przepisy/bin/Debug/Recipes.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
[{"Name":"jajko na twardo","Description":"Ugotuj jajko przez ok 5 minut"},{"Name":"Tosty z serem i szynką","Description":"Weź 2 tosty, dodaj ser żółty, szynkę i pomidora. Włóż do opiekacza, wyciągnij po ok 2 minutach"}]
|
70
Przepisy/obj/Debug/App.g.cs
Normal file
70
Przepisy/obj/Debug/App.g.cs
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "95CCC636705ADDB3879248D591C0858A64869507"
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using Przepisy;
|
||||||
|
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 Przepisy {
|
||||||
|
|
||||||
|
|
||||||
|
/// <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() {
|
||||||
|
Przepisy.App app = new Przepisy.App();
|
||||||
|
app.InitializeComponent();
|
||||||
|
app.Run();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
70
Przepisy/obj/Debug/App.g.i.cs
Normal file
70
Przepisy/obj/Debug/App.g.i.cs
Normal file
@ -0,0 +1,70 @@
|
|||||||
|
#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "95CCC636705ADDB3879248D591C0858A64869507"
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using Przepisy;
|
||||||
|
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 Przepisy {
|
||||||
|
|
||||||
|
|
||||||
|
/// <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() {
|
||||||
|
Przepisy.App app = new Przepisy.App();
|
||||||
|
app.InitializeComponent();
|
||||||
|
app.Run();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
BIN
Przepisy/obj/Debug/DesignTimeResolveAssemblyReferences.cache
Normal file
BIN
Przepisy/obj/Debug/DesignTimeResolveAssemblyReferences.cache
Normal file
Binary file not shown.
Binary file not shown.
2
Przepisy/obj/Debug/GeneratedInternalTypeHelper.g.cs
Normal file
2
Przepisy/obj/Debug/GeneratedInternalTypeHelper.g.cs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
|
62
Przepisy/obj/Debug/GeneratedInternalTypeHelper.g.i.cs
Normal file
62
Przepisy/obj/Debug/GeneratedInternalTypeHelper.g.i.cs
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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 XamlGeneratedNamespace {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GeneratedInternalTypeHelper
|
||||||
|
/// </summary>
|
||||||
|
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||||
|
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||||
|
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// CreateInstance
|
||||||
|
/// </summary>
|
||||||
|
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
|
||||||
|
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
|
||||||
|
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GetPropertyValue
|
||||||
|
/// </summary>
|
||||||
|
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
|
||||||
|
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// SetPropertyValue
|
||||||
|
/// </summary>
|
||||||
|
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
|
||||||
|
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// CreateDelegate
|
||||||
|
/// </summary>
|
||||||
|
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
|
||||||
|
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
|
||||||
|
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
|
||||||
|
delegateType,
|
||||||
|
handler}, null)));
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// AddEventHandler
|
||||||
|
/// </summary>
|
||||||
|
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
|
||||||
|
eventInfo.AddEventHandler(target, handler);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
BIN
Przepisy/obj/Debug/MainWindow.baml
Normal file
BIN
Przepisy/obj/Debug/MainWindow.baml
Normal file
Binary file not shown.
88
Przepisy/obj/Debug/MainWindow.g.cs
Normal file
88
Przepisy/obj/Debug/MainWindow.g.cs
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E3D88837F0701FC19F8D5037E4425AD029A64618"
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using Przepisy;
|
||||||
|
using Przepisy.ViewModels;
|
||||||
|
using Przepisy.Views;
|
||||||
|
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 Przepisy {
|
||||||
|
|
||||||
|
|
||||||
|
/// <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("/Przepisy;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 36 "..\..\MainWindow.xaml"
|
||||||
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RecipeView_Clicked);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this._contentLoaded = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
88
Przepisy/obj/Debug/MainWindow.g.i.cs
Normal file
88
Przepisy/obj/Debug/MainWindow.g.i.cs
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E3D88837F0701FC19F8D5037E4425AD029A64618"
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using Przepisy;
|
||||||
|
using Przepisy.ViewModels;
|
||||||
|
using Przepisy.Views;
|
||||||
|
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 Przepisy {
|
||||||
|
|
||||||
|
|
||||||
|
/// <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("/Przepisy;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 36 "..\..\MainWindow.xaml"
|
||||||
|
((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.RecipeView_Clicked);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this._contentLoaded = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
BIN
Przepisy/obj/Debug/Przepisy.Properties.Resources.resources
Normal file
BIN
Przepisy/obj/Debug/Przepisy.Properties.Resources.resources
Normal file
Binary file not shown.
0
Przepisy/obj/Debug/Przepisy.csproj.CopyComplete
Normal file
0
Przepisy/obj/Debug/Przepisy.csproj.CopyComplete
Normal file
@ -0,0 +1 @@
|
|||||||
|
719476bc02d961bdaae5049965d181d4972fefd7
|
42
Przepisy/obj/Debug/Przepisy.csproj.FileListAbsolute.txt
Normal file
42
Przepisy/obj/Debug/Przepisy.csproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\bin\Debug\Przepisy.exe.config
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\bin\Debug\Przepisy.exe
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\bin\Debug\Przepisy.pdb
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.csprojAssemblyReference.cache
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\MainWindow.g.cs
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Views\RecipeView.g.cs
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\App.g.cs
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\GeneratedInternalTypeHelper.g.cs
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy_MarkupCompile.cache
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy_MarkupCompile.lref
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\MainWindow.baml
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Views\RecipeView.baml
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.g.resources
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.Properties.Resources.resources
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.csproj.GenerateResource.cache
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.exe
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.pdb
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\bin\Debug\Newtonsoft.Json.dll
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\bin\Debug\Newtonsoft.Json.xml
|
||||||
|
C:\Users\Malina\Desktop\Projektc#\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.csproj.CopyComplete
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\bin\Debug\Przepisy.exe.config
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\bin\Debug\Przepisy.exe
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\bin\Debug\Przepisy.pdb
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\bin\Debug\Newtonsoft.Json.dll
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\bin\Debug\Newtonsoft.Json.xml
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.csprojAssemblyReference.cache
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\MainWindow.g.cs
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Views\RecipeView.g.cs
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\App.g.cs
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\GeneratedInternalTypeHelper.g.cs
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy_MarkupCompile.cache
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy_MarkupCompile.lref
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\MainWindow.baml
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Views\RecipeView.baml
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.g.resources
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.Properties.Resources.resources
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.csproj.GenerateResource.cache
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.csproj.CoreCompileInputs.cache
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.csproj.CopyComplete
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.exe
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\Przepisy.pdb
|
BIN
Przepisy/obj/Debug/Przepisy.csproj.GenerateResource.cache
Normal file
BIN
Przepisy/obj/Debug/Przepisy.csproj.GenerateResource.cache
Normal file
Binary file not shown.
BIN
Przepisy/obj/Debug/Przepisy.csprojAssemblyReference.cache
Normal file
BIN
Przepisy/obj/Debug/Przepisy.csprojAssemblyReference.cache
Normal file
Binary file not shown.
BIN
Przepisy/obj/Debug/Przepisy.exe
Normal file
BIN
Przepisy/obj/Debug/Przepisy.exe
Normal file
Binary file not shown.
BIN
Przepisy/obj/Debug/Przepisy.g.resources
Normal file
BIN
Przepisy/obj/Debug/Przepisy.g.resources
Normal file
Binary file not shown.
BIN
Przepisy/obj/Debug/Przepisy.pdb
Normal file
BIN
Przepisy/obj/Debug/Przepisy.pdb
Normal file
Binary file not shown.
20
Przepisy/obj/Debug/Przepisy_MarkupCompile.cache
Normal file
20
Przepisy/obj/Debug/Przepisy_MarkupCompile.cache
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Przepisy
|
||||||
|
|
||||||
|
|
||||||
|
winexe
|
||||||
|
C#
|
||||||
|
.cs
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\
|
||||||
|
Przepisy
|
||||||
|
none
|
||||||
|
false
|
||||||
|
DEBUG;TRACE
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\App.xaml
|
||||||
|
2735002517
|
||||||
|
|
||||||
|
8-1559848000
|
||||||
|
14-154478904
|
||||||
|
MainWindow.xaml;Views\RecipeView.xaml;
|
||||||
|
|
||||||
|
False
|
||||||
|
|
20
Przepisy/obj/Debug/Przepisy_MarkupCompile.i.cache
Normal file
20
Przepisy/obj/Debug/Przepisy_MarkupCompile.i.cache
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Przepisy
|
||||||
|
|
||||||
|
|
||||||
|
winexe
|
||||||
|
C#
|
||||||
|
.cs
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\
|
||||||
|
Przepisy
|
||||||
|
none
|
||||||
|
false
|
||||||
|
DEBUG;TRACE
|
||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\App.xaml
|
||||||
|
2735002517
|
||||||
|
|
||||||
|
12-1443312196
|
||||||
|
14-154478904
|
||||||
|
MainWindow.xaml;Views\RecipeView.xaml;
|
||||||
|
|
||||||
|
False
|
||||||
|
|
5
Przepisy/obj/Debug/Przepisy_MarkupCompile.lref
Normal file
5
Przepisy/obj/Debug/Przepisy_MarkupCompile.lref
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
j:\Downloads\Marcin\Przepisy\Przepisy\obj\Debug\GeneratedInternalTypeHelper.g.cs
|
||||||
|
|
||||||
|
Fj:\Downloads\Marcin\Przepisy\Przepisy\MainWindow.xaml;;
|
||||||
|
Fj:\Downloads\Marcin\Przepisy\Przepisy\Views\RecipeView.xaml;;
|
||||||
|
|
BIN
Przepisy/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
Normal file
BIN
Przepisy/obj/Debug/TempPE/Properties.Resources.Designer.cs.dll
Normal file
Binary file not shown.
BIN
Przepisy/obj/Debug/Views/RecipeView.baml
Normal file
BIN
Przepisy/obj/Debug/Views/RecipeView.baml
Normal file
Binary file not shown.
162
Przepisy/obj/Debug/Views/RecipeView.g.cs
Normal file
162
Przepisy/obj/Debug/Views/RecipeView.g.cs
Normal file
@ -0,0 +1,162 @@
|
|||||||
|
#pragma checksum "..\..\..\Views\RecipeView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5F901F66C1FE16C93057042EC3D13C822B423B40"
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using Przepisy.Views;
|
||||||
|
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 Przepisy.Views {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// RecipeView
|
||||||
|
/// </summary>
|
||||||
|
public partial class RecipeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
|
|
||||||
|
#line 30 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox InputName;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 32 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox InputDescription;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 36 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.Button ButtonAddRecipe;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 44 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.ListBox RecipesListView;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 62 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.Button ReadFile;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 63 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.Button SaveFile;
|
||||||
|
|
||||||
|
#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("/Przepisy;component/views/recipeview.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
|
#line 1 "..\..\..\Views\RecipeView.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.InputName = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 2:
|
||||||
|
this.InputDescription = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 3:
|
||||||
|
this.ButtonAddRecipe = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
|
#line 36 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
this.ButtonAddRecipe.Click += new System.Windows.RoutedEventHandler(this.ButtonAddRecipe_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
case 4:
|
||||||
|
this.RecipesListView = ((System.Windows.Controls.ListBox)(target));
|
||||||
|
return;
|
||||||
|
case 5:
|
||||||
|
this.ReadFile = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
|
#line 62 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
this.ReadFile.Click += new System.Windows.RoutedEventHandler(this.ReadFile_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
case 6:
|
||||||
|
this.SaveFile = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
|
#line 63 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
this.SaveFile.Click += new System.Windows.RoutedEventHandler(this.SaveFile_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this._contentLoaded = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
162
Przepisy/obj/Debug/Views/RecipeView.g.i.cs
Normal file
162
Przepisy/obj/Debug/Views/RecipeView.g.i.cs
Normal file
@ -0,0 +1,162 @@
|
|||||||
|
#pragma checksum "..\..\..\Views\RecipeView.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5F901F66C1FE16C93057042EC3D13C822B423B40"
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <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>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using Przepisy.Views;
|
||||||
|
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 Przepisy.Views {
|
||||||
|
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// RecipeView
|
||||||
|
/// </summary>
|
||||||
|
public partial class RecipeView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
|
|
||||||
|
#line 30 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox InputName;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 32 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBox InputDescription;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 36 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.Button ButtonAddRecipe;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 44 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.ListBox RecipesListView;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 62 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.Button ReadFile;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 63 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.Button SaveFile;
|
||||||
|
|
||||||
|
#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("/Przepisy;component/views/recipeview.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
|
#line 1 "..\..\..\Views\RecipeView.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.InputName = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 2:
|
||||||
|
this.InputDescription = ((System.Windows.Controls.TextBox)(target));
|
||||||
|
return;
|
||||||
|
case 3:
|
||||||
|
this.ButtonAddRecipe = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
|
#line 36 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
this.ButtonAddRecipe.Click += new System.Windows.RoutedEventHandler(this.ButtonAddRecipe_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
case 4:
|
||||||
|
this.RecipesListView = ((System.Windows.Controls.ListBox)(target));
|
||||||
|
return;
|
||||||
|
case 5:
|
||||||
|
this.ReadFile = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
|
#line 62 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
this.ReadFile.Click += new System.Windows.RoutedEventHandler(this.ReadFile_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
case 6:
|
||||||
|
this.SaveFile = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
|
#line 63 "..\..\..\Views\RecipeView.xaml"
|
||||||
|
this.SaveFile.Click += new System.Windows.RoutedEventHandler(this.SaveFile_Click);
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
this._contentLoaded = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
4
Przepisy/packages.config
Normal file
4
Przepisy/packages.config
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<packages>
|
||||||
|
<package id="Newtonsoft.Json" version="12.0.2" targetFramework="net461" />
|
||||||
|
</packages>
|
BIN
packages/Newtonsoft.Json.12.0.2/.signature.p7s
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.2/.signature.p7s
vendored
Normal file
Binary file not shown.
20
packages/Newtonsoft.Json.12.0.2/LICENSE.md
vendored
Normal file
20
packages/Newtonsoft.Json.12.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.12.0.2/Newtonsoft.Json.12.0.2.nupkg
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.2/Newtonsoft.Json.12.0.2.nupkg
vendored
Normal file
Binary file not shown.
BIN
packages/Newtonsoft.Json.12.0.2/lib/net20/Newtonsoft.Json.dll
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.2/lib/net20/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
10208
packages/Newtonsoft.Json.12.0.2/lib/net20/Newtonsoft.Json.xml
vendored
Normal file
10208
packages/Newtonsoft.Json.12.0.2/lib/net20/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Newtonsoft.Json.12.0.2/lib/net35/Newtonsoft.Json.dll
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.2/lib/net35/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
9356
packages/Newtonsoft.Json.12.0.2/lib/net35/Newtonsoft.Json.xml
vendored
Normal file
9356
packages/Newtonsoft.Json.12.0.2/lib/net35/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Newtonsoft.Json.12.0.2/lib/net40/Newtonsoft.Json.dll
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.2/lib/net40/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
9556
packages/Newtonsoft.Json.12.0.2/lib/net40/Newtonsoft.Json.xml
vendored
Normal file
9556
packages/Newtonsoft.Json.12.0.2/lib/net40/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Newtonsoft.Json.12.0.2/lib/net45/Newtonsoft.Json.dll
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.2/lib/net45/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
11172
packages/Newtonsoft.Json.12.0.2/lib/net45/Newtonsoft.Json.xml
vendored
Normal file
11172
packages/Newtonsoft.Json.12.0.2/lib/net45/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Newtonsoft.Json.12.0.2/lib/netstandard1.0/Newtonsoft.Json.dll
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.2/lib/netstandard1.0/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
10860
packages/Newtonsoft.Json.12.0.2/lib/netstandard1.0/Newtonsoft.Json.xml
vendored
Normal file
10860
packages/Newtonsoft.Json.12.0.2/lib/netstandard1.0/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Newtonsoft.Json.12.0.2/lib/netstandard1.3/Newtonsoft.Json.dll
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.2/lib/netstandard1.3/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
10982
packages/Newtonsoft.Json.12.0.2/lib/netstandard1.3/Newtonsoft.Json.xml
vendored
Normal file
10982
packages/Newtonsoft.Json.12.0.2/lib/netstandard1.3/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Newtonsoft.Json.12.0.2/lib/netstandard2.0/Newtonsoft.Json.dll
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.2/lib/netstandard2.0/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
11147
packages/Newtonsoft.Json.12.0.2/lib/netstandard2.0/Newtonsoft.Json.xml
vendored
Normal file
11147
packages/Newtonsoft.Json.12.0.2/lib/netstandard2.0/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Newtonsoft.Json.12.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
8920
packages/Newtonsoft.Json.12.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml
vendored
Normal file
8920
packages/Newtonsoft.Json.12.0.2/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
BIN
packages/Newtonsoft.Json.12.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll
vendored
Normal file
BIN
packages/Newtonsoft.Json.12.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll
vendored
Normal file
Binary file not shown.
10860
packages/Newtonsoft.Json.12.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml
vendored
Normal file
10860
packages/Newtonsoft.Json.12.0.2/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user