Пример #1
0
        void f2_FormClosing(object sender, FormClosingEventArgs e)
        {
            List <string> a       = new List <string>((sender as Form5).retUser());
            primaryUser   newuser = new primaryUser(a[0], a[1], @"\");

            users.Add(newuser);
            comboBox1.Items.Add(newuser.getName());
        }
Пример #2
0
 public void Add(primaryUser us)
 {
     names.Add(us.getName());
     passwords.Add(us.getPas());
     pathIGones.Add(us.getPathIGone());
 }