Ejemplo n.º 1
0
        public MainForm()
        {
            InitializeComponent();

            EnvironmentManager.Instance.RegisterReceiver(PlaybackTimeChangedHandler,
                                                         new MessageIdFilter(MessageId.SmartClient.PlaybackCurrentTimeIndication));

            transform = new ToolkitRGBEnhancement.RGBHandling.Transform();

            _fetchThread = new Thread(BitmapFetchThread);
            _fetchThread.Start();

            OnScrollChange(null, null);

            groupBoxPlayback.Enabled = false;
        }
        /// <summary>
        /// Method that is called immediately after the view item is displayed.
        /// </summary>
        public override void Init()
        {
            SetUpApplicationEventListeners();

            _transform = new ToolkitRGBEnhancement.RGBHandling.Transform();

            _fetchThread = new Thread(BitmapFetchThread);
            _fetchThread.Start();

            OnScrollChange(null, null);

            ModeHandler(WindowInformation.Mode);
            if (_viewItemManager.SelectedCamera != null)
            {
                ViewItemManagerPropertyChangedEvent(null, null);
            }
        }
Ejemplo n.º 3
0
 public MainForm()
 {
     InitializeComponent();
     transform = new ToolkitRGBEnhancement.RGBHandling.Transform();
     OnScrollChange(null, null);
 }