Esempio n. 1
0
 public void NotifyDopesheetRowClicked(DopesheetRow item, MouseButton mouseButton)
 {
     if (mouseButton == MouseButton.Left)
     {
         RowClicked?.Invoke(item);
     }
 }
Esempio n. 2
0
 private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex != 2)
     {
         _ClickedRow = e.RowIndex;
         RowClicked?.Invoke(sender, EventArgs.Empty);
     }
 }
 private void Adapter_RowClicked <T>(object sender, RowClickedEventArgs <T> e)
 {
     RowClicked?.Invoke(sender, new RowClickedEventArgs <object>(e));
 }
Esempio n. 4
0
 protected Task OnRowClickedCommand(DataGridRowMouseEventArgs <TItem> eventArgs)
 {
     return(RowClicked.InvokeAsync(eventArgs));
 }
Esempio n. 5
0
 protected virtual void EmitRowClick(object sender, int position, T model,
                                     object tag)
 {
     RowClicked?.Invoke(sender, new RowClickedEventArgs <T>(
                            position, model, tag));
 }
Esempio n. 6
0
 protected virtual void EmitRowClick(object sender, T model)
 {
     RowClicked?.Invoke(sender, new RowClickedEventArgs <T>(model));
 }
 private void InternalRvAdapter_ItemClick(object sender, ItemClickEventArgs e)
 {
     RowClicked?.Invoke(sender, new RowClickedEventArgs <T>(e.Item));
 }
Esempio n. 8
0
 protected virtual void OnRowClicked(RowClickedEventArgs <TItem> e)
 {
     RowClicked?.Invoke(this, e);
 }