mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-11-29 01:38:50 +01:00
Added Multi Threading for downloads and Auto Scroll to view current downloads
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.virtualFlowControl2 = new LibationWinForms.ProcessQueue.VirtualFlowControl();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.autoScrollChk = new System.Windows.Forms.CheckBox();
|
||||
this.multiThreadChk = new System.Windows.Forms.CheckBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.numericUpDown1 = new LibationWinForms.ProcessQueue.NumericUpDownSuffix();
|
||||
this.btnCleanFinished = new System.Windows.Forms.Button();
|
||||
@@ -150,35 +152,61 @@
|
||||
this.virtualFlowControl2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.virtualFlowControl2.Location = new System.Drawing.Point(3, 3);
|
||||
this.virtualFlowControl2.Name = "virtualFlowControl2";
|
||||
this.virtualFlowControl2.Size = new System.Drawing.Size(390, 424);
|
||||
this.virtualFlowControl2.Size = new System.Drawing.Size(390, 401);
|
||||
this.virtualFlowControl2.TabIndex = 3;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.autoScrollChk);
|
||||
this.panel1.Controls.Add(this.multiThreadChk);
|
||||
this.panel1.Controls.Add(this.label1);
|
||||
this.panel1.Controls.Add(this.numericUpDown1);
|
||||
this.panel1.Controls.Add(this.btnCleanFinished);
|
||||
this.panel1.Controls.Add(this.cancelAllBtn);
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.panel1.Location = new System.Drawing.Point(3, 427);
|
||||
this.panel1.Location = new System.Drawing.Point(3, 403);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(390, 29);
|
||||
this.panel1.Size = new System.Drawing.Size(390, 52);
|
||||
this.panel1.TabIndex = 2;
|
||||
//
|
||||
//
|
||||
// autoScrollChk
|
||||
//
|
||||
this.autoScrollChk.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top;
|
||||
this.autoScrollChk.AutoSize = true;
|
||||
this.autoScrollChk.Checked = true;
|
||||
this.autoScrollChk.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.autoScrollChk.Location = new System.Drawing.Point(82, 5);
|
||||
this.autoScrollChk.Name = "autoScrollChk";
|
||||
this.autoScrollChk.TabIndex = 6;
|
||||
this.autoScrollChk.Text = "Auto-scroll";
|
||||
this.autoScrollChk.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// multiThreadChk
|
||||
//
|
||||
this.multiThreadChk.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top;
|
||||
this.multiThreadChk.AutoSize = true;
|
||||
this.multiThreadChk.Checked = true;
|
||||
this.multiThreadChk.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.multiThreadChk.Location = new System.Drawing.Point(82, 28);
|
||||
this.multiThreadChk.Name = "multiThreadChk";
|
||||
this.multiThreadChk.TabIndex = 7;
|
||||
this.multiThreadChk.Text = "Parallel downloads";
|
||||
this.multiThreadChk.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
//
|
||||
this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(148, 6);
|
||||
this.label1.Location = new System.Drawing.Point(148, 30);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(54, 15);
|
||||
this.label1.TabIndex = 5;
|
||||
this.label1.Text = "DL Limit:";
|
||||
//
|
||||
//
|
||||
// numericUpDown1
|
||||
//
|
||||
//
|
||||
this.numericUpDown1.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.numericUpDown1.DecimalPlaces = 1;
|
||||
this.numericUpDown1.Increment = new decimal(new int[] {
|
||||
@@ -186,7 +214,7 @@
|
||||
0,
|
||||
0,
|
||||
65536});
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(208, 2);
|
||||
this.numericUpDown1.Location = new System.Drawing.Point(208, 26);
|
||||
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||
999,
|
||||
0,
|
||||
@@ -204,24 +232,24 @@
|
||||
0,
|
||||
0});
|
||||
this.numericUpDown1.ValueChanged += new System.EventHandler(this.numericUpDown1_ValueChanged);
|
||||
//
|
||||
//
|
||||
// btnCleanFinished
|
||||
//
|
||||
this.btnCleanFinished.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
//
|
||||
this.btnCleanFinished.Anchor = System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom;
|
||||
this.btnCleanFinished.Location = new System.Drawing.Point(298, 0);
|
||||
this.btnCleanFinished.Name = "btnCleanFinished";
|
||||
this.btnCleanFinished.Size = new System.Drawing.Size(90, 23);
|
||||
this.btnCleanFinished.Size = new System.Drawing.Size(90, 50);
|
||||
this.btnCleanFinished.TabIndex = 3;
|
||||
this.btnCleanFinished.Text = "Clear Finished";
|
||||
this.btnCleanFinished.UseVisualStyleBackColor = true;
|
||||
this.btnCleanFinished.Click += new System.EventHandler(this.btnClearFinished_Click);
|
||||
//
|
||||
//
|
||||
// cancelAllBtn
|
||||
//
|
||||
this.cancelAllBtn.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
//
|
||||
this.cancelAllBtn.Anchor = System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom;
|
||||
this.cancelAllBtn.Location = new System.Drawing.Point(0, 0);
|
||||
this.cancelAllBtn.Name = "cancelAllBtn";
|
||||
this.cancelAllBtn.Size = new System.Drawing.Size(75, 23);
|
||||
this.cancelAllBtn.Size = new System.Drawing.Size(78, 50);
|
||||
this.cancelAllBtn.TabIndex = 2;
|
||||
this.cancelAllBtn.Text = "Cancel All";
|
||||
this.cancelAllBtn.UseVisualStyleBackColor = true;
|
||||
@@ -364,5 +392,7 @@
|
||||
private System.Windows.Forms.Button logCopyBtn;
|
||||
private NumericUpDownSuffix numericUpDown1;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.CheckBox autoScrollChk;
|
||||
private System.Windows.Forms.CheckBox multiThreadChk;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user