private void btnEmployeesList_Click(object sender, RoutedEventArgs e) { MyApp.WPFList.Employees.ListWPFEmployees contentPage = new MyApp.WPFList.Employees.ListWPFEmployees(config.WPFConfig, true, this.FramePlaceHolder); contentPage.Setup_SetColumnsMaxLenght(100); contentPage.Setup_SetLanguage(GetLanguage()); NavigateSimplePage(contentPage); }
private void btnMasterEmployees_DetailOrders_Click(object sender, RoutedEventArgs e) { MyApp.WPFList.Employees.ListWPFEmployees master = new MyApp.WPFList.Employees.ListWPFEmployees(config.WPFConfig, true, this.FramePlaceHolder); master.Setup_SetColumnsMaxLenght(100); master.Setup_SetLanguage(GetLanguage()); MyApp.WPFList.Orders.ListWPFOrders detail = new MyApp.WPFList.Orders.ListWPFOrders(config.WPFConfig, true, this.FramePlaceHolder); master.DetailListOrders = detail; detail.Setup_SetLanguage(GetLanguage()); NavigateMasterDetail(master, detail); }