예제 #1
0
 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();
 }
예제 #2
0
 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();
 }