private void Delete_Button_Click(object sender, System.EventArgs e) { support_func.CryptoSupportDelete(information_about_file); var intentActivity = new Intent(this, typeof(MainActivity)); intentActivity.PutExtra("id", information_about_file.id_users); StartActivity(intentActivity); }
private void PopupMenu_MenuItemClick(object sender, PopupMenu.MenuItemClickEventArgs e) { switch (e.Item.ItemId) { case Resource.Id.menuDelete: { support_func.CryptoSupportDelete(information_about_file); LoadData(); break; } case Resource.Id.menuDecrypt: { flag_crypto = true; support_func.CryptoSupportStartServices(information_about_file.FilePath, password, information_about_file.Key_size, flag_crypto); break; } } }