mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +13:00
Change control names and MonitorRegion object
This commit is contained in:
parent
0d6d1a8ef9
commit
dc6ae24472
6 changed files with 207 additions and 231 deletions
|
@ -11,22 +11,10 @@ public class MonitorRegion
|
|||
#region Properties
|
||||
|
||||
[DefaultValue("Monitor1 X:0 Y:0 Height:0 Width:0"), Description("The default monitor name.")]
|
||||
public string MonitorName { get; private set; }
|
||||
public string MonitorIdentifier { get; private set; }
|
||||
|
||||
[DefaultValue(0)]
|
||||
public int X { get; private set; }
|
||||
|
||||
[DefaultValue(0)]
|
||||
public int Y { get; private set; }
|
||||
|
||||
[DefaultValue(0)]
|
||||
public int Height { get; private set; }
|
||||
|
||||
[DefaultValue(0)]
|
||||
public int Width { get; private set; }
|
||||
|
||||
[DefaultValue(0)]
|
||||
public Rectangle MonitorBounds { get; private set; }
|
||||
public Rectangle Bounds { get; private set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
@ -34,26 +22,17 @@ public class MonitorRegion
|
|||
|
||||
public MonitorRegion(Screen monitor, int monitorNumber)
|
||||
{
|
||||
SetBoundsFromTheScreenBounds(monitor);
|
||||
CreateTheNameFromBoundsAndMonitorNumber(monitor.Bounds, monitorNumber);
|
||||
MonitorBounds = monitor.Bounds;
|
||||
Bounds = monitor.Bounds;
|
||||
CreateTheNameFromBoundsAndMonitorNumber(monitorNumber);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region private Methods
|
||||
|
||||
private void SetBoundsFromTheScreenBounds(Screen screen)
|
||||
private void CreateTheNameFromBoundsAndMonitorNumber(int monitorNumber)
|
||||
{
|
||||
X = screen.Bounds.X;
|
||||
Y = screen.Bounds.Y;
|
||||
Height = screen.Bounds.Height;
|
||||
Width = screen.Bounds.Width;
|
||||
}
|
||||
|
||||
private void CreateTheNameFromBoundsAndMonitorNumber(Rectangle monitorBounds, int monitorNumber)
|
||||
{
|
||||
MonitorName = String.Format(Resources.ScreenRegion_Name_Monitor_0___X__1__Y__2__Height__3__Width__4_, monitorNumber, X, Y, Height, Width);
|
||||
MonitorIdentifier = String.Format(Resources.ScreenRegion_Name_Monitor_0___X__1__Y__2__Height__3__Width__4_, monitorNumber, Bounds.X, Bounds.Y, Bounds.Height, Bounds.Width);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@ -62,7 +41,7 @@ private void CreateTheNameFromBoundsAndMonitorNumber(Rectangle monitorBounds, in
|
|||
|
||||
public override string ToString()
|
||||
{
|
||||
return MonitorName;
|
||||
return MonitorIdentifier;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using System.Collections.Generic;
|
||||
using ShareX.ScreenCaptureLib;
|
||||
|
||||
|
||||
namespace ShareX.ScreenCaptureLib
|
||||
{
|
||||
|
|
180
ShareX/Forms/TaskSettingsForm.Designer.cs
generated
180
ShareX/Forms/TaskSettingsForm.Designer.cs
generated
|
@ -102,17 +102,17 @@ private void InitializeComponent()
|
|||
this.tcCapture = new System.Windows.Forms.TabControl();
|
||||
this.tpCaptureGeneral = new System.Windows.Forms.TabPage();
|
||||
this.pCapture = new System.Windows.Forms.Panel();
|
||||
this.btnTransmitBoundsFromMonitorToCustomBounds = new System.Windows.Forms.Button();
|
||||
this.lblWidth = new System.Windows.Forms.Label();
|
||||
this.lblHeight = new System.Windows.Forms.Label();
|
||||
this.lblY = new System.Windows.Forms.Label();
|
||||
this.lblX = new System.Windows.Forms.Label();
|
||||
this.nudScreenRegionHeight = new System.Windows.Forms.NumericUpDown();
|
||||
this.nudScreenRegionWidth = new System.Windows.Forms.NumericUpDown();
|
||||
this.nudScreenRegionY = new System.Windows.Forms.NumericUpDown();
|
||||
this.nudScreenRegionX = new System.Windows.Forms.NumericUpDown();
|
||||
this.lblSelectedMonitorForCustomRegion = new System.Windows.Forms.Label();
|
||||
this.cboMonitors = new System.Windows.Forms.ComboBox();
|
||||
this.btnCaptureTransmitBoundsFromMonitorToCustomBounds = new System.Windows.Forms.Button();
|
||||
this.lblCaptureCustomRegionWidth = new System.Windows.Forms.Label();
|
||||
this.lblCaptureCustomRegionHeight = new System.Windows.Forms.Label();
|
||||
this.lblCaptureCustomRegionY = new System.Windows.Forms.Label();
|
||||
this.lblCaptureCustomRegionX = new System.Windows.Forms.Label();
|
||||
this.nudCaptureCustomRegionHeight = new System.Windows.Forms.NumericUpDown();
|
||||
this.nudCaptureCustomRegionWidth = new System.Windows.Forms.NumericUpDown();
|
||||
this.nudCaptureCustomRegionY = new System.Windows.Forms.NumericUpDown();
|
||||
this.nudCaptureCustomRegionX = new System.Windows.Forms.NumericUpDown();
|
||||
this.lblCaptureCustomRegionSelectedMonitor = new System.Windows.Forms.Label();
|
||||
this.cboCaptureCustomRegionMonitors = new System.Windows.Forms.ComboBox();
|
||||
this.cbShowCursor = new System.Windows.Forms.CheckBox();
|
||||
this.lblCaptureShadowOffset = new System.Windows.Forms.Label();
|
||||
this.cbCaptureTransparent = new System.Windows.Forms.CheckBox();
|
||||
|
@ -209,10 +209,10 @@ private void InitializeComponent()
|
|||
this.tcCapture.SuspendLayout();
|
||||
this.tpCaptureGeneral.SuspendLayout();
|
||||
this.pCapture.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudScreenRegionHeight)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudScreenRegionWidth)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudScreenRegionY)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudScreenRegionX)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudCaptureCustomRegionHeight)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudCaptureCustomRegionWidth)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudCaptureCustomRegionY)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudCaptureCustomRegionX)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudScreenshotDelay)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudCaptureShadowOffset)).BeginInit();
|
||||
this.tpRegionCapture.SuspendLayout();
|
||||
|
@ -786,17 +786,17 @@ private void InitializeComponent()
|
|||
//
|
||||
// pCapture
|
||||
//
|
||||
this.pCapture.Controls.Add(this.btnTransmitBoundsFromMonitorToCustomBounds);
|
||||
this.pCapture.Controls.Add(this.lblWidth);
|
||||
this.pCapture.Controls.Add(this.lblHeight);
|
||||
this.pCapture.Controls.Add(this.lblY);
|
||||
this.pCapture.Controls.Add(this.lblX);
|
||||
this.pCapture.Controls.Add(this.nudScreenRegionHeight);
|
||||
this.pCapture.Controls.Add(this.nudScreenRegionWidth);
|
||||
this.pCapture.Controls.Add(this.nudScreenRegionY);
|
||||
this.pCapture.Controls.Add(this.nudScreenRegionX);
|
||||
this.pCapture.Controls.Add(this.lblSelectedMonitorForCustomRegion);
|
||||
this.pCapture.Controls.Add(this.cboMonitors);
|
||||
this.pCapture.Controls.Add(this.btnCaptureTransmitBoundsFromMonitorToCustomBounds);
|
||||
this.pCapture.Controls.Add(this.lblCaptureCustomRegionWidth);
|
||||
this.pCapture.Controls.Add(this.lblCaptureCustomRegionHeight);
|
||||
this.pCapture.Controls.Add(this.lblCaptureCustomRegionY);
|
||||
this.pCapture.Controls.Add(this.lblCaptureCustomRegionX);
|
||||
this.pCapture.Controls.Add(this.nudCaptureCustomRegionHeight);
|
||||
this.pCapture.Controls.Add(this.nudCaptureCustomRegionWidth);
|
||||
this.pCapture.Controls.Add(this.nudCaptureCustomRegionY);
|
||||
this.pCapture.Controls.Add(this.nudCaptureCustomRegionX);
|
||||
this.pCapture.Controls.Add(this.lblCaptureCustomRegionSelectedMonitor);
|
||||
this.pCapture.Controls.Add(this.cboCaptureCustomRegionMonitors);
|
||||
this.pCapture.Controls.Add(this.cbShowCursor);
|
||||
this.pCapture.Controls.Add(this.lblCaptureShadowOffset);
|
||||
this.pCapture.Controls.Add(this.cbCaptureTransparent);
|
||||
|
@ -810,108 +810,108 @@ private void InitializeComponent()
|
|||
resources.ApplyResources(this.pCapture, "pCapture");
|
||||
this.pCapture.Name = "pCapture";
|
||||
//
|
||||
// btnTransmitBoundsFromMonitorToCustomBounds
|
||||
// btnCaptureTransmitBoundsFromMonitorToCustomBounds
|
||||
//
|
||||
resources.ApplyResources(this.btnTransmitBoundsFromMonitorToCustomBounds, "btnTransmitBoundsFromMonitorToCustomBounds");
|
||||
this.btnTransmitBoundsFromMonitorToCustomBounds.Name = "btnTransmitBoundsFromMonitorToCustomBounds";
|
||||
this.btnTransmitBoundsFromMonitorToCustomBounds.UseVisualStyleBackColor = true;
|
||||
this.btnTransmitBoundsFromMonitorToCustomBounds.Click += new System.EventHandler(this.btnTransmitBoundsFromMonitorToCustomBounds_Click);
|
||||
resources.ApplyResources(this.btnCaptureTransmitBoundsFromMonitorToCustomBounds, "btnCaptureTransmitBoundsFromMonitorToCustomBounds");
|
||||
this.btnCaptureTransmitBoundsFromMonitorToCustomBounds.Name = "btnCaptureTransmitBoundsFromMonitorToCustomBounds";
|
||||
this.btnCaptureTransmitBoundsFromMonitorToCustomBounds.UseVisualStyleBackColor = true;
|
||||
this.btnCaptureTransmitBoundsFromMonitorToCustomBounds.Click += new System.EventHandler(this.btnTransmitBoundsFromMonitorToCustomBounds_Click);
|
||||
//
|
||||
// lblWidth
|
||||
// lblCaptureCustomRegionWidth
|
||||
//
|
||||
resources.ApplyResources(this.lblWidth, "lblWidth");
|
||||
this.lblWidth.Name = "lblWidth";
|
||||
resources.ApplyResources(this.lblCaptureCustomRegionWidth, "lblCaptureCustomRegionWidth");
|
||||
this.lblCaptureCustomRegionWidth.Name = "lblCaptureCustomRegionWidth";
|
||||
//
|
||||
// lblHeight
|
||||
// lblCaptureCustomRegionHeight
|
||||
//
|
||||
resources.ApplyResources(this.lblHeight, "lblHeight");
|
||||
this.lblHeight.Name = "lblHeight";
|
||||
resources.ApplyResources(this.lblCaptureCustomRegionHeight, "lblCaptureCustomRegionHeight");
|
||||
this.lblCaptureCustomRegionHeight.Name = "lblCaptureCustomRegionHeight";
|
||||
//
|
||||
// lblY
|
||||
// lblCaptureCustomRegionY
|
||||
//
|
||||
resources.ApplyResources(this.lblY, "lblY");
|
||||
this.lblY.Name = "lblY";
|
||||
resources.ApplyResources(this.lblCaptureCustomRegionY, "lblCaptureCustomRegionY");
|
||||
this.lblCaptureCustomRegionY.Name = "lblCaptureCustomRegionY";
|
||||
//
|
||||
// lblX
|
||||
// lblCaptureCustomRegionX
|
||||
//
|
||||
resources.ApplyResources(this.lblX, "lblX");
|
||||
this.lblX.Name = "lblX";
|
||||
resources.ApplyResources(this.lblCaptureCustomRegionX, "lblCaptureCustomRegionX");
|
||||
this.lblCaptureCustomRegionX.Name = "lblCaptureCustomRegionX";
|
||||
//
|
||||
// nudScreenRegionHeight
|
||||
// nudCaptureCustomRegionHeight
|
||||
//
|
||||
resources.ApplyResources(this.nudScreenRegionHeight, "nudScreenRegionHeight");
|
||||
this.nudScreenRegionHeight.Maximum = new decimal(new int[] {
|
||||
resources.ApplyResources(this.nudCaptureCustomRegionHeight, "nudCaptureCustomRegionHeight");
|
||||
this.nudCaptureCustomRegionHeight.Maximum = new decimal(new int[] {
|
||||
-2147483648,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudScreenRegionHeight.Minimum = new decimal(new int[] {
|
||||
this.nudCaptureCustomRegionHeight.Minimum = new decimal(new int[] {
|
||||
-2147483648,
|
||||
0,
|
||||
0,
|
||||
-2147483648});
|
||||
this.nudScreenRegionHeight.Name = "nudScreenRegionHeight";
|
||||
this.nudScreenRegionHeight.ValueChanged += new System.EventHandler(this.nudScreenRegionHeight_ValueChanged);
|
||||
this.nudCaptureCustomRegionHeight.Name = "nudCaptureCustomRegionHeight";
|
||||
this.nudCaptureCustomRegionHeight.ValueChanged += new System.EventHandler(this.nudScreenRegionHeight_ValueChanged);
|
||||
//
|
||||
// nudScreenRegionWidth
|
||||
// nudCaptureCustomRegionWidth
|
||||
//
|
||||
resources.ApplyResources(this.nudScreenRegionWidth, "nudScreenRegionWidth");
|
||||
this.nudScreenRegionWidth.Maximum = new decimal(new int[] {
|
||||
resources.ApplyResources(this.nudCaptureCustomRegionWidth, "nudCaptureCustomRegionWidth");
|
||||
this.nudCaptureCustomRegionWidth.Maximum = new decimal(new int[] {
|
||||
-2147483648,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudScreenRegionWidth.Minimum = new decimal(new int[] {
|
||||
this.nudCaptureCustomRegionWidth.Minimum = new decimal(new int[] {
|
||||
-2147483648,
|
||||
0,
|
||||
0,
|
||||
-2147483648});
|
||||
this.nudScreenRegionWidth.Name = "nudScreenRegionWidth";
|
||||
this.nudScreenRegionWidth.ValueChanged += new System.EventHandler(this.nudScreenRegionWidth_ValueChanged);
|
||||
this.nudCaptureCustomRegionWidth.Name = "nudCaptureCustomRegionWidth";
|
||||
this.nudCaptureCustomRegionWidth.ValueChanged += new System.EventHandler(this.nudScreenRegionWidth_ValueChanged);
|
||||
//
|
||||
// nudScreenRegionY
|
||||
// nudCaptureCustomRegionY
|
||||
//
|
||||
resources.ApplyResources(this.nudScreenRegionY, "nudScreenRegionY");
|
||||
this.nudScreenRegionY.Maximum = new decimal(new int[] {
|
||||
resources.ApplyResources(this.nudCaptureCustomRegionY, "nudCaptureCustomRegionY");
|
||||
this.nudCaptureCustomRegionY.Maximum = new decimal(new int[] {
|
||||
-2147483648,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudScreenRegionY.Minimum = new decimal(new int[] {
|
||||
this.nudCaptureCustomRegionY.Minimum = new decimal(new int[] {
|
||||
-2147483648,
|
||||
0,
|
||||
0,
|
||||
-2147483648});
|
||||
this.nudScreenRegionY.Name = "nudScreenRegionY";
|
||||
this.nudScreenRegionY.ValueChanged += new System.EventHandler(this.nudScreenRegionY_ValueChanged);
|
||||
this.nudCaptureCustomRegionY.Name = "nudCaptureCustomRegionY";
|
||||
this.nudCaptureCustomRegionY.ValueChanged += new System.EventHandler(this.nudScreenRegionY_ValueChanged);
|
||||
//
|
||||
// nudScreenRegionX
|
||||
// nudCaptureCustomRegionX
|
||||
//
|
||||
resources.ApplyResources(this.nudScreenRegionX, "nudScreenRegionX");
|
||||
this.nudScreenRegionX.Maximum = new decimal(new int[] {
|
||||
resources.ApplyResources(this.nudCaptureCustomRegionX, "nudCaptureCustomRegionX");
|
||||
this.nudCaptureCustomRegionX.Maximum = new decimal(new int[] {
|
||||
-2147483648,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.nudScreenRegionX.Minimum = new decimal(new int[] {
|
||||
this.nudCaptureCustomRegionX.Minimum = new decimal(new int[] {
|
||||
-2147483648,
|
||||
0,
|
||||
0,
|
||||
-2147483648});
|
||||
this.nudScreenRegionX.Name = "nudScreenRegionX";
|
||||
this.nudScreenRegionX.ValueChanged += new System.EventHandler(this.nudScreenRegionX_ValueChanged);
|
||||
this.nudCaptureCustomRegionX.Name = "nudCaptureCustomRegionX";
|
||||
this.nudCaptureCustomRegionX.ValueChanged += new System.EventHandler(this.nudScreenRegionX_ValueChanged);
|
||||
//
|
||||
// lblSelectedMonitorForCustomRegion
|
||||
// lblCaptureCustomRegionSelectedMonitor
|
||||
//
|
||||
resources.ApplyResources(this.lblSelectedMonitorForCustomRegion, "lblSelectedMonitorForCustomRegion");
|
||||
this.lblSelectedMonitorForCustomRegion.Name = "lblSelectedMonitorForCustomRegion";
|
||||
resources.ApplyResources(this.lblCaptureCustomRegionSelectedMonitor, "lblCaptureCustomRegionSelectedMonitor");
|
||||
this.lblCaptureCustomRegionSelectedMonitor.Name = "lblCaptureCustomRegionSelectedMonitor";
|
||||
//
|
||||
// cboMonitors
|
||||
// cboCaptureCustomRegionMonitors
|
||||
//
|
||||
this.cboMonitors.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cboMonitors.FormattingEnabled = true;
|
||||
resources.ApplyResources(this.cboMonitors, "cboMonitors");
|
||||
this.cboMonitors.Name = "cboMonitors";
|
||||
this.cboCaptureCustomRegionMonitors.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cboCaptureCustomRegionMonitors.FormattingEnabled = true;
|
||||
resources.ApplyResources(this.cboCaptureCustomRegionMonitors, "cboCaptureCustomRegionMonitors");
|
||||
this.cboCaptureCustomRegionMonitors.Name = "cboCaptureCustomRegionMonitors";
|
||||
//
|
||||
// cbShowCursor
|
||||
//
|
||||
|
@ -1598,10 +1598,10 @@ private void InitializeComponent()
|
|||
this.tpCaptureGeneral.PerformLayout();
|
||||
this.pCapture.ResumeLayout(false);
|
||||
this.pCapture.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudScreenRegionHeight)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudScreenRegionWidth)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudScreenRegionY)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudScreenRegionX)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudCaptureCustomRegionHeight)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudCaptureCustomRegionWidth)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudCaptureCustomRegionY)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudCaptureCustomRegionX)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudScreenshotDelay)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.nudCaptureShadowOffset)).EndInit();
|
||||
this.tpRegionCapture.ResumeLayout(false);
|
||||
|
@ -1784,17 +1784,17 @@ private void InitializeComponent()
|
|||
private System.Windows.Forms.Button btnScreenRecorderFFmpegOptions;
|
||||
private System.Windows.Forms.ComboBox cbNameFormatTimeZone;
|
||||
private System.Windows.Forms.CheckBox cbNameFormatCustomTimeZone;
|
||||
private System.Windows.Forms.Label lblSelectedMonitorForCustomRegion;
|
||||
private System.Windows.Forms.ComboBox cboMonitors;
|
||||
private System.Windows.Forms.Label lblWidth;
|
||||
private System.Windows.Forms.Label lblHeight;
|
||||
private System.Windows.Forms.Label lblY;
|
||||
private System.Windows.Forms.Label lblX;
|
||||
private System.Windows.Forms.NumericUpDown nudScreenRegionHeight;
|
||||
private System.Windows.Forms.NumericUpDown nudScreenRegionWidth;
|
||||
private System.Windows.Forms.NumericUpDown nudScreenRegionY;
|
||||
private System.Windows.Forms.NumericUpDown nudScreenRegionX;
|
||||
private System.Windows.Forms.Button btnTransmitBoundsFromMonitorToCustomBounds;
|
||||
private System.Windows.Forms.Label lblCaptureCustomRegionSelectedMonitor;
|
||||
private System.Windows.Forms.ComboBox cboCaptureCustomRegionMonitors;
|
||||
private System.Windows.Forms.Label lblCaptureCustomRegionWidth;
|
||||
private System.Windows.Forms.Label lblCaptureCustomRegionHeight;
|
||||
private System.Windows.Forms.Label lblCaptureCustomRegionY;
|
||||
private System.Windows.Forms.Label lblCaptureCustomRegionX;
|
||||
private System.Windows.Forms.NumericUpDown nudCaptureCustomRegionHeight;
|
||||
private System.Windows.Forms.NumericUpDown nudCaptureCustomRegionWidth;
|
||||
private System.Windows.Forms.NumericUpDown nudCaptureCustomRegionY;
|
||||
private System.Windows.Forms.NumericUpDown nudCaptureCustomRegionX;
|
||||
private System.Windows.Forms.Button btnCaptureTransmitBoundsFromMonitorToCustomBounds;
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -209,13 +209,13 @@ public TaskSettingsForm(TaskSettings hotkeySetting, bool isDefault = false)
|
|||
cbScreenshotDelay.Checked = TaskSettings.CaptureSettings.IsDelayScreenshot;
|
||||
nudScreenshotDelay.Value = TaskSettings.CaptureSettings.DelayScreenshot;
|
||||
cbCaptureAutoHideTaskbar.Checked = TaskSettings.CaptureSettings.CaptureAutoHideTaskbar;
|
||||
cboMonitors.Items.Clear();
|
||||
cboMonitors.Items.AddRange(MonitorRegionDefaultCreator.AllMonitorsRegions);
|
||||
cboMonitors.SelectedIndex = TaskSettings.CaptureSettings.DefaultScreenRegionCboIndex;
|
||||
nudScreenRegionX.Value = TaskSettings.CaptureSettings.DefaultBounds.X;
|
||||
nudScreenRegionY.Value = TaskSettings.CaptureSettings.DefaultBounds.Y;
|
||||
nudScreenRegionWidth.Value = TaskSettings.CaptureSettings.DefaultBounds.Width;
|
||||
nudScreenRegionHeight.Value = TaskSettings.CaptureSettings.DefaultBounds.Height;
|
||||
cboCaptureCustomRegionMonitors.Items.Clear();
|
||||
cboCaptureCustomRegionMonitors.Items.AddRange(MonitorRegionDefaultCreator.AllMonitorsRegions);
|
||||
cboCaptureCustomRegionMonitors.SelectedIndex = 0;
|
||||
nudCaptureCustomRegionX.Value = TaskSettings.CaptureSettings.DefaultBounds.X;
|
||||
nudCaptureCustomRegionY.Value = TaskSettings.CaptureSettings.DefaultBounds.Y;
|
||||
nudCaptureCustomRegionWidth.Value = TaskSettings.CaptureSettings.DefaultBounds.Width;
|
||||
nudCaptureCustomRegionHeight.Value = TaskSettings.CaptureSettings.DefaultBounds.Height;
|
||||
|
||||
// Capture / Region capture
|
||||
if (TaskSettings.CaptureSettings.SurfaceOptions == null) TaskSettings.CaptureSettings.SurfaceOptions = new SurfaceOptions();
|
||||
|
@ -715,6 +715,15 @@ private void cbThumbnailIfSmaller_CheckedChanged(object sender, EventArgs e)
|
|||
|
||||
#region Capture
|
||||
|
||||
private void btnTransmitBoundsFromMonitorToCustomBounds_Click(object sender, EventArgs e)
|
||||
{
|
||||
MonitorRegion monitorRegionSelected = (MonitorRegion)cboCaptureCustomRegionMonitors.SelectedItem;
|
||||
nudCaptureCustomRegionX.Value = monitorRegionSelected.Bounds.X;
|
||||
nudCaptureCustomRegionY.Value = monitorRegionSelected.Bounds.Y;
|
||||
nudCaptureCustomRegionWidth.Value = monitorRegionSelected.Bounds.Width;
|
||||
nudCaptureCustomRegionHeight.Value = monitorRegionSelected.Bounds.Height;
|
||||
}
|
||||
|
||||
private void chkUseDefaultCaptureSettings_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
TaskSettings.UseDefaultCaptureSettings = chkUseDefaultCaptureSettings.Checked;
|
||||
|
@ -1132,13 +1141,5 @@ private void chkUseDefaultAdvancedSettings_CheckedChanged(object sender, EventAr
|
|||
|
||||
#endregion Advanced
|
||||
|
||||
private void btnTransmitBoundsFromMonitorToCustomBounds_Click(object sender, EventArgs e)
|
||||
{
|
||||
MonitorRegion monitorRegionSelected = (MonitorRegion)cboMonitors.SelectedItem;
|
||||
nudScreenRegionX.Value = monitorRegionSelected.X;
|
||||
nudScreenRegionY.Value = monitorRegionSelected.Y;
|
||||
nudScreenRegionWidth.Value = monitorRegionSelected.Width;
|
||||
nudScreenRegionHeight.Value = monitorRegionSelected.Height;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1803,253 +1803,253 @@
|
|||
<data name=">>tpImage.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="btnTransmitBoundsFromMonitorToCustomBounds.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="btnCaptureTransmitBoundsFromMonitorToCustomBounds.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>260, 250</value>
|
||||
</data>
|
||||
<data name="btnTransmitBoundsFromMonitorToCustomBounds.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="btnCaptureTransmitBoundsFromMonitorToCustomBounds.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>42, 21</value>
|
||||
</data>
|
||||
<data name="btnTransmitBoundsFromMonitorToCustomBounds.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="btnCaptureTransmitBoundsFromMonitorToCustomBounds.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="btnTransmitBoundsFromMonitorToCustomBounds.Text" xml:space="preserve">
|
||||
<data name="btnCaptureTransmitBoundsFromMonitorToCustomBounds.Text" xml:space="preserve">
|
||||
<value>>></value>
|
||||
</data>
|
||||
<data name=">>btnTransmitBoundsFromMonitorToCustomBounds.Name" xml:space="preserve">
|
||||
<value>btnTransmitBoundsFromMonitorToCustomBounds</value>
|
||||
<data name=">>btnCaptureTransmitBoundsFromMonitorToCustomBounds.Name" xml:space="preserve">
|
||||
<value>btnCaptureTransmitBoundsFromMonitorToCustomBounds</value>
|
||||
</data>
|
||||
<data name=">>btnTransmitBoundsFromMonitorToCustomBounds.Type" xml:space="preserve">
|
||||
<data name=">>btnCaptureTransmitBoundsFromMonitorToCustomBounds.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>btnTransmitBoundsFromMonitorToCustomBounds.Parent" xml:space="preserve">
|
||||
<data name=">>btnCaptureTransmitBoundsFromMonitorToCustomBounds.Parent" xml:space="preserve">
|
||||
<value>pCapture</value>
|
||||
</data>
|
||||
<data name=">>btnTransmitBoundsFromMonitorToCustomBounds.ZOrder" xml:space="preserve">
|
||||
<data name=">>btnCaptureTransmitBoundsFromMonitorToCustomBounds.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="lblWidth.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="lblCaptureCustomRegionWidth.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>431, 233</value>
|
||||
</data>
|
||||
<data name="lblWidth.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="lblCaptureCustomRegionWidth.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>35, 13</value>
|
||||
</data>
|
||||
<data name="lblWidth.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="lblCaptureCustomRegionWidth.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="lblWidth.Text" xml:space="preserve">
|
||||
<data name="lblCaptureCustomRegionWidth.Text" xml:space="preserve">
|
||||
<value>Width</value>
|
||||
</data>
|
||||
<data name=">>lblWidth.Name" xml:space="preserve">
|
||||
<value>lblWidth</value>
|
||||
<data name=">>lblCaptureCustomRegionWidth.Name" xml:space="preserve">
|
||||
<value>lblCaptureCustomRegionWidth</value>
|
||||
</data>
|
||||
<data name=">>lblWidth.Type" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionWidth.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>lblWidth.Parent" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionWidth.Parent" xml:space="preserve">
|
||||
<value>pCapture</value>
|
||||
</data>
|
||||
<data name=">>lblWidth.ZOrder" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionWidth.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="lblHeight.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="lblCaptureCustomRegionHeight.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>487, 233</value>
|
||||
</data>
|
||||
<data name="lblHeight.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="lblCaptureCustomRegionHeight.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>38, 13</value>
|
||||
</data>
|
||||
<data name="lblHeight.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="lblCaptureCustomRegionHeight.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="lblHeight.Text" xml:space="preserve">
|
||||
<data name="lblCaptureCustomRegionHeight.Text" xml:space="preserve">
|
||||
<value>Height</value>
|
||||
</data>
|
||||
<data name=">>lblHeight.Name" xml:space="preserve">
|
||||
<value>lblHeight</value>
|
||||
<data name=">>lblCaptureCustomRegionHeight.Name" xml:space="preserve">
|
||||
<value>lblCaptureCustomRegionHeight</value>
|
||||
</data>
|
||||
<data name=">>lblHeight.Type" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionHeight.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>lblHeight.Parent" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionHeight.Parent" xml:space="preserve">
|
||||
<value>pCapture</value>
|
||||
</data>
|
||||
<data name=">>lblHeight.ZOrder" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionHeight.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="lblY.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="lblCaptureCustomRegionY.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>366, 233</value>
|
||||
</data>
|
||||
<data name="lblY.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="lblCaptureCustomRegionY.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>17, 13</value>
|
||||
</data>
|
||||
<data name="lblY.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="lblCaptureCustomRegionY.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="lblY.Text" xml:space="preserve">
|
||||
<data name="lblCaptureCustomRegionY.Text" xml:space="preserve">
|
||||
<value>Y</value>
|
||||
</data>
|
||||
<data name=">>lblY.Name" xml:space="preserve">
|
||||
<value>lblY</value>
|
||||
<data name=">>lblCaptureCustomRegionY.Name" xml:space="preserve">
|
||||
<value>lblCaptureCustomRegionY</value>
|
||||
</data>
|
||||
<data name=">>lblY.Type" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionY.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>lblY.Parent" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionY.Parent" xml:space="preserve">
|
||||
<value>pCapture</value>
|
||||
</data>
|
||||
<data name=">>lblY.ZOrder" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionY.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="lblX.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="lblCaptureCustomRegionX.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>310, 233</value>
|
||||
</data>
|
||||
<data name="lblX.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="lblCaptureCustomRegionX.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>17, 13</value>
|
||||
</data>
|
||||
<data name="lblX.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="lblCaptureCustomRegionX.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="lblX.Text" xml:space="preserve">
|
||||
<data name="lblCaptureCustomRegionX.Text" xml:space="preserve">
|
||||
<value>X</value>
|
||||
</data>
|
||||
<data name=">>lblX.Name" xml:space="preserve">
|
||||
<value>lblX</value>
|
||||
<data name=">>lblCaptureCustomRegionX.Name" xml:space="preserve">
|
||||
<value>lblCaptureCustomRegionX</value>
|
||||
</data>
|
||||
<data name=">>lblX.Type" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionX.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>lblX.Parent" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionX.Parent" xml:space="preserve">
|
||||
<value>pCapture</value>
|
||||
</data>
|
||||
<data name=">>lblX.ZOrder" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionX.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionHeight.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="nudCaptureCustomRegionHeight.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>490, 250</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionHeight.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="nudCaptureCustomRegionHeight.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>50, 20</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionHeight.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="nudCaptureCustomRegionHeight.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionHeight.Name" xml:space="preserve">
|
||||
<value>nudScreenRegionHeight</value>
|
||||
<data name=">>nudCaptureCustomRegionHeight.Name" xml:space="preserve">
|
||||
<value>nudCaptureCustomRegionHeight</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionHeight.Type" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionHeight.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionHeight.Parent" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionHeight.Parent" xml:space="preserve">
|
||||
<value>pCapture</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionHeight.ZOrder" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionHeight.ZOrder" xml:space="preserve">
|
||||
<value>5</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionWidth.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="nudCaptureCustomRegionWidth.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>434, 250</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionWidth.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="nudCaptureCustomRegionWidth.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>50, 20</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionWidth.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="nudCaptureCustomRegionWidth.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionWidth.Name" xml:space="preserve">
|
||||
<value>nudScreenRegionWidth</value>
|
||||
<data name=">>nudCaptureCustomRegionWidth.Name" xml:space="preserve">
|
||||
<value>nudCaptureCustomRegionWidth</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionWidth.Type" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionWidth.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionWidth.Parent" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionWidth.Parent" xml:space="preserve">
|
||||
<value>pCapture</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionWidth.ZOrder" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionWidth.ZOrder" xml:space="preserve">
|
||||
<value>6</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionY.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="nudCaptureCustomRegionY.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>369, 250</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionY.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="nudCaptureCustomRegionY.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>50, 20</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionY.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="nudCaptureCustomRegionY.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionY.Name" xml:space="preserve">
|
||||
<value>nudScreenRegionY</value>
|
||||
<data name=">>nudCaptureCustomRegionY.Name" xml:space="preserve">
|
||||
<value>nudCaptureCustomRegionY</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionY.Type" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionY.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionY.Parent" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionY.Parent" xml:space="preserve">
|
||||
<value>pCapture</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionY.ZOrder" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionY.ZOrder" xml:space="preserve">
|
||||
<value>7</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionX.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="nudCaptureCustomRegionX.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>313, 250</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionX.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="nudCaptureCustomRegionX.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>50, 20</value>
|
||||
</data>
|
||||
<data name="nudScreenRegionX.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="nudCaptureCustomRegionX.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionX.Name" xml:space="preserve">
|
||||
<value>nudScreenRegionX</value>
|
||||
<data name=">>nudCaptureCustomRegionX.Name" xml:space="preserve">
|
||||
<value>nudCaptureCustomRegionX</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionX.Type" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionX.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionX.Parent" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionX.Parent" xml:space="preserve">
|
||||
<value>pCapture</value>
|
||||
</data>
|
||||
<data name=">>nudScreenRegionX.ZOrder" xml:space="preserve">
|
||||
<data name=">>nudCaptureCustomRegionX.ZOrder" xml:space="preserve">
|
||||
<value>8</value>
|
||||
</data>
|
||||
<data name="lblSelectedMonitorForCustomRegion.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="lblCaptureCustomRegionSelectedMonitor.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>5, 234</value>
|
||||
</data>
|
||||
<data name="lblSelectedMonitorForCustomRegion.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="lblCaptureCustomRegionSelectedMonitor.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>179, 13</value>
|
||||
</data>
|
||||
<data name="lblSelectedMonitorForCustomRegion.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="lblCaptureCustomRegionSelectedMonitor.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="lblSelectedMonitorForCustomRegion.Text" xml:space="preserve">
|
||||
<data name="lblCaptureCustomRegionSelectedMonitor.Text" xml:space="preserve">
|
||||
<value>Select a monitor for a custom region:</value>
|
||||
</data>
|
||||
<data name=">>lblSelectedMonitorForCustomRegion.Name" xml:space="preserve">
|
||||
<value>lblSelectedMonitorForCustomRegion</value>
|
||||
<data name=">>lblCaptureCustomRegionSelectedMonitor.Name" xml:space="preserve">
|
||||
<value>lblCaptureCustomRegionSelectedMonitor</value>
|
||||
</data>
|
||||
<data name=">>lblSelectedMonitorForCustomRegion.Type" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionSelectedMonitor.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>lblSelectedMonitorForCustomRegion.Parent" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionSelectedMonitor.Parent" xml:space="preserve">
|
||||
<value>pCapture</value>
|
||||
</data>
|
||||
<data name=">>lblSelectedMonitorForCustomRegion.ZOrder" xml:space="preserve">
|
||||
<data name=">>lblCaptureCustomRegionSelectedMonitor.ZOrder" xml:space="preserve">
|
||||
<value>9</value>
|
||||
</data>
|
||||
<data name="cboMonitors.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<data name="cboCaptureCustomRegionMonitors.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>8, 250</value>
|
||||
</data>
|
||||
<data name="cboMonitors.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<data name="cboCaptureCustomRegionMonitors.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>240, 21</value>
|
||||
</data>
|
||||
<data name="cboMonitors.TabIndex" type="System.Int32, mscorlib">
|
||||
<data name="cboCaptureCustomRegionMonitors.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>11</value>
|
||||
</data>
|
||||
<data name=">>cboMonitors.Name" xml:space="preserve">
|
||||
<value>cboMonitors</value>
|
||||
<data name=">>cboCaptureCustomRegionMonitors.Name" xml:space="preserve">
|
||||
<value>cboCaptureCustomRegionMonitors</value>
|
||||
</data>
|
||||
<data name=">>cboMonitors.Type" xml:space="preserve">
|
||||
<data name=">>cboCaptureCustomRegionMonitors.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>cboMonitors.Parent" xml:space="preserve">
|
||||
<data name=">>cboCaptureCustomRegionMonitors.Parent" xml:space="preserve">
|
||||
<value>pCapture</value>
|
||||
</data>
|
||||
<data name=">>cboMonitors.ZOrder" xml:space="preserve">
|
||||
<data name=">>cboCaptureCustomRegionMonitors.ZOrder" xml:space="preserve">
|
||||
<value>10</value>
|
||||
</data>
|
||||
<data name="cbShowCursor.AutoSize" type="System.Boolean, mscorlib">
|
||||
|
|
|
@ -316,7 +316,6 @@ public class TaskSettingsCapture
|
|||
#region Custom Capture Region
|
||||
|
||||
public Rectangle DefaultBounds = new Rectangle(0, 0, 0, 0);
|
||||
public int DefaultScreenRegionCboIndex = 0;
|
||||
|
||||
#endregion
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue