public ProgressBarMarqueeEventArgs(VistaProgressBar progressBar, object marqueeTag)
 {
     if (progressBar == null)
     {
         throw new ArgumentNullException("progressBar");
     }
     this.ProgressBar = progressBar;
     this.MarqueeTag = marqueeTag;
 }
 public ProgressBarRenderEventArgs(System.Drawing.Graphics graphics, VistaProgressBar progressBar)
 {
     if (graphics == null)
     {
         throw new ArgumentNullException("graphics");
     }
     if (progressBar == null)
     {
         throw new ArgumentNullException("progressBar");
     }
     this.Graphics = graphics;
     this.ProgressBar = progressBar;
 }
 public ProgressBarMarqueeRenderEventArgs(Graphics graphics, VistaProgressBar progressBar, object marqueeTag) : base(graphics, progressBar)
 {
     this.MarqueeTag = marqueeTag;
 }
 private void InitializeComponent()
 {
     ComponentResourceManager manager = new ComponentResourceManager(typeof(SetupAndUpgradeDialog));
     this.cmbLanguage = new System.Windows.Forms.ComboBox();
     this.chkPerformUserConfigSetup = new System.Windows.Forms.CheckBox();
     this.chkPerformImport = new System.Windows.Forms.CheckBox();
     this.lblLanguageFile = new Label();
     this.chkPerformInitialInit = new System.Windows.Forms.CheckBox();
     this.lblLicense = new LinkLabel();
     this.chkOptimizeFiles = new System.Windows.Forms.CheckBox();
     this.chkPlaceShortcut = new System.Windows.Forms.CheckBox();
     this.rbImportCopy = new System.Windows.Forms.RadioButton();
     this.rbImportUpgrade = new System.Windows.Forms.RadioButton();
     this.chkImportBookmarks = new System.Windows.Forms.CheckBox();
     this.chkImportTools = new System.Windows.Forms.CheckBox();
     this.cmbPreviousVersion = new System.Windows.Forms.ComboBox();
     this.rbImportSkip = new System.Windows.Forms.RadioButton();
     this.lblPageCaption = new Label();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnNext = new System.Windows.Forms.Button();
     this.btnBack = new System.Windows.Forms.Button();
     this.btnFinish = new System.Windows.Forms.Button();
     this.lblProgressUpgrade = new Label();
     this.WizardPageSwitcher = new TabPageSwitcher();
     this.TabPageWelcome = new TabStripPage();
     this.TabPageProcess = new TabStripPage();
     this.tlpProcess = new TableLayoutPanel();
     this.lvProcessDetails = new ListViewEx();
     this.clOperation = new ColumnHeader();
     this.clStatus = new ColumnHeader();
     this.btnHideDetails = new System.Windows.Forms.Button();
     this.btnShowDetails = new System.Windows.Forms.Button();
     this.ProcessProgressBar = new VistaProgressBar();
     this.TabPageImport = new TabStripPage();
     this.TabPageUserConfig = new TabStripPage();
     this.UserConfigControl = new ConfigPlacementOptionControl();
     this.bvlButtons = new Bevel();
     this.bvlCaption = new Bevel();
     this.SetupWorker = new BackgroundWorker();
     TableLayoutPanel panel = new TableLayoutPanel();
     Label control = new Label();
     Label label2 = new Label();
     Label label3 = new Label();
     TableLayoutPanel panel2 = new TableLayoutPanel();
     Label label4 = new Label();
     Label label5 = new Label();
     Label label6 = new Label();
     Label label7 = new Label();
     Panel panel3 = new Panel();
     TableLayoutPanel panel4 = new TableLayoutPanel();
     panel.SuspendLayout();
     panel2.SuspendLayout();
     panel3.SuspendLayout();
     panel4.SuspendLayout();
     this.WizardPageSwitcher.SuspendLayout();
     this.TabPageWelcome.SuspendLayout();
     this.TabPageProcess.SuspendLayout();
     this.tlpProcess.SuspendLayout();
     this.TabPageImport.SuspendLayout();
     this.TabPageUserConfig.SuspendLayout();
     base.SuspendLayout();
     manager.ApplyResources(panel, "tlpBackWelcome");
     panel.Controls.Add(control, 0, 0);
     panel.Controls.Add(label2, 0, 1);
     panel.Controls.Add(label3, 0, 3);
     panel.Controls.Add(this.cmbLanguage, 1, 2);
     panel.Controls.Add(this.chkPerformUserConfigSetup, 1, 4);
     panel.Controls.Add(this.chkPerformImport, 1, 5);
     panel.Controls.Add(this.lblLanguageFile, 2, 2);
     panel.Controls.Add(this.chkPerformInitialInit, 1, 6);
     panel.Controls.Add(this.lblLicense, 0, 10);
     panel.Controls.Add(this.chkOptimizeFiles, 1, 8);
     panel.Controls.Add(this.chkPlaceShortcut, 1, 7);
     panel.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     panel.Name = "tlpBackWelcome";
     manager.ApplyResources(control, "lblWelcomeMsg");
     panel.SetColumnSpan(control, 3);
     control.Name = "lblWelcomeMsg";
     control.UseMnemonic = false;
     manager.ApplyResources(label2, "lblSelectLanguage");
     panel.SetColumnSpan(label2, 3);
     label2.Name = "lblSelectLanguage";
     manager.ApplyResources(label3, "lblSelectInitialTasks");
     panel.SetColumnSpan(label3, 3);
     label3.Name = "lblSelectInitialTasks";
     this.cmbLanguage.DisplayMember = "DisplayName";
     this.cmbLanguage.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbLanguage.FormattingEnabled = true;
     manager.ApplyResources(this.cmbLanguage, "cmbLanguage");
     this.cmbLanguage.Name = "cmbLanguage";
     this.cmbLanguage.ValueMember = "Name";
     this.cmbLanguage.SelectionChangeCommitted += new EventHandler(this.cmbLanguage_SelectionChangeCommitted);
     manager.ApplyResources(this.chkPerformUserConfigSetup, "chkPerformUserConfigSetup");
     panel.SetColumnSpan(this.chkPerformUserConfigSetup, 2);
     this.chkPerformUserConfigSetup.Name = "chkPerformUserConfigSetup";
     this.chkPerformUserConfigSetup.UseVisualStyleBackColor = true;
     this.chkPerformUserConfigSetup.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged);
     manager.ApplyResources(this.chkPerformImport, "chkPerformImport");
     panel.SetColumnSpan(this.chkPerformImport, 2);
     this.chkPerformImport.Name = "chkPerformImport";
     this.chkPerformImport.UseVisualStyleBackColor = true;
     this.chkPerformImport.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged);
     manager.ApplyResources(this.lblLanguageFile, "lblLanguageFile");
     this.lblLanguageFile.Name = "lblLanguageFile";
     manager.ApplyResources(this.chkPerformInitialInit, "chkPerformInitialInit");
     panel.SetColumnSpan(this.chkPerformInitialInit, 2);
     this.chkPerformInitialInit.Name = "chkPerformInitialInit";
     this.chkPerformInitialInit.UseVisualStyleBackColor = true;
     this.chkPerformInitialInit.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged);
     manager.ApplyResources(this.lblLicense, "lblLicense");
     panel.SetColumnSpan(this.lblLicense, 3);
     this.lblLicense.Name = "lblLicense";
     this.lblLicense.UseMnemonic = false;
     this.lblLicense.LinkClicked += new LinkLabelLinkClickedEventHandler(this.lblLicense_LinkClicked);
     manager.ApplyResources(this.chkOptimizeFiles, "chkOptimizeFiles");
     panel.SetColumnSpan(this.chkOptimizeFiles, 2);
     this.chkOptimizeFiles.Name = "chkOptimizeFiles";
     this.chkOptimizeFiles.UseVisualStyleBackColor = true;
     this.chkOptimizeFiles.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged);
     manager.ApplyResources(this.chkPlaceShortcut, "chkPlaceShortcut");
     panel.SetColumnSpan(this.chkPlaceShortcut, 2);
     this.chkPlaceShortcut.Name = "chkPlaceShortcut";
     this.chkPlaceShortcut.UseVisualStyleBackColor = true;
     this.chkPlaceShortcut.CheckStateChanged += new EventHandler(this.chkPerformUserConfigSetup_CheckStateChanged);
     manager.ApplyResources(panel2, "tlpBackImport");
     panel2.Controls.Add(label4, 0, 0);
     panel2.Controls.Add(this.rbImportCopy, 1, 5);
     panel2.Controls.Add(this.rbImportUpgrade, 1, 6);
     panel2.Controls.Add(label5, 0, 7);
     panel2.Controls.Add(this.chkImportBookmarks, 1, 8);
     panel2.Controls.Add(this.chkImportTools, 1, 9);
     panel2.Controls.Add(label6, 0, 1);
     panel2.Controls.Add(label7, 0, 3);
     panel2.Controls.Add(this.cmbPreviousVersion, 1, 2);
     panel2.Controls.Add(this.rbImportSkip, 1, 4);
     panel2.Name = "tlpBackImport";
     manager.ApplyResources(label4, "lblImportMsg");
     panel2.SetColumnSpan(label4, 2);
     label4.Name = "lblImportMsg";
     manager.ApplyResources(this.rbImportCopy, "rbImportCopy");
     this.rbImportCopy.Name = "rbImportCopy";
     this.rbImportCopy.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.rbImportUpgrade, "rbImportUpgrade");
     this.rbImportUpgrade.Checked = true;
     this.rbImportUpgrade.Name = "rbImportUpgrade";
     this.rbImportUpgrade.TabStop = true;
     this.rbImportUpgrade.UseVisualStyleBackColor = true;
     manager.ApplyResources(label5, "lblSelectAdditionalImportOptions");
     panel2.SetColumnSpan(label5, 2);
     label5.Name = "lblSelectAdditionalImportOptions";
     manager.ApplyResources(this.chkImportBookmarks, "chkImportBookmarks");
     this.chkImportBookmarks.Checked = true;
     this.chkImportBookmarks.CheckState = CheckState.Checked;
     this.chkImportBookmarks.Name = "chkImportBookmarks";
     this.chkImportBookmarks.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.chkImportTools, "chkImportTools");
     this.chkImportTools.Checked = true;
     this.chkImportTools.CheckState = CheckState.Checked;
     this.chkImportTools.Name = "chkImportTools";
     this.chkImportTools.UseVisualStyleBackColor = true;
     manager.ApplyResources(label6, "lblSelectPreviousVersion");
     panel2.SetColumnSpan(label6, 2);
     label6.Name = "lblSelectPreviousVersion";
     manager.ApplyResources(label7, "lblSelectImportMethod");
     panel2.SetColumnSpan(label7, 2);
     label7.Name = "lblSelectImportMethod";
     this.cmbPreviousVersion.DisplayMember = "Version";
     this.cmbPreviousVersion.DropDownStyle = ComboBoxStyle.DropDownList;
     this.cmbPreviousVersion.FormattingEnabled = true;
     manager.ApplyResources(this.cmbPreviousVersion, "cmbPreviousVersion");
     this.cmbPreviousVersion.Name = "cmbPreviousVersion";
     this.cmbPreviousVersion.ValueMember = "UserConfigPath";
     this.cmbPreviousVersion.SelectedIndexChanged += new EventHandler(this.cmbPreviousVersion_SelectedIndexChanged);
     this.cmbPreviousVersion.Format += new ListControlConvertEventHandler(this.cmbPreviousVersion_Format);
     manager.ApplyResources(this.rbImportSkip, "rbImportSkip");
     this.rbImportSkip.Name = "rbImportSkip";
     this.rbImportSkip.UseVisualStyleBackColor = true;
     panel3.BackColor = Color.White;
     panel3.Controls.Add(this.lblPageCaption);
     manager.ApplyResources(panel3, "pnlPageCaption");
     panel3.Name = "pnlPageCaption";
     manager.ApplyResources(this.lblPageCaption, "lblPageCaption");
     this.lblPageCaption.Name = "lblPageCaption";
     manager.ApplyResources(panel4, "tlpButtons");
     panel4.BackColor = Color.Gainsboro;
     panel4.Controls.Add(this.btnCancel, 3, 0);
     panel4.Controls.Add(this.btnNext, 2, 0);
     panel4.Controls.Add(this.btnBack, 1, 0);
     panel4.Controls.Add(this.btnFinish, 0, 0);
     panel4.GrowStyle = TableLayoutPanelGrowStyle.FixedSize;
     panel4.Name = "tlpButtons";
     manager.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.DialogResult = DialogResult.Cancel;
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.btnNext, "btnNext");
     this.btnNext.Name = "btnNext";
     this.btnNext.UseVisualStyleBackColor = true;
     this.btnNext.Click += new EventHandler(this.btnNext_Click);
     manager.ApplyResources(this.btnBack, "btnBack");
     this.btnBack.Name = "btnBack";
     this.btnBack.UseVisualStyleBackColor = true;
     this.btnBack.Click += new EventHandler(this.btnBack_Click);
     manager.ApplyResources(this.btnFinish, "btnFinish");
     this.btnFinish.Name = "btnFinish";
     this.btnFinish.UseVisualStyleBackColor = true;
     manager.ApplyResources(this.lblProgressUpgrade, "lblProgressUpgrade");
     this.lblProgressUpgrade.Name = "lblProgressUpgrade";
     this.WizardPageSwitcher.BackColor = SystemColors.ButtonFace;
     this.WizardPageSwitcher.Controls.Add(this.TabPageWelcome);
     this.WizardPageSwitcher.Controls.Add(this.TabPageProcess);
     this.WizardPageSwitcher.Controls.Add(this.TabPageImport);
     this.WizardPageSwitcher.Controls.Add(this.TabPageUserConfig);
     manager.ApplyResources(this.WizardPageSwitcher, "WizardPageSwitcher");
     this.WizardPageSwitcher.Name = "WizardPageSwitcher";
     this.WizardPageSwitcher.SelectedTabStripPage = this.TabPageWelcome;
     this.WizardPageSwitcher.TabStrip = null;
     this.TabPageWelcome.Controls.Add(panel);
     manager.ApplyResources(this.TabPageWelcome, "TabPageWelcome");
     this.TabPageWelcome.Name = "TabPageWelcome";
     this.TabPageProcess.Controls.Add(this.tlpProcess);
     this.TabPageProcess.Controls.Add(this.ProcessProgressBar);
     this.TabPageProcess.Controls.Add(this.lblProgressUpgrade);
     manager.ApplyResources(this.TabPageProcess, "TabPageProcess");
     this.TabPageProcess.Name = "TabPageProcess";
     manager.ApplyResources(this.tlpProcess, "tlpProcess");
     this.tlpProcess.Controls.Add(this.lvProcessDetails, 0, 1);
     this.tlpProcess.Controls.Add(this.btnHideDetails, 2, 0);
     this.tlpProcess.Controls.Add(this.btnShowDetails, 1, 0);
     this.tlpProcess.Name = "tlpProcess";
     this.lvProcessDetails.CanResizeColumns = false;
     this.lvProcessDetails.Columns.AddRange(new ColumnHeader[] { this.clOperation, this.clStatus });
     this.tlpProcess.SetColumnSpan(this.lvProcessDetails, 3);
     manager.ApplyResources(this.lvProcessDetails, "lvProcessDetails");
     this.lvProcessDetails.FullRowSelect = true;
     this.lvProcessDetails.HeaderStyle = ColumnHeaderStyle.Nonclickable;
     this.lvProcessDetails.MultiSelect = false;
     this.lvProcessDetails.Name = "lvProcessDetails";
     this.lvProcessDetails.UseCompatibleStateImageBehavior = false;
     this.lvProcessDetails.View = View.Details;
     this.lvProcessDetails.ClientSizeChanged += new EventHandler(this.lvProcessDetails_ClientSizeChanged);
     manager.ApplyResources(this.clOperation, "clOperation");
     manager.ApplyResources(this.clStatus, "clStatus");
     manager.ApplyResources(this.btnHideDetails, "btnHideDetails");
     this.btnHideDetails.Cursor = Cursors.Hand;
     this.btnHideDetails.FlatAppearance.BorderSize = 0;
     this.btnHideDetails.Name = "btnHideDetails";
     this.btnHideDetails.UseVisualStyleBackColor = false;
     this.btnHideDetails.Click += new EventHandler(this.btnShowDetails_Click);
     manager.ApplyResources(this.btnShowDetails, "btnShowDetails");
     this.btnShowDetails.Cursor = Cursors.Hand;
     this.btnShowDetails.FlatAppearance.BorderSize = 0;
     this.btnShowDetails.Name = "btnShowDetails";
     this.btnShowDetails.UseVisualStyleBackColor = false;
     this.btnShowDetails.Click += new EventHandler(this.btnShowDetails_Click);
     manager.ApplyResources(this.ProcessProgressBar, "ProcessProgressBar");
     this.ProcessProgressBar.Name = "ProcessProgressBar";
     this.TabPageImport.Controls.Add(panel2);
     manager.ApplyResources(this.TabPageImport, "TabPageImport");
     this.TabPageImport.Name = "TabPageImport";
     this.TabPageImport.EnabledChanged += new EventHandler(this.TabPageUpgrade_EnabledChanged);
     this.TabPageUserConfig.Controls.Add(this.UserConfigControl);
     manager.ApplyResources(this.TabPageUserConfig, "TabPageUserConfig");
     this.TabPageUserConfig.Name = "TabPageUserConfig";
     this.TabPageUserConfig.EnabledChanged += new EventHandler(this.TabPageUserConfig_EnabledChanged);
     manager.ApplyResources(this.UserConfigControl, "UserConfigControl");
     this.UserConfigControl.Name = "UserConfigControl";
     this.UserConfigControl.SaveSettings = false;
     manager.ApplyResources(this.bvlButtons, "bvlButtons");
     this.bvlButtons.ForeColor = SystemColors.ControlDarkDark;
     this.bvlButtons.Name = "bvlButtons";
     this.bvlButtons.Sides = Border3DSide.Bottom;
     this.bvlButtons.Style = Border3DStyle.Flat;
     manager.ApplyResources(this.bvlCaption, "bvlCaption");
     this.bvlCaption.ForeColor = SystemColors.ControlDarkDark;
     this.bvlCaption.Name = "bvlCaption";
     this.bvlCaption.Sides = Border3DSide.Top;
     this.bvlCaption.Style = Border3DStyle.Flat;
     this.SetupWorker.WorkerReportsProgress = true;
     this.SetupWorker.DoWork += new DoWorkEventHandler(this.SetupWorker_DoWork);
     this.SetupWorker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.SetupWorker_RunWorkerCompleted);
     this.SetupWorker.ProgressChanged += new ProgressChangedEventHandler(this.SetupWorker_ProgressChanged);
     base.AcceptButton = this.btnNext;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.btnCancel;
     base.Controls.Add(this.WizardPageSwitcher);
     base.Controls.Add(this.bvlCaption);
     base.Controls.Add(panel3);
     base.Controls.Add(this.bvlButtons);
     base.Controls.Add(panel4);
     base.FixMouseWheel = true;
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "SetupAndUpgradeDialog";
     base.FormClosing += new FormClosingEventHandler(this.SetupAndUpgradeDialog_FormClosing);
     panel.ResumeLayout(false);
     panel.PerformLayout();
     panel2.ResumeLayout(false);
     panel2.PerformLayout();
     panel3.ResumeLayout(false);
     panel4.ResumeLayout(false);
     panel4.PerformLayout();
     this.WizardPageSwitcher.ResumeLayout(false);
     this.TabPageWelcome.ResumeLayout(false);
     this.TabPageProcess.ResumeLayout(false);
     this.TabPageProcess.PerformLayout();
     this.tlpProcess.ResumeLayout(false);
     this.tlpProcess.PerformLayout();
     this.TabPageImport.ResumeLayout(false);
     this.TabPageUserConfig.ResumeLayout(false);
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 public ProgressBarMarqueeEventArgs(VistaProgressBar progressBar, object marqueeTag, Rectangle bounds) : this(progressBar, marqueeTag)
 {
     this.FBounds = new Rectangle?(bounds);
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(CustomWorkerDialog));
     this.btnPause = new Button();
     this.btnCancel = new Button();
     this.lblTotalProgress = new Label();
     this.lblProgress = new Label();
     this.toolStrip = new ToolStrip();
     this.tsbTopMost = new ToolStripButton();
     this.tsbShowDetails = new ToolStripButton();
     this.imageList = new ImageList(this.components);
     this.pnlTotalProgress = new TableLayoutPanel();
     this.barTotalProgress = new VistaProgressBar();
     this.toolStrip.SuspendLayout();
     this.pnlTotalProgress.SuspendLayout();
     base.SuspendLayout();
     manager.ApplyResources(this.btnPause, "btnPause");
     this.btnPause.Name = "btnPause";
     this.btnPause.UseVisualStyleBackColor = true;
     this.btnPause.Click += new EventHandler(this.btnPause_Click);
     this.btnCancel.DialogResult = DialogResult.Cancel;
     manager.ApplyResources(this.btnCancel, "btnCancel");
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.UseVisualStyleBackColor = true;
     this.btnCancel.Click += new EventHandler(this.btnCancel_Click);
     this.pnlTotalProgress.SetColumnSpan(this.lblTotalProgress, 4);
     manager.ApplyResources(this.lblTotalProgress, "lblTotalProgress");
     this.lblTotalProgress.Name = "lblTotalProgress";
     this.lblTotalProgress.UseMnemonic = false;
     manager.ApplyResources(this.lblProgress, "lblProgress");
     this.lblProgress.Name = "lblProgress";
     this.toolStrip.BackColor = SystemColors.Control;
     manager.ApplyResources(this.toolStrip, "toolStrip");
     this.toolStrip.GripStyle = ToolStripGripStyle.Hidden;
     this.toolStrip.Items.AddRange(new ToolStripItem[] { this.tsbTopMost, this.tsbShowDetails });
     this.toolStrip.Name = "toolStrip";
     this.tsbTopMost.DisplayStyle = ToolStripItemDisplayStyle.Image;
     this.tsbTopMost.Image = Resources.Pin;
     manager.ApplyResources(this.tsbTopMost, "tsbTopMost");
     this.tsbTopMost.Name = "tsbTopMost";
     this.tsbTopMost.Paint += new PaintEventHandler(this.tsbTopMost_Paint);
     this.tsbTopMost.Click += new EventHandler(this.tsbTopMost_Click);
     this.tsbShowDetails.DisplayStyle = ToolStripItemDisplayStyle.Image;
     this.tsbShowDetails.Image = Resources.HideDetail;
     manager.ApplyResources(this.tsbShowDetails, "tsbShowDetails");
     this.tsbShowDetails.Name = "tsbShowDetails";
     this.tsbShowDetails.Paint += new PaintEventHandler(this.tsbShowDetails_Paint);
     this.tsbShowDetails.Click += new EventHandler(this.tsbShowDetails_Click);
     this.imageList.ColorDepth = ColorDepth.Depth8Bit;
     manager.ApplyResources(this.imageList, "imageList");
     this.imageList.TransparentColor = Color.Transparent;
     manager.ApplyResources(this.pnlTotalProgress, "pnlTotalProgress");
     this.pnlTotalProgress.Controls.Add(this.lblTotalProgress, 1, 0);
     this.pnlTotalProgress.Controls.Add(this.btnPause, 3, 2);
     this.pnlTotalProgress.Controls.Add(this.toolStrip, 0, 2);
     this.pnlTotalProgress.Controls.Add(this.lblProgress, 0, 0);
     this.pnlTotalProgress.Controls.Add(this.barTotalProgress, 0, 1);
     this.pnlTotalProgress.Controls.Add(this.btnCancel, 4, 2);
     this.pnlTotalProgress.Name = "pnlTotalProgress";
     this.pnlTotalProgress.SetColumnSpan(this.barTotalProgress, 5);
     manager.ApplyResources(this.barTotalProgress, "barTotalProgress");
     this.barTotalProgress.MarqueeAnimationSpeed = 50;
     this.barTotalProgress.Name = "barTotalProgress";
     this.barTotalProgress.RenderMode = ProgressRenderMode.Vista;
     this.barTotalProgress.Style = ProgressBarStyle.Marquee;
     base.AcceptButton = this.btnPause;
     manager.ApplyResources(this, "$this");
     base.AutoScaleMode = AutoScaleMode.Font;
     base.CancelButton = this.btnCancel;
     base.Controls.Add(this.pnlTotalProgress);
     base.FormBorderStyle = FormBorderStyle.FixedDialog;
     base.MaximizeBox = false;
     base.MinimizeBox = false;
     base.Name = "CustomWorkerDialog";
     this.toolStrip.ResumeLayout(false);
     this.toolStrip.PerformLayout();
     this.pnlTotalProgress.ResumeLayout(false);
     this.pnlTotalProgress.PerformLayout();
     base.ResumeLayout(false);
 }
 public ProgressBarValueRenderEventArgs(Graphics graphics, VistaProgressBar progressBar) : base(graphics, progressBar)
 {
     this.Value = base.ProgressBar.Value;
     this.Minimum = base.ProgressBar.Minimum;
     this.Maximum = base.ProgressBar.Maximum;
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(CopyWorkerDialog));
     this.lblElapsedTime = new Label();
     this.lblRemainingTime = new Label();
     this.lblCopyMode = new Label();
     this.lblStarted = new Label();
     this.lblFiles = new Label();
     this.lblTotalSize = new Label();
     this.lblProcessedSize = new Label();
     this.lblSpeed = new Label();
     this.lblFileProgress = new Label();
     this.barFileProgress = new VistaProgressBar();
     this.lblToName = new Label();
     this.lblFromName = new Label();
     this.lblAction = new Label();
     this.tmrUpdateProgress = new System.Windows.Forms.Timer(this.components);
     this.tblCopyDetails = new TableLayoutPanel();
     this.btnSkipFile = new Button();
     Label label = new Label();
     Label label2 = new Label();
     Bevel control = new Bevel();
     Bevel bevel2 = new Bevel();
     Label label3 = new Label();
     Label label4 = new Label();
     Label label5 = new Label();
     Label label6 = new Label();
     Label label7 = new Label();
     Label label8 = new Label();
     Label label9 = new Label();
     Label label10 = new Label();
     Panel panel = new Panel();
     Panel panel2 = new Panel();
     Panel panel3 = new Panel();
     Panel panel4 = new Panel();
     Panel panel5 = new Panel();
     Panel panel6 = new Panel();
     Panel panel7 = new Panel();
     Panel panel8 = new Panel();
     panel.SuspendLayout();
     panel2.SuspendLayout();
     panel3.SuspendLayout();
     panel4.SuspendLayout();
     panel5.SuspendLayout();
     panel6.SuspendLayout();
     panel7.SuspendLayout();
     panel8.SuspendLayout();
     this.tblCopyDetails.SuspendLayout();
     base.SuspendLayout();
     manager.ApplyResources(label, "lblProgress2");
     label.Name = "lblProgress2";
     label.UseMnemonic = false;
     manager.ApplyResources(label2, "lblTo");
     label2.Name = "lblTo";
     label2.UseMnemonic = false;
     this.tblCopyDetails.SetColumnSpan(control, 3);
     manager.ApplyResources(control, "bvlSeparator1");
     control.Name = "bvlSeparator1";
     control.Sides = Border3DSide.Top;
     this.tblCopyDetails.SetColumnSpan(bevel2, 3);
     manager.ApplyResources(bevel2, "bvlSeparator2");
     bevel2.Name = "bvlSeparator2";
     bevel2.Sides = Border3DSide.Top;
     manager.ApplyResources(label3, "lblStartedCaption");
     label3.Name = "lblStartedCaption";
     manager.ApplyResources(label4, "lblElapsedCaption");
     label4.Name = "lblElapsedCaption";
     manager.ApplyResources(label5, "lblRemainingCaption");
     label5.Name = "lblRemainingCaption";
     manager.ApplyResources(label6, "lblCopyModeCaption");
     label6.Name = "lblCopyModeCaption";
     manager.ApplyResources(label7, "lblTotalSizeCaption");
     label7.Name = "lblTotalSizeCaption";
     manager.ApplyResources(label8, "lblProcessedSizeCaption");
     label8.Name = "lblProcessedSizeCaption";
     manager.ApplyResources(label9, "lblSpeedCaption");
     label9.Name = "lblSpeedCaption";
     manager.ApplyResources(label10, "lblFilesCaption");
     label10.Name = "lblFilesCaption";
     panel.Controls.Add(this.lblElapsedTime);
     panel.Controls.Add(label4);
     manager.ApplyResources(panel, "pnlElapsedTime");
     panel.Name = "pnlElapsedTime";
     manager.ApplyResources(this.lblElapsedTime, "lblElapsedTime");
     this.lblElapsedTime.Name = "lblElapsedTime";
     panel2.Controls.Add(this.lblRemainingTime);
     panel2.Controls.Add(label5);
     manager.ApplyResources(panel2, "pnlRemainingTime");
     panel2.Name = "pnlRemainingTime";
     manager.ApplyResources(this.lblRemainingTime, "lblRemainingTime");
     this.lblRemainingTime.Name = "lblRemainingTime";
     panel3.Controls.Add(this.lblCopyMode);
     panel3.Controls.Add(label6);
     manager.ApplyResources(panel3, "pnlCopyMode");
     panel3.Name = "pnlCopyMode";
     manager.ApplyResources(this.lblCopyMode, "lblCopyMode");
     this.lblCopyMode.Name = "lblCopyMode";
     this.lblCopyMode.UseMnemonic = false;
     panel4.Controls.Add(this.lblStarted);
     panel4.Controls.Add(label3);
     manager.ApplyResources(panel4, "pnlStarted");
     panel4.Name = "pnlStarted";
     manager.ApplyResources(this.lblStarted, "lblStarted");
     this.lblStarted.Name = "lblStarted";
     manager.ApplyResources(panel5, "pnlFiles");
     panel5.Controls.Add(this.lblFiles);
     panel5.Controls.Add(label10);
     panel5.Name = "pnlFiles";
     manager.ApplyResources(this.lblFiles, "lblFiles");
     this.lblFiles.Name = "lblFiles";
     manager.ApplyResources(panel6, "pnlTotalSize");
     panel6.Controls.Add(this.lblTotalSize);
     panel6.Controls.Add(label7);
     panel6.Name = "pnlTotalSize";
     manager.ApplyResources(this.lblTotalSize, "lblTotalSize");
     this.lblTotalSize.Name = "lblTotalSize";
     manager.ApplyResources(panel7, "pnlProcessedSize");
     panel7.Controls.Add(this.lblProcessedSize);
     panel7.Controls.Add(label8);
     panel7.Name = "pnlProcessedSize";
     manager.ApplyResources(this.lblProcessedSize, "lblProcessedSize");
     this.lblProcessedSize.Name = "lblProcessedSize";
     manager.ApplyResources(panel8, "pnlSpeed");
     panel8.Controls.Add(this.lblSpeed);
     panel8.Controls.Add(label9);
     panel8.Name = "pnlSpeed";
     manager.ApplyResources(this.lblSpeed, "lblSpeed");
     this.lblSpeed.Name = "lblSpeed";
     manager.ApplyResources(this.lblFileProgress, "lblFileProgress");
     this.lblFileProgress.Name = "lblFileProgress";
     this.lblFileProgress.UseMnemonic = false;
     this.tblCopyDetails.SetColumnSpan(this.barFileProgress, 3);
     manager.ApplyResources(this.barFileProgress, "barFileProgress");
     this.barFileProgress.Name = "barFileProgress";
     this.barFileProgress.RenderMode = ProgressRenderMode.Vista;
     this.tblCopyDetails.SetColumnSpan(this.lblToName, 3);
     manager.ApplyResources(this.lblToName, "lblToName");
     this.lblToName.Name = "lblToName";
     this.lblToName.UseMnemonic = false;
     this.tblCopyDetails.SetColumnSpan(this.lblFromName, 3);
     manager.ApplyResources(this.lblFromName, "lblFromName");
     this.lblFromName.Name = "lblFromName";
     this.lblFromName.UseMnemonic = false;
     manager.ApplyResources(this.lblAction, "lblAction");
     this.tblCopyDetails.SetColumnSpan(this.lblAction, 3);
     this.lblAction.Name = "lblAction";
     this.lblAction.UseMnemonic = false;
     this.tmrUpdateProgress.Enabled = true;
     this.tmrUpdateProgress.Interval = 350;
     this.tmrUpdateProgress.Tick += new EventHandler(this.tmrUpdateProgress_Tick);
     manager.ApplyResources(this.tblCopyDetails, "tblCopyDetails");
     this.tblCopyDetails.Controls.Add(bevel2, 0, 9);
     this.tblCopyDetails.Controls.Add(this.barFileProgress, 0, 11);
     this.tblCopyDetails.Controls.Add(this.lblAction, 0, 0);
     this.tblCopyDetails.Controls.Add(label, 0, 10);
     this.tblCopyDetails.Controls.Add(control, 0, 4);
     this.tblCopyDetails.Controls.Add(this.lblFromName, 0, 1);
     this.tblCopyDetails.Controls.Add(label2, 0, 2);
     this.tblCopyDetails.Controls.Add(this.lblToName, 0, 3);
     this.tblCopyDetails.Controls.Add(panel, 0, 6);
     this.tblCopyDetails.Controls.Add(panel2, 0, 7);
     this.tblCopyDetails.Controls.Add(panel3, 0, 8);
     this.tblCopyDetails.Controls.Add(panel4, 0, 5);
     this.tblCopyDetails.Controls.Add(panel5, 2, 5);
     this.tblCopyDetails.Controls.Add(panel6, 2, 6);
     this.tblCopyDetails.Controls.Add(panel7, 2, 7);
     this.tblCopyDetails.Controls.Add(panel8, 2, 8);
     this.tblCopyDetails.Controls.Add(this.lblFileProgress, 2, 10);
     this.tblCopyDetails.Name = "tblCopyDetails";
     this.tblCopyDetails.VisibleChanged += new EventHandler(this.tlbCopyDetails_VisibleChanged);
     manager.ApplyResources(this.btnSkipFile, "btnSkipFile");
     this.btnSkipFile.Name = "btnSkipFile";
     this.btnSkipFile.UseVisualStyleBackColor = true;
     this.btnSkipFile.Click += new EventHandler(this.btnSkipFile_Click);
     manager.ApplyResources(this, "$this");
     base.Controls.Add(this.tblCopyDetails);
     base.Name = "CopyWorkerDialog";
     base.Shown += new EventHandler(this.CopyWorkerDialog_Shown);
     base.Controls.SetChildIndex(this.tblCopyDetails, 0);
     panel.ResumeLayout(false);
     panel.PerformLayout();
     panel2.ResumeLayout(false);
     panel2.PerformLayout();
     panel3.ResumeLayout(false);
     panel3.PerformLayout();
     panel4.ResumeLayout(false);
     panel4.PerformLayout();
     panel5.ResumeLayout(false);
     panel5.PerformLayout();
     panel6.ResumeLayout(false);
     panel6.PerformLayout();
     panel7.ResumeLayout(false);
     panel7.PerformLayout();
     panel8.ResumeLayout(false);
     panel8.PerformLayout();
     this.tblCopyDetails.ResumeLayout(false);
     this.tblCopyDetails.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
 public ProgressBarRenderEventArgs(System.Drawing.Graphics graphics, VistaProgressBar progressBar, Rectangle bounds) : this(graphics, progressBar)
 {
     this.FBounds = new Rectangle?(bounds);
 }