示例#1
0
 public static void ActivityOn()
 {
     Application.Current.Dispatcher.Invoke(delegate
     {
         EventBusManager.OpenView <ActivityLoadingView>(10);
     });
 }
示例#2
0
 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);
 }