public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { switch (indexPath.Row) { case 0: NotesController notes = new NotesController(); this.NavigationController.PushViewController(notes, true); break; case 1: LibraryControllerTable pdf = new LibraryControllerTable(); this.NavigationController.PushViewController(pdf, true); break; case 2: PhotosController photo_video = new PhotosController(); this.NavigationController.PushViewController(photo_video, true); break; case 3: WordController password = new WordController(); this.NavigationController.PushViewController(password, true); break; case 4: PasswordNotes music = new PasswordNotes(); this.NavigationController.PushViewController(music, true); break; default: Console.WriteLine("Music controlelr played here"); break; } tableView.DeselectRow(indexPath, true); }
public searchUpdatorPhoto(PhotosController searchValue) { search = searchValue; }