Ejemplo n.º 1
0
 public DownloadingGdbList(List <GDBInfo> Lst)
 {
     InitializeComponent();
     foreach (GDBInfo gdbInfo in Lst)
     {
         GdbDownloadInfo ctl = new GdbDownloadInfo(gdbInfo);
         this.pnlList.Controls.Add(ctl);
         ctl.Dock = DockStyle.Top;
         ctl.SendToBack();
     }
 }
Ejemplo n.º 2
0
        public override void OnActivated()
        {
            if (dwnldList != null)
            {
                foreach (GDBInfo gdbInfo in dwnldList)
                {
                    GdbDownloadInfo ctl = new GdbDownloadInfo(gdbInfo);
                    this.pnlList.Controls.Add(ctl);
                    ctl.Dock = DockStyle.Top;
                    ctl.SendToBack();
                }
            }

            (this.Parent.Parent as Form).AcceptButton = btnStop;
            btnStop.Focus();

            BeginNextDownload();
        }