예제 #1
0
        private void Button_Enter_Click(object sender, EventArgs e)
        {
            Entry entry = new Entry();

            if (entry.LoginName == textBox_loginname.Text && entry.Passwd == Convert.ToString(textBox_passwd.Text.GetHashCode()))
            {
                textBox_passwd.Clear();
                MessageBox.Show("Sikeres bejelentkezés!");

                this.Hide();
                ListForm main = new ListForm();
                main.ShowDialog();
            }
            else
            {
                MessageBox.Show("Hibás bejelentkezési adatok!");
            }
        }
예제 #2
0
        private void Login_Load(object sender, EventArgs e)
        {
            ListForm list = new ListForm();

            list.Close();
        }