Exemple #1
0
        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            if (objSlotDba == null)
            {
                objSlotDba = new SlotDba();
            }
            if (objGeneralDba == null)
            {
                objGeneralDba = new GeneralDba();
            }
            InitialUpdateAllSlots();
            objSlotDba.triggerSlotUpdate += new EventHandler(Handle_triggerSlotUpdate);
            objGeneralDba.UnRegisterDBNotification();
            objSlotDba.RegisterSlotDetailsWrtFloorNotification(Floor);

            InitializeCMSettings();
        }