diff --git a/Lesson12/Lekcja12b/App.config b/Lesson12/Lekcja12b/App.config
new file mode 100644
index 0000000..00bfd11
--- /dev/null
+++ b/Lesson12/Lekcja12b/App.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Lesson12/Lekcja12b/App.xaml b/Lesson12/Lekcja12b/App.xaml
new file mode 100644
index 0000000..aaa71a6
--- /dev/null
+++ b/Lesson12/Lekcja12b/App.xaml
@@ -0,0 +1,9 @@
+
+
+
+
+
diff --git a/Lesson12/Lekcja12b/App.xaml.cs b/Lesson12/Lekcja12b/App.xaml.cs
new file mode 100644
index 0000000..fcae2fa
--- /dev/null
+++ b/Lesson12/Lekcja12b/App.xaml.cs
@@ -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 Lekcja12b
+{
+ ///
+ /// Logika interakcji dla klasy App.xaml
+ ///
+ public partial class App : Application
+ {
+ }
+}
diff --git a/Lesson12/Lekcja12b/Lekcja12b.csproj b/Lesson12/Lekcja12b/Lekcja12b.csproj
new file mode 100644
index 0000000..a64d826
--- /dev/null
+++ b/Lesson12/Lekcja12b/Lekcja12b.csproj
@@ -0,0 +1,98 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {CCA088E1-6348-47D5-B149-A44582DFEF84}
+ WinExe
+ Lekcja12b
+ Lekcja12b
+ v4.6.1
+ 512
+ {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
+ 4
+ true
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+ 4.0
+
+
+
+
+
+
+
+ MSBuild:Compile
+ Designer
+
+
+ MSBuild:Compile
+ Designer
+
+
+ App.xaml
+ Code
+
+
+ MainWindow.xaml
+ Code
+
+
+
+
+ Code
+
+
+ True
+ True
+ Resources.resx
+
+
+ True
+ Settings.settings
+ True
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Lesson12/Lekcja12b/Lekcja12b.sln b/Lesson12/Lekcja12b/Lekcja12b.sln
new file mode 100644
index 0000000..e3f0bc6
--- /dev/null
+++ b/Lesson12/Lekcja12b/Lekcja12b.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.28307.136
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Lekcja12b", "Lekcja12b.csproj", "{CCA088E1-6348-47D5-B149-A44582DFEF84}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {CCA088E1-6348-47D5-B149-A44582DFEF84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {CCA088E1-6348-47D5-B149-A44582DFEF84}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {CCA088E1-6348-47D5-B149-A44582DFEF84}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {CCA088E1-6348-47D5-B149-A44582DFEF84}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {4D9A330C-D2D6-400A-970A-4A1FDB77A2EA}
+ EndGlobalSection
+EndGlobal
diff --git a/Lesson12/Lekcja12b/MainWindow.xaml b/Lesson12/Lekcja12b/MainWindow.xaml
new file mode 100644
index 0000000..7d2ab2f
--- /dev/null
+++ b/Lesson12/Lekcja12b/MainWindow.xaml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
diff --git a/Lesson12/Lekcja12b/MainWindow.xaml.cs b/Lesson12/Lekcja12b/MainWindow.xaml.cs
new file mode 100644
index 0000000..f188f66
--- /dev/null
+++ b/Lesson12/Lekcja12b/MainWindow.xaml.cs
@@ -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.Navigation;
+using System.Windows.Shapes;
+
+namespace Lekcja12b
+{
+ ///
+ /// Logika interakcji dla klasy MainWindow.xaml
+ ///
+ public partial class MainWindow : Window
+ {
+ public MainWindow()
+ {
+ InitializeComponent();
+ this.Title = "Kalkulator";
+ }
+ int działanie;
+
+ private void ComboBox_Loaded(object sender, RoutedEventArgs e)
+ {
+ // ... lista
+ List data = new List() { "Dodawanie", "Odejmowanie", "Mnożenie", "Dzielenie" };
+
+ // ... ustawienie referencji
+ var comboBox = sender as ComboBox;
+
+ // ... ustawienie zródla
+ comboBox.ItemsSource = data;
+
+ // ... czy cos domyslnie ma byc wybrane
+ comboBox.SelectedIndex = 0;
+ }
+ public void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
+ {
+ // ... dostep do combo.
+ var comboBox = sender as ComboBox;
+
+ działanie = comboBox.SelectedIndex;
+ }
+
+ private void Licz_Click(object sender, RoutedEventArgs e)
+ {
+
+ try
+ {
+
+ switch (działanie)
+ {
+ case 0:
+ MessageBox.Show(Convert.ToString(Convert.ToDouble(pierwsza.Text)+Convert.ToDouble(druga.Text)));
+ break;
+ case 1:
+ MessageBox.Show(Convert.ToString(Convert.ToDouble(pierwsza.Text) - Convert.ToDouble(druga.Text)));
+ break;
+ case 2:
+ MessageBox.Show(Convert.ToString(Convert.ToDouble(pierwsza.Text) * Convert.ToDouble(druga.Text)));
+ break;
+ case 3:
+ MessageBox.Show(Convert.ToString(Convert.ToDouble(pierwsza.Text) / Convert.ToDouble(druga.Text)));
+ break;
+ }
+ }
+ catch
+ {
+ MessageBox.Show("Błąd");
+ }
+ }
+ }
+}
diff --git a/Lesson12/Lekcja12b/Properties/AssemblyInfo.cs b/Lesson12/Lekcja12b/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..1938941
--- /dev/null
+++ b/Lesson12/Lekcja12b/Properties/AssemblyInfo.cs
@@ -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("Lekcja12b")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Lekcja12b")]
+[assembly: AssemblyCopyright("Copyright © 2020")]
+[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
+//Kultura_używana_podczas_kodowania w pliku csproj
+//w grupie . Jeśli na przykład jest używany język angielski (USA)
+//w plikach źródłowych ustaw dla elementu 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")]
diff --git a/Lesson12/Lekcja12b/Properties/Resources.Designer.cs b/Lesson12/Lekcja12b/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..d9db27a
--- /dev/null
+++ b/Lesson12/Lekcja12b/Properties/Resources.Designer.cs
@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+//
+// 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.
+//
+//------------------------------------------------------------------------------
+
+namespace Lekcja12b.Properties
+{
+
+
+ ///
+ /// Silnie typizowana klasa zasobów do wyszukiwania zlokalizowanych ciągów itd.
+ ///
+ // 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()
+ {
+ }
+
+ ///
+ /// Zwraca buforowane wystąpienie składnika ResourceManager używane przez tę klasę.
+ ///
+ [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("Lekcja12b.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// 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.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture
+ {
+ get
+ {
+ return resourceCulture;
+ }
+ set
+ {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/Lesson12/Lekcja12b/Properties/Resources.resx b/Lesson12/Lekcja12b/Properties/Resources.resx
new file mode 100644
index 0000000..ffecec8
--- /dev/null
+++ b/Lesson12/Lekcja12b/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/Lesson12/Lekcja12b/Properties/Settings.Designer.cs b/Lesson12/Lekcja12b/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..e435142
--- /dev/null
+++ b/Lesson12/Lekcja12b/Properties/Settings.Designer.cs
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+//
+// 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.
+//
+//------------------------------------------------------------------------------
+
+namespace Lekcja12b.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;
+ }
+ }
+ }
+}
diff --git a/Lesson12/Lekcja12b/Properties/Settings.settings b/Lesson12/Lekcja12b/Properties/Settings.settings
new file mode 100644
index 0000000..8f2fd95
--- /dev/null
+++ b/Lesson12/Lekcja12b/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Lesson12/Lekcja12b/bin/Debug/Lekcja12b.exe b/Lesson12/Lekcja12b/bin/Debug/Lekcja12b.exe
new file mode 100644
index 0000000..933a059
Binary files /dev/null and b/Lesson12/Lekcja12b/bin/Debug/Lekcja12b.exe differ
diff --git a/Lesson12/Lekcja12b/bin/Debug/Lekcja12b.exe.config b/Lesson12/Lekcja12b/bin/Debug/Lekcja12b.exe.config
new file mode 100644
index 0000000..00bfd11
--- /dev/null
+++ b/Lesson12/Lekcja12b/bin/Debug/Lekcja12b.exe.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Lesson12/Lekcja12b/bin/Debug/Lekcja12b.pdb b/Lesson12/Lekcja12b/bin/Debug/Lekcja12b.pdb
new file mode 100644
index 0000000..b8c244d
Binary files /dev/null and b/Lesson12/Lekcja12b/bin/Debug/Lekcja12b.pdb differ
diff --git a/Lesson12/Lekcja12b/obj/Debug/App.g.cs b/Lesson12/Lekcja12b/obj/Debug/App.g.cs
new file mode 100644
index 0000000..f6b19fa
--- /dev/null
+++ b/Lesson12/Lekcja12b/obj/Debug/App.g.cs
@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "476756E445D10BD8E99B18DF7208B10EE7B7DD40"
+//------------------------------------------------------------------------------
+//
+// Ten kod został wygenerowany przez narzędzie.
+// Wersja wykonawcza:4.0.30319.42000
+//
+// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli
+// kod zostanie ponownie wygenerowany.
+//
+//------------------------------------------------------------------------------
+
+using Lekcja12b;
+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 Lekcja12b {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [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
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ Lekcja12b.App app = new Lekcja12b.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/Lesson12/Lekcja12b/obj/Debug/App.g.i.cs b/Lesson12/Lekcja12b/obj/Debug/App.g.i.cs
new file mode 100644
index 0000000..f6b19fa
--- /dev/null
+++ b/Lesson12/Lekcja12b/obj/Debug/App.g.i.cs
@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "476756E445D10BD8E99B18DF7208B10EE7B7DD40"
+//------------------------------------------------------------------------------
+//
+// Ten kod został wygenerowany przez narzędzie.
+// Wersja wykonawcza:4.0.30319.42000
+//
+// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli
+// kod zostanie ponownie wygenerowany.
+//
+//------------------------------------------------------------------------------
+
+using Lekcja12b;
+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 Lekcja12b {
+
+
+ ///
+ /// App
+ ///
+ public partial class App : System.Windows.Application {
+
+ ///
+ /// InitializeComponent
+ ///
+ [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
+ }
+
+ ///
+ /// Application Entry Point.
+ ///
+ [System.STAThreadAttribute()]
+ [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+ public static void Main() {
+ Lekcja12b.App app = new Lekcja12b.App();
+ app.InitializeComponent();
+ app.Run();
+ }
+ }
+}
+
diff --git a/Lesson12/Lekcja12b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Lesson12/Lekcja12b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
new file mode 100644
index 0000000..32050dc
Binary files /dev/null and b/Lesson12/Lekcja12b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.Properties.Resources.resources b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.Properties.Resources.resources
new file mode 100644
index 0000000..6c05a97
Binary files /dev/null and b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.Properties.Resources.resources differ
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csproj.CoreCompileInputs.cache b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csproj.CoreCompileInputs.cache
new file mode 100644
index 0000000..f0c1b63
--- /dev/null
+++ b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csproj.CoreCompileInputs.cache
@@ -0,0 +1 @@
+9d5afee7e4b2894f8a6b4678cfc978674423bd64
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csproj.FileListAbsolute.txt b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csproj.FileListAbsolute.txt
new file mode 100644
index 0000000..a8c99a1
--- /dev/null
+++ b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csproj.FileListAbsolute.txt
@@ -0,0 +1,15 @@
+C:\Users\local\source\repos\Lekcja12b\bin\Debug\Lekcja12b.exe.config
+C:\Users\local\source\repos\Lekcja12b\bin\Debug\Lekcja12b.exe
+C:\Users\local\source\repos\Lekcja12b\bin\Debug\Lekcja12b.pdb
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\Lekcja12b.csprojAssemblyReference.cache
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\MainWindow.g.cs
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\App.g.cs
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\Lekcja12b_MarkupCompile.cache
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\Lekcja12b_MarkupCompile.lref
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\MainWindow.baml
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\Lekcja12b.g.resources
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\Lekcja12b.Properties.Resources.resources
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\Lekcja12b.csproj.GenerateResource.cache
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\Lekcja12b.csproj.CoreCompileInputs.cache
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\Lekcja12b.exe
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\Lekcja12b.pdb
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csproj.GenerateResource.cache b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csproj.GenerateResource.cache
new file mode 100644
index 0000000..1788031
Binary files /dev/null and b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csproj.GenerateResource.cache differ
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csprojAssemblyReference.cache b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csprojAssemblyReference.cache
new file mode 100644
index 0000000..db8e26a
Binary files /dev/null and b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.csprojAssemblyReference.cache differ
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.exe b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.exe
new file mode 100644
index 0000000..933a059
Binary files /dev/null and b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.exe differ
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.g.resources b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.g.resources
new file mode 100644
index 0000000..1258c27
Binary files /dev/null and b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.g.resources differ
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.pdb b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.pdb
new file mode 100644
index 0000000..b8c244d
Binary files /dev/null and b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b.pdb differ
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.cache b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.cache
new file mode 100644
index 0000000..02438d3
--- /dev/null
+++ b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.cache
@@ -0,0 +1,20 @@
+Lekcja12b
+
+
+winexe
+C#
+.cs
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\
+Lekcja12b
+none
+false
+DEBUG;TRACE
+C:\Users\local\source\repos\Lekcja12b\App.xaml
+11151548125
+
+5-2017746502
+131569487696
+MainWindow.xaml;
+
+False
+
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.i.cache b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.i.cache
new file mode 100644
index 0000000..3cf2a77
--- /dev/null
+++ b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.i.cache
@@ -0,0 +1,20 @@
+Lekcja12b
+
+
+winexe
+C#
+.cs
+C:\Users\local\source\repos\Lekcja12b\obj\Debug\
+Lekcja12b
+none
+false
+DEBUG;TRACE
+C:\Users\local\source\repos\Lekcja12b\App.xaml
+11151548125
+
+9-188975726
+131569487696
+MainWindow.xaml;
+
+True
+
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.i.lref b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.i.lref
new file mode 100644
index 0000000..e739c73
--- /dev/null
+++ b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.i.lref
@@ -0,0 +1,4 @@
+
+
+FC:\Users\local\source\repos\Lekcja12b\MainWindow.xaml;;
+
diff --git a/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.lref b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.lref
new file mode 100644
index 0000000..e739c73
--- /dev/null
+++ b/Lesson12/Lekcja12b/obj/Debug/Lekcja12b_MarkupCompile.lref
@@ -0,0 +1,4 @@
+
+
+FC:\Users\local\source\repos\Lekcja12b\MainWindow.xaml;;
+
diff --git a/Lesson12/Lekcja12b/obj/Debug/MainWindow.baml b/Lesson12/Lekcja12b/obj/Debug/MainWindow.baml
new file mode 100644
index 0000000..8023f8e
Binary files /dev/null and b/Lesson12/Lekcja12b/obj/Debug/MainWindow.baml differ
diff --git a/Lesson12/Lekcja12b/obj/Debug/MainWindow.g.cs b/Lesson12/Lekcja12b/obj/Debug/MainWindow.g.cs
new file mode 100644
index 0000000..306e663
--- /dev/null
+++ b/Lesson12/Lekcja12b/obj/Debug/MainWindow.g.cs
@@ -0,0 +1,140 @@
+#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "AD2F5F80F52F3CCDDF57026C4274248597A77031"
+//------------------------------------------------------------------------------
+//
+// Ten kod został wygenerowany przez narzędzie.
+// Wersja wykonawcza:4.0.30319.42000
+//
+// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli
+// kod zostanie ponownie wygenerowany.
+//
+//------------------------------------------------------------------------------
+
+using Lekcja12b;
+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 Lekcja12b {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 10 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.ComboBox Kalkulator;
+
+ #line default
+ #line hidden
+
+
+ #line 11 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox pierwsza;
+
+ #line default
+ #line hidden
+
+
+ #line 12 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox druga;
+
+ #line default
+ #line hidden
+
+
+ #line 13 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button licz;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [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("/Lekcja12b;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:
+ this.Kalkulator = ((System.Windows.Controls.ComboBox)(target));
+
+ #line 10 "..\..\MainWindow.xaml"
+ this.Kalkulator.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Loaded);
+
+ #line default
+ #line hidden
+
+ #line 10 "..\..\MainWindow.xaml"
+ this.Kalkulator.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.pierwsza = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 3:
+ this.druga = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 4:
+ this.licz = ((System.Windows.Controls.Button)(target));
+
+ #line 13 "..\..\MainWindow.xaml"
+ this.licz.Click += new System.Windows.RoutedEventHandler(this.Licz_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/Lesson12/Lekcja12b/obj/Debug/MainWindow.g.i.cs b/Lesson12/Lekcja12b/obj/Debug/MainWindow.g.i.cs
new file mode 100644
index 0000000..306e663
--- /dev/null
+++ b/Lesson12/Lekcja12b/obj/Debug/MainWindow.g.i.cs
@@ -0,0 +1,140 @@
+#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "AD2F5F80F52F3CCDDF57026C4274248597A77031"
+//------------------------------------------------------------------------------
+//
+// Ten kod został wygenerowany przez narzędzie.
+// Wersja wykonawcza:4.0.30319.42000
+//
+// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli
+// kod zostanie ponownie wygenerowany.
+//
+//------------------------------------------------------------------------------
+
+using Lekcja12b;
+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 Lekcja12b {
+
+
+ ///
+ /// MainWindow
+ ///
+ public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+
+
+ #line 10 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.ComboBox Kalkulator;
+
+ #line default
+ #line hidden
+
+
+ #line 11 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox pierwsza;
+
+ #line default
+ #line hidden
+
+
+ #line 12 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.TextBox druga;
+
+ #line default
+ #line hidden
+
+
+ #line 13 "..\..\MainWindow.xaml"
+ [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+ internal System.Windows.Controls.Button licz;
+
+ #line default
+ #line hidden
+
+ private bool _contentLoaded;
+
+ ///
+ /// InitializeComponent
+ ///
+ [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("/Lekcja12b;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:
+ this.Kalkulator = ((System.Windows.Controls.ComboBox)(target));
+
+ #line 10 "..\..\MainWindow.xaml"
+ this.Kalkulator.Loaded += new System.Windows.RoutedEventHandler(this.ComboBox_Loaded);
+
+ #line default
+ #line hidden
+
+ #line 10 "..\..\MainWindow.xaml"
+ this.Kalkulator.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);
+
+ #line default
+ #line hidden
+ return;
+ case 2:
+ this.pierwsza = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 3:
+ this.druga = ((System.Windows.Controls.TextBox)(target));
+ return;
+ case 4:
+ this.licz = ((System.Windows.Controls.Button)(target));
+
+ #line 13 "..\..\MainWindow.xaml"
+ this.licz.Click += new System.Windows.RoutedEventHandler(this.Licz_Click);
+
+ #line default
+ #line hidden
+ return;
+ }
+ this._contentLoaded = true;
+ }
+ }
+}
+
diff --git a/Lesson2/Lesson2/Program.cs b/Lesson2/Lesson2/Program.cs
deleted file mode 100644
index 1e0a9c1..0000000
--- a/Lesson2/Lesson2/Program.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-
-namespace Lesson2
-{
- class Program
- {
- static void Main(string[] args)
- {
- Console.WriteLine("Hello World!");
- }
- }
-}