Exemple #1
0
 public ctlTrackManagerView(TrackManagerViewModel viewModel)
 {
     // Inicializa los componentes
     InitializeComponent();
     // Inicializa el contexto de datos
     DataContext      = ViewModel = viewModel;
     viewModel.Close += (sender, result) =>
     {
         DialogResult = result.IsAccepted;
         Close();
     };
 }
 /// <summary>
 ///		Abre el formulario de modificación de un manager de canales
 /// </summary>
 public SystemControllerEnums.ResultType OpenPropertiesTrackManager(TrackManagerViewModel viewModel)
 {
     return(DevConferencesPlugin.MainInstance.HostPluginsController.HostViewsController.ShowDialog(new ctlTrackManagerView(viewModel)));
 }