예제 #1
0
 public static BLImp GetBL()
 {
     if (bl == null)
     {
         bl = new BLImp();
     }
     return(bl);
 }
예제 #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);
 }
예제 #3
0
        public UpdatePray()
        {
            InitializeComponent();
            bl = BL.FactoryBL.GetBL();
            p  = new BE.Pray();

            this.SynagoguecomboBox.ItemsSource       = bl.GetAllSynagogues();
            this.SynagoguecomboBox.DisplayMemberPath = "name";
        }
예제 #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";
        }
예제 #5
0
 public static void Main(string[] args)
 {
     BLImp b = new BLImp();
 }