Forums > csharp >

Need help with an error.


New Reply

Posted

Gereksizz

Gerek

Posts: 7

Threads: 2

Joined: Aug, 2019

Reputation: 0

Video Link: https://gofile.io/?c=sntcnt

Original Thread: https://wearedevs.net/forum/t/6836

Ive Tried What Kratic Said On That Post But It Didnt Work.

Im Making A New Post Because Ive Added A Video Link And People Cant Really See The Old One.


Replied

Posts: 8

Threads: 2

Joined: Jul, 2019

Reputation: 0

Your mistake was that you had an extra pair of brackets on the message which give's the error. Here's the fixed version of your login:

 

if (textbox1.Text == "urkeyhere") 

{

 Ma main = new Ma();

 Ma.Show();

 this.Hide()

}

else

{

  MessageBox.Show("Wrong Key Did You Click On Get Key?", "OOPS! Something's Going On Here", MessageBoxButtons.OK, MessageBoxIcon.Warning);

}


Replied

Posts: 7

Threads: 2

Joined: Aug, 2019

Reputation: 0

<@uid:48177>

Now it asks for a

}

If I don't add it it won't work

 


New Reply