private void addClick(AnimationFrameEditor obj) { if (animation == null) { MessageBox.Show("You must create an animation first.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } AddClick?.Invoke(this); if (Selection == null || Selection.Length <= 0) { return; } if (obj.FrameMask == null) { animation.Add(Selection, 0); } else { animation.Add(Selection, obj.FrameMask.Index); } buildTable(); _Animation = animation; }
private void btAdd_Click(object sender, EventArgs e) { OnAddClicked(e); if (AddClick != null) { AddClick.Invoke(this, e); } }
public override void OnActivityResult(int requestCode, int resultCode, Intent data) { base.OnActivityResult(requestCode, resultCode, data); if (resultCode == Result.Ok.GetHashCode()) { AddClick.Invoke(requestCode, null); } }
private void btnAdd_Click(object sender, EventArgs e) { AddClick?.Invoke(this, e); }
private void button1_Click(object sender, EventArgs e) { AddClick?.Invoke(sender, e); }
protected bool OnAddClick() { AddClick?.Invoke(); return(true); }
private void addClick(object sender, EventArgs e) { AddClick?.Invoke(this); }
protected void add_Click(object sender, EventArgs e) { AddClick?.Invoke(sender, e, this); }
protected void OnAddClick() { AddClick?.Invoke(); Modal.Hide(); }
private void AddButtonOnClick(object sender, RoutedEventArgs e) { AddClick?.Invoke(sender, e); }
private void tsmiAdd_Click(object sender, EventArgs e) { AddClick.Invoke(sender, e); }
private void btnAdd_Click(object sender, RoutedEventArgs e) { AddClick?.Invoke(); }
protected virtual void OnAddClick() { AddClick?.Invoke(this, EventArgs.Empty); }
protected virtual void btnAdd_Click(object sender, EventArgs e) { AddClick?.Invoke(sender, e); }