Example #1
0
        private void dodajNowegoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewUserForm nuf = new NewUserForm();

            if (nuf.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                h.SetMoney(h.MakeUser(nuf.Username), nuf.Money);
            }

            ReviseInfo();
        }
Example #2
0
        private void dodajNowegoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            NewUserForm nuf = new NewUserForm();
            if (nuf.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                h.SetMoney(h.MakeUser(nuf.Username), nuf.Money);
            }

            ReviseInfo();
        }