Beispiel #1
0
 public static BLImp GetBL()
 {
     if (bl == null)
     {
         bl = new BLImp();
     }
     return(bl);
 }
Beispiel #2
0
 /// <summary>
 /// This is the factory method of BLImp
 /// </summary>
 /// <returns>The <see cref="instance"/> of the singleton factory (singletory)</returns>
 static public IBL getBL()
 {
     if (instance == null)
     {
         instance = new BLImp();
         return(instance);
     }
     return(instance);
 }
Beispiel #3
0
        public UpdatePray()
        {
            InitializeComponent();
            bl = BL.FactoryBL.GetBL();
            p  = new BE.Pray();

            this.SynagoguecomboBox.ItemsSource       = bl.GetAllSynagogues();
            this.SynagoguecomboBox.DisplayMemberPath = "name";
        }
Beispiel #4
0
        public AddingPray()
        {
            InitializeComponent();
            bl = BL.FactoryBL.GetBL();
            p  = new BE.Pray();

            this.KindPraycomboBox.ItemsSource        = Enum.GetValues(typeof(BE.KindPray));
            this.SynagoguecomboBox.ItemsSource       = bl.GetAllSynagogues();
            this.SynagoguecomboBox.DisplayMemberPath = "name";
        }
Beispiel #5
0
 public static void Main(string[] args)
 {
     BLImp b = new BLImp();
 }