Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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 );
        }