Ejemplo n.º 1
0
 private void LaunchGroupsSelecBt_Click(object sender, EventArgs e)
 {
     foreach (ListViewItem item in listViewGroups.SelectedItems)
     {
         Group            group        = SearchGroups(item.Text);
         List <AccountUC> listaccounts = new List <AccountUC>();
         foreach (AccountUC account in group.accounts)
         {
             //AccountUC acc = new AccountUC(account.Name, account.Password);
             listaccounts.Add(account);
         }
         GroupForm frm = new GroupForm(listaccounts);
         foreach (AccountUC account in frm.listAccounts)
         {
             account.Init();
         }
         frm.Show();
     }
     this.Close();
 }
Ejemplo n.º 2
0
 private void LaunchGroupsSelecBt_Click(object sender, EventArgs e)
 {
     foreach (ListViewItem item in listViewGroups.SelectedItems)
     {
         Group            group        = SearchGroups(item.Text);
         List <AccountUC> listaccounts = new List <AccountUC>();
         //foreach (AccountUC account in group.accounts)
         //{
         //    //AccountUC acc = new AccountUC(account.Name, account.Password);
         //    listaccounts.Add(account);
         //}
         GroupForm frm = new GroupForm(group.accounts, group.name);
         //foreach (AccountUC account in frm.listAccounts)
         //{
         //    account.Init();
         //}
         frm.Show();
         MainForm.ActualMainForm.AddForm(frm);
     }
     Close();
 }
Ejemplo n.º 3
0
 private void LaunchGroupsSelecBt_Click(object sender, EventArgs e)
 {
     foreach (ListViewItem item in listViewGroups.SelectedItems)
     {
         Group group = SearchGroups(item.Text);
         List<AccountUC> listaccounts = new List<AccountUC>();
         //foreach (AccountUC account in group.accounts)
         //{
         //    //AccountUC acc = new AccountUC(account.Name, account.Password);
         //    listaccounts.Add(account);
         //}
         GroupForm frm = new GroupForm(listaccounts);
         foreach (AccountUC account in frm.listAccounts)
         {
             account.Init();
         }
         frm.Show();
     }
     this.Close();
 }