private void dataTypeGroupAButton_Click(object sender, RoutedEventArgs e) { var patterContext = new MasterDetailPatternContext<DataTypeGroupA, DataTypeGroupA>(new CommonCrudBusinessService<DataTypeGroupA>()); var window = new MasterDetailView<DataTypeGroupA, DataTypeGroupA>(patterContext); window.ShowDialog(); }
private void employeeButton_Click(object sender, RoutedEventArgs e) { var patterContext = new MasterDetailPatternContext<EmployeeModel, Employee>(new CommonCrudBusinessService<Employee>()); var window = new MasterDetailView<EmployeeModel, Employee>(patterContext); window.ShowDialog(); }