Пример #1
0
        public DialogView()
        {
            this.InitializeComponent();

            this._viewModel = (DialogViewModel)this.DataContext;

            EventBusManager.Register <DialogView, BaseMessage>(this.BaseMessageEvent);

            this._viewModel.CommandSelectedPathDialogAccept = new ButtonCommandSelectedPathDialogAccept(this._viewModel);
        }
 public ButtonCommandSelectedPathDialogAccept(DialogViewModel viewModel) => this._viewModel = viewModel;