public static void ActivityOn() { Application.Current.Dispatcher.Invoke(delegate { EventBusManager.OpenView <ActivityLoadingView>(10); }); }
private void Window_Loaded(object sender, RoutedEventArgs e) { // Start the main view EventBusManager.OpenView <MainView>(0); EventBusManager.Send <MainView, BaseMessage>(new BaseMessage(BaseMessageOptions.LoadActualData), 0); }