Exemplo n.º 1
0
        public EditableBadge()
        {
            InitializeComponent();

            //  RichTextBoxFormatBarManagerStatic.SetFormatBar(rtb, fmtBar);

            //  Drawing.dataContextHandled += DrawingDataContextHandled;

            _mediaDoubleClick = new MultiClickRecognizer(MediaDoubleClick, null);

            lstBxSources.DataContext = this;
            lstBxAttachments.DataContext = this;

            srcMover = new SourceMover(srcRepositionPopup);
            mediaMover = new MediaMover(mediaRepositionPopup);

            _selectAllTimer = new DispatcherTimer();
            _selectAllTimer.Tick += _selectAllTimer_Tick;
            _selectAllTimer.Interval = TimeSpan.FromMilliseconds(500);
            _selectAllTimer.Start();
        }
Exemplo n.º 2
0
        public EditableBadge()
        {
            InitializeComponent();

            //  RichTextBoxFormatBarManagerStatic.SetFormatBar(rtb, fmtBar);

            //  Drawing.dataContextHandled += DrawingDataContextHandled;

            _mediaDoubleClick = new MultiClickRecognizer(MediaDoubleClick, null);

            lstBxSources.DataContext     = this;
            lstBxAttachments.DataContext = this;

            srcMover   = new SourceMover(srcRepositionPopup);
            mediaMover = new MediaMover(mediaRepositionPopup);

            _selectAllTimer          = new DispatcherTimer();
            _selectAllTimer.Tick    += _selectAllTimer_Tick;
            _selectAllTimer.Interval = TimeSpan.FromMilliseconds(500);
            _selectAllTimer.Start();
        }
Exemplo n.º 3
0
        public LargeBadgeView()
        {
            InitializeComponent();

            //  RichTextBoxFormatBarManagerStatic.SetFormatBar(rtb, fmtBar);

            //  Drawing.dataContextHandled += DrawingDataContextHandled;

            _rnd = new Random();

            _mediaDoubleClick = new MultiClickRecognizer(badgeDoubleTap, null);

            _commentDismissalRecognizer = new CommentDismissalRecognizer(scrollViewer, OnDismiss);

            txtNewComment.Text = DaoUtils.NEW_COMMENT;

            lstBxSources.DataContext     = this;
            lstBxAttachments.DataContext = this;

            BeginAttachmentNumberInjection();
        }
Exemplo n.º 4
0
 private void LargeImageUC_OnUnloaded(object sender, RoutedEventArgs e)
 {
     _mediaDoubleClick.Dispose();
     _mediaDoubleClick = null;
 }
Exemplo n.º 5
0
        public LargeImageUC()
        {
            InitializeComponent();

            _mediaDoubleClick = new MultiClickRecognizer(MediaDoubleClick, null);
        }
Exemplo n.º 6
0
 private void LargeImageUC_OnUnloaded(object sender, RoutedEventArgs e)
 {
     _mediaDoubleClick.Dispose();
     _mediaDoubleClick = null;
 }
Exemplo n.º 7
0
        public LargeImageUC()
        {
            InitializeComponent();

            _mediaDoubleClick = new MultiClickRecognizer(MediaDoubleClick, null);
        }
Exemplo n.º 8
0
        public LargeBadgeView()
        {
            InitializeComponent();

            //  RichTextBoxFormatBarManagerStatic.SetFormatBar(rtb, fmtBar);

            //  Drawing.dataContextHandled += DrawingDataContextHandled; 

            _rnd = new Random();

            _mediaDoubleClick = new MultiClickRecognizer(badgeDoubleTap, null);

            _commentDismissalRecognizer = new CommentDismissalRecognizer(scrollViewer, OnDismiss);

            txtNewComment.Text = DaoUtils.NEW_COMMENT;      

            lstBxSources.DataContext = this;
            lstBxAttachments.DataContext = this;

            BeginAttachmentNumberInjection();
        }