예제 #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();
        }
예제 #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();
        }
예제 #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();
        }
예제 #4
0
 private void LargeImageUC_OnUnloaded(object sender, RoutedEventArgs e)
 {
     _mediaDoubleClick.Dispose();
     _mediaDoubleClick = null;
 }
예제 #5
0
        public LargeImageUC()
        {
            InitializeComponent();

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

            _mediaDoubleClick = new MultiClickRecognizer(MediaDoubleClick, null);
        }
예제 #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();
        }