Esempio n. 1
0
 public RemoveContractWindow()
 {
     bl          = FactorySingletonBL.GetBL();
     contract    = new Contract();
     DataContext = contract;
     InitializeComponent();
     comboBox.ItemsSource       = bl.Get_Contract_List();
     datalist.ItemsSource       = bl.Get_Contract_List();
     comboBox.DisplayMemberPath = "Code_Of_Contract";
     comboBox.SelectedValuePath = "Code_Of_Contract";
 }
 public RemoveChildWindow()
 {
     bl          = FactorySingletonBL.GetBL();
     child       = new Child();
     DataContext = child;
     InitializeComponent();
     datalist.ItemsSource       = bl.Get_Child_List();
     comboBox.ItemsSource       = bl.Get_Child_List();
     comboBox.DisplayMemberPath = "ID";
     comboBox.SelectedValuePath = "ID";
 }
Esempio n. 3
0
 public RemoveMotherWindow()
 {
     bl          = FactorySingletonBL.GetBL();
     mother      = new Mother();
     DataContext = mother;
     InitializeComponent();
     comboBox.ItemsSource       = bl.Get_M_list();
     comboBox.DisplayMemberPath = "ID";
     comboBox.SelectedValuePath = "ID";
     datalist.ItemsSource       = bl.Get_M_list();
 }
 public RemoveNannyWindow()
 {
     bl          = FactorySingletonBL.GetBL();
     nanny       = new Nanny();
     DataContext = nanny;
     InitializeComponent();
     comboBox.ItemsSource       = bl.Get_N_list();
     datalist.ItemsSource       = bl.Get_N_list();
     comboBox.DisplayMemberPath = "ID";
     comboBox.SelectedValuePath = "ID";
 }
Esempio n. 5
0
 public MainWindow()
 {
     InitializeComponent();
     instance = FactorySingletonBL.getInstance();
 }