Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void button1_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- private void button2_Click(object sender, EventArgs e)
- {
- string user, pass;
- user = txtUser.Text;
- pass = txtPass.Text;
- if (user == "dpsd14002" && pass == "1234")
- {
- MessageBox.Show("Δικαιούσαι Δωρεάν Σίτιση. Δεν Χρειάζεται να πληρώσεις.");
- // εδω θα μπορουσε να υλοποιηθει ενας τροπος να μπαινουν ποντοι ...
- }
- else if (user == "dpsd14003" && pass == "5678")
- {
- MessageBox.Show("Δεν Δικαιούσαι Δωρεάν Σίτιση. Πλήρωσε 2,50€");
- // και εδω παλι θα μπορουσε να υλοποιηθει ενας τροπος να μπαινουν οι ποντοι...
- }
- else
- {
- MessageBox.Show("Error");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement