Esempio n. 1
0
        /// <summary>
        /// To be called from Designer
        /// </summary>
        public frmUpdate()
        {
            InitializeComponent();

            Instance        = this;
            panel1.Height   = pictureBox1.Height;
            ucHeading1.Text = "";
        }
Esempio n. 2
0
        /// <summary>
        /// To be called from Designer
        /// </summary>
        public frmUpdate()
        {
            InitializeComponent();

            Instance = this;
            panel1.Height = pictureBox1.Height;
            ucHeading1.Text = "";
        }
Esempio n. 3
0
        /// <summary>
        /// To be called from Workbench.
        /// </summary>
        /// <param name="productName"></param>
        public frmUpdate(string productName)
        {
            InitializeComponent();

            Instance        = this;
            panel1.Height   = pictureBox1.Height;
            ucHeading1.Text = "";
            ProductName     = productName;

            webClient.DownloadFileCompleted   += new AsyncCompletedEventHandler(Completed);
            webClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(ProgressChanged);
        }
Esempio n. 4
0
        /// <summary>
        /// To be called from Workbench.
        /// </summary>
        /// <param name="productName"></param>
        public frmUpdate(string productName)
        {
            InitializeComponent();

            Instance = this;
            panel1.Height = pictureBox1.Height;
            ucHeading1.Text = "";
            ProductName = productName;

            webClient.DownloadFileCompleted += new AsyncCompletedEventHandler(Completed);
            webClient.DownloadProgressChanged += new DownloadProgressChangedEventHandler(ProgressChanged);
        }