Exemplo n.º 1
0
        public TextPrompt(string promptInstructions, SteamIDHolder steamID)
        {
            InitializeComponent();

            this.steamID   = steamID;
            lblPrompt.Text = promptInstructions;
        }
Exemplo n.º 2
0
        private void setSteamUsernameToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SteamIDHolder holder = new SteamIDHolder();

            new TextPrompt("Enter your Steam Vanity URL (name)", holder).ShowDialog();
            if (holder.steamID > 0)
            {
                log("Found SteamID " + holder.steamID);
                settings.steamID = holder.steamID;
                settings.save();
            }
        }