versuch audio
This commit is contained in:
@@ -20,6 +20,10 @@
|
|||||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
|
||||||
<Button Content="Anmelden" Width="80" Click="Anmelden_Click"/>
|
<Button Content="Anmelden" Width="80" Click="Anmelden_Click"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
<MediaElement Name="player"
|
||||||
|
LoadedBehavior="Manual"
|
||||||
|
UnloadedBehavior="Manual" />
|
||||||
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Numerics;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
@@ -20,14 +21,17 @@ namespace Casino
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Login : Window
|
public partial class Login : Window
|
||||||
{
|
{
|
||||||
|
|
||||||
public Login()
|
public Login()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
private void Anmelden_Click(object sender, RoutedEventArgs e)
|
private void Anmelden_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if(checkLogin(TxtName.Text, TxtPasswort.Text))
|
if (checkLogin(TxtName.Text, TxtPasswort.Text))
|
||||||
{
|
{
|
||||||
DialogResult = true;
|
DialogResult = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user