Ejemplo n.º 1
0
 public void CreateNewWindow(classAlignmentData alignment)
 {
     AlignmentView window = new AlignmentView()
     {
         DataContext = new AlignmentViewModel(alignment)
     };
     window.Show();
 }
Ejemplo n.º 2
0
        public void CreateNewWindow(IEnumerable <AlignmentViewModel> alignments)
        {
            AlignmentView window = new AlignmentView
            {
                DataContext = alignments
            };

            window.Show();
        }