diff --git a/20241024/WpfApp2/.vs/WpfApp2/FileContentIndex/1db3ed20-6432-4b8f-ae14-c2f68d89b896.vsidx b/20241024/WpfApp2/.vs/WpfApp2/FileContentIndex/1db3ed20-6432-4b8f-ae14-c2f68d89b896.vsidx new file mode 100644 index 0000000..e222e0b Binary files /dev/null and b/20241024/WpfApp2/.vs/WpfApp2/FileContentIndex/1db3ed20-6432-4b8f-ae14-c2f68d89b896.vsidx differ diff --git a/20241024/WpfApp2/.vs/WpfApp2/FileContentIndex/64f94f28-06ed-4e07-b792-67be1393b481.vsidx b/20241024/WpfApp2/.vs/WpfApp2/FileContentIndex/64f94f28-06ed-4e07-b792-67be1393b481.vsidx new file mode 100644 index 0000000..562467f Binary files /dev/null and b/20241024/WpfApp2/.vs/WpfApp2/FileContentIndex/64f94f28-06ed-4e07-b792-67be1393b481.vsidx differ diff --git a/20241024/WpfApp2/.vs/WpfApp2/v17/.suo b/20241024/WpfApp2/.vs/WpfApp2/v17/.suo new file mode 100644 index 0000000..8230b8e Binary files /dev/null and b/20241024/WpfApp2/.vs/WpfApp2/v17/.suo differ diff --git a/20241024/WpfApp2/.vs/WpfApp2/v17/DocumentLayout.backup.json b/20241024/WpfApp2/.vs/WpfApp2/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..f61af33 --- /dev/null +++ b/20241024/WpfApp2/.vs/WpfApp2/v17/DocumentLayout.backup.json @@ -0,0 +1,53 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241024\\WpfApp2\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{ABB2E57D-3219-4B85-981F-449134488338}|WpfApp2\\WpfApp2.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241024\\wpfapp2\\wpfapp2\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{ABB2E57D-3219-4B85-981F-449134488338}|WpfApp2\\WpfApp2.csproj|solutionrelative:wpfapp2\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{ABB2E57D-3219-4B85-981F-449134488338}|WpfApp2\\WpfApp2.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241024\\wpfapp2\\wpfapp2\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}", + "RelativeMoniker": "D:0:0:{ABB2E57D-3219-4B85-981F-449134488338}|WpfApp2\\WpfApp2.csproj|solutionrelative:wpfapp2\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 1, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "MainWindow.xaml", + "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241024\\WpfApp2\\WpfApp2\\MainWindow.xaml", + "RelativeDocumentMoniker": "WpfApp2\\MainWindow.xaml", + "ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241024\\WpfApp2\\WpfApp2\\MainWindow.xaml", + "RelativeToolTip": "WpfApp2\\MainWindow.xaml", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|", + "WhenOpened": "2024-10-24T07:10:42.835Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "MainWindow.xaml.cs", + "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241024\\WpfApp2\\WpfApp2\\MainWindow.xaml.cs", + "RelativeDocumentMoniker": "WpfApp2\\MainWindow.xaml.cs", + "ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241024\\WpfApp2\\WpfApp2\\MainWindow.xaml.cs", + "RelativeToolTip": "WpfApp2\\MainWindow.xaml.cs", + "ViewState": "AgIAADQAAAAAAAAAAAAqwD8AAABlAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-24T07:10:42.777Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/20241024/WpfApp2/.vs/WpfApp2/v17/DocumentLayout.json b/20241024/WpfApp2/.vs/WpfApp2/v17/DocumentLayout.json new file mode 100644 index 0000000..a522c8b --- /dev/null +++ b/20241024/WpfApp2/.vs/WpfApp2/v17/DocumentLayout.json @@ -0,0 +1,53 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241024\\WpfApp2\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{ABB2E57D-3219-4B85-981F-449134488338}|WpfApp2\\WpfApp2.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241024\\wpfapp2\\wpfapp2\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}", + "RelativeMoniker": "D:0:0:{ABB2E57D-3219-4B85-981F-449134488338}|WpfApp2\\WpfApp2.csproj|solutionrelative:wpfapp2\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}" + }, + { + "AbsoluteMoniker": "D:0:0:{ABB2E57D-3219-4B85-981F-449134488338}|WpfApp2\\WpfApp2.csproj|c:\\users\\szabomarton\\desktop\\c#\\progaora\\20241024\\wpfapp2\\wpfapp2\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{ABB2E57D-3219-4B85-981F-449134488338}|WpfApp2\\WpfApp2.csproj|solutionrelative:wpfapp2\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "MainWindow.xaml", + "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241024\\WpfApp2\\WpfApp2\\MainWindow.xaml", + "RelativeDocumentMoniker": "WpfApp2\\MainWindow.xaml", + "ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241024\\WpfApp2\\WpfApp2\\MainWindow.xaml", + "RelativeToolTip": "WpfApp2\\MainWindow.xaml", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|", + "WhenOpened": "2024-10-24T07:10:42.835Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "MainWindow.xaml.cs", + "DocumentMoniker": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241024\\WpfApp2\\WpfApp2\\MainWindow.xaml.cs", + "RelativeDocumentMoniker": "WpfApp2\\MainWindow.xaml.cs", + "ToolTip": "C:\\Users\\szabomarton\\Desktop\\C#\\ProgaOra\\20241024\\WpfApp2\\WpfApp2\\MainWindow.xaml.cs", + "RelativeToolTip": "WpfApp2\\MainWindow.xaml.cs", + "ViewState": "AgIAADQAAAAAAAAAAAAqwD8AAABlAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-24T07:10:42.777Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/20241024/WpfApp2/WpfApp2.sln b/20241024/WpfApp2/WpfApp2.sln new file mode 100644 index 0000000..512c9bc --- /dev/null +++ b/20241024/WpfApp2/WpfApp2.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35222.181 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfApp2", "WpfApp2\WpfApp2.csproj", "{ABB2E57D-3219-4B85-981F-449134488338}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {ABB2E57D-3219-4B85-981F-449134488338}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ABB2E57D-3219-4B85-981F-449134488338}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ABB2E57D-3219-4B85-981F-449134488338}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ABB2E57D-3219-4B85-981F-449134488338}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C21D8B6C-3FFB-4AEA-AC2E-67EF199CF82F} + EndGlobalSection +EndGlobal diff --git a/20241024/WpfApp2/WpfApp2/0.jpg b/20241024/WpfApp2/WpfApp2/0.jpg new file mode 100644 index 0000000..0d0868e Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/0.jpg differ diff --git a/20241024/WpfApp2/WpfApp2/App.config b/20241024/WpfApp2/WpfApp2/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/20241024/WpfApp2/WpfApp2/App.xaml b/20241024/WpfApp2/WpfApp2/App.xaml new file mode 100644 index 0000000..23aeb8e --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/20241024/WpfApp2/WpfApp2/App.xaml.cs b/20241024/WpfApp2/WpfApp2/App.xaml.cs new file mode 100644 index 0000000..82145da --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/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 WpfApp2 +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/20241024/WpfApp2/WpfApp2/MainWindow.xaml b/20241024/WpfApp2/WpfApp2/MainWindow.xaml new file mode 100644 index 0000000..82f0c54 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/MainWindow.xaml @@ -0,0 +1,21 @@ + + + + + + + + + diff --git a/20241024/WpfApp2/WpfApp2/MainWindow.xaml.cs b/20241024/WpfApp2/WpfApp2/MainWindow.xaml.cs new file mode 100644 index 0000000..1e0658d --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/MainWindow.xaml.cs @@ -0,0 +1,69 @@ +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 WpfApp2 +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + asd.Add(0); + asd.Add(1); + asd.Add(2); + Kepmegjelenites(currentIndex); + } + + int currentIndex = 0; + + public static List asd = new List(); + + + private void bal_Click(object sender, RoutedEventArgs e) + { + if (currentIndex == 0) + { + currentIndex = asd.Count - 1; + } + else + { + currentIndex--; + } + Kepmegjelenites(currentIndex); + } + + private void jobb_Click(object sender, RoutedEventArgs e) + { + if (currentIndex == asd.Count - 1) + { + currentIndex = 0; + } else + { + currentIndex++; + } + Kepmegjelenites(currentIndex); + } + + public void Kepmegjelenites(int index) + { + MyImage.Source = new BitmapImage(new Uri(@"images/" + index + ".jpg", UriKind.Relative)); + } + } + + +} diff --git a/20241024/WpfApp2/WpfApp2/Properties/AssemblyInfo.cs b/20241024/WpfApp2/WpfApp2/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..2efa0bd --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/Properties/AssemblyInfo.cs @@ -0,0 +1,52 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("WpfApp2")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("WpfApp2")] +[assembly: AssemblyCopyright("Copyright © 2024")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//CultureYouAreCodingWith in your .csproj file +//inside a . For example, if you are using US english +//in your source files, set the to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/20241024/WpfApp2/WpfApp2/Properties/Resources.Designer.cs b/20241024/WpfApp2/WpfApp2/Properties/Resources.Designer.cs new file mode 100644 index 0000000..13f9289 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 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 WpfApp2.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [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() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [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("WpfApp2.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [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/20241024/WpfApp2/WpfApp2/Properties/Resources.resx b/20241024/WpfApp2/WpfApp2/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/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/20241024/WpfApp2/WpfApp2/Properties/Settings.Designer.cs b/20241024/WpfApp2/WpfApp2/Properties/Settings.Designer.cs new file mode 100644 index 0000000..e69aaff --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/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 WpfApp2.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/20241024/WpfApp2/WpfApp2/Properties/Settings.settings b/20241024/WpfApp2/WpfApp2/Properties/Settings.settings new file mode 100644 index 0000000..033d7a5 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/20241024/WpfApp2/WpfApp2/WpfApp2.csproj b/20241024/WpfApp2/WpfApp2/WpfApp2.csproj new file mode 100644 index 0000000..55cc8c3 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/WpfApp2.csproj @@ -0,0 +1,101 @@ + + + + + Debug + AnyCPU + {ABB2E57D-3219-4B85-981F-449134488338} + WinExe + WpfApp2 + WpfApp2 + v4.7.2 + 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/20241024/WpfApp2/WpfApp2/bin/Debug/WpfApp2.exe b/20241024/WpfApp2/WpfApp2/bin/Debug/WpfApp2.exe new file mode 100644 index 0000000..5f4e2a4 Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/bin/Debug/WpfApp2.exe differ diff --git a/20241024/WpfApp2/WpfApp2/bin/Debug/WpfApp2.exe.config b/20241024/WpfApp2/WpfApp2/bin/Debug/WpfApp2.exe.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/bin/Debug/WpfApp2.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/20241024/WpfApp2/WpfApp2/bin/Debug/WpfApp2.pdb b/20241024/WpfApp2/WpfApp2/bin/Debug/WpfApp2.pdb new file mode 100644 index 0000000..62d8f74 Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/bin/Debug/WpfApp2.pdb differ diff --git a/20241024/WpfApp2/WpfApp2/fallen.jpg b/20241024/WpfApp2/WpfApp2/fallen.jpg new file mode 100644 index 0000000..0d0868e Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/fallen.jpg differ diff --git a/20241024/WpfApp2/WpfApp2/images/0.jpg b/20241024/WpfApp2/WpfApp2/images/0.jpg new file mode 100644 index 0000000..0d0868e Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/images/0.jpg differ diff --git a/20241024/WpfApp2/WpfApp2/images/1.jpg b/20241024/WpfApp2/WpfApp2/images/1.jpg new file mode 100644 index 0000000..0d0868e Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/images/1.jpg differ diff --git a/20241024/WpfApp2/WpfApp2/images/2.jpg b/20241024/WpfApp2/WpfApp2/images/2.jpg new file mode 100644 index 0000000..0d0868e Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/images/2.jpg differ diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs b/20241024/WpfApp2/WpfApp2/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs new file mode 100644 index 0000000..3871b18 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/obj/Debug/.NETFramework,Version=v4.7.2.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/App.g.cs b/20241024/WpfApp2/WpfApp2/obj/Debug/App.g.cs new file mode 100644 index 0000000..0d9f539 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/obj/Debug/App.g.cs @@ -0,0 +1,70 @@ +#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1CC04D90511506F81073D2ADA9E040E1D9AC1AC96FE9A2E682C8FF8FF9106F0A" +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +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; +using WpfApp2; + + +namespace WpfApp2 { + + + /// + /// 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() { + WpfApp2.App app = new WpfApp2.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/App.g.i.cs b/20241024/WpfApp2/WpfApp2/obj/Debug/App.g.i.cs new file mode 100644 index 0000000..0d9f539 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/obj/Debug/App.g.i.cs @@ -0,0 +1,70 @@ +#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1CC04D90511506F81073D2ADA9E040E1D9AC1AC96FE9A2E682C8FF8FF9106F0A" +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +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; +using WpfApp2; + + +namespace WpfApp2 { + + + /// + /// 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() { + WpfApp2.App app = new WpfApp2.App(); + app.InitializeComponent(); + app.Run(); + } + } +} + diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/20241024/WpfApp2/WpfApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..c16a569 Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/MainWindow.baml b/20241024/WpfApp2/WpfApp2/obj/Debug/MainWindow.baml new file mode 100644 index 0000000..a6e978c Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/obj/Debug/MainWindow.baml differ diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/MainWindow.g.cs b/20241024/WpfApp2/WpfApp2/obj/Debug/MainWindow.g.cs new file mode 100644 index 0000000..c93f3dc --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/obj/Debug/MainWindow.g.cs @@ -0,0 +1,105 @@ +#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A2EA9B77FC252E1C77F8C1CDFC4857EC48E5206776DDCAC4FABA84FC779B4BA4" +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +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; +using WpfApp2; + + +namespace WpfApp2 { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 18 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image MyImage; + + #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("/WpfApp2;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 10 "..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bal_Click); + + #line default + #line hidden + return; + case 2: + + #line 13 "..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.jobb_Click); + + #line default + #line hidden + return; + case 3: + this.MyImage = ((System.Windows.Controls.Image)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/MainWindow.g.i.cs b/20241024/WpfApp2/WpfApp2/obj/Debug/MainWindow.g.i.cs new file mode 100644 index 0000000..c93f3dc --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/obj/Debug/MainWindow.g.i.cs @@ -0,0 +1,105 @@ +#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A2EA9B77FC252E1C77F8C1CDFC4857EC48E5206776DDCAC4FABA84FC779B4BA4" +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +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; +using WpfApp2; + + +namespace WpfApp2 { + + + /// + /// MainWindow + /// + public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector { + + + #line 18 "..\..\MainWindow.xaml" + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] + internal System.Windows.Controls.Image MyImage; + + #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("/WpfApp2;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 10 "..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.bal_Click); + + #line default + #line hidden + return; + case 2: + + #line 13 "..\..\MainWindow.xaml" + ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.jobb_Click); + + #line default + #line hidden + return; + case 3: + this.MyImage = ((System.Windows.Controls.Image)(target)); + return; + } + this._contentLoaded = true; + } + } +} + diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.Properties.Resources.resources b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.Properties.Resources.resources new file mode 100644 index 0000000..6c05a97 Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.Properties.Resources.resources differ diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.AssemblyReference.cache b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.AssemblyReference.cache new file mode 100644 index 0000000..7f9ac73 Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.AssemblyReference.cache differ diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.CoreCompileInputs.cache b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..20fb9b8 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +710123ff0e37eb64b79c030531f427333772a989372557368563a70a02f7adc5 diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.FileListAbsolute.txt b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b54a22f --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.FileListAbsolute.txt @@ -0,0 +1,15 @@ +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\WpfApp2.csproj.AssemblyReference.cache +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\MainWindow.g.cs +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\App.g.cs +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\WpfApp2_MarkupCompile.cache +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\WpfApp2_MarkupCompile.lref +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\bin\Debug\WpfApp2.exe.config +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\bin\Debug\WpfApp2.exe +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\bin\Debug\WpfApp2.pdb +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\MainWindow.baml +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\WpfApp2.g.resources +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\WpfApp2.Properties.Resources.resources +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\WpfApp2.csproj.GenerateResource.cache +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\WpfApp2.csproj.CoreCompileInputs.cache +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\WpfApp2.exe +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\WpfApp2.pdb diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.GenerateResource.cache b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.GenerateResource.cache new file mode 100644 index 0000000..28952e5 Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.csproj.GenerateResource.cache differ diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.exe b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.exe new file mode 100644 index 0000000..5f4e2a4 Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.exe differ diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.g.resources b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.g.resources new file mode 100644 index 0000000..4f50254 Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.g.resources differ diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.pdb b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.pdb new file mode 100644 index 0000000..62d8f74 Binary files /dev/null and b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2.pdb differ diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_Content.g.i.cs b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_Content.g.i.cs new file mode 100644 index 0000000..01d0885 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_Content.g.i.cs @@ -0,0 +1,13 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +[assembly: System.Windows.Resources.AssemblyAssociatedContentFileAttribute("0.jpg")] + + diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_MarkupCompile.cache b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_MarkupCompile.cache new file mode 100644 index 0000000..bd9af65 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_MarkupCompile.cache @@ -0,0 +1,20 @@ +WpfApp2 + + +winexe +C# +.cs +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\ +WpfApp2 +none +false +DEBUG;TRACE +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\App.xaml +1219584333 + +51579654133 +13-1310406943 +MainWindow.xaml; + +False + diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_MarkupCompile.i.cache b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_MarkupCompile.i.cache new file mode 100644 index 0000000..3f483a0 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_MarkupCompile.i.cache @@ -0,0 +1,20 @@ +WpfApp2 + + +winexe +C# +.cs +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\obj\Debug\ +WpfApp2 +none +false +DEBUG;TRACE +C:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\App.xaml +1219584333 + +6-502434485 +13-1310406943 +MainWindow.xaml; + +False + diff --git a/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_MarkupCompile.lref b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_MarkupCompile.lref new file mode 100644 index 0000000..817a986 --- /dev/null +++ b/20241024/WpfApp2/WpfApp2/obj/Debug/WpfApp2_MarkupCompile.lref @@ -0,0 +1,4 @@ + + +FC:\Users\szabomarton\Desktop\C#\ProgaOra\20241024\WpfApp2\WpfApp2\MainWindow.xaml;; +