Exemplo n.º 1
0
            public override void Context()
            {
                base.Context();

                Given_Dialog_is_created();
                And("Observer has subscribed to CloseDialog event", () =>
                    viewModel.CloseDialog += (o, e) => closeDialogEventArgs = e);

                When_execute_Ok_Command();
            }
Exemplo n.º 2
0
 void ViewModel_CloseDialog(object sender, CloseDialogEventArgs e)
 {
     this.DialogResult = e.DialogResult;
 }