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); }
private void btnMasterEmployees_DetailTerritories_Click(object sender, RoutedEventArgs e) { MyApp.WPFList.Employees.ListWPFEmployees master = new MyApp.WPFList.Employees.ListWPFEmployees(config.WPFConfig, true, this.FramePlaceHolder); MyApp.WPFList.EmployeeTerritories.ListWPFEmployeeTerritories detail = new MyApp.WPFList.EmployeeTerritories.ListWPFEmployeeTerritories(config.WPFConfig, true, this.FramePlaceHolder); MyApp.WPFList.Territories.ListWPFTerritories detailDetail = new MyApp.WPFList.Territories.ListWPFTerritories(config.WPFConfig, true, this.FramePlaceHolder); detail.Setup_FilterGroupBoxIsVisible(false); detailDetail.Setup_FilterGroupBoxIsVisible(false); master.DetailListEmployeeTerritories = detail; detail.DetailListTerritories = detailDetail; master.Setup_SetLanguage(GetLanguage()); detail.Setup_SetLanguage(GetLanguage()); NavigateMasterDetailDetail(master, detail, detailDetail); }