jetblacksalvation
jetblacksalvation
CC#
Created by IamMax420 on 5/7/2024 in #help
✅ why is the random number not being printed to the console?
You are young u learn not to take it personal
58 replies
CC#
Created by IamMax420 on 5/7/2024 in #help
✅ why is the random number not being printed to the console?
in moment it can seem condescending
58 replies
CC#
Created by IamMax420 on 5/7/2024 in #help
✅ why is the random number not being printed to the console?
you learn to live on
58 replies
CC#
Created by Jëskłer on 4/17/2024 in #help
Damage system isn't working
vc-0 than
10 replies
CC#
Created by Jëskłer on 4/17/2024 in #help
Damage system isn't working
are you willing to get on call so that we can collaborate and remove this blocker of yours?
10 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
lets get on vc 1
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
its supposed to close, not display anything right? if the pass is right
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
{ if (e.Key == Key.Return) // Check if Enter key is pressed { if (sender is Login login) { if (login.PasswordBox.Password == MasterKey)
{ login.Close(); // Close the login window } else { MessageBox.Show("Incorrect MasterKey.", "Error", MessageBoxButton.OK); } } } } do this
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
what's the error
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
actually
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
c#
private void KeyPress(object sender, KeyEventArgs e)
{
if (e.Key == Key.Return) // Check if Enter key is pressed
{
if (sender is Login login)
{
if (login.PasswordBox.Password == MasterKey)

{
mainWindow.Show();
login.Close(); // Close the login window
}
else
{
MessageBox.Show("Incorrect MasterKey.", "Error", MessageBoxButton.OK);
}
}
}
}
c#
private void KeyPress(object sender, KeyEventArgs e)
{
if (e.Key == Key.Return) // Check if Enter key is pressed
{
if (sender is Login login)
{
if (login.PasswordBox.Password == MasterKey)

{
mainWindow.Show();
login.Close(); // Close the login window
}
else
{
MessageBox.Show("Incorrect MasterKey.", "Error", MessageBoxButton.OK);
}
}
}
}
try this
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
replace with login.Close()
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
hmm
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
put a breakpoint under it and try t
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
than sender is Login login is never true
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
hmmmmmmmmmmmm
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
put a watch for master key too
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
no
190 replies
CC#
Created by Nadekai on 4/16/2024 in #help
✅ Lost again
login.PasswordBox.Password change it to this
190 replies