private void browse() { browseDialog = new MediaBrowserDialog(Settings.ImageDataPath, Settings.VideoDataPath); browseDialog.MovieFileSelected += new EventHandler <FileSelectedEventArgs>(handleMediaFileSelected); browseDialog.ImageFileSelected += new EventHandler <FileSelectedEventArgs>(handleImageFileSelected); browseController = new DialogViewController(browseDialog.Menu, true); NavigationController.PushViewController(browseController, true); }
void Browse () { browseDialog = new MediaBrowserDialog (Settings.ImageDataPath, Settings.VideoDataPath); browseDialog.MovieFileSelected += HandleMediaFileSelected; browseDialog.ImageFileSelected += HandleImageFileSelected; browseController = new DialogViewController (browseDialog.Menu, true); NavigationController.PushViewController (browseController, true); }