private void ChangeFrameDataGridCommits()
        {
            MainWindowFrame parameter = new MainWindowFrame()
            {
                Parameters = new object[1] {
                    Commits
                },
                TypesParameters = new Type[1] {
                    typeof(ObservableCollection <Models.Commit>)
                }
            };

            ChangeFrameEvents(typeof(Views.DataGridCommits), parameter);
        }
 private void ChangeFrameEvents(Type newPage, MainWindowFrame parameter)
 {
     FrameMain.Navigate(newPage, parameter);
 }
示例#3
0
 public void ChangeContent(Type newPage, MainWindowFrame mainWindowFrame)
 {
     ChangeContentFrameEvent?.Invoke(newPage, mainWindowFrame);
 }