Exemple #1
0
        /******************************/
        /*      Other Events          */
        /******************************/
        #region Other Events

        /// <summary>
        /// UserControl_Loaded
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            HexMessageContainerUCAction userControlActionObj = MyUserControlActionObj;

            MyUserControlActionObj = null;
            MyUserControlActionObj = userControlActionObj;
        }
Exemple #2
0
        /// <summary>
        /// Constructur
        /// </summary>
        public HexMessageContainerUC()
        {
            _logger = LogManager.GetCurrentClassLogger();
            InitializeComponent();
            DataContext = this;

            DispatcherObjectMessage = System.Windows.Threading.Dispatcher.CurrentDispatcher;

            MyUserControlActionObj = new HexMessageContainerUCAction();

            MyUserControlActionObj.AddMessageEvent += AddMessageHandler;
        }