kontostand
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -2,13 +2,13 @@
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|c:\\users\\bib\\source\\repos\\projektglueckspiel\\wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|solutionrelative:mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|c:\\users\\bib\\source\\repos\\projektglueckspiel\\wpfapp1\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|solutionrelative:mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|c:\\users\\bib\\source\\repos\\projektglueckspiel\\wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|solutionrelative:mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
@@ -23,27 +23,27 @@
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "MainWindow.xaml",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\MainWindow.xaml",
|
||||
"RelativeDocumentMoniker": "MainWindow.xaml",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\MainWindow.xaml*",
|
||||
"RelativeToolTip": "MainWindow.xaml*",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-06-04T12:38:27.465Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "MainWindow.xaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\MainWindow.xaml.cs",
|
||||
"RelativeDocumentMoniker": "MainWindow.xaml.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\MainWindow.xaml.cs",
|
||||
"RelativeToolTip": "MainWindow.xaml.cs",
|
||||
"ViewState": "AgIAAB0AAAAAAAAAAAAqwC0AAAA3AAAAAAAAAA==",
|
||||
"ViewState": "AgIAACcAAAAAAAAAAAAUwDMAAAAaAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-06-04T12:38:27.389Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "MainWindow.xaml",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\MainWindow.xaml",
|
||||
"RelativeDocumentMoniker": "MainWindow.xaml",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\MainWindow.xaml",
|
||||
"RelativeToolTip": "MainWindow.xaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-06-04T12:38:27.465Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@@ -2,13 +2,13 @@
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|c:\\users\\bib\\source\\repos\\projektglueckspiel\\wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|solutionrelative:mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|c:\\users\\bib\\source\\repos\\projektglueckspiel\\wpfapp1\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|solutionrelative:mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|c:\\users\\bib\\source\\repos\\projektglueckspiel\\wpfapp1\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{CC86FB2D-8829-429D-9C2B-5C0EEA07087E}|WpfApp1.csproj|solutionrelative:mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
@@ -23,6 +23,19 @@
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "MainWindow.xaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\MainWindow.xaml.cs",
|
||||
"RelativeDocumentMoniker": "MainWindow.xaml.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\MainWindow.xaml.cs",
|
||||
"RelativeToolTip": "MainWindow.xaml.cs",
|
||||
"ViewState": "AgIAACcAAAAAAAAAAAAUwDMAAAAaAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-06-04T12:38:27.389Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "MainWindow.xaml",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\MainWindow.xaml",
|
||||
"RelativeDocumentMoniker": "MainWindow.xaml",
|
||||
@@ -31,19 +44,6 @@
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-06-04T12:38:27.465Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "MainWindow.xaml.cs",
|
||||
"DocumentMoniker": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\MainWindow.xaml.cs",
|
||||
"RelativeDocumentMoniker": "MainWindow.xaml.cs",
|
||||
"ToolTip": "C:\\Users\\bib\\source\\repos\\ProjektGlueckspiel\\WpfApp1\\MainWindow.xaml.cs",
|
||||
"RelativeToolTip": "MainWindow.xaml.cs",
|
||||
"ViewState": "AgIAAB0AAAAAAAAAAAAqwC0AAAA3AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-06-04T12:38:27.389Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@@ -103,5 +103,6 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
Margin="330,30,60,0"/>
|
||||
<Label x:Name="Kontostand" Content="Kontostand" HorizontalAlignment="Left" Height="40" Margin="330,270,0,0" VerticalAlignment="Top" Width="100"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
@@ -20,7 +20,7 @@ namespace WpfApp1
|
||||
int[] ZufallsZahlen = new int[6];
|
||||
|
||||
private List<int> selectedNummbers = new List<int>();
|
||||
|
||||
int meinGeld = 100;
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -44,6 +44,29 @@ namespace WpfApp1
|
||||
}
|
||||
}
|
||||
MessageBox.Show($"Du hast {treffer} Treffer!");
|
||||
|
||||
switch (treffer)
|
||||
{
|
||||
case 2:
|
||||
meinGeld += 6;
|
||||
break;
|
||||
case 3:
|
||||
meinGeld += 12;
|
||||
break;
|
||||
case 4:
|
||||
meinGeld += 58;
|
||||
break;
|
||||
case 5:
|
||||
meinGeld += 5756;
|
||||
break;
|
||||
case 6:
|
||||
meinGeld += 1070000;
|
||||
break;
|
||||
default:
|
||||
meinGeld -= 2;
|
||||
break;
|
||||
}
|
||||
Kontostand.Content = meinGeld;
|
||||
}
|
||||
|
||||
private void NumberButton_Click(object sender, RoutedEventArgs e)
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7EFB53833132A7EFBC2AE5BEB83A61B1B9D39047"
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1AAB70DEED6341000ED8F38C4768C2D3BB25DB16"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
@@ -97,6 +97,14 @@ namespace WpfApp1 {
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 106 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Label Kontostand;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
@@ -546,6 +554,9 @@ namespace WpfApp1 {
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 57:
|
||||
this.Kontostand = ((System.Windows.Controls.Label)(target));
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7EFB53833132A7EFBC2AE5BEB83A61B1B9D39047"
|
||||
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "1AAB70DEED6341000ED8F38C4768C2D3BB25DB16"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
@@ -97,6 +97,14 @@ namespace WpfApp1 {
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
|
||||
#line 106 "..\..\..\MainWindow.xaml"
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||
internal System.Windows.Controls.Label Kontostand;
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
@@ -546,6 +554,9 @@ namespace WpfApp1 {
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
case 57:
|
||||
this.Kontostand = ((System.Windows.Controls.Label)(target));
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
|
@@ -14,7 +14,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("WpfApp1")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e7cd6327b63079f586b500f401c8978c56540ff8")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a7e805ec4e198766e89c111d656a0d964428c740")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("WpfApp1")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("WpfApp1")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
@@ -1 +1 @@
|
||||
d77cd08d0d676156cf25ffe73b61d197d78b7fbf0804657a1ab99dbc38717863
|
||||
5bc58c0e7de4d9a85e7dcf62a95ec557f26ce80d7fce7a345e9e6c6898e84b4d
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("WpfApp1")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a7e805ec4e198766e89c111d656a0d964428c740")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("WpfApp1")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("WpfApp1")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
||||
|
@@ -0,0 +1 @@
|
||||
5bc58c0e7de4d9a85e7dcf62a95ec557f26ce80d7fce7a345e9e6c6898e84b4d
|
@@ -0,0 +1,16 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net8.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = WpfApp1
|
||||
build_property.ProjectDir = C:\Users\bib\source\repos\ProjektGlueckspiel\WpfApp1\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.CsWinRTUseWindowsUIXamlProjections = false
|
||||
build_property.EffectiveAnalysisLevelStyle = 8.0
|
||||
build_property.EnableCodeStyleSeverity =
|
@@ -0,0 +1,6 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
Binary file not shown.
@@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Dieser Code wurde von einem Tool generiert.
|
||||
// Laufzeitversion:4.0.30319.42000
|
||||
//
|
||||
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
// der Code erneut generiert wird.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("WpfApp1")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+a7e805ec4e198766e89c111d656a0d964428c740")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("WpfApp1")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("WpfApp1")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
||||
|
@@ -0,0 +1 @@
|
||||
5bc58c0e7de4d9a85e7dcf62a95ec557f26ce80d7fce7a345e9e6c6898e84b4d
|
@@ -0,0 +1,16 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net8.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = WpfApp1
|
||||
build_property.ProjectDir = C:\Users\bib\source\repos\ProjektGlueckspiel\WpfApp1\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.CsWinRTUseWindowsUIXamlProjections = false
|
||||
build_property.EffectiveAnalysisLevelStyle = 8.0
|
||||
build_property.EnableCodeStyleSeverity =
|
@@ -0,0 +1,6 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user