upgrade ProgressUpdater to .net6

This commit is contained in:
2022-06-09 08:41:47 +02:00
parent 50347d6ae6
commit 83b0ca22cd
22 changed files with 942 additions and 1061 deletions

View File

@@ -29,180 +29,109 @@
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PasteFromDocument));
this.layoutControl1 = new DevComponents.DotNetBar.Layout.LayoutControl();
this.textBoxX1 = new DevComponents.DotNetBar.Controls.TextBoxX();
this.layoutControlItem1 = new DevComponents.DotNetBar.Layout.LayoutControlItem();
this.itemPanel1 = new DevComponents.DotNetBar.ItemPanel();
this.layoutControlItem2 = new DevComponents.DotNetBar.Layout.LayoutControlItem();
this.ButtonX_Paste = new DevComponents.DotNetBar.ButtonX();
this.ButtonX_Cancel = new DevComponents.DotNetBar.ButtonX();
this.layoutControlItem3 = new DevComponents.DotNetBar.Layout.LayoutControlItem();
this.layoutControlItem4 = new DevComponents.DotNetBar.Layout.LayoutControlItem();
this.layoutSpacerItem1 = new DevComponents.DotNetBar.Layout.LayoutSpacerItem();
this.layoutControl1.SuspendLayout();
this.RadButton_Paste = new Telerik.WinControls.UI.RadButton();
this.RadButton_Cancel = new Telerik.WinControls.UI.RadButton();
this.radTextBoxControl1 = new Telerik.WinControls.UI.RadTextBoxControl();
this.panel1 = new System.Windows.Forms.Panel();
this.RadListControl_Paragraph = new Telerik.WinControls.UI.RadListControl();
((System.ComponentModel.ISupportInitialize)(this.RadButton_Paste)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RadButton_Cancel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radTextBoxControl1)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.RadListControl_Paragraph)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
this.SuspendLayout();
//
// layoutControl1
// RadButton_Paste
//
this.layoutControl1.BackColor = System.Drawing.Color.Transparent;
this.layoutControl1.Controls.Add(this.itemPanel1);
this.layoutControl1.Controls.Add(this.textBoxX1);
this.layoutControl1.Controls.Add(this.ButtonX_Paste);
this.layoutControl1.Controls.Add(this.ButtonX_Cancel);
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.layoutControl1.ForeColor = System.Drawing.Color.Black;
this.layoutControl1.Location = new System.Drawing.Point(0, 0);
this.layoutControl1.Name = "layoutControl1";
this.RadButton_Paste.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.RadButton_Paste.Location = new System.Drawing.Point(205, 286);
this.RadButton_Paste.Name = "RadButton_Paste";
this.RadButton_Paste.Size = new System.Drawing.Size(110, 24);
this.RadButton_Paste.TabIndex = 0;
this.RadButton_Paste.Text = "Paste";
this.RadButton_Paste.Click += new System.EventHandler(this.ButtonX_Paste_Click);
//
// RadButton_Cancel
//
this.RadButton_Cancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.RadButton_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.RadButton_Cancel.Location = new System.Drawing.Point(321, 286);
this.RadButton_Cancel.Name = "RadButton_Cancel";
this.RadButton_Cancel.Size = new System.Drawing.Size(110, 24);
this.RadButton_Cancel.TabIndex = 1;
this.RadButton_Cancel.Text = "Cancel";
//
this.layoutControl1.RootGroup.Items.AddRange(new DevComponents.DotNetBar.Layout.LayoutItemBase[] {
this.layoutControlItem1,
this.layoutControlItem2,
this.layoutSpacerItem1,
this.layoutControlItem3,
this.layoutControlItem4});
this.layoutControl1.Size = new System.Drawing.Size(434, 311);
this.layoutControl1.TabIndex = 0;
// radTextBoxControl1
//
// textBoxX1
this.radTextBoxControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.radTextBoxControl1.Location = new System.Drawing.Point(3, 3);
this.radTextBoxControl1.Name = "radTextBoxControl1";
this.radTextBoxControl1.NullText = "Document URL";
this.radTextBoxControl1.Size = new System.Drawing.Size(428, 22);
this.radTextBoxControl1.TabIndex = 2;
this.radTextBoxControl1.TextChanged += new System.EventHandler(this.textBoxX1_TextChanged);
//
this.textBoxX1.BackColor = System.Drawing.Color.White;
// panel1
//
this.panel1.BackColor = System.Drawing.Color.Transparent;
this.panel1.Controls.Add(this.RadListControl_Paragraph);
this.panel1.Controls.Add(this.RadButton_Cancel);
this.panel1.Controls.Add(this.radTextBoxControl1);
this.panel1.Controls.Add(this.RadButton_Paste);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(434, 313);
this.panel1.TabIndex = 4;
//
// RadListControl_Paragraph
//
this.textBoxX1.Border.Class = "TextBoxBorder";
this.textBoxX1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.textBoxX1.DisabledBackColor = System.Drawing.Color.White;
this.textBoxX1.ForeColor = System.Drawing.Color.Black;
this.textBoxX1.Location = new System.Drawing.Point(92, 4);
this.textBoxX1.Margin = new System.Windows.Forms.Padding(0, 0, 0, 0);
this.textBoxX1.Name = "textBoxX1";
this.textBoxX1.PreventEnterBeep = true;
this.textBoxX1.Size = new System.Drawing.Size(338, 20);
this.textBoxX1.TabIndex = 0;
this.textBoxX1.TextChanged += new System.EventHandler(this.textBoxX1_TextChanged);
//
// layoutControlItem1
//
this.layoutControlItem1.Control = this.textBoxX1;
this.layoutControlItem1.Height = 28;
this.layoutControlItem1.MinSize = new System.Drawing.Size(120, 0);
this.layoutControlItem1.Name = "layoutControlItem1";
this.layoutControlItem1.Text = "Document URL:";
this.layoutControlItem1.Width = 100;
this.layoutControlItem1.WidthType = DevComponents.DotNetBar.Layout.eLayoutSizeType.Percent;
//
// itemPanel1
//
this.itemPanel1.AutoScroll = true;
//
//
//
this.itemPanel1.BackgroundStyle.Class = "ItemPanel";
this.itemPanel1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.itemPanel1.ContainerControlProcessDialogKey = true;
this.itemPanel1.DragDropSupport = true;
this.itemPanel1.LayoutOrientation = DevComponents.DotNetBar.eOrientation.Vertical;
this.itemPanel1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
this.itemPanel1.Location = new System.Drawing.Point(92, 32);
this.itemPanel1.Margin = new System.Windows.Forms.Padding(0, 0, 0, 0);
this.itemPanel1.Name = "itemPanel1";
this.itemPanel1.ReserveLeftSpace = false;
this.itemPanel1.Size = new System.Drawing.Size(338, 244);
this.itemPanel1.TabIndex = 1;
this.itemPanel1.Text = "itemPanel1";
//
// layoutControlItem2
//
this.layoutControlItem2.Control = this.itemPanel1;
this.layoutControlItem2.Height = 100;
this.layoutControlItem2.HeightType = DevComponents.DotNetBar.Layout.eLayoutSizeType.Percent;
this.layoutControlItem2.MinSize = new System.Drawing.Size(64, 18);
this.layoutControlItem2.Name = "layoutControlItem2";
this.layoutControlItem2.Text = "Paragraph:";
this.layoutControlItem2.Width = 100;
this.layoutControlItem2.WidthType = DevComponents.DotNetBar.Layout.eLayoutSizeType.Percent;
//
// ButtonX_Paste
//
this.ButtonX_Paste.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.ButtonX_Paste.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.ButtonX_Paste.Location = new System.Drawing.Point(272, 284);
this.ButtonX_Paste.Margin = new System.Windows.Forms.Padding(0, 0, 0, 0);
this.ButtonX_Paste.Name = "ButtonX_Paste";
this.ButtonX_Paste.Size = new System.Drawing.Size(75, 23);
this.ButtonX_Paste.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ButtonX_Paste.TabIndex = 3;
this.ButtonX_Paste.Text = "Paste";
this.ButtonX_Paste.Click += new System.EventHandler(this.ButtonX_Paste_Click);
//
// ButtonX_Cancel
//
this.ButtonX_Cancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.ButtonX_Cancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.ButtonX_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.ButtonX_Cancel.Location = new System.Drawing.Point(355, 284);
this.ButtonX_Cancel.Margin = new System.Windows.Forms.Padding(0, 0, 0, 0);
this.ButtonX_Cancel.Name = "ButtonX_Cancel";
this.ButtonX_Cancel.Size = new System.Drawing.Size(75, 23);
this.ButtonX_Cancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.ButtonX_Cancel.TabIndex = 4;
this.ButtonX_Cancel.Text = "Cancel";
//
// layoutControlItem3
//
this.layoutControlItem3.Control = this.ButtonX_Paste;
this.layoutControlItem3.Height = 31;
this.layoutControlItem3.MinSize = new System.Drawing.Size(32, 20);
this.layoutControlItem3.Name = "layoutControlItem3";
this.layoutControlItem3.Width = 83;
//
// layoutControlItem4
//
this.layoutControlItem4.Control = this.ButtonX_Cancel;
this.layoutControlItem4.Height = 31;
this.layoutControlItem4.MinSize = new System.Drawing.Size(32, 20);
this.layoutControlItem4.Name = "layoutControlItem4";
this.layoutControlItem4.Width = 83;
//
// layoutSpacerItem1
//
this.layoutSpacerItem1.Height = 31;
this.layoutSpacerItem1.Name = "layoutSpacerItem1";
this.layoutSpacerItem1.Width = 99;
this.layoutSpacerItem1.WidthType = DevComponents.DotNetBar.Layout.eLayoutSizeType.Percent;
this.RadListControl_Paragraph.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.RadListControl_Paragraph.ItemHeight = 24;
this.RadListControl_Paragraph.Location = new System.Drawing.Point(3, 31);
this.RadListControl_Paragraph.Name = "RadListControl_Paragraph";
this.RadListControl_Paragraph.Size = new System.Drawing.Size(428, 249);
this.RadListControl_Paragraph.TabIndex = 4;
//
// PasteFromDocument
//
this.AcceptButton = this.ButtonX_Paste;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AcceptButton = this.RadButton_Paste;
this.AutoScaleBaseSize = new System.Drawing.Size(7, 15);
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.CancelButton = this.ButtonX_Cancel;
this.ClientSize = new System.Drawing.Size(434, 311);
this.Controls.Add(this.layoutControl1);
this.CancelButton = this.RadButton_Cancel;
this.ClientSize = new System.Drawing.Size(434, 313);
this.Controls.Add(this.panel1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "PasteFromDocument";
//
//
//
this.RootElement.ApplyShapeToControl = true;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "Paste From Document";
this.Load += new System.EventHandler(this.PasteFromDocument_Load);
this.layoutControl1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.RadButton_Paste)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RadButton_Cancel)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radTextBoxControl1)).EndInit();
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.RadListControl_Paragraph)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevComponents.DotNetBar.Layout.LayoutControl layoutControl1;
private DevComponents.DotNetBar.ItemPanel itemPanel1;
private DevComponents.DotNetBar.Controls.TextBoxX textBoxX1;
private DevComponents.DotNetBar.ButtonX ButtonX_Paste;
private DevComponents.DotNetBar.ButtonX ButtonX_Cancel;
private DevComponents.DotNetBar.Layout.LayoutControlItem layoutControlItem1;
private DevComponents.DotNetBar.Layout.LayoutControlItem layoutControlItem2;
private DevComponents.DotNetBar.Layout.LayoutSpacerItem layoutSpacerItem1;
private DevComponents.DotNetBar.Layout.LayoutControlItem layoutControlItem3;
private DevComponents.DotNetBar.Layout.LayoutControlItem layoutControlItem4;
private Telerik.WinControls.UI.RadButton RadButton_Paste;
private Telerik.WinControls.UI.RadButton RadButton_Cancel;
private Telerik.WinControls.UI.RadTextBoxControl radTextBoxControl1;
private System.Windows.Forms.Panel panel1;
private Telerik.WinControls.UI.RadListControl RadListControl_Paragraph;
}
}