public ImageElementGenerator(NotesEditor editor) { _editor = editor; _resizingTimer = new DispatcherTimer(TimeSpan.FromMilliseconds(200), DispatcherPriority.Background, ResizeImages, _editor.Dispatcher); }
public ColorizeAvalonEdit(NotesEditor editor) { _editor = editor; }
public CheckboxElementGenerator(NotesEditor editor) { _editor = editor; }
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; }