private void label5_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            //удалить юзера
            DeleteUser d = new DeleteUser();

            d.Show();
            this.Close();
        }
示例#2
0
        public Boolean parseDeleteUser()
        {
            Sentence sentence = Query.parse("DELETE USER Eva;");

            DeleteUser deleteUser = sentence as DeleteUser;

            if (deleteUser.User.Equals("Eva"))
            {
                return(true);
            }

            return(false);
        }