private void gridUsers_TitleAddClick(object sender, EventArgs e) { if (_isFillingList) { return; } //Call an event that bubbles back up to the calling Form. AddUserClick?.Invoke(this, new SecurityEventArgs(new Userod())); }
private void butAddUser_Click(object sender, EventArgs e) { //Call an event that bubbles back up to the calling Form. AddUserClick?.Invoke(this, new SecurityEventArgs(new Userod())); }