Vrs 0.3.0.0
Compilata da CSiCoAlm il 2022/09/22 - Versione in cui ho sostituito l'oggetto WebBrowser con la classe WebClient per poter gestire in parallelo i download.
This commit is contained in:
1 parent
a797603f55
commit
3cd03879f0
5 files changed
+25
-23
No files matched your search
@@ -138,6 +138,12 @@ namespace A69WD {
|
||||
public virtual string LogsWinLoggerRef { get { return logsWinLoggerRef; } set { logsWinLoggerRef = value; } }
|
||||
private string logsWinLoggerRef;
|
||||
|
||||
/// <summary>
|
||||
/// Editor per la visualizzazione dei testi e dei logs
|
||||
/// </summary>
|
||||
public virtual string TextEditor { get { return textEditor; } set { textEditor = value; } }
|
||||
private string textEditor;
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
@@ -358,7 +358,8 @@ namespace A69WD {
|
||||
System.Diagnostics.Process proc = new System.Diagnostics.Process();
|
||||
// proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
|
||||
// proc.StartInfo.Verb = "print";
|
||||
proc.StartInfo.FileName = @"D:\MyTools\Npp\notepad++.exe";
|
||||
//proc.StartInfo.FileName = @"C:\Program Files\Notepad++\notepad++.exe";
|
||||
proc.StartInfo.FileName = Cfg.Settings.TextEditor;
|
||||
proc.StartInfo.Arguments = String.Format(@" {0}", file);
|
||||
Logger.Log(proc.StartInfo.FileName + proc.StartInfo.Arguments);
|
||||
proc.Start();
|
||||
|
||||
Generated
+13
-12
@@ -30,7 +30,7 @@
|
||||
this.btnImportLinks = new System.Windows.Forms.Button();
|
||||
this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog();
|
||||
this.btnShowLog = new System.Windows.Forms.Button();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.cbSoloFileIndice = new System.Windows.Forms.CheckBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnClose
|
||||
@@ -45,12 +45,13 @@
|
||||
//
|
||||
// btnHide
|
||||
//
|
||||
this.btnHide.Location = new System.Drawing.Point(317, 12);
|
||||
this.btnHide.Location = new System.Drawing.Point(317, 22);
|
||||
this.btnHide.Name = "btnHide";
|
||||
this.btnHide.Size = new System.Drawing.Size(97, 33);
|
||||
this.btnHide.TabIndex = 13;
|
||||
this.btnHide.Text = "Hide";
|
||||
this.btnHide.UseVisualStyleBackColor = true;
|
||||
this.btnHide.Visible = false;
|
||||
this.btnHide.Click += new System.EventHandler(this.btnHide_Click);
|
||||
//
|
||||
// btnDownloadAll
|
||||
@@ -99,22 +100,22 @@
|
||||
this.btnShowLog.UseVisualStyleBackColor = true;
|
||||
this.btnShowLog.Click += new System.EventHandler(this.btnShowLog_Click);
|
||||
//
|
||||
// checkBox1
|
||||
// cbSoloFileIndice
|
||||
//
|
||||
this.checkBox1.AutoSize = true;
|
||||
this.checkBox1.Location = new System.Drawing.Point(321, -1);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(80, 17);
|
||||
this.checkBox1.TabIndex = 18;
|
||||
this.checkBox1.Text = "checkBox1";
|
||||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
this.cbSoloFileIndice.AutoSize = true;
|
||||
this.cbSoloFileIndice.Location = new System.Drawing.Point(325, 20);
|
||||
this.cbSoloFileIndice.Name = "cbSoloFileIndice";
|
||||
this.cbSoloFileIndice.Size = new System.Drawing.Size(76, 17);
|
||||
this.cbSoloFileIndice.TabIndex = 18;
|
||||
this.cbSoloFileIndice.Text = "Solo Index";
|
||||
this.cbSoloFileIndice.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// frmDownloader
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(524, 74);
|
||||
this.Controls.Add(this.checkBox1);
|
||||
this.Controls.Add(this.cbSoloFileIndice);
|
||||
this.Controls.Add(this.btnShowLog);
|
||||
this.Controls.Add(this.btnImportLinks);
|
||||
this.Controls.Add(this.btnClose);
|
||||
@@ -137,6 +138,6 @@
|
||||
private System.Windows.Forms.Button btnImportLinks;
|
||||
private System.Windows.Forms.OpenFileDialog openFileDialog1;
|
||||
private System.Windows.Forms.Button btnShowLog;
|
||||
private System.Windows.Forms.CheckBox checkBox1;
|
||||
private System.Windows.Forms.CheckBox cbSoloFileIndice;
|
||||
}
|
||||
}
|
||||
@@ -41,7 +41,8 @@ namespace A69WD {
|
||||
}
|
||||
|
||||
private void btnDownloadAll_Click(object sender, EventArgs e) {
|
||||
engine.Start(true);
|
||||
//engine.Start(true);
|
||||
engine.Start(!cbSoloFileIndice.Checked);
|
||||
}
|
||||
|
||||
private void btnShowLog_Click(object sender, EventArgs e) {
|
||||
@@ -80,13 +81,6 @@ namespace A69WD {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
@@ -32,8 +32,8 @@ using System.Runtime.InteropServices;
|
||||
// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build
|
||||
// usando l'asterisco '*' come illustrato di seguito:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("0.2.0.2")]
|
||||
[assembly: AssemblyFileVersion("0.2.0.2")]
|
||||
[assembly: AssemblyVersion("0.3.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.3.0.0")]
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user