Example #1
0
        /// <summary>
        /// To be called from Designer
        /// </summary>
        public frmUpdate()
        {
            InitializeComponent();

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

            Instance = this;
            panel1.Height = pictureBox1.Height;
            ucHeading1.Text = "";
        }
Example #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);
        }
Example #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);
        }