public void editBtnClicEvent2(object sender, EventArgs e)
        {
            dbcn.DeleteUserdata(valueFromLoginUser, passwordFromLogin);

            Console.WriteLine("Deleted SUCCESSFULLY");
            alert.SetTitle("Deleted");

            alert.SetMessage("Details Deleted");

            alert.SetPositiveButton("OK", alertOKButton);

            alert.SetNegativeButton("Cancel", alertOKButton);

            Dialog myDialog = alert.Create();

            myDialog.Show();
        }
Esempio n. 2
0
        public void editBtnClicEvent2(object sender, EventArgs e)
        {
            dbcn.DeleteUserdata(valueFromLoginUser, passwordFromLogin);

            Console.WriteLine("Deleted SUCCESSFULLY");
            alert.SetTitle("Deleted");

            alert.SetMessage("Your account has been deleted.");

            alert.SetPositiveButton("OK", alertOKButton);

            alert.SetNegativeButton("Cancel", alertOKButton);

            Dialog myDialog = alert.Create();

            myDialog.Show();
            Intent newScreen1 = new Intent(this, typeof(MainActivity));

            StartActivity(newScreen1);
        }