private void APP_DOWNLOAD_Click(object sender, EventArgs e) { try { string appname = ((ToolStripMenuItem)sender).Tag.ToString(); FileDownload F = new FileDownload(appname); F.Show(); } catch (Exception ex) { } }
private void LbButtonDownload_Click(object sender, EventArgs e) { string App = ((lbButton)sender).Tag.ToString(); try { FileDownload F = new FileDownload(App); F.Show(); //F.FileName = App; //DHuy.CheckAndUpdateFile(App); //System.Diagnostics.Process.Start(App); } catch (Exception ex) { } }