Esempio 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);
        }
Esempio 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 );
        }