private void setAliasToolStripMenuItem_Click(object sender, EventArgs e) { FriendControl fc = contextMenu.Tag as FriendControl; if (fc == null) { return; } AliasForm af = new AliasForm(); if (af.ShowDialog(this) != DialogResult.OK) { return; } SteamContext.ClientFriends.SetFriendAlias(fc.Friend.SteamID, af.Alias); }
private void setAliasToolStripMenuItem_Click( object sender, EventArgs e ) { FriendControl fc = contextMenu.Tag as FriendControl; if ( fc == null ) return; AliasForm af = new AliasForm(); if ( af.ShowDialog( this ) != DialogResult.OK ) return; SteamContext.ClientFriends.SetFriendAlias( fc.Friend.SteamID, af.Alias ); }