예제 #1
0
        private void FillListView(BatchCertificateContainer container)
        {
            this.listView1.BeginUpdate();

            container.Certs.ToList().ForEach(certData =>
            {
                ListViewItem lvi = new ListViewItem(certData.StoreLocation.ToString());
                lvi.SubItems.Add(certData.StoreNameAsString);
                lvi.SubItems.Add(certData.CertSubject);
                lvi.Tag = certData;

                listView1.Items.Add(lvi);
            });

            this.listView1.EndUpdate();
        }
예제 #2
0
 public BatchCertificateContainerImportForm(BatchCertificateContainer container) : this()
 {
     this.FillListView(container);
 }