Пример #1
0
        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) { }
        }
Пример #2
0
        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) { }
        }