示例#1
0
 static Splitter()
 {
     EventLookup.Register <Splitter>(c => c.OnPositionChanged(null), Splitter.PositionChangedEvent);
     EventLookup.Register <Splitter>(c => c.OnPositionChanging(null), Splitter.PositionChangingEvent);
     EventLookup.Register <Splitter>(c => c.OnPositionChangeStarted(null), Splitter.PositionChangingEvent);
     EventLookup.Register <Splitter>(c => c.OnPositionChangeCompleted(null), Splitter.PositionChangingEvent);
 }
示例#2
0
 static Window()
 {
     EventLookup.Register <Window>(c => c.OnClosed(null), ClosedEvent);
     EventLookup.Register <Window>(c => c.OnClosing(null), ClosingEvent);
     EventLookup.Register <Window>(c => c.OnLocationChanged(null), LocationChangedEvent);
     EventLookup.Register <Window>(c => c.OnWindowStateChanged(null), WindowStateChangedEvent);
 }
示例#3
0
文件: WebView.cs 项目: zzlvff/Eto
 static WebView()
 {
     EventLookup.Register <WebView>(c => c.OnNavigated(null), WebView.NavigatedEvent);
     EventLookup.Register <WebView>(c => c.OnDocumentLoaded(null), WebView.DocumentLoadedEvent);
     EventLookup.Register <WebView>(c => c.OnDocumentLoading(null), WebView.DocumentLoadingEvent);
     EventLookup.Register <WebView>(c => c.OnDocumentTitleChanged(null), WebView.DocumentTitleChangedEvent);
     EventLookup.Register <WebView>(c => c.OnOpenNewWindow(null), WebView.OpenNewWindowEvent);
 }
示例#4
0
 static TreeGridView()
 {
     EventLookup.Register <TreeGridView>(c => c.OnExpanding(null), TreeGridView.ExpandingEvent);
     EventLookup.Register <TreeGridView>(c => c.OnExpanded(null), TreeGridView.ExpandedEvent);
     EventLookup.Register <TreeGridView>(c => c.OnCollapsing(null), TreeGridView.CollapsingEvent);
     EventLookup.Register <TreeGridView>(c => c.OnCollapsed(null), TreeGridView.CollapsedEvent);
     EventLookup.Register <TreeGridView>(c => c.OnSelectedItemChanged(null), TreeGridView.SelectedItemChangedEvent);
 }
示例#5
0
 static SegmentedButton()
 {
     EventLookup.Register <SegmentedButton>(c => c.OnSelectedItemsChanged(null), SelectedIndexesChangedEvent);
     EventLookup.Register <SegmentedButton>(c => c.OnSelectedItemChanged(null), SelectedIndexesChangedEvent);
     EventLookup.Register <SegmentedButton>(c => c.OnSelectedIndexChanged(null), SelectedIndexesChangedEvent);
     EventLookup.Register <SegmentedButton>(c => c.OnSelectedIndexesChanged(null), SelectedIndexesChangedEvent);
     EventLookup.Register <SegmentedButton>(c => c.OnItemClicked(null), ItemClickEvent);
 }
示例#6
0
文件: Grid.cs 项目: sami1971/Eto
 static Grid()
 {
     EventLookup.Register <Grid>(c => c.OnCellEdited(null), Grid.CellEditedEvent);
     EventLookup.Register <Grid>(c => c.OnCellEditing(null), Grid.CellEditingEvent);
     EventLookup.Register <Grid>(c => c.OnCellFormatting(null), Grid.CellFormattingEvent);
     EventLookup.Register <Grid>(c => c.OnSelectionChanged(null), Grid.SelectionChangedEvent);
     EventLookup.Register <Grid>(c => c.OnColumnHeaderClick(null), Grid.ColumnHeaderClickEvent);
 }
示例#7
0
 static TreeView()
 {
     EventLookup.Register <TreeView>(c => c.OnActivated(null), TreeView.ActivatedEvent);
     EventLookup.Register <TreeView>(c => c.OnSelectionChanged(null), TreeView.SelectionChangedEvent);
     EventLookup.Register <TreeView>(c => c.OnExpanding(null), TreeView.ExpandingEvent);
     EventLookup.Register <TreeView>(c => c.OnExpanded(null), TreeView.ExpandedEvent);
     EventLookup.Register <TreeView>(c => c.OnCollapsing(null), TreeView.CollapsingEvent);
     EventLookup.Register <TreeView>(c => c.OnCollapsed(null), TreeView.CollapsedEvent);
     EventLookup.Register <TreeView>(c => c.OnLabelEdited(null), TreeView.LabelEditedEvent);
     EventLookup.Register <TreeView>(c => c.OnLabelEditing(null), TreeView.LabelEditingEvent);
     EventLookup.Register <TreeView>(c => c.OnNodeMouseClick(null), TreeView.NodeMouseClickEvent);
 }
示例#8
0
文件: Control.cs 项目: sami1971/Eto
 static Control()
 {
     EventLookup.Register <Control>(c => c.OnGotFocus(null), Control.GotFocusEvent);
     EventLookup.Register <Control>(c => c.OnKeyDown(null), Control.KeyDownEvent);
     EventLookup.Register <Control>(c => c.OnKeyUp(null), Control.KeyUpEvent);
     EventLookup.Register <Control>(c => c.OnLostFocus(null), Control.LostFocusEvent);
     EventLookup.Register <Control>(c => c.OnMouseDoubleClick(null), Control.MouseDoubleClickEvent);
     EventLookup.Register <Control>(c => c.OnMouseDown(null), Control.MouseDownEvent);
     EventLookup.Register <Control>(c => c.OnMouseEnter(null), Control.MouseEnterEvent);
     EventLookup.Register <Control>(c => c.OnMouseLeave(null), Control.MouseLeaveEvent);
     EventLookup.Register <Control>(c => c.OnMouseMove(null), Control.MouseMoveEvent);
     EventLookup.Register <Control>(c => c.OnMouseUp(null), Control.MouseUpEvent);
     EventLookup.Register <Control>(c => c.OnMouseWheel(null), Control.MouseWheelEvent);
     EventLookup.Register <Control>(c => c.OnShown(null), Control.ShownEvent);
     EventLookup.Register <Control>(c => c.OnSizeChanged(null), Control.SizeChangedEvent);
     EventLookup.Register <Control>(c => c.OnTextInput(null), Control.TextInputEvent);
 }
示例#9
0
 static Scrollable()
 {
     EventLookup.Register <Scrollable>(c => c.OnScroll(null), Scrollable.ScrollEvent);
 }
示例#10
0
文件: MenuItem.cs 项目: zzlvff/Eto
 static MenuItem()
 {
     EventLookup.Register <MenuItem>(c => c.OnValidate(null), MenuItem.ValidateEvent);
 }
示例#11
0
 static Application()
 {
     EventLookup.Register <Application>(c => c.OnTerminating(null), Application.TerminatingEvent);
 }
示例#12
0
 static TextBox()
 {
     EventLookup.Register <TextBox>(c => c.OnTextChanging(null), TextBox.TextChangingEvent);
 }
示例#13
0
文件: TextArea.cs 项目: yaram/Eto
 static TextArea()
 {
     EventLookup.Register <TextArea>(c => c.OnSelectionChanged(null), TextArea.SelectionChangedEvent);
     EventLookup.Register <TextArea>(c => c.OnCaretIndexChanged(null), TextArea.CaretIndexChangedEvent);
 }
示例#14
0
 static SegmentedItem()
 {
     EventLookup.Register <SegmentedItem>(c => c.OnClick(null), ClickEvent);
 }
示例#15
0
 static Application()
 {
     EventLookup.Register <Application>(c => c.OnTerminating(null), Application.TerminatingEvent);
     EventLookup.Register <Application>(c => c.OnUnhandledException(null), Application.UnhandledExceptionEvent);
     EventLookup.Register <Application>(c => c.OnNotificationActivated(null), Application.NotificationActivatedEvent);
 }
示例#16
0
 static TextControl()
 {
     EventLookup.Register <TextControl>(c => c.OnTextChanged(null), TextControl.TextChangedEvent);
 }
示例#17
0
 static Expander()
 {
     EventLookup.Register <Expander>(c => c.OnExpandedChanged(null), Expander.ExpandedChangedEvent);
 }
示例#18
0
 static LinkButton()
 {
     EventLookup.Register <LinkButton>(c => c.OnClick(null), ClickEvent);
 }
示例#19
0
文件: Splitter.cs 项目: nzysoft/Eto
 static Splitter()
 {
     EventLookup.Register <Splitter>(c => c.OnPositionChanged(null), Splitter.PositionChangedEvent);
 }
示例#20
0
 static FontDialog()
 {
     EventLookup.Register <FontDialog>(c => c.OnFontChanged(null), FontDialog.FontChangedEvent);
 }
示例#21
0
 static TextStepper()
 {
     EventLookup.Register((TextStepper c) => c.OnStep(null), StepEvent);
 }
示例#22
0
 static PrintDocument()
 {
     EventLookup.Register <PrintDocument>(c => c.OnPrinting(null), PrintDocument.PrintingEvent);
     EventLookup.Register <PrintDocument>(c => c.OnPrinted(null), PrintDocument.PrintedEvent);
     EventLookup.Register <PrintDocument>(c => c.OnPrintPage(null), PrintDocument.PrintPageEvent);
 }
示例#23
0
文件: GridView.cs 项目: sami1971/Eto
 static GridView()
 {
     EventLookup.Register <GridView>(c => c.OnCellClick(null), GridView.CellClickEvent);
 }