[Solved] Project of WPF app [closed]


1) The constructor of dialog window can accept parameters. Pass whatever you want from MainWindow to dialog window.

DialogWindow dialogwindow = new DialogWindow(params); 
dialogwindow.ShowDialog();

2) In DialogWindow, expose the array of ints by a Property.

public int[] EditedValues { get; private set;}

and access it in MainWindow like

int[] editedValues = dialogwindow.EditedValues;

3) same as 2), in DialogWindow, expose DeterministicFiniteAutomaton as a Property.

solved Project of WPF app [closed]