public void DefaultPreprocessMouseRightButtonDown(ITvlIntellisenseController controller, MouseButtonEventArgs e)
 {
     if (controller != null)
     {
         controller.DismissCompletion();
         controller.DismissQuickInfo();
     }
 }
Esempio n. 2
0
 internal MouseButtonEventArgs(RoutedEvent routedEvent,
     MouseButton changedButton,
     MouseButtonState buttonState,
     int clickCount,
     System.Windows.Input.MouseButtonEventArgs args)
     : base(routedEvent)
 {
     this.ChangedButton = changedButton;
     this.ButtonState = buttonState;
     this.ClickCount = clickCount;
     this.originalMouseButtonEventArgs = args;
 }
 void IMouseProcessor.PreprocessMouseRightButtonDown(MouseButtonEventArgs e)
 {
     foreach (var controller in GetControllersForView(TextView))
     {
         IMouseProcessor customProcessor = controller.CustomMouseProcessor;
         if (customProcessor != null)
             customProcessor.PreprocessMouseRightButtonDown(e);
         else
             DefaultPreprocessMouseRightButtonDown(controller, e);
     }
 }
 private void OriginalImageContainer_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     ResetSelection();
 }
Esempio n. 5
0
 private void linkGitHub_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     Process.Start("https://github.com/builtbybel/patchlady");
 }
 private void UserControl_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     Clicked?.Invoke(this);
 }
Esempio n. 7
0
 //When an item on the list is double clicked
 private void PokedexManager_List_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     EditSelected_Pokedex();
 }
 protected override void OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs e)
 {
 }
Esempio n. 9
0
 private void Btn_MouseRightButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     Parent.displayZoomedInImage(Card.Name, Border);
 }
Esempio n. 10
0
 private void Minimizar(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     this.WindowState = WindowState.Minimized;
 }
Esempio n. 11
0
 private void Cerrar(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     this.Close();
 }
 private void DraggableTitleBar_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e) => DragMove();
 private void OnFireImageMouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
 }
Esempio n. 14
0
 private void UserImage_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     ((MainWindowViewModel)this.DataContext).PokazUzytkownikaCommand.Execute(null);
 }
 private void TextBlock_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     (sender as TextBlock).Opacity = 1;
 }
Esempio n. 16
0
 private void DataGrid_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e) {
     DataGrid dg = (DataGrid)sender;
     if (dg.SelectedItem != null) {
         ((MinerGroupViewModel)dg.SelectedItem).Edit.Execute(null);
     }
 }
Esempio n. 17
0
 private void TextBlock_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     WebSite();
 }
Esempio n. 18
0
        private void TaskButton_MouseRightButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
            takeFocus();

            CanAutoHide = false;
        }
Esempio n. 19
0
 private void Btn_MouseRightButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     Parent.hideZoomedInImage();
 }
 // [Event] 그리드 더블클릭 시 연결
 private void XGrid_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     ExecuteConnect(SelectedHost);
 }
Esempio n. 21
0
 //Можем перемещать окно
 private void Grid_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     DragMove();
 }
Esempio n. 22
0
 private void Refresh_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     DependencyRegen(currentWorkspace);
 }
Esempio n. 23
0
 private void DataGrid_MouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     Vm.OnOk?.Invoke(Vm.SelectedResult);
 }
Esempio n. 24
0
 private void AccountsListView_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     new AccountWindow((AccountViewModel)AccountsListView.SelectedItem);
 }
Esempio n. 25
0
 private void ExistingUser_Click(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     Context.IsLoginExistingSelected = true;
 }
Esempio n. 26
0
 /// <summary>
 /// Invoked when an unhandled System.Windows.UIElement.PreviewMouseLeftButtonDown routed event reaches an element
 /// in its route that is derived from this class. Implement this method to add class handling for this event.
 /// </summary>
 /// <param name="e">The System.Windows.Input.MouseButtonEventArgs that contains the event data.
 ///  The event data reports that the left mouse button was pressed.</param>
 protected override void OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs e)
 {
     RaiseEvent(new RoutedEventArgs(RibbonControl.ClickEvent, this));
 }
Esempio n. 27
0
 private void Label_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     ((Label)sender).Content = "Hihihihi!";
 }
Esempio n. 28
0
 void tbClassHeader_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     OpenPIMClassDialog();
     e.Handled = true;
 }
Esempio n. 29
0
 private void WarningsNode_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     Master.Select((sender as GuiWarningsNode).DataMessage.Source);
 }
 private void Window_MouseRightButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     ContextMenu.IsOpen = true;
 }
 void IMouseProcessor.PreprocessMouseUp(MouseButtonEventArgs e)
 {
     foreach (var controller in GetControllersForView(TextView))
     {
         IMouseProcessor customProcessor = controller.CustomMouseProcessor;
         if (customProcessor != null)
             customProcessor.PreprocessMouseUp(e);
     }
 }
 private void Window_MouseLeftButtonDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     this.DragMove();
 }
 private void Window_MouseDoubleClick(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     //ClearSkills();
 }
Esempio n. 34
0
 private void Image_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
 {
     Donate();
 }