Beispiel #1
0
        public MainWindow()
        {
            InitializeComponent();
            StoryViewModel story = new StoryViewModel();

            story.UserControlView = new PribehUserControl();
            DataContext           = story;
        }
Beispiel #2
0
        public NextDialogCommand(StoryViewModel model)
        {
            this.model = model;

            /*Button button = (Button)sender;
             *          string decision = button.Content.ToString();
             *
             *
             */
        }
Beispiel #3
0
 public NextTextCommand(StoryViewModel model)
 {
     this.model = model;
 }
        public PribehUserControl(Dialog dialog = null, int level = 0)

        {
            InitializeComponent();
            DataContext = new StoryViewModel(dialog, level);
        }