Example #1
0
        private void btn_Deactivate_Click(object sender, EventArgs e)
        {
            Server.Service1 server = new Server.Service1();
            bool            isPassed;
            bool            Passed;

            server.DeactivateMyAccount(email, password, out isPassed, out Passed);

            EnterUserForm = this;
            if (LoginUser.LoginUserForm == null)
            {
                LoginUser.LoginUserForm = new LoginUser();
            }

            this.Hide();
            LoginUser.LoginUserForm.Show();
        }