예제 #1
0
 public override void Initialize()
 {
     event_aggregator.PublishOnCurrentThread(ShellMessage.ShowMessage(main));
 }
예제 #2
0
 public void ShellMsg(string Msg)
 {
     ShellMessage?.Invoke(Msg);
 }
예제 #3
0
        public void Edit()
        {
            var vm = ViewModelFactory.Edit(CurrentLayout);

            event_aggregator.PublishOnCurrentThread(ShellMessage.ShowMessage(vm));
        }
예제 #4
0
        public void Capture(CaptureCommand capture_command)
        {
            var vm = ViewModelFactory.Create(capture_command.Kind);

            event_aggregator.PublishOnCurrentThread(ShellMessage.ShowMessage(vm));
        }
예제 #5
0
        public void Back()
        {
            var event_aggregator = IoC.Get <IEventAggregator>();

            event_aggregator.PublishOnCurrentThread(ShellMessage.BackMessage());
        }
예제 #6
0
 public void Exit()
 {
     event_aggregator.PublishOnCurrentThread(ShellMessage.ExitMessage());
 }