diff --git a/Duplicati/GUI/ThrottleControl.Designer.cs b/Duplicati/GUI/ThrottleControl.Designer.cs index 309b32788..eb747d0ec 100644 --- a/Duplicati/GUI/ThrottleControl.Designer.cs +++ b/Duplicati/GUI/ThrottleControl.Designer.cs @@ -37,60 +37,47 @@ // // OKBtn // - this.OKBtn.Location = new System.Drawing.Point(96, 128); + resources.ApplyResources(this.OKBtn, "OKBtn"); this.OKBtn.Name = "OKBtn"; - this.OKBtn.Size = new System.Drawing.Size(75, 23); - this.OKBtn.TabIndex = 4; - this.OKBtn.Text = "OK"; this.OKBtn.UseVisualStyleBackColor = true; this.OKBtn.Click += new System.EventHandler(this.OKBtn_Click); // // CancelBtn // this.CancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.CancelBtn.Location = new System.Drawing.Point(184, 128); + resources.ApplyResources(this.CancelBtn, "CancelBtn"); this.CancelBtn.Name = "CancelBtn"; - this.CancelBtn.Size = new System.Drawing.Size(75, 23); - this.CancelBtn.TabIndex = 5; - this.CancelBtn.Text = "Cancel"; this.CancelBtn.UseVisualStyleBackColor = true; this.CancelBtn.Click += new System.EventHandler(this.CancelBtn_Click); // // ThreadPriorityPicker // - this.ThreadPriorityPicker.Location = new System.Drawing.Point(16, 16); + resources.ApplyResources(this.ThreadPriorityPicker, "ThreadPriorityPicker"); this.ThreadPriorityPicker.Name = "ThreadPriorityPicker"; - this.ThreadPriorityPicker.Size = new System.Drawing.Size(322, 23); - this.ThreadPriorityPicker.TabIndex = 6; // // BandwidthLimit // this.BandwidthLimit.DownloadLimit = null; this.BandwidthLimit.DownloadLimitInBytes = ((long)(0)); - this.BandwidthLimit.Location = new System.Drawing.Point(16, 48); + resources.ApplyResources(this.BandwidthLimit, "BandwidthLimit"); this.BandwidthLimit.Name = "BandwidthLimit"; - this.BandwidthLimit.Size = new System.Drawing.Size(321, 54); - this.BandwidthLimit.TabIndex = 7; this.BandwidthLimit.UploadLimit = null; this.BandwidthLimit.UploadLimitInBytes = ((long)(0)); // // ThrottleControl // this.AcceptButton = this.OKBtn; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.CancelBtn; - this.ClientSize = new System.Drawing.Size(352, 166); this.Controls.Add(this.BandwidthLimit); this.Controls.Add(this.ThreadPriorityPicker); this.Controls.Add(this.CancelBtn); this.Controls.Add(this.OKBtn); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ThrottleControl"; - this.Text = "Throttle control"; this.Load += new System.EventHandler(this.ThrottleControl_Load); this.ResumeLayout(false); diff --git a/Duplicati/GUI/ThrottleControl.resx b/Duplicati/GUI/ThrottleControl.resx index d749e6f9b..f8f301eff 100644 --- a/Duplicati/GUI/ThrottleControl.resx +++ b/Duplicati/GUI/ThrottleControl.resx @@ -112,12 +112,112 @@ 2.0 - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - + + + 96, 128 + + + 75, 23 + + + + 4 + + + OK + + + OKBtn + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 3 + + + 184, 128 + + + 75, 23 + + + 5 + + + Cancel + + + CancelBtn + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + $this + + + 2 + + + 16, 16 + + + 322, 23 + + + 6 + + + ThreadPriorityPicker + + + Duplicati.GUI.HelperControls.ThreadPriorityPicker, Duplicati, Version=1.0.1.276, Culture=neutral, PublicKeyToken=8bfe994a39631a7b + + + $this + + + 1 + + + 16, 48 + + + 321, 54 + + + 7 + + + BandwidthLimit + + + Duplicati.GUI.HelperControls.BandwidthLimit, Duplicati, Version=1.0.1.276, Culture=neutral, PublicKeyToken=8bfe994a39631a7b + + + $this + + + 0 + + + True + + + 6, 13 + + + 352, 166 + AAABAAoAMDAQAAEABABoBgAApgAAACAgEAABAAQA6AIAAA4HAAAQEBAAAQAEACgBAAD2CQAAMDAAAAEA @@ -825,4 +925,13 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAEAAA== + + Throttle control + + + ThrottleControl + + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + \ No newline at end of file