예제 #1
0
 private void bbiStopGet_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (this.ActiveMdiChild.GetType() == typeof(Chapters))
     {
         Chapters ch = this.ActiveMdiChild as Chapters;
         ch.StopDownload();
     }
 }
예제 #2
0
 private void bbiStopDownContent_ItemClick(object sender, ItemClickEventArgs e)
 {
     foreach (Form f in this.MdiChildren)
     {
         if (f.GetType() == typeof(Chapters))
         {
             Chapters ch = f as Chapters;
             ch.StopDownload();
         }
     }
 }