Ejemplo n.º 1
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            this.MsnAccountFinder = new LiveMessegerPasswordFinder();

            if (this.MsnAccountFinder.GetAccountInformations())
            {
                while (this.MsnAccountFinder.Read(out LiveIdInformation Account))
                {
                    this.lstAccounts.Items.Add(new ListViewItem(new string[] { Account.LiveId, Account.Password }));
                }

                this.MsnAccountFinder.Release();
            }
            else
            {
                MessageBox.Show(this.LangMgr["Error"], "", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
        private void frmMain_Load(object sender, EventArgs e)
        {
            MsnAccountFinder = new LiveMessegerPasswordFinder();
            LiveIdInformation Account;

            if (MsnAccountFinder.GetAccountInformations())
            {
                while (MsnAccountFinder.Read(out Account))
                {
                    lstAccounts.Items.Add(new ListViewItem(new string[] { Account.LiveId, Account.Password }));
                }

                MsnAccountFinder.Release();

            }
            else
            {
                MessageBox.Show(LangMgr["Error"], "", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }