void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseEnterEvent; #line 7 "..\..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseEventHandler(this.element_MouseEnter); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseLeaveEvent; #line 8 "..\..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseEventHandler(this.element_MouseLeave); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Primitives.Selector.SelectionChangedEvent; #line 5 "..\..\AddProductEventDictionary.xaml" eventSetter.Handler = new System.Windows.Controls.SelectionChangedEventHandler(this.ChangeValue); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 2: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Primitives.ButtonBase.ClickEvent; #line 8 "..\..\AddProductEventDictionary.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.AddProduct); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.FrameworkElement.LoadedEvent; #line 265 "..\..\..\..\Styles\VS2012\VS2012WindowStyle.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.WindowLoaded); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 2: #line 338 "..\..\..\..\Styles\VS2012\VS2012WindowStyle.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MinButtonClick); #line default #line hidden break; case 3: #line 358 "..\..\..\..\Styles\VS2012\VS2012WindowStyle.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseButtonClick); #line default #line hidden break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewMouseUpEvent; #line 82 "..\..\..\..\Views\Controls\RadialMenus.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.RadialMenuItem_PreviewMouseUp); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewMouseDownEvent; #line 83 "..\..\..\..\Views\Controls\RadialMenus.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.RadialMenuItem_PreviewMouseDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseLeftButtonDownEvent; #line 9 "..\..\..\..\..\View\Resourses\Styles\FlatWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.Resize_Init); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseLeftButtonUpEvent; #line 10 "..\..\..\..\..\View\Resourses\Styles\FlatWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.Resize_End); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseMoveEvent; #line 11 "..\..\..\..\..\View\Resourses\Styles\FlatWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseEventHandler(this.Resizeing_Form); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 2: #line 37 "..\..\..\..\..\View\Resourses\Styles\FlatWindow.xaml" ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TopBar_MouseDown); #line default #line hidden break; case 3: #line 70 "..\..\..\..\..\View\Resourses\Styles\FlatWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnClose_Click); #line default #line hidden break; case 4: #line 81 "..\..\..\..\..\View\Resourses\Styles\FlatWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnMinimize_Click); #line default #line hidden break; } }
void IStyleConnector.Connect(int connectionId, object target) { if (connectionId == 1) { var item = new EventSetter { Event = MouseDownEvent, Handler = new MouseButtonEventHandler(ImageClicked) }; ((Style)target).Setters.Add(item); } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.FrameworkElement.LoadedEvent; #line 55 "..\..\..\..\Styles\Window\VS2012WindowStyle.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.WindowLoaded); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 2: #line 107 "..\..\..\..\Styles\Window\VS2012WindowStyle.xaml" ((System.Windows.Controls.Image)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.IconMouseUp); #line default #line hidden #line 108 "..\..\..\..\Styles\Window\VS2012WindowStyle.xaml" ((System.Windows.Controls.Image)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.IconMouseLeftButtonDown); #line default #line hidden break; case 3: #line 129 "..\..\..\..\Styles\Window\VS2012WindowStyle.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MinButtonClick); #line default #line hidden break; case 4: #line 149 "..\..\..\..\Styles\Window\VS2012WindowStyle.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.MaxButtonClick); #line default #line hidden break; case 5: #line 170 "..\..\..\..\Styles\Window\VS2012WindowStyle.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseButtonClick); #line default #line hidden break; } }
// Token: 0x060008DD RID: 2269 RVA: 0x0001CBD8 File Offset: 0x0001ADD8 private void ProcessSetters(Style style) { if (style == null) { return; } style.Setters.Seal(); if (this.PropertyValues.Count == 0) { this.PropertyValues = new FrugalStructList <PropertyValue>(style.Setters.Count); } for (int i = 0; i < style.Setters.Count; i++) { SetterBase setterBase = style.Setters[i]; Setter setter = setterBase as Setter; if (setter != null) { if (setter.TargetName != null) { throw new InvalidOperationException(SR.Get("SetterOnStyleNotAllowedToHaveTarget", new object[] { setter.TargetName })); } if (style == this) { DynamicResourceExtension dynamicResourceExtension = setter.ValueInternal as DynamicResourceExtension; if (dynamicResourceExtension == null) { this.UpdatePropertyValueList(setter.Property, PropertyValueType.Set, setter.ValueInternal); } else { this.UpdatePropertyValueList(setter.Property, PropertyValueType.Resource, dynamicResourceExtension.ResourceKey); } } } else { EventSetter eventSetter = (EventSetter)setterBase; if (this._eventHandlersStore == null) { this._eventHandlersStore = new EventHandlersStore(); } this._eventHandlersStore.AddRoutedEventHandler(eventSetter.Event, eventSetter.Handler, eventSetter.HandledEventsToo); this.SetModified(16); if (eventSetter.Event == FrameworkElement.LoadedEvent || eventSetter.Event == FrameworkElement.UnloadedEvent) { this._hasLoadedChangeHandler = true; } } } this.ProcessSetters(style._basedOn); }
/// <summary> /// Attaches the TextBox selection behavior to a style from code-behind. /// </summary> public static void AssignTo(Style style) { if (style != null) { //<EventSetter Event="PreviewMouseDown" Handler="{Binding Source={StaticResource TextBoxSelectionHandler}, Path=TextBox_PreviewMouseDown}" /> //<EventSetter Event="LostMouseCapture" Handler="{Binding Source={StaticResource TextBoxSelectionHandler}, Path=TextBox_LostMouseCapture}" /> //<EventSetter Event="GotKeyboardFocus" Handler="{Binding Source={StaticResource TextBoxSelectionHandler}, Path=TextBox_GotKeyboardFocus}" /> var setter = new EventSetter(UIElement.PreviewMouseDownEvent, new MouseButtonEventHandler(TextBoxPreviewMouseDown)); style.Setters.Add(setter); setter = new EventSetter(UIElement.LostMouseCaptureEvent, new MouseEventHandler(TextBoxLostMouseCapture)); style.Setters.Add(setter); setter = new EventSetter(UIElement.GotKeyboardFocusEvent, new KeyboardFocusChangedEventHandler(TextBoxGotKeyboardFocus)); style.Setters.Add(setter); } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Primitives.ButtonBase.ClickEvent; #line 9 "..\..\App.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.EventSetter_Click); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 47 "..\..\..\Views\PackageDatabaseTreeView.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.HandleDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
public Mapper() { InitializeComponent(); //For interaction modes in Mapper. InteractModes = new List<string> { "Mouse", "Stylus", "Gesture", "Stylus and Gesture" }; InteractionModeCombobox.ItemsSource = InteractModes; InteractionModeCombobox.SelectedIndex = 0; //style for values list box -> rule designer Style valuesListboxStyle = new Style(); EventSetter esVSMouseDown = new EventSetter(ListBoxItem.PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(ValueListBox_PreviewMouseDown)); EventSetter esVSMouseMove = new EventSetter(ListBoxItem.PreviewMouseMoveEvent, new MouseEventHandler(ValueListBox_PreviewMouseMove)); valuesListboxStyle.Setters.Add(esVSMouseDown); valuesListboxStyle.Setters.Add(esVSMouseMove); ValuesListBox.ItemContainerStyle = valuesListboxStyle; RulesListBox.ItemsSource = Matches; //style for defined rules list box //Style rulesListboxStyle = new Style(); //EventSetter esMouseDown = new EventSetter(ListBoxItem.PreviewMouseLeftButtonDownEvent, new MouseButtonEventHandler(ListBoxItem_PreviewMouseDown)); //EventSetter esMouseMove = new EventSetter(ListBoxItem.PreviewMouseMoveEvent, new MouseEventHandler(ListBoxItem_MouseMove)); //rulesListboxStyle.Setters.Add(esMouseDown); //rulesListboxStyle.Setters.Add(esMouseMove); //RulesListBox.ItemContainerStyle = rulesListboxStyle; suggestions = new ObservableCollection<Suggestion>(); SuggestionsListBox.ItemsSource = suggestions; //set them to true mapperSuggester = new Suggester(); //load functions toolbox functionsToolBox = new Toolbox(); string functionsFile = "../../Resources/Functions.xml"; loadFunctionsToolbox(functionsFile, functionsToolBox); FunctionsExpander.Content = functionsToolBox; FunctionsExpander.IsExpanded = true; //Logger logger = new Logger("MapperLogger"); logsTab.Content = logger; }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Primitives.ToggleButton.CheckedEvent; #line 26 "..\..\PrimerDesigner1.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.select_otherPrimers); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 10: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent; #line 46 "..\..\..\Traces_Log\TraceDisplay.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.gridtrace_MouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 24: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewMouseLeftButtonDownEvent; #line 217 "..\..\..\UserControls UI\BangDiem_UserControl.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseLeftButtonDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 6: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 352 "..\..\LearningRecordWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.OnListViewItemDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 7: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent; #line 32 "..\..\..\..\Contract\Create\Chose_Customer.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.DoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseLeftButtonDownEvent; #line 13 "..\..\..\..\R\UI\PlanEdit.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.tabItemMouseLeftButtonDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 17: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseRightButtonDownEvent; #line 143 "..\..\..\..\Pages\Main\HitsDB.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_MouseRightButtonDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 25: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Primitives.ToggleButton.CheckedEvent; #line 210 "..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.RibbonRadioButton_Checked); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 7: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 91 "..\..\..\..\Windows\Escritura\DigitarAtoConjunto.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.dataGridParticipantes_MouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 4: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseLeftButtonUpEvent; #line 36 "..\..\Vendas.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_MouseLeftButtonUp); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 3: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 27 "..\..\..\UKontroller\Okuyucu Listesi.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.dtg_KitapListesi_MouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 5: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 27 "..\..\..\..\pages\doctor\schedule.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.loadprofile); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Primitives.ButtonBase.ClickEvent; #line 12 "..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 2: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 33 "..\..\..\Visuals\WPFPane.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.MailItem_MouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 4: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseDownEvent; #line 26 "..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.Row_MouseDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = EyeXFramework.Wpf.Behavior.HasGazeChangedEvent; #line 14 "..\..\Window1.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.OnHasGazeChanged); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 4: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseLeftButtonDownEvent; #line 27 "..\..\..\..\UC\UserControl1.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.DragImage); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 6: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseLeftButtonDownEvent; #line 90 "..\..\..\..\Visuals\MainWindow\MainDataGrid.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.LastRow_LoadMore); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 6: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 48 "..\..\DoctorsList.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.DataGridRow_MouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Documents.Hyperlink.ClickEvent; #line 75 "..\..\..\..\Source\View\StaffDetailUserControl.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.OnHyperlinkClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 3: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Documents.Hyperlink.ClickEvent; #line 44 "..\..\..\Views\InitialStaffPermitSelection.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.OnHyperlinkClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 10: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 161 "..\..\..\..\..\Pages\Main\Configs\ConfigManager.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_MouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 3: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Documents.Hyperlink.RequestNavigateEvent; #line 96 "..\..\..\About.xaml" eventSetter.Handler = new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.GotFocusEvent; #line 454 "..\..\..\..\Views\spray\SfOper.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.TextBox_GotFocus); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 2: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 15 "..\..\..\View\PlacesFromDbView.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.RenderPlace); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.FrameworkElement.LoadedEvent; #line 9 "..\..\..\Resource Dictionaries\AnimatedControlsStyles.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.ForeverBlinkerLoaded); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 8: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 47 "..\..\..\..\Views\LibraryList\ListPlanet.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.listViewItem_MouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 8: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.PreviewMouseDoubleClickEvent; #line 34 "..\..\Window1213_ExtensibleStorage.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListViewItem_PreviewMouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = Tobii.Interaction.Wpf.Behaviors.HasGazeChangedEvent; #line 18 "..\..\FloatingWindow.xaml" eventSetter.Handler = new System.EventHandler <Tobii.Interaction.Wpf.HasGazeChangedRoutedEventArgs>(this.GetAttention); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseLeftButtonDownEvent; #line 407 "..\..\..\..\Styles\Metro\WindowStyle.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.MouseLeftButtonDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 2: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.FrameworkElement.LoadedEvent; #line 415 "..\..\..\..\Styles\Metro\WindowStyle.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.WindowLoaded); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 3: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.FrameworkElement.LoadedEvent; #line 534 "..\..\..\..\Styles\Metro\WindowStyle.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.WindowLoaded); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 4: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 30 "..\..\Template.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ClauseRowDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 17: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 68 "..\..\..\Views\Copy of SharedStepsInitialView.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.dgSharedSteps_MouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewKeyDownEvent; #line 69 "..\..\..\Views\Copy of SharedStepsInitialView.xaml" eventSetter.Handler = new System.Windows.Input.KeyEventHandler(this.dgSharedSteps_KeyDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 25: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 145 "..\..\..\Views\Copy of SharedStepsInitialView.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.dgTestCases_MouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewKeyDownEvent; #line 146 "..\..\..\Views\Copy of SharedStepsInitialView.xaml" eventSetter.Handler = new System.Windows.Input.KeyEventHandler(this.dgTestCases_PreviewKeyDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 7: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewMouseLeftButtonDownEvent; #line 56 "..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.listviewServices_ItemClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 2: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 1094 "..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.lvi_DoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewMouseLeftButtonDownEvent; #line 1095 "..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.lv_playlist_MouseLeftButtonDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewMouseLeftButtonUpEvent; #line 1096 "..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.lv_playlist_MouseLeftButtonUp); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 21: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewMouseLeftButtonDownEvent; #line 370 "..\..\..\Designer.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.DataGridCell_PreviewMouseLeftButtonDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 28: #line 811 "..\..\..\Designer.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Click_1); #line default #line hidden break; case 29: #line 822 "..\..\..\Designer.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItemTearDown_Click); #line default #line hidden break; case 32: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Primitives.ButtonBase.ClickEvent; #line 1044 "..\..\..\Designer.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.Set_Ldiary_RowHeaderStyle); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 33: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewMouseLeftButtonDownEvent; #line 1050 "..\..\..\Designer.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.DataGridCell_PreviewMouseLeftButtonDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseEnterEvent; #line 1051 "..\..\..\Designer.xaml" eventSetter.Handler = new System.Windows.Input.MouseEventHandler(this.DataGridCell_MouseEnter); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 37: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewMouseLeftButtonDownEvent; #line 1217 "..\..\..\Designer.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.DataGridCell_PreviewMouseLeftButtonDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 5: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.MouseLeftButtonUpEvent; #line 17 "..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.rectangleLeftMouseButtonUp); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 3: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.ListBoxItem.SelectedEvent; #line 41 "..\..\..\SettingsDialog.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.GameTypeItem_Selected); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 5: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.ListBoxItem.SelectedEvent; #line 52 "..\..\..\SettingsDialog.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.BoardSizeItem_Selected); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 3: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewMouseLeftButtonDownEvent; #line 36 "..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.listViewProgress_listViewItem_PreviewMouseLeftButtonDown); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 7: #line 47 "..\..\MainWindow.xaml" ((System.Windows.Controls.CheckBox)(target)).TargetUpdated += new System.EventHandler<System.Windows.Data.DataTransferEventArgs>(this.checkBox_isDa_TargetUpdated); #line default #line hidden break; case 8: #line 54 "..\..\MainWindow.xaml" ((System.Windows.Controls.CheckBox)(target)).TargetUpdated += new System.EventHandler<System.Windows.Data.DataTransferEventArgs>(this.checkBox_isKhong_TargetUpdated); #line default #line hidden break; case 9: #line 61 "..\..\MainWindow.xaml" ((System.Windows.Controls.CheckBox)(target)).TargetUpdated += new System.EventHandler<System.Windows.Data.DataTransferEventArgs>(this.checkBox_isNone_TargetUpdated); #line default #line hidden break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Primitives.RangeBase.ValueChangedEvent; #line 16 "..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.RoutedPropertyChangedEventHandler<double>(this.slider_ValueChanged); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewTextInputEvent; #line 36 "..\..\AddEditWindow.xaml" eventSetter.Handler = new System.Windows.Input.TextCompositionEventHandler(this.IntValidationTextBox); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; case 2: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewTextInputEvent; #line 39 "..\..\AddEditWindow.xaml" eventSetter.Handler = new System.Windows.Input.TextCompositionEventHandler(this.DoubleValidationTextBox); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 2: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.UIElement.PreviewMouseLeftButtonDownEvent; #line 124 "..\..\..\Views\StartPage.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.ListBox_MouseLeftButtonDown_OpenLinkURL); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 2: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 9 "..\..\RadniNalogDetaljno.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.listViewItem_MouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 3: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Primitives.Selector.SelectionChangedEvent; #line 21 "..\..\SongList.xaml" eventSetter.Handler = new System.Windows.Controls.SelectionChangedEventHandler(this.OnSelectionChange); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 1: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Primitives.ToggleButton.CheckedEvent; #line 29 "..\..\MaskShell.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.LayerCheckBox_Checked); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Primitives.ToggleButton.UncheckedEvent; #line 30 "..\..\MaskShell.xaml" eventSetter.Handler = new System.Windows.RoutedEventHandler(this.LayerCheckBox_Unchecked); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 3: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 138 "..\..\MainWindow.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.OpenDownloadFolder); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
void System.Windows.Markup.IStyleConnector.Connect(int connectionId, object target) { System.Windows.EventSetter eventSetter; switch (connectionId) { case 3: eventSetter = new System.Windows.EventSetter(); eventSetter.Event = System.Windows.Controls.Control.MouseDoubleClickEvent; #line 28 "..\..\..\DataManager\ExperienceControl.xaml" eventSetter.Handler = new System.Windows.Input.MouseButtonEventHandler(this.DataGridRow_MouseDoubleClick); #line default #line hidden ((System.Windows.Style)(target)).Setters.Add(eventSetter); break; } }
private Style BuildWindowStyle() { Style style = new Style(typeof(NotificationWindow)); if (action != null) { MouseButtonEventHandler doubleClickAction = (s, e) => action(); EventSetter leftMouseDoubleClick = new EventSetter(MouseDoubleClickEvent, doubleClickAction); style.Setters.Add(leftMouseDoubleClick); } style.Setters.Add(new Setter(BackgroundProperty, Brushes.Black)); style.Setters.Add(new Setter(ForegroundProperty, Brushes.Transparent)); style.Setters.Add(new Setter(TopmostProperty, true)); style.Setters.Add(new Setter(FocusableProperty, false)); style.Setters.Add(new Setter(ShowInTaskbarProperty, false)); style.Setters.Add(new Setter(ShowActivatedProperty, false)); style.Setters.Add(new Setter(IsTabStopProperty, false)); style.Setters.Add(new Setter(ResizeModeProperty, ResizeMode.NoResize)); style.Setters.Add(new Setter(WindowStyleProperty, WindowStyle.None)); style.Setters.Add(new Setter(BorderThicknessProperty, new Thickness(0d))); double top = SystemParameters.WorkArea.Top + 50; double left = SystemParameters.WorkArea.Right - 475d - 100; style.Setters.Add(new Setter(TopProperty, top)); style.Setters.Add(new Setter(LeftProperty, left)); style.Setters.Add(new Setter(SizeToContentProperty, SizeToContent.Height)); style.Setters.Add(new Setter(WidthProperty, 475d)); return style; }