Beispiel #1
0
 public ImageElementGenerator(NotesEditor editor)
 {
     _editor        = editor;
     _resizingTimer = new DispatcherTimer(TimeSpan.FromMilliseconds(200), DispatcherPriority.Background, ResizeImages, _editor.Dispatcher);
 }
Beispiel #2
0
 public ColorizeAvalonEdit(NotesEditor editor)
 {
     _editor = editor;
 }
Beispiel #3
0
 public CheckboxElementGenerator(NotesEditor editor)
 {
     _editor = editor;
 }
Beispiel #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\Controls\ucNote.xaml"
                ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.imgDelete_MouseUp);

            #line default
            #line hidden
                return;

            case 2:
                this.imgTodoUnhecked = ((System.Windows.Controls.Image)(target));

            #line 13 "..\..\..\Controls\ucNote.xaml"
                this.imgTodoUnhecked.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.imgDelete_MouseUp);

            #line default
            #line hidden
                return;

            case 3:
                this.imgTodoChecked = ((System.Windows.Controls.Image)(target));

            #line 14 "..\..\..\Controls\ucNote.xaml"
                this.imgTodoChecked.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.imgDelete_MouseUp);

            #line default
            #line hidden
                return;

            case 4:
                this.txtTitle = ((System.Windows.Controls.TextBox)(target));

            #line 15 "..\..\..\Controls\ucNote.xaml"
                this.txtTitle.LostFocus += new System.Windows.RoutedEventHandler(this.txtTitle_LostFocus);

            #line default
            #line hidden
                return;

            case 5:
                this.txtTags = ((System.Windows.Controls.TextBox)(target));

            #line 20 "..\..\..\Controls\ucNote.xaml"
                this.txtTags.LostFocus += new System.Windows.RoutedEventHandler(this.txtTags_LostFocus);

            #line default
            #line hidden
                return;

            case 6:
                this.txtContent = ((OP.Notes.Controls.NotesEditor)(target));

            #line 24 "..\..\..\Controls\ucNote.xaml"
                this.txtContent.LostFocus += new System.Windows.RoutedEventHandler(this.txtContent_LostFocus);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }