Exemplo n.º 1
0
 private void AddChildForm(string title, Downloader dl)
 {
     DownloaderForm childForm = new DownloaderForm();
     childForm.MdiParent = this;
     childForm.Downloader = dl;
     childForm.Text = title;
     childForm.WindowState = FormWindowState.Minimized;
     childForm.Show();
     childForm.WindowState = FormWindowState.Maximized;
 }
Exemplo n.º 2
0
 private void btnAddNewTTT_Click(object sender, EventArgs e)
 {
     DownloaderForm childForm = new DownloaderForm();
     childForm.MdiParent = this;
     childForm.Downloader = new TruyenTranhTuanDownloader();
     childForm.Text = "Truyen Tranh Tuan";
     childForm.Show();
 }