private void Menu_Linkup(object sender, EventArgs e) { if (!(sender is IViewParams)) { return; } ulong user = ((IViewParams)sender).GetUser(); uint project = ((IViewParams)sender).GetProject(); Trust.LinkupTo(user, project); }