Force 96dpi, and generalize Frame, SubFrame, ListBox and TextBox controls.
This commit is contained in:
12
VAR.Toolbox/Controls/ControlsUtils.cs
Normal file
12
VAR.Toolbox/Controls/ControlsUtils.cs
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace VAR.Toolbox.Controls
|
||||||
|
{
|
||||||
|
public static class ControlsUtils
|
||||||
|
{
|
||||||
|
public static float GetFontSize(Control ctrl, float size)
|
||||||
|
{
|
||||||
|
return size * 96f / ctrl.CreateGraphics().DpiX;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Drawing;
|
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
@@ -9,7 +8,7 @@ namespace VAR.Toolbox.Controls
|
|||||||
{
|
{
|
||||||
public class CtrOutput : Control
|
public class CtrOutput : Control
|
||||||
{
|
{
|
||||||
private ListBox _listBox;
|
private ListBoxMonospace _listBox;
|
||||||
|
|
||||||
private Timer _timer;
|
private Timer _timer;
|
||||||
|
|
||||||
@@ -32,14 +31,9 @@ namespace VAR.Toolbox.Controls
|
|||||||
|
|
||||||
private void InitializeControls()
|
private void InitializeControls()
|
||||||
{
|
{
|
||||||
_listBox = new ListBox
|
_listBox = new ListBoxMonospace
|
||||||
{
|
{
|
||||||
Dock = DockStyle.Fill,
|
Dock = DockStyle.Fill,
|
||||||
FormattingEnabled = true,
|
|
||||||
Font = new System.Drawing.Font("Consolas", 9),
|
|
||||||
BackColor = Color.Black,
|
|
||||||
ForeColor = Color.Gray,
|
|
||||||
SelectionMode = SelectionMode.MultiExtended,
|
|
||||||
};
|
};
|
||||||
_listBox.MouseDoubleClick += ListBox_MouseDoubleClick;
|
_listBox.MouseDoubleClick += ListBox_MouseDoubleClick;
|
||||||
_listBox.KeyDown += ListBox_KeyDown;
|
_listBox.KeyDown += ListBox_KeyDown;
|
||||||
|
|||||||
11
VAR.Toolbox/Controls/Frame.cs
Normal file
11
VAR.Toolbox/Controls/Frame.cs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
namespace VAR.Toolbox.Controls
|
||||||
|
{
|
||||||
|
public class Frame : System.Windows.Forms.Form
|
||||||
|
{
|
||||||
|
public Frame()
|
||||||
|
{
|
||||||
|
Font = new System.Drawing.Font(Font.Name, ControlsUtils.GetFontSize(this, 8.25f), Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);
|
||||||
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
17
VAR.Toolbox/Controls/ListBoxMonospace.cs
Normal file
17
VAR.Toolbox/Controls/ListBoxMonospace.cs
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace VAR.Toolbox.Controls
|
||||||
|
{
|
||||||
|
public class ListBoxMonospace : ListBox
|
||||||
|
{
|
||||||
|
public ListBoxMonospace()
|
||||||
|
{
|
||||||
|
FormattingEnabled = true;
|
||||||
|
Font = new Font("Consolas", ControlsUtils.GetFontSize(this, 9));
|
||||||
|
BackColor = Color.Black;
|
||||||
|
ForeColor = Color.Gray;
|
||||||
|
SelectionMode = SelectionMode.MultiExtended;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
13
VAR.Toolbox/Controls/ListBoxNormal.cs
Normal file
13
VAR.Toolbox/Controls/ListBoxNormal.cs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace VAR.Toolbox.Controls
|
||||||
|
{
|
||||||
|
public class ListBoxNormal : ListBox
|
||||||
|
{
|
||||||
|
public ListBoxNormal()
|
||||||
|
{
|
||||||
|
Font = new Font("Microsoft Sans Serif", ControlsUtils.GetFontSize(this, 8.25f));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
VAR.Toolbox/Controls/SubFrame.cs
Normal file
11
VAR.Toolbox/Controls/SubFrame.cs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
namespace VAR.Toolbox.Controls
|
||||||
|
{
|
||||||
|
public class SubFrame : System.Windows.Forms.UserControl
|
||||||
|
{
|
||||||
|
public SubFrame()
|
||||||
|
{
|
||||||
|
Font = new System.Drawing.Font(Font.Name, ControlsUtils.GetFontSize(this, 8.25f), Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont);
|
||||||
|
AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
13
VAR.Toolbox/Controls/TextBoxMonospace.cs
Normal file
13
VAR.Toolbox/Controls/TextBoxMonospace.cs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace VAR.Toolbox.Controls
|
||||||
|
{
|
||||||
|
public class TextBoxMonospace : TextBox
|
||||||
|
{
|
||||||
|
public TextBoxMonospace()
|
||||||
|
{
|
||||||
|
Font = new Font("Consolas", ControlsUtils.GetFontSize(this, 9.0f));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
13
VAR.Toolbox/Controls/TextBoxNormal.cs
Normal file
13
VAR.Toolbox/Controls/TextBoxNormal.cs
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace VAR.Toolbox.Controls
|
||||||
|
{
|
||||||
|
public class TextBoxNormal : TextBox
|
||||||
|
{
|
||||||
|
public TextBoxNormal()
|
||||||
|
{
|
||||||
|
Font = new Font("Microsoft Sans Serif", ControlsUtils.GetFontSize(this, 8.25f));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
6
VAR.Toolbox/UI/FrmDialogString.Designer.cs
generated
6
VAR.Toolbox/UI/FrmDialogString.Designer.cs
generated
@@ -30,7 +30,7 @@
|
|||||||
{
|
{
|
||||||
this.lblDescription = new System.Windows.Forms.Label();
|
this.lblDescription = new System.Windows.Forms.Label();
|
||||||
this.tblLayout = new System.Windows.Forms.TableLayoutPanel();
|
this.tblLayout = new System.Windows.Forms.TableLayoutPanel();
|
||||||
this.txtValue = new System.Windows.Forms.TextBox();
|
this.txtValue = new VAR.Toolbox.Controls.TextBoxNormal();
|
||||||
this.flowButtons = new System.Windows.Forms.FlowLayoutPanel();
|
this.flowButtons = new System.Windows.Forms.FlowLayoutPanel();
|
||||||
this.btnAccept = new System.Windows.Forms.Button();
|
this.btnAccept = new System.Windows.Forms.Button();
|
||||||
this.btnCancel = new System.Windows.Forms.Button();
|
this.btnCancel = new System.Windows.Forms.Button();
|
||||||
@@ -108,8 +108,6 @@
|
|||||||
//
|
//
|
||||||
// FrmDialogString
|
// FrmDialogString
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(440, 284);
|
this.ClientSize = new System.Drawing.Size(440, 284);
|
||||||
this.Controls.Add(this.tblLayout);
|
this.Controls.Add(this.tblLayout);
|
||||||
this.Name = "FrmDialogString";
|
this.Name = "FrmDialogString";
|
||||||
@@ -125,7 +123,7 @@
|
|||||||
|
|
||||||
private System.Windows.Forms.Label lblDescription;
|
private System.Windows.Forms.Label lblDescription;
|
||||||
private System.Windows.Forms.TableLayoutPanel tblLayout;
|
private System.Windows.Forms.TableLayoutPanel tblLayout;
|
||||||
private System.Windows.Forms.TextBox txtValue;
|
private VAR.Toolbox.Controls.TextBoxNormal txtValue;
|
||||||
private System.Windows.Forms.FlowLayoutPanel flowButtons;
|
private System.Windows.Forms.FlowLayoutPanel flowButtons;
|
||||||
private System.Windows.Forms.Button btnCancel;
|
private System.Windows.Forms.Button btnCancel;
|
||||||
private System.Windows.Forms.Button btnAccept;
|
private System.Windows.Forms.Button btnAccept;
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
using System.Windows.Forms;
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class FrmDialogString : Form
|
public partial class FrmDialogString : Frame
|
||||||
{
|
{
|
||||||
public FrmDialogString()
|
public FrmDialogString()
|
||||||
{
|
{
|
||||||
|
|||||||
6
VAR.Toolbox/UI/FrmListBoxDialog.Designer.cs
generated
6
VAR.Toolbox/UI/FrmListBoxDialog.Designer.cs
generated
@@ -28,7 +28,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.lsbItems = new System.Windows.Forms.ListBox();
|
this.lsbItems = new VAR.Toolbox.Controls.ListBoxNormal();
|
||||||
this.btnCancel = new System.Windows.Forms.Button();
|
this.btnCancel = new System.Windows.Forms.Button();
|
||||||
this.btnAccept = new System.Windows.Forms.Button();
|
this.btnAccept = new System.Windows.Forms.Button();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
@@ -69,8 +69,6 @@
|
|||||||
//
|
//
|
||||||
// FrmListBoxDialog
|
// FrmListBoxDialog
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(362, 465);
|
this.ClientSize = new System.Drawing.Size(362, 465);
|
||||||
this.Controls.Add(this.btnAccept);
|
this.Controls.Add(this.btnAccept);
|
||||||
this.Controls.Add(this.btnCancel);
|
this.Controls.Add(this.btnCancel);
|
||||||
@@ -83,7 +81,7 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.ListBox lsbItems;
|
private VAR.Toolbox.Controls.ListBoxNormal lsbItems;
|
||||||
private System.Windows.Forms.Button btnCancel;
|
private System.Windows.Forms.Button btnCancel;
|
||||||
private System.Windows.Forms.Button btnAccept;
|
private System.Windows.Forms.Button btnAccept;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class FrmListBoxDialog : Form
|
public partial class FrmListBoxDialog : Frame
|
||||||
{
|
{
|
||||||
public FrmListBoxDialog()
|
public FrmListBoxDialog()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,10 +7,11 @@ using System.Linq;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using VAR.Toolbox.Code;
|
using VAR.Toolbox.Code;
|
||||||
using VAR.Toolbox.Code.Windows;
|
using VAR.Toolbox.Code.Windows;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public class FrmToolbox : Form
|
public class FrmToolbox : Frame
|
||||||
{
|
{
|
||||||
#region Declarations
|
#region Declarations
|
||||||
|
|
||||||
@@ -122,7 +123,7 @@ namespace VAR.Toolbox.UI
|
|||||||
lblToolbox = new Label
|
lblToolbox = new Label
|
||||||
{
|
{
|
||||||
Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right),
|
Anchor = (AnchorStyles.Top | AnchorStyles.Left | AnchorStyles.Right),
|
||||||
Font = new Font("Microsoft Sans Serif", 27.75F, FontStyle.Bold, GraphicsUnit.Point, 0),
|
Font = new Font(Font.FontFamily, ControlsUtils.GetFontSize(this, 27.75F), FontStyle.Bold, GraphicsUnit.Point, 0),
|
||||||
Location = new Point(windowSpacing, windowSpacing),
|
Location = new Point(windowSpacing, windowSpacing),
|
||||||
Margin = new Padding(0, 0, 0, 0),
|
Margin = new Padding(0, 0, 0, 0),
|
||||||
Name = "lblToolbox",
|
Name = "lblToolbox",
|
||||||
@@ -205,7 +206,6 @@ namespace VAR.Toolbox.UI
|
|||||||
nextYLocation = btnExit.Location.Y + btnExit.Size.Height + windowSpacing;
|
nextYLocation = btnExit.Location.Y + btnExit.Size.Height + windowSpacing;
|
||||||
|
|
||||||
// FrmToolbox
|
// FrmToolbox
|
||||||
AutoScaleMode = AutoScaleMode.None;
|
|
||||||
ClientSize = new Size(425, nextYLocation);
|
ClientSize = new Size(425, nextYLocation);
|
||||||
Controls.Add(btnExit);
|
Controls.Add(btnExit);
|
||||||
Controls.Add(lblToolbox);
|
Controls.Add(lblToolbox);
|
||||||
@@ -226,6 +226,9 @@ namespace VAR.Toolbox.UI
|
|||||||
Visible = true
|
Visible = true
|
||||||
};
|
};
|
||||||
niTray.MouseClick += NiTray_MouseClick;
|
niTray.MouseClick += NiTray_MouseClick;
|
||||||
|
|
||||||
|
|
||||||
|
ResumeLayout();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion Dynamic layout
|
#endregion Dynamic layout
|
||||||
|
|||||||
17
VAR.Toolbox/UI/Tools/FrmCoder.Designer.cs
generated
17
VAR.Toolbox/UI/Tools/FrmCoder.Designer.cs
generated
@@ -28,11 +28,11 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.txtInput = new System.Windows.Forms.TextBox();
|
this.txtInput = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.btnDecode = new System.Windows.Forms.Button();
|
this.btnDecode = new System.Windows.Forms.Button();
|
||||||
this.txtOutput = new System.Windows.Forms.TextBox();
|
this.txtOutput = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||||
this.txtKey = new System.Windows.Forms.TextBox();
|
this.txtKey = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.cboCode = new System.Windows.Forms.ComboBox();
|
this.cboCode = new System.Windows.Forms.ComboBox();
|
||||||
this.btnEncode = new System.Windows.Forms.Button();
|
this.btnEncode = new System.Windows.Forms.Button();
|
||||||
this.btnSwap = new System.Windows.Forms.Button();
|
this.btnSwap = new System.Windows.Forms.Button();
|
||||||
@@ -47,7 +47,6 @@
|
|||||||
this.txtInput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.txtInput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.txtInput.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.txtInput.Location = new System.Drawing.Point(9, 9);
|
this.txtInput.Location = new System.Drawing.Point(9, 9);
|
||||||
this.txtInput.Multiline = true;
|
this.txtInput.Multiline = true;
|
||||||
this.txtInput.Name = "txtInput";
|
this.txtInput.Name = "txtInput";
|
||||||
@@ -71,7 +70,6 @@
|
|||||||
this.txtOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.txtOutput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.txtOutput.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.txtOutput.Location = new System.Drawing.Point(7, 9);
|
this.txtOutput.Location = new System.Drawing.Point(7, 9);
|
||||||
this.txtOutput.Multiline = true;
|
this.txtOutput.Multiline = true;
|
||||||
this.txtOutput.Name = "txtOutput";
|
this.txtOutput.Name = "txtOutput";
|
||||||
@@ -108,7 +106,6 @@
|
|||||||
//
|
//
|
||||||
this.txtKey.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
this.txtKey.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.txtKey.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.txtKey.Location = new System.Drawing.Point(9, 325);
|
this.txtKey.Location = new System.Drawing.Point(9, 325);
|
||||||
this.txtKey.Multiline = true;
|
this.txtKey.Multiline = true;
|
||||||
this.txtKey.Name = "txtKey";
|
this.txtKey.Name = "txtKey";
|
||||||
@@ -152,8 +149,6 @@
|
|||||||
//
|
//
|
||||||
// FrmCoder
|
// FrmCoder
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(743, 425);
|
this.ClientSize = new System.Drawing.Size(743, 425);
|
||||||
this.Controls.Add(this.splitContainer1);
|
this.Controls.Add(this.splitContainer1);
|
||||||
this.Name = "FrmCoder";
|
this.Name = "FrmCoder";
|
||||||
@@ -170,14 +165,14 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.TextBox txtInput;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtInput;
|
||||||
private System.Windows.Forms.Button btnDecode;
|
private System.Windows.Forms.Button btnDecode;
|
||||||
private System.Windows.Forms.TextBox txtOutput;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtOutput;
|
||||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||||
private System.Windows.Forms.Button btnEncode;
|
private System.Windows.Forms.Button btnEncode;
|
||||||
private System.Windows.Forms.ComboBox cboCode;
|
private System.Windows.Forms.ComboBox cboCode;
|
||||||
private System.Windows.Forms.Button btnSwap;
|
private System.Windows.Forms.Button btnSwap;
|
||||||
private System.Windows.Forms.TextBox txtKey;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtKey;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using VAR.Toolbox.Code.TextCoders;
|
using VAR.Toolbox.Code.TextCoders;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class FrmCoder : Form, IToolForm
|
public partial class FrmCoder : Frame, IToolForm
|
||||||
{
|
{
|
||||||
public string ToolName { get { return "Coder"; } }
|
public string ToolName { get { return "Coder"; } }
|
||||||
|
|
||||||
|
|||||||
@@ -3,10 +3,11 @@ using System.Drawing;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using VAR.Toolbox.Code;
|
using VAR.Toolbox.Code;
|
||||||
using VAR.Toolbox.Code.Windows;
|
using VAR.Toolbox.Code.Windows;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public class FrmCover : Form
|
public class FrmCover : Frame
|
||||||
{
|
{
|
||||||
#region Declarations
|
#region Declarations
|
||||||
|
|
||||||
|
|||||||
6
VAR.Toolbox/UI/Tools/FrmIPScan.Designer.cs
generated
6
VAR.Toolbox/UI/Tools/FrmIPScan.Designer.cs
generated
@@ -32,7 +32,7 @@
|
|||||||
this.btnScan = new System.Windows.Forms.Button();
|
this.btnScan = new System.Windows.Forms.Button();
|
||||||
this.lblStatus = new System.Windows.Forms.Label();
|
this.lblStatus = new System.Windows.Forms.Label();
|
||||||
this.btnStop = new System.Windows.Forms.Button();
|
this.btnStop = new System.Windows.Forms.Button();
|
||||||
this.txtSubnet = new System.Windows.Forms.TextBox();
|
this.txtSubnet = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// lsvResult
|
// lsvResult
|
||||||
@@ -88,8 +88,6 @@
|
|||||||
//
|
//
|
||||||
// FrmIPScan
|
// FrmIPScan
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(365, 307);
|
this.ClientSize = new System.Drawing.Size(365, 307);
|
||||||
this.Controls.Add(this.txtSubnet);
|
this.Controls.Add(this.txtSubnet);
|
||||||
this.Controls.Add(this.btnStop);
|
this.Controls.Add(this.btnStop);
|
||||||
@@ -110,6 +108,6 @@
|
|||||||
private System.Windows.Forms.Button btnScan;
|
private System.Windows.Forms.Button btnScan;
|
||||||
private System.Windows.Forms.Label lblStatus;
|
private System.Windows.Forms.Label lblStatus;
|
||||||
private System.Windows.Forms.Button btnStop;
|
private System.Windows.Forms.Button btnStop;
|
||||||
private System.Windows.Forms.TextBox txtSubnet;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtSubnet;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4,10 +4,11 @@ using System.Net.NetworkInformation;
|
|||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class FrmIPScan : Form, IToolForm
|
public partial class FrmIPScan : Frame, IToolForm
|
||||||
{
|
{
|
||||||
public string ToolName { get { return "IPScan"; } }
|
public string ToolName { get { return "IPScan"; } }
|
||||||
|
|
||||||
|
|||||||
39
VAR.Toolbox/UI/Tools/FrmNetworkInfo.Designer.cs
generated
39
VAR.Toolbox/UI/Tools/FrmNetworkInfo.Designer.cs
generated
@@ -31,20 +31,20 @@
|
|||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
this.ddlNetworkInterfaces = new System.Windows.Forms.ComboBox();
|
this.ddlNetworkInterfaces = new System.Windows.Forms.ComboBox();
|
||||||
this.lblID = new System.Windows.Forms.Label();
|
this.lblID = new System.Windows.Forms.Label();
|
||||||
this.txtID = new System.Windows.Forms.TextBox();
|
this.txtID = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.lblName = new System.Windows.Forms.Label();
|
this.lblName = new System.Windows.Forms.Label();
|
||||||
this.txtName = new System.Windows.Forms.TextBox();
|
this.txtName = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtStatus = new System.Windows.Forms.TextBox();
|
this.txtStatus = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtSpeed = new System.Windows.Forms.TextBox();
|
this.txtSpeed = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtDescription = new System.Windows.Forms.TextBox();
|
this.txtDescription = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtInterface = new System.Windows.Forms.TextBox();
|
this.txtInterface = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtMAC = new System.Windows.Forms.TextBox();
|
this.txtMAC = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.lblStatus = new System.Windows.Forms.Label();
|
this.lblStatus = new System.Windows.Forms.Label();
|
||||||
this.lblSpeed = new System.Windows.Forms.Label();
|
this.lblSpeed = new System.Windows.Forms.Label();
|
||||||
this.lblDescription = new System.Windows.Forms.Label();
|
this.lblDescription = new System.Windows.Forms.Label();
|
||||||
this.lblInterface = new System.Windows.Forms.Label();
|
this.lblInterface = new System.Windows.Forms.Label();
|
||||||
this.lblMAC = new System.Windows.Forms.Label();
|
this.lblMAC = new System.Windows.Forms.Label();
|
||||||
this.txtIPs = new System.Windows.Forms.TextBox();
|
this.txtIPs = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.lblIPs = new System.Windows.Forms.Label();
|
this.lblIPs = new System.Windows.Forms.Label();
|
||||||
this.timRefresh = new System.Windows.Forms.Timer(this.components);
|
this.timRefresh = new System.Windows.Forms.Timer(this.components);
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
@@ -74,7 +74,6 @@
|
|||||||
//
|
//
|
||||||
this.txtID.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtID.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.txtID.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.txtID.Location = new System.Drawing.Point(98, 39);
|
this.txtID.Location = new System.Drawing.Point(98, 39);
|
||||||
this.txtID.Name = "txtID";
|
this.txtID.Name = "txtID";
|
||||||
this.txtID.ReadOnly = true;
|
this.txtID.ReadOnly = true;
|
||||||
@@ -127,7 +126,6 @@
|
|||||||
//
|
//
|
||||||
this.txtDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.txtDescription.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.txtDescription.Location = new System.Drawing.Point(98, 163);
|
this.txtDescription.Location = new System.Drawing.Point(98, 163);
|
||||||
this.txtDescription.Name = "txtDescription";
|
this.txtDescription.Name = "txtDescription";
|
||||||
this.txtDescription.ReadOnly = true;
|
this.txtDescription.ReadOnly = true;
|
||||||
@@ -138,7 +136,6 @@
|
|||||||
//
|
//
|
||||||
this.txtInterface.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtInterface.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.txtInterface.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.txtInterface.Location = new System.Drawing.Point(98, 189);
|
this.txtInterface.Location = new System.Drawing.Point(98, 189);
|
||||||
this.txtInterface.Name = "txtInterface";
|
this.txtInterface.Name = "txtInterface";
|
||||||
this.txtInterface.ReadOnly = true;
|
this.txtInterface.ReadOnly = true;
|
||||||
@@ -149,7 +146,6 @@
|
|||||||
//
|
//
|
||||||
this.txtMAC.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtMAC.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.txtMAC.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.txtMAC.Location = new System.Drawing.Point(98, 215);
|
this.txtMAC.Location = new System.Drawing.Point(98, 215);
|
||||||
this.txtMAC.Name = "txtMAC";
|
this.txtMAC.Name = "txtMAC";
|
||||||
this.txtMAC.ReadOnly = true;
|
this.txtMAC.ReadOnly = true;
|
||||||
@@ -206,7 +202,6 @@
|
|||||||
this.txtIPs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.txtIPs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.txtIPs.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.txtIPs.Location = new System.Drawing.Point(12, 260);
|
this.txtIPs.Location = new System.Drawing.Point(12, 260);
|
||||||
this.txtIPs.Multiline = true;
|
this.txtIPs.Multiline = true;
|
||||||
this.txtIPs.Name = "txtIPs";
|
this.txtIPs.Name = "txtIPs";
|
||||||
@@ -230,8 +225,6 @@
|
|||||||
//
|
//
|
||||||
// FrmNetworkInfo
|
// FrmNetworkInfo
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(534, 476);
|
this.ClientSize = new System.Drawing.Size(534, 476);
|
||||||
this.Controls.Add(this.lblIPs);
|
this.Controls.Add(this.lblIPs);
|
||||||
this.Controls.Add(this.txtIPs);
|
this.Controls.Add(this.txtIPs);
|
||||||
@@ -263,20 +256,20 @@
|
|||||||
|
|
||||||
private System.Windows.Forms.ComboBox ddlNetworkInterfaces;
|
private System.Windows.Forms.ComboBox ddlNetworkInterfaces;
|
||||||
private System.Windows.Forms.Label lblID;
|
private System.Windows.Forms.Label lblID;
|
||||||
private System.Windows.Forms.TextBox txtID;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtID;
|
||||||
private System.Windows.Forms.Label lblName;
|
private System.Windows.Forms.Label lblName;
|
||||||
private System.Windows.Forms.TextBox txtName;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtName;
|
||||||
private System.Windows.Forms.TextBox txtStatus;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtStatus;
|
||||||
private System.Windows.Forms.TextBox txtSpeed;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtSpeed;
|
||||||
private System.Windows.Forms.TextBox txtDescription;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtDescription;
|
||||||
private System.Windows.Forms.TextBox txtInterface;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtInterface;
|
||||||
private System.Windows.Forms.TextBox txtMAC;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtMAC;
|
||||||
private System.Windows.Forms.Label lblStatus;
|
private System.Windows.Forms.Label lblStatus;
|
||||||
private System.Windows.Forms.Label lblSpeed;
|
private System.Windows.Forms.Label lblSpeed;
|
||||||
private System.Windows.Forms.Label lblDescription;
|
private System.Windows.Forms.Label lblDescription;
|
||||||
private System.Windows.Forms.Label lblInterface;
|
private System.Windows.Forms.Label lblInterface;
|
||||||
private System.Windows.Forms.Label lblMAC;
|
private System.Windows.Forms.Label lblMAC;
|
||||||
private System.Windows.Forms.TextBox txtIPs;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtIPs;
|
||||||
private System.Windows.Forms.Label lblIPs;
|
private System.Windows.Forms.Label lblIPs;
|
||||||
private System.Windows.Forms.Timer timRefresh;
|
private System.Windows.Forms.Timer timRefresh;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,10 +5,11 @@ using System.Net;
|
|||||||
using System.Net.NetworkInformation;
|
using System.Net.NetworkInformation;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class FrmNetworkInfo : Form, IToolForm
|
public partial class FrmNetworkInfo : Frame, IToolForm
|
||||||
{
|
{
|
||||||
public string ToolName { get { return "NetworkInfo"; } }
|
public string ToolName { get { return "NetworkInfo"; } }
|
||||||
|
|
||||||
|
|||||||
12
VAR.Toolbox/UI/Tools/FrmProxyCmd.Designer.cs
generated
12
VAR.Toolbox/UI/Tools/FrmProxyCmd.Designer.cs
generated
@@ -29,8 +29,8 @@
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.splitMain = new System.Windows.Forms.SplitContainer();
|
this.splitMain = new System.Windows.Forms.SplitContainer();
|
||||||
this.txtOutput = new System.Windows.Forms.TextBox();
|
this.txtOutput = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtInput = new System.Windows.Forms.TextBox();
|
this.txtInput = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.ddlCurrentConfig = new System.Windows.Forms.ComboBox();
|
this.ddlCurrentConfig = new System.Windows.Forms.ComboBox();
|
||||||
this.btnConfig = new System.Windows.Forms.Button();
|
this.btnConfig = new System.Windows.Forms.Button();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitMain)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitMain)).BeginInit();
|
||||||
@@ -66,7 +66,6 @@
|
|||||||
//
|
//
|
||||||
this.txtOutput.BackColor = System.Drawing.Color.Black;
|
this.txtOutput.BackColor = System.Drawing.Color.Black;
|
||||||
this.txtOutput.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.txtOutput.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.txtOutput.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.txtOutput.ForeColor = System.Drawing.Color.Silver;
|
this.txtOutput.ForeColor = System.Drawing.Color.Silver;
|
||||||
this.txtOutput.Location = new System.Drawing.Point(0, 0);
|
this.txtOutput.Location = new System.Drawing.Point(0, 0);
|
||||||
this.txtOutput.Multiline = true;
|
this.txtOutput.Multiline = true;
|
||||||
@@ -81,7 +80,6 @@
|
|||||||
//
|
//
|
||||||
this.txtInput.BackColor = System.Drawing.Color.Black;
|
this.txtInput.BackColor = System.Drawing.Color.Black;
|
||||||
this.txtInput.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.txtInput.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.txtInput.Font = new System.Drawing.Font("Consolas", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.txtInput.ForeColor = System.Drawing.Color.Silver;
|
this.txtInput.ForeColor = System.Drawing.Color.Silver;
|
||||||
this.txtInput.Location = new System.Drawing.Point(0, 0);
|
this.txtInput.Location = new System.Drawing.Point(0, 0);
|
||||||
this.txtInput.Multiline = true;
|
this.txtInput.Multiline = true;
|
||||||
@@ -116,8 +114,6 @@
|
|||||||
//
|
//
|
||||||
// FrmProxyCmd
|
// FrmProxyCmd
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(413, 446);
|
this.ClientSize = new System.Drawing.Size(413, 446);
|
||||||
this.Controls.Add(this.btnConfig);
|
this.Controls.Add(this.btnConfig);
|
||||||
this.Controls.Add(this.ddlCurrentConfig);
|
this.Controls.Add(this.ddlCurrentConfig);
|
||||||
@@ -137,8 +133,8 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.SplitContainer splitMain;
|
private System.Windows.Forms.SplitContainer splitMain;
|
||||||
private System.Windows.Forms.TextBox txtOutput;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtOutput;
|
||||||
private System.Windows.Forms.TextBox txtInput;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtInput;
|
||||||
private System.Windows.Forms.ComboBox ddlCurrentConfig;
|
private System.Windows.Forms.ComboBox ddlCurrentConfig;
|
||||||
private System.Windows.Forms.Button btnConfig;
|
private System.Windows.Forms.Button btnConfig;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,10 +6,11 @@ using System.Threading;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using VAR.Toolbox.Code;
|
using VAR.Toolbox.Code;
|
||||||
using VAR.Toolbox.Code.ProxyCmdExecutors;
|
using VAR.Toolbox.Code.ProxyCmdExecutors;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class FrmProxyCmd : Form, IOutputHandler, IToolForm
|
public partial class FrmProxyCmd : Frame, IOutputHandler, IToolForm
|
||||||
{
|
{
|
||||||
public string ToolName { get { return "ProxyCmd"; } }
|
public string ToolName { get { return "ProxyCmd"; } }
|
||||||
|
|
||||||
|
|||||||
14
VAR.Toolbox/UI/Tools/FrmProxyCmdConfig.Designer.cs
generated
14
VAR.Toolbox/UI/Tools/FrmProxyCmdConfig.Designer.cs
generated
@@ -28,12 +28,12 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.lsvCmdProxyConfigs = new System.Windows.Forms.ListBox();
|
this.lsvCmdProxyConfigs = new VAR.Toolbox.Controls.ListBoxNormal();
|
||||||
this.txtCmdProxyConfigName = new System.Windows.Forms.TextBox();
|
this.txtCmdProxyConfigName = new VAR.Toolbox.Controls.TextBoxNormal();
|
||||||
this.btnSave = new System.Windows.Forms.Button();
|
this.btnSave = new System.Windows.Forms.Button();
|
||||||
this.btnDelete = new System.Windows.Forms.Button();
|
this.btnDelete = new System.Windows.Forms.Button();
|
||||||
this.btnNew = new System.Windows.Forms.Button();
|
this.btnNew = new System.Windows.Forms.Button();
|
||||||
this.txtCmdProxyConfigContent = new System.Windows.Forms.TextBox();
|
this.txtCmdProxyConfigContent = new VAR.Toolbox.Controls.TextBoxNormal();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// lsvCmdProxyConfigs
|
// lsvCmdProxyConfigs
|
||||||
@@ -102,8 +102,6 @@
|
|||||||
//
|
//
|
||||||
// FrmProxyCmdConfig
|
// FrmProxyCmdConfig
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(496, 386);
|
this.ClientSize = new System.Drawing.Size(496, 386);
|
||||||
this.Controls.Add(this.txtCmdProxyConfigContent);
|
this.Controls.Add(this.txtCmdProxyConfigContent);
|
||||||
this.Controls.Add(this.btnNew);
|
this.Controls.Add(this.btnNew);
|
||||||
@@ -121,11 +119,11 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.ListBox lsvCmdProxyConfigs;
|
private VAR.Toolbox.Controls.ListBoxNormal lsvCmdProxyConfigs;
|
||||||
private System.Windows.Forms.TextBox txtCmdProxyConfigName;
|
private VAR.Toolbox.Controls.TextBoxNormal txtCmdProxyConfigName;
|
||||||
private System.Windows.Forms.Button btnSave;
|
private System.Windows.Forms.Button btnSave;
|
||||||
private System.Windows.Forms.Button btnDelete;
|
private System.Windows.Forms.Button btnDelete;
|
||||||
private System.Windows.Forms.Button btnNew;
|
private System.Windows.Forms.Button btnNew;
|
||||||
private System.Windows.Forms.TextBox txtCmdProxyConfigContent;
|
private VAR.Toolbox.Controls.TextBoxNormal txtCmdProxyConfigContent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4,11 +4,11 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class FrmProxyCmdConfig : Form
|
public partial class FrmProxyCmdConfig : Frame
|
||||||
{
|
{
|
||||||
public FrmProxyCmdConfig()
|
public FrmProxyCmdConfig()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -71,8 +71,6 @@
|
|||||||
//
|
//
|
||||||
// FrmScreenshooter
|
// FrmScreenshooter
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(605, 425);
|
this.ClientSize = new System.Drawing.Size(605, 425);
|
||||||
this.Controls.Add(this.btnStartStop);
|
this.Controls.Add(this.btnStartStop);
|
||||||
this.Controls.Add(this.btnScreenshoot);
|
this.Controls.Add(this.btnScreenshoot);
|
||||||
|
|||||||
@@ -3,10 +3,11 @@ using System.ComponentModel;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using VAR.Toolbox.Code;
|
using VAR.Toolbox.Code;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class FrmScreenshooter : Form, IToolForm
|
public partial class FrmScreenshooter : Frame, IToolForm
|
||||||
{
|
{
|
||||||
public string ToolName { get { return "Screenshooter"; } }
|
public string ToolName { get { return "Screenshooter"; } }
|
||||||
|
|
||||||
|
|||||||
79
VAR.Toolbox/UI/Tools/FrmTestWebService.Designer.cs
generated
79
VAR.Toolbox/UI/Tools/FrmTestWebService.Designer.cs
generated
@@ -32,27 +32,27 @@
|
|||||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||||
this.btnTestSoap = new System.Windows.Forms.Button();
|
this.btnTestSoap = new System.Windows.Forms.Button();
|
||||||
this.label5 = new System.Windows.Forms.Label();
|
this.label5 = new System.Windows.Forms.Label();
|
||||||
this.txtResultSoap = new System.Windows.Forms.TextBox();
|
this.txtResultSoap = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtParametersSoap = new System.Windows.Forms.TextBox();
|
this.txtParametersSoap = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtMethodSoap = new System.Windows.Forms.TextBox();
|
this.txtMethodSoap = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtInterfaceSoap = new System.Windows.Forms.TextBox();
|
this.txtNamespaceUrlSoap = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtUrlSoap = new System.Windows.Forms.TextBox();
|
this.txtUrlSoap = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||||
this.label6 = new System.Windows.Forms.Label();
|
this.label6 = new System.Windows.Forms.Label();
|
||||||
this.txtResultRest = new System.Windows.Forms.TextBox();
|
this.txtResultRest = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.btnTestRest = new System.Windows.Forms.Button();
|
this.btnTestRest = new System.Windows.Forms.Button();
|
||||||
this.label7 = new System.Windows.Forms.Label();
|
this.label7 = new System.Windows.Forms.Label();
|
||||||
this.label8 = new System.Windows.Forms.Label();
|
this.label8 = new System.Windows.Forms.Label();
|
||||||
this.lblUrlApiMethod = new System.Windows.Forms.Label();
|
this.lblUrlApiMethod = new System.Windows.Forms.Label();
|
||||||
this.lblURL = new System.Windows.Forms.Label();
|
this.lblURL = new System.Windows.Forms.Label();
|
||||||
this.txtBodyRest = new System.Windows.Forms.TextBox();
|
this.txtBodyRest = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtParametersRest = new System.Windows.Forms.TextBox();
|
this.txtParametersRest = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtUrlApiMethodRest = new System.Windows.Forms.TextBox();
|
this.txtUrlApiMethodRest = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtUrlRest = new System.Windows.Forms.TextBox();
|
this.txtUrlRest = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.tabWebServices.SuspendLayout();
|
this.tabWebServices.SuspendLayout();
|
||||||
this.tabPage1.SuspendLayout();
|
this.tabPage1.SuspendLayout();
|
||||||
this.tabPage2.SuspendLayout();
|
this.tabPage2.SuspendLayout();
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
this.tabPage1.Controls.Add(this.txtResultSoap);
|
this.tabPage1.Controls.Add(this.txtResultSoap);
|
||||||
this.tabPage1.Controls.Add(this.txtParametersSoap);
|
this.tabPage1.Controls.Add(this.txtParametersSoap);
|
||||||
this.tabPage1.Controls.Add(this.txtMethodSoap);
|
this.tabPage1.Controls.Add(this.txtMethodSoap);
|
||||||
this.tabPage1.Controls.Add(this.txtInterfaceSoap);
|
this.tabPage1.Controls.Add(this.txtNamespaceUrlSoap);
|
||||||
this.tabPage1.Controls.Add(this.txtUrlSoap);
|
this.tabPage1.Controls.Add(this.txtUrlSoap);
|
||||||
this.tabPage1.Controls.Add(this.label4);
|
this.tabPage1.Controls.Add(this.label4);
|
||||||
this.tabPage1.Controls.Add(this.label3);
|
this.tabPage1.Controls.Add(this.label3);
|
||||||
@@ -116,6 +116,7 @@
|
|||||||
this.txtResultSoap.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.txtResultSoap.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.txtResultSoap.Font = new System.Drawing.Font("Consolas", 6F);
|
||||||
this.txtResultSoap.Location = new System.Drawing.Point(6, 219);
|
this.txtResultSoap.Location = new System.Drawing.Point(6, 219);
|
||||||
this.txtResultSoap.Multiline = true;
|
this.txtResultSoap.Multiline = true;
|
||||||
this.txtResultSoap.Name = "txtResultSoap";
|
this.txtResultSoap.Name = "txtResultSoap";
|
||||||
@@ -127,6 +128,7 @@
|
|||||||
//
|
//
|
||||||
this.txtParametersSoap.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtParametersSoap.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.txtParametersSoap.Font = new System.Drawing.Font("Consolas", 6F);
|
||||||
this.txtParametersSoap.Location = new System.Drawing.Point(100, 81);
|
this.txtParametersSoap.Location = new System.Drawing.Point(100, 81);
|
||||||
this.txtParametersSoap.Multiline = true;
|
this.txtParametersSoap.Multiline = true;
|
||||||
this.txtParametersSoap.Name = "txtParametersSoap";
|
this.txtParametersSoap.Name = "txtParametersSoap";
|
||||||
@@ -138,27 +140,30 @@
|
|||||||
//
|
//
|
||||||
this.txtMethodSoap.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtMethodSoap.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.txtMethodSoap.Font = new System.Drawing.Font("Consolas", 6F);
|
||||||
this.txtMethodSoap.Location = new System.Drawing.Point(100, 55);
|
this.txtMethodSoap.Location = new System.Drawing.Point(100, 55);
|
||||||
this.txtMethodSoap.Name = "txtMethodSoap";
|
this.txtMethodSoap.Name = "txtMethodSoap";
|
||||||
this.txtMethodSoap.Size = new System.Drawing.Size(571, 20);
|
this.txtMethodSoap.Size = new System.Drawing.Size(571, 22);
|
||||||
this.txtMethodSoap.TabIndex = 17;
|
this.txtMethodSoap.TabIndex = 17;
|
||||||
//
|
//
|
||||||
// txtInterfaceSoap
|
// txtNamespaceUrlSoap
|
||||||
//
|
//
|
||||||
this.txtInterfaceSoap.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtNamespaceUrlSoap.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.txtInterfaceSoap.Location = new System.Drawing.Point(100, 29);
|
this.txtNamespaceUrlSoap.Font = new System.Drawing.Font("Consolas", 6F);
|
||||||
this.txtInterfaceSoap.Name = "txtInterfaceSoap";
|
this.txtNamespaceUrlSoap.Location = new System.Drawing.Point(100, 29);
|
||||||
this.txtInterfaceSoap.Size = new System.Drawing.Size(571, 20);
|
this.txtNamespaceUrlSoap.Name = "txtNamespaceUrlSoap";
|
||||||
this.txtInterfaceSoap.TabIndex = 16;
|
this.txtNamespaceUrlSoap.Size = new System.Drawing.Size(571, 22);
|
||||||
|
this.txtNamespaceUrlSoap.TabIndex = 16;
|
||||||
//
|
//
|
||||||
// txtUrlSoap
|
// txtUrlSoap
|
||||||
//
|
//
|
||||||
this.txtUrlSoap.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtUrlSoap.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.txtUrlSoap.Font = new System.Drawing.Font("Consolas", 6F);
|
||||||
this.txtUrlSoap.Location = new System.Drawing.Point(100, 6);
|
this.txtUrlSoap.Location = new System.Drawing.Point(100, 6);
|
||||||
this.txtUrlSoap.Name = "txtUrlSoap";
|
this.txtUrlSoap.Name = "txtUrlSoap";
|
||||||
this.txtUrlSoap.Size = new System.Drawing.Size(571, 20);
|
this.txtUrlSoap.Size = new System.Drawing.Size(571, 22);
|
||||||
this.txtUrlSoap.TabIndex = 15;
|
this.txtUrlSoap.TabIndex = 15;
|
||||||
//
|
//
|
||||||
// label4
|
// label4
|
||||||
@@ -184,9 +189,9 @@
|
|||||||
this.label2.AutoSize = true;
|
this.label2.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(8, 32);
|
this.label2.Location = new System.Drawing.Point(8, 32);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
this.label2.Size = new System.Drawing.Size(49, 13);
|
this.label2.Size = new System.Drawing.Size(77, 13);
|
||||||
this.label2.TabIndex = 12;
|
this.label2.TabIndex = 12;
|
||||||
this.label2.Text = "Interface";
|
this.label2.Text = "NamespaceUrl";
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
@@ -232,6 +237,7 @@
|
|||||||
this.txtResultRest.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.txtResultRest.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.txtResultRest.Font = new System.Drawing.Font("Consolas", 6F);
|
||||||
this.txtResultRest.Location = new System.Drawing.Point(8, 213);
|
this.txtResultRest.Location = new System.Drawing.Point(8, 213);
|
||||||
this.txtResultRest.Multiline = true;
|
this.txtResultRest.Multiline = true;
|
||||||
this.txtResultRest.Name = "txtResultRest";
|
this.txtResultRest.Name = "txtResultRest";
|
||||||
@@ -290,6 +296,7 @@
|
|||||||
//
|
//
|
||||||
this.txtBodyRest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtBodyRest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.txtBodyRest.Font = new System.Drawing.Font("Consolas", 6F);
|
||||||
this.txtBodyRest.Location = new System.Drawing.Point(119, 119);
|
this.txtBodyRest.Location = new System.Drawing.Point(119, 119);
|
||||||
this.txtBodyRest.Multiline = true;
|
this.txtBodyRest.Multiline = true;
|
||||||
this.txtBodyRest.Name = "txtBodyRest";
|
this.txtBodyRest.Name = "txtBodyRest";
|
||||||
@@ -301,6 +308,7 @@
|
|||||||
//
|
//
|
||||||
this.txtParametersRest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtParametersRest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.txtParametersRest.Font = new System.Drawing.Font("Consolas", 6F);
|
||||||
this.txtParametersRest.Location = new System.Drawing.Point(119, 63);
|
this.txtParametersRest.Location = new System.Drawing.Point(119, 63);
|
||||||
this.txtParametersRest.Multiline = true;
|
this.txtParametersRest.Multiline = true;
|
||||||
this.txtParametersRest.Name = "txtParametersRest";
|
this.txtParametersRest.Name = "txtParametersRest";
|
||||||
@@ -312,26 +320,27 @@
|
|||||||
//
|
//
|
||||||
this.txtUrlApiMethodRest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtUrlApiMethodRest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.txtUrlApiMethodRest.Font = new System.Drawing.Font("Consolas", 6F);
|
||||||
this.txtUrlApiMethodRest.Location = new System.Drawing.Point(119, 36);
|
this.txtUrlApiMethodRest.Location = new System.Drawing.Point(119, 36);
|
||||||
this.txtUrlApiMethodRest.Name = "txtUrlApiMethodRest";
|
this.txtUrlApiMethodRest.Name = "txtUrlApiMethodRest";
|
||||||
this.txtUrlApiMethodRest.Size = new System.Drawing.Size(547, 20);
|
this.txtUrlApiMethodRest.Size = new System.Drawing.Size(547, 22);
|
||||||
this.txtUrlApiMethodRest.TabIndex = 12;
|
this.txtUrlApiMethodRest.TabIndex = 12;
|
||||||
//
|
//
|
||||||
// txtUrlRest
|
// txtUrlRest
|
||||||
//
|
//
|
||||||
this.txtUrlRest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtUrlRest.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.txtUrlRest.Font = new System.Drawing.Font("Consolas", 6F);
|
||||||
this.txtUrlRest.Location = new System.Drawing.Point(119, 9);
|
this.txtUrlRest.Location = new System.Drawing.Point(119, 9);
|
||||||
this.txtUrlRest.Name = "txtUrlRest";
|
this.txtUrlRest.Name = "txtUrlRest";
|
||||||
this.txtUrlRest.Size = new System.Drawing.Size(547, 20);
|
this.txtUrlRest.Size = new System.Drawing.Size(547, 22);
|
||||||
this.txtUrlRest.TabIndex = 11;
|
this.txtUrlRest.TabIndex = 11;
|
||||||
//
|
//
|
||||||
// FrmTestWebService
|
// FrmTestWebService
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(682, 521);
|
this.ClientSize = new System.Drawing.Size(682, 521);
|
||||||
this.Controls.Add(this.tabWebServices);
|
this.Controls.Add(this.tabWebServices);
|
||||||
|
this.Location = new System.Drawing.Point(0, 0);
|
||||||
this.Name = "FrmTestWebService";
|
this.Name = "FrmTestWebService";
|
||||||
this.Text = "FrmTestWebService";
|
this.Text = "FrmTestWebService";
|
||||||
this.tabWebServices.ResumeLayout(false);
|
this.tabWebServices.ResumeLayout(false);
|
||||||
@@ -350,25 +359,25 @@
|
|||||||
private System.Windows.Forms.TabPage tabPage2;
|
private System.Windows.Forms.TabPage tabPage2;
|
||||||
private System.Windows.Forms.Button btnTestSoap;
|
private System.Windows.Forms.Button btnTestSoap;
|
||||||
private System.Windows.Forms.Label label5;
|
private System.Windows.Forms.Label label5;
|
||||||
private System.Windows.Forms.TextBox txtResultSoap;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtResultSoap;
|
||||||
private System.Windows.Forms.TextBox txtParametersSoap;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtParametersSoap;
|
||||||
private System.Windows.Forms.TextBox txtMethodSoap;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtMethodSoap;
|
||||||
private System.Windows.Forms.TextBox txtInterfaceSoap;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtNamespaceUrlSoap;
|
||||||
private System.Windows.Forms.TextBox txtUrlSoap;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtUrlSoap;
|
||||||
private System.Windows.Forms.Label label4;
|
private System.Windows.Forms.Label label4;
|
||||||
private System.Windows.Forms.Label label3;
|
private System.Windows.Forms.Label label3;
|
||||||
private System.Windows.Forms.Label label2;
|
private System.Windows.Forms.Label label2;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
private System.Windows.Forms.Label label6;
|
private System.Windows.Forms.Label label6;
|
||||||
private System.Windows.Forms.TextBox txtResultRest;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtResultRest;
|
||||||
private System.Windows.Forms.Button btnTestRest;
|
private System.Windows.Forms.Button btnTestRest;
|
||||||
private System.Windows.Forms.Label label7;
|
private System.Windows.Forms.Label label7;
|
||||||
private System.Windows.Forms.Label label8;
|
private System.Windows.Forms.Label label8;
|
||||||
private System.Windows.Forms.Label lblUrlApiMethod;
|
private System.Windows.Forms.Label lblUrlApiMethod;
|
||||||
private System.Windows.Forms.Label lblURL;
|
private System.Windows.Forms.Label lblURL;
|
||||||
private System.Windows.Forms.TextBox txtBodyRest;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtBodyRest;
|
||||||
private System.Windows.Forms.TextBox txtParametersRest;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtParametersRest;
|
||||||
private System.Windows.Forms.TextBox txtUrlApiMethodRest;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtUrlApiMethodRest;
|
||||||
private System.Windows.Forms.TextBox txtUrlRest;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtUrlRest;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -9,7 +9,7 @@ using System.Xml;
|
|||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class FrmTestWebService : Form, IToolForm
|
public partial class FrmTestWebService : Frame, IToolForm
|
||||||
{
|
{
|
||||||
public string ToolName { get { return "TestWebService"; } }
|
public string ToolName { get { return "TestWebService"; } }
|
||||||
|
|
||||||
@@ -25,11 +25,11 @@ namespace VAR.Toolbox.UI
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
string url = txtUrlSoap.Text;
|
string url = txtUrlSoap.Text;
|
||||||
string iface = txtInterfaceSoap.Text;
|
string namespaceUrl = txtNamespaceUrlSoap.Text;
|
||||||
string method = txtMethodSoap.Text;
|
string method = txtMethodSoap.Text;
|
||||||
Dictionary<string, string> parms = StringToDictionary(txtParametersSoap.Text);
|
Dictionary<string, string> parms = StringToDictionary(txtParametersSoap.Text);
|
||||||
|
|
||||||
Dictionary<string, string> result = CallSoapMethod(url, iface, method, parms);
|
Dictionary<string, string> result = CallSoapMethod(url, namespaceUrl, method, parms);
|
||||||
|
|
||||||
txtResultSoap.Text = DictionaryToString(result);
|
txtResultSoap.Text = DictionaryToString(result);
|
||||||
}
|
}
|
||||||
|
|||||||
14
VAR.Toolbox/UI/Tools/FrmTunnelTCP.Designer.cs
generated
14
VAR.Toolbox/UI/Tools/FrmTunnelTCP.Designer.cs
generated
@@ -33,9 +33,9 @@
|
|||||||
this.lblRemoteHost = new System.Windows.Forms.Label();
|
this.lblRemoteHost = new System.Windows.Forms.Label();
|
||||||
this.lblRemotePort = new System.Windows.Forms.Label();
|
this.lblRemotePort = new System.Windows.Forms.Label();
|
||||||
this.lblLocalPort = new System.Windows.Forms.Label();
|
this.lblLocalPort = new System.Windows.Forms.Label();
|
||||||
this.txtRemoteHost = new System.Windows.Forms.TextBox();
|
this.txtRemoteHost = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtRemotePort = new System.Windows.Forms.TextBox();
|
this.txtRemotePort = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.txtLocalPort = new System.Windows.Forms.TextBox();
|
this.txtLocalPort = new VAR.Toolbox.Controls.TextBoxMonospace();
|
||||||
this.ctrOutput = new VAR.Toolbox.Controls.CtrOutput();
|
this.ctrOutput = new VAR.Toolbox.Controls.CtrOutput();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
@@ -123,8 +123,6 @@
|
|||||||
//
|
//
|
||||||
// FrmTunnelTCP
|
// FrmTunnelTCP
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(451, 425);
|
this.ClientSize = new System.Drawing.Size(451, 425);
|
||||||
this.Controls.Add(this.ctrOutput);
|
this.Controls.Add(this.ctrOutput);
|
||||||
this.Controls.Add(this.txtLocalPort);
|
this.Controls.Add(this.txtLocalPort);
|
||||||
@@ -151,9 +149,9 @@
|
|||||||
private System.Windows.Forms.Label lblRemoteHost;
|
private System.Windows.Forms.Label lblRemoteHost;
|
||||||
private System.Windows.Forms.Label lblRemotePort;
|
private System.Windows.Forms.Label lblRemotePort;
|
||||||
private System.Windows.Forms.Label lblLocalPort;
|
private System.Windows.Forms.Label lblLocalPort;
|
||||||
private System.Windows.Forms.TextBox txtRemoteHost;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtRemoteHost;
|
||||||
private System.Windows.Forms.TextBox txtRemotePort;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtRemotePort;
|
||||||
private System.Windows.Forms.TextBox txtLocalPort;
|
private VAR.Toolbox.Controls.TextBoxMonospace txtLocalPort;
|
||||||
private VAR.Toolbox.Controls.CtrOutput ctrOutput;
|
private VAR.Toolbox.Controls.CtrOutput ctrOutput;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2,11 +2,11 @@
|
|||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Net.Sockets;
|
using System.Net.Sockets;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Windows.Forms;
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class FrmTunnelTCP : Form, IToolForm
|
public partial class FrmTunnelTCP : Frame, IToolForm
|
||||||
{
|
{
|
||||||
public string ToolName { get { return "TunnelTCP"; } }
|
public string ToolName { get { return "TunnelTCP"; } }
|
||||||
|
|
||||||
|
|||||||
2
VAR.Toolbox/UI/Tools/FrmWebcam.Designer.cs
generated
2
VAR.Toolbox/UI/Tools/FrmWebcam.Designer.cs
generated
@@ -74,8 +74,6 @@
|
|||||||
//
|
//
|
||||||
// FrmWebcam
|
// FrmWebcam
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(558, 554);
|
this.ClientSize = new System.Drawing.Size(558, 554);
|
||||||
this.Controls.Add(this.cboWebcams);
|
this.Controls.Add(this.cboWebcams);
|
||||||
this.Controls.Add(this.btnStartStop);
|
this.Controls.Add(this.btnStartStop);
|
||||||
|
|||||||
@@ -3,10 +3,11 @@ using System.Collections.Generic;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using VAR.Toolbox.Code;
|
using VAR.Toolbox.Code;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class FrmWebcam : Form, IToolForm
|
public partial class FrmWebcam : Frame, IToolForm
|
||||||
{
|
{
|
||||||
public string ToolName { get { return "Webcam"; } }
|
public string ToolName { get { return "Webcam"; } }
|
||||||
|
|
||||||
|
|||||||
10
VAR.Toolbox/UI/Tools/PnlActivity.Designer.cs
generated
10
VAR.Toolbox/UI/Tools/PnlActivity.Designer.cs
generated
@@ -32,7 +32,7 @@
|
|||||||
this.grpActivity = new System.Windows.Forms.GroupBox();
|
this.grpActivity = new System.Windows.Forms.GroupBox();
|
||||||
this.lblActive = new System.Windows.Forms.Label();
|
this.lblActive = new System.Windows.Forms.Label();
|
||||||
this.lblActiveWindowTitle = new System.Windows.Forms.Label();
|
this.lblActiveWindowTitle = new System.Windows.Forms.Label();
|
||||||
this.txtCurrentActivity = new System.Windows.Forms.TextBox();
|
this.txtCurrentActivity = new VAR.Toolbox.Controls.TextBoxNormal();
|
||||||
this.timTicker = new System.Windows.Forms.Timer(this.components);
|
this.timTicker = new System.Windows.Forms.Timer(this.components);
|
||||||
this.grpActivity.SuspendLayout();
|
this.grpActivity.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
// lblActive
|
// lblActive
|
||||||
//
|
//
|
||||||
this.lblActive.AutoSize = true;
|
this.lblActive.AutoSize = true;
|
||||||
this.lblActive.Location = new System.Drawing.Point(7, 102);
|
this.lblActive.Location = new System.Drawing.Point(7, 109);
|
||||||
this.lblActive.Name = "lblActive";
|
this.lblActive.Name = "lblActive";
|
||||||
this.lblActive.Size = new System.Drawing.Size(37, 13);
|
this.lblActive.Size = new System.Drawing.Size(37, 13);
|
||||||
this.lblActive.TabIndex = 2;
|
this.lblActive.TabIndex = 2;
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
// lblActiveWindowTitle
|
// lblActiveWindowTitle
|
||||||
//
|
//
|
||||||
this.lblActiveWindowTitle.AutoSize = true;
|
this.lblActiveWindowTitle.AutoSize = true;
|
||||||
this.lblActiveWindowTitle.Location = new System.Drawing.Point(7, 85);
|
this.lblActiveWindowTitle.Location = new System.Drawing.Point(7, 81);
|
||||||
this.lblActiveWindowTitle.Name = "lblActiveWindowTitle";
|
this.lblActiveWindowTitle.Name = "lblActiveWindowTitle";
|
||||||
this.lblActiveWindowTitle.Size = new System.Drawing.Size(96, 13);
|
this.lblActiveWindowTitle.Size = new System.Drawing.Size(96, 13);
|
||||||
this.lblActiveWindowTitle.TabIndex = 1;
|
this.lblActiveWindowTitle.TabIndex = 1;
|
||||||
@@ -85,8 +85,6 @@
|
|||||||
//
|
//
|
||||||
// PnlActivity
|
// PnlActivity
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.Controls.Add(this.grpActivity);
|
this.Controls.Add(this.grpActivity);
|
||||||
this.Margin = new System.Windows.Forms.Padding(0);
|
this.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.Name = "PnlActivity";
|
this.Name = "PnlActivity";
|
||||||
@@ -102,7 +100,7 @@
|
|||||||
private System.Windows.Forms.GroupBox grpActivity;
|
private System.Windows.Forms.GroupBox grpActivity;
|
||||||
private System.Windows.Forms.Label lblActive;
|
private System.Windows.Forms.Label lblActive;
|
||||||
private System.Windows.Forms.Label lblActiveWindowTitle;
|
private System.Windows.Forms.Label lblActiveWindowTitle;
|
||||||
private System.Windows.Forms.TextBox txtCurrentActivity;
|
private VAR.Toolbox.Controls.TextBoxNormal txtCurrentActivity;
|
||||||
private System.Windows.Forms.Timer timTicker;
|
private System.Windows.Forms.Timer timTicker;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,13 +2,13 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows.Forms;
|
|
||||||
using VAR.Json;
|
using VAR.Json;
|
||||||
using VAR.Toolbox.Code.Windows;
|
using VAR.Toolbox.Code.Windows;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI.Tools
|
namespace VAR.Toolbox.UI.Tools
|
||||||
{
|
{
|
||||||
public partial class PnlActivity : UserControl, IToolPanel
|
public partial class PnlActivity : SubFrame, IToolPanel
|
||||||
{
|
{
|
||||||
public PnlActivity()
|
public PnlActivity()
|
||||||
{
|
{
|
||||||
|
|||||||
1
VAR.Toolbox/UI/Tools/PnlCover.Designer.cs
generated
1
VAR.Toolbox/UI/Tools/PnlCover.Designer.cs
generated
@@ -119,7 +119,6 @@
|
|||||||
//
|
//
|
||||||
// PnlCover
|
// PnlCover
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
||||||
this.Controls.Add(this.grpCover);
|
this.Controls.Add(this.grpCover);
|
||||||
this.Margin = new System.Windows.Forms.Padding(0);
|
this.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.Name = "PnlCover";
|
this.Name = "PnlCover";
|
||||||
|
|||||||
@@ -2,10 +2,11 @@
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using VAR.Toolbox.Code;
|
using VAR.Toolbox.Code;
|
||||||
using VAR.Toolbox.Code.Windows;
|
using VAR.Toolbox.Code.Windows;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class PnlCover : UserControl, IToolPanel
|
public partial class PnlCover : SubFrame, IToolPanel
|
||||||
{
|
{
|
||||||
public const string PreCoverEventName = "PreCover";
|
public const string PreCoverEventName = "PreCover";
|
||||||
public const string PostCoverEventName = "PostCover";
|
public const string PostCoverEventName = "PostCover";
|
||||||
|
|||||||
1
VAR.Toolbox/UI/Tools/PnlSuspension.Designer.cs
generated
1
VAR.Toolbox/UI/Tools/PnlSuspension.Designer.cs
generated
@@ -168,7 +168,6 @@
|
|||||||
//
|
//
|
||||||
// PnlSuspension
|
// PnlSuspension
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
|
||||||
this.Controls.Add(this.grpSuspension);
|
this.Controls.Add(this.grpSuspension);
|
||||||
this.Margin = new System.Windows.Forms.Padding(0);
|
this.Margin = new System.Windows.Forms.Padding(0);
|
||||||
this.Name = "PnlSuspension";
|
this.Name = "PnlSuspension";
|
||||||
|
|||||||
@@ -2,10 +2,11 @@
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using VAR.Toolbox.Code;
|
using VAR.Toolbox.Code;
|
||||||
using VAR.Toolbox.Code.Windows;
|
using VAR.Toolbox.Code.Windows;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI
|
namespace VAR.Toolbox.UI
|
||||||
{
|
{
|
||||||
public partial class PnlSuspension : UserControl, IToolPanel
|
public partial class PnlSuspension : SubFrame, IToolPanel
|
||||||
{
|
{
|
||||||
public const string PreSuspendEventName = "PreSuspend";
|
public const string PreSuspendEventName = "PreSuspend";
|
||||||
|
|
||||||
|
|||||||
22
VAR.Toolbox/UI/Tools/WorkLog/FrmWorkLog.Designer.cs
generated
22
VAR.Toolbox/UI/Tools/WorkLog/FrmWorkLog.Designer.cs
generated
@@ -33,21 +33,21 @@
|
|||||||
this.btnExport = new System.Windows.Forms.Button();
|
this.btnExport = new System.Windows.Forms.Button();
|
||||||
this.btnImport = new System.Windows.Forms.Button();
|
this.btnImport = new System.Windows.Forms.Button();
|
||||||
this.cboImporters = new System.Windows.Forms.ComboBox();
|
this.cboImporters = new System.Windows.Forms.ComboBox();
|
||||||
this.txtName = new System.Windows.Forms.TextBox();
|
this.txtName = new VAR.Toolbox.Controls.TextBoxNormal();
|
||||||
this.btnLoad = new System.Windows.Forms.Button();
|
this.btnLoad = new System.Windows.Forms.Button();
|
||||||
this.btnSave = new System.Windows.Forms.Button();
|
this.btnSave = new System.Windows.Forms.Button();
|
||||||
this.btnNextDay = new System.Windows.Forms.Button();
|
this.btnNextDay = new System.Windows.Forms.Button();
|
||||||
this.btnPreviousDay = new System.Windows.Forms.Button();
|
this.btnPreviousDay = new System.Windows.Forms.Button();
|
||||||
this.dtToday = new System.Windows.Forms.DateTimePicker();
|
this.dtToday = new System.Windows.Forms.DateTimePicker();
|
||||||
this.lsbWorkLog = new System.Windows.Forms.ListBox();
|
this.lsbWorkLog = new VAR.Toolbox.Controls.ListBoxMonospace();
|
||||||
this.btnSearch = new System.Windows.Forms.Button();
|
this.btnSearch = new System.Windows.Forms.Button();
|
||||||
this.btnStats = new System.Windows.Forms.Button();
|
this.btnStats = new System.Windows.Forms.Button();
|
||||||
this.lblWorkLogItemTime = new System.Windows.Forms.Label();
|
this.lblWorkLogItemTime = new System.Windows.Forms.Label();
|
||||||
this.btnRename = new System.Windows.Forms.Button();
|
this.btnRename = new System.Windows.Forms.Button();
|
||||||
this.dtEnd = new System.Windows.Forms.DateTimePicker();
|
this.dtEnd = new System.Windows.Forms.DateTimePicker();
|
||||||
this.dtStart = new System.Windows.Forms.DateTimePicker();
|
this.dtStart = new System.Windows.Forms.DateTimePicker();
|
||||||
this.txtDescription = new System.Windows.Forms.TextBox();
|
this.txtDescription = new VAR.Toolbox.Controls.TextBoxNormal();
|
||||||
this.txtActivity = new System.Windows.Forms.TextBox();
|
this.txtActivity = new VAR.Toolbox.Controls.TextBoxNormal();
|
||||||
this.btnDelete = new System.Windows.Forms.Button();
|
this.btnDelete = new System.Windows.Forms.Button();
|
||||||
this.btnAdd = new System.Windows.Forms.Button();
|
this.btnAdd = new System.Windows.Forms.Button();
|
||||||
this.btnSumary = new System.Windows.Forms.Button();
|
this.btnSumary = new System.Windows.Forms.Button();
|
||||||
@@ -201,11 +201,7 @@
|
|||||||
this.lsbWorkLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lsbWorkLog.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
this.lsbWorkLog.BackColor = System.Drawing.Color.Black;
|
|
||||||
this.lsbWorkLog.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
|
this.lsbWorkLog.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable;
|
||||||
this.lsbWorkLog.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.lsbWorkLog.ForeColor = System.Drawing.Color.Gray;
|
|
||||||
this.lsbWorkLog.FormattingEnabled = true;
|
|
||||||
this.lsbWorkLog.ItemHeight = 12;
|
this.lsbWorkLog.ItemHeight = 12;
|
||||||
this.lsbWorkLog.Location = new System.Drawing.Point(3, 60);
|
this.lsbWorkLog.Location = new System.Drawing.Point(3, 60);
|
||||||
this.lsbWorkLog.Name = "lsbWorkLog";
|
this.lsbWorkLog.Name = "lsbWorkLog";
|
||||||
@@ -334,8 +330,6 @@
|
|||||||
//
|
//
|
||||||
// FrmWorkLog
|
// FrmWorkLog
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(721, 603);
|
this.ClientSize = new System.Drawing.Size(721, 603);
|
||||||
this.Controls.Add(this.splitWindow);
|
this.Controls.Add(this.splitWindow);
|
||||||
this.Name = "FrmWorkLog";
|
this.Name = "FrmWorkLog";
|
||||||
@@ -355,9 +349,9 @@
|
|||||||
|
|
||||||
private System.Windows.Forms.SplitContainer splitWindow;
|
private System.Windows.Forms.SplitContainer splitWindow;
|
||||||
private System.Windows.Forms.DateTimePicker dtToday;
|
private System.Windows.Forms.DateTimePicker dtToday;
|
||||||
private System.Windows.Forms.ListBox lsbWorkLog;
|
private VAR.Toolbox.Controls.ListBoxMonospace lsbWorkLog;
|
||||||
private System.Windows.Forms.TextBox txtDescription;
|
private VAR.Toolbox.Controls.TextBoxNormal txtDescription;
|
||||||
private System.Windows.Forms.TextBox txtActivity;
|
private VAR.Toolbox.Controls.TextBoxNormal txtActivity;
|
||||||
private System.Windows.Forms.Button btnDelete;
|
private System.Windows.Forms.Button btnDelete;
|
||||||
private System.Windows.Forms.Button btnAdd;
|
private System.Windows.Forms.Button btnAdd;
|
||||||
private System.Windows.Forms.DateTimePicker dtEnd;
|
private System.Windows.Forms.DateTimePicker dtEnd;
|
||||||
@@ -365,7 +359,7 @@
|
|||||||
private System.Windows.Forms.Button btnNextDay;
|
private System.Windows.Forms.Button btnNextDay;
|
||||||
private System.Windows.Forms.Button btnPreviousDay;
|
private System.Windows.Forms.Button btnPreviousDay;
|
||||||
private System.Windows.Forms.Button btnSave;
|
private System.Windows.Forms.Button btnSave;
|
||||||
private System.Windows.Forms.TextBox txtName;
|
private VAR.Toolbox.Controls.TextBoxNormal txtName;
|
||||||
private System.Windows.Forms.Button btnLoad;
|
private System.Windows.Forms.Button btnLoad;
|
||||||
private System.Windows.Forms.ComboBox cboImporters;
|
private System.Windows.Forms.ComboBox cboImporters;
|
||||||
private System.Windows.Forms.Button btnExport;
|
private System.Windows.Forms.Button btnExport;
|
||||||
|
|||||||
@@ -7,10 +7,11 @@ using System.Text;
|
|||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using VAR.Json;
|
using VAR.Json;
|
||||||
using VAR.Toolbox.Code;
|
using VAR.Toolbox.Code;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI.Tools.WorkLog
|
namespace VAR.Toolbox.UI.Tools.WorkLog
|
||||||
{
|
{
|
||||||
public partial class FrmWorkLog : Form, IToolForm
|
public partial class FrmWorkLog : Frame, IToolForm
|
||||||
{
|
{
|
||||||
#region IToolForm
|
#region IToolForm
|
||||||
|
|
||||||
|
|||||||
@@ -28,9 +28,9 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.lsbDays = new System.Windows.Forms.ListBox();
|
this.lsbDays = new VAR.Toolbox.Controls.ListBoxNormal();
|
||||||
this.lblDateStart = new System.Windows.Forms.Label();
|
this.lblDateStart = new System.Windows.Forms.Label();
|
||||||
this.txtActivity = new System.Windows.Forms.TextBox();
|
this.txtActivity = new VAR.Toolbox.Controls.TextBoxNormal();
|
||||||
this.btnSearch = new System.Windows.Forms.Button();
|
this.btnSearch = new System.Windows.Forms.Button();
|
||||||
this.btnClose = new System.Windows.Forms.Button();
|
this.btnClose = new System.Windows.Forms.Button();
|
||||||
this.lblDateEnd = new System.Windows.Forms.Label();
|
this.lblDateEnd = new System.Windows.Forms.Label();
|
||||||
@@ -131,8 +131,6 @@
|
|||||||
//
|
//
|
||||||
// FrmWorkLogStats
|
// FrmWorkLogStats
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(417, 448);
|
this.ClientSize = new System.Drawing.Size(417, 448);
|
||||||
this.Controls.Add(this.dtpEnd);
|
this.Controls.Add(this.dtpEnd);
|
||||||
this.Controls.Add(this.dtpStart);
|
this.Controls.Add(this.dtpStart);
|
||||||
@@ -153,9 +151,9 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.ListBox lsbDays;
|
private VAR.Toolbox.Controls.ListBoxNormal lsbDays;
|
||||||
private System.Windows.Forms.Label lblDateStart;
|
private System.Windows.Forms.Label lblDateStart;
|
||||||
private System.Windows.Forms.TextBox txtActivity;
|
private VAR.Toolbox.Controls.TextBoxNormal txtActivity;
|
||||||
private System.Windows.Forms.Button btnSearch;
|
private System.Windows.Forms.Button btnSearch;
|
||||||
private System.Windows.Forms.Button btnClose;
|
private System.Windows.Forms.Button btnClose;
|
||||||
private System.Windows.Forms.Label lblDateEnd;
|
private System.Windows.Forms.Label lblDateEnd;
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Windows.Forms;
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI.Tools.WorkLog
|
namespace VAR.Toolbox.UI.Tools.WorkLog
|
||||||
{
|
{
|
||||||
public partial class FrmWorkLogStats : Form
|
public partial class FrmWorkLogStats : Frame
|
||||||
{
|
{
|
||||||
public FrmWorkLogStats()
|
public FrmWorkLogStats()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.lsbActivities = new System.Windows.Forms.ListBox();
|
this.lsbActivities = new VAR.Toolbox.Controls.ListBoxNormal();
|
||||||
this.lblDateStart = new System.Windows.Forms.Label();
|
this.lblDateStart = new System.Windows.Forms.Label();
|
||||||
this.btnSearch = new System.Windows.Forms.Button();
|
this.btnSearch = new System.Windows.Forms.Button();
|
||||||
this.btnClose = new System.Windows.Forms.Button();
|
this.btnClose = new System.Windows.Forms.Button();
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
this.dtpStart = new System.Windows.Forms.DateTimePicker();
|
this.dtpStart = new System.Windows.Forms.DateTimePicker();
|
||||||
this.dtpEnd = new System.Windows.Forms.DateTimePicker();
|
this.dtpEnd = new System.Windows.Forms.DateTimePicker();
|
||||||
this.chkOnlyGroups = new System.Windows.Forms.CheckBox();
|
this.chkOnlyGroups = new System.Windows.Forms.CheckBox();
|
||||||
this.txtActivity = new System.Windows.Forms.TextBox();
|
this.txtActivity = new VAR.Toolbox.Controls.TextBoxNormal();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// lsbActivities
|
// lsbActivities
|
||||||
@@ -145,8 +145,6 @@
|
|||||||
//
|
//
|
||||||
// FrmWorkLogSumary
|
// FrmWorkLogSumary
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
||||||
this.ClientSize = new System.Drawing.Size(417, 448);
|
this.ClientSize = new System.Drawing.Size(417, 448);
|
||||||
this.Controls.Add(this.txtActivity);
|
this.Controls.Add(this.txtActivity);
|
||||||
this.Controls.Add(this.chkOnlyGroups);
|
this.Controls.Add(this.chkOnlyGroups);
|
||||||
@@ -168,7 +166,7 @@
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.ListBox lsbActivities;
|
private VAR.Toolbox.Controls.ListBoxNormal lsbActivities;
|
||||||
private System.Windows.Forms.Label lblDateStart;
|
private System.Windows.Forms.Label lblDateStart;
|
||||||
private System.Windows.Forms.Button btnSearch;
|
private System.Windows.Forms.Button btnSearch;
|
||||||
private System.Windows.Forms.Button btnClose;
|
private System.Windows.Forms.Button btnClose;
|
||||||
@@ -177,6 +175,6 @@
|
|||||||
private System.Windows.Forms.DateTimePicker dtpStart;
|
private System.Windows.Forms.DateTimePicker dtpStart;
|
||||||
private System.Windows.Forms.DateTimePicker dtpEnd;
|
private System.Windows.Forms.DateTimePicker dtpEnd;
|
||||||
private System.Windows.Forms.CheckBox chkOnlyGroups;
|
private System.Windows.Forms.CheckBox chkOnlyGroups;
|
||||||
private System.Windows.Forms.TextBox txtActivity;
|
private VAR.Toolbox.Controls.TextBoxNormal txtActivity;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3,10 +3,11 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
using VAR.Toolbox.Controls;
|
||||||
|
|
||||||
namespace VAR.Toolbox.UI.Tools.WorkLog
|
namespace VAR.Toolbox.UI.Tools.WorkLog
|
||||||
{
|
{
|
||||||
public partial class FrmWorkLogSumary : Form
|
public partial class FrmWorkLogSumary : Frame
|
||||||
{
|
{
|
||||||
public FrmWorkLogSumary()
|
public FrmWorkLogSumary()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -127,12 +127,31 @@
|
|||||||
<Compile Include="Code\Windows\User32.cs" />
|
<Compile Include="Code\Windows\User32.cs" />
|
||||||
<Compile Include="Code\Webcam.cs" />
|
<Compile Include="Code\Webcam.cs" />
|
||||||
<Compile Include="Code\Windows\Win32.cs" />
|
<Compile Include="Code\Windows\Win32.cs" />
|
||||||
|
<Compile Include="Controls\ControlsUtils.cs" />
|
||||||
<Compile Include="Controls\CtrImageViewer.cs">
|
<Compile Include="Controls\CtrImageViewer.cs">
|
||||||
<SubType>Component</SubType>
|
<SubType>Component</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Controls\CtrOutput.cs">
|
<Compile Include="Controls\CtrOutput.cs">
|
||||||
<SubType>Component</SubType>
|
<SubType>Component</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="Controls\Frame.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Controls\ListBoxMonospace.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Controls\ListBoxNormal.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Controls\SubFrame.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Controls\TextBoxMonospace.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Controls\TextBoxNormal.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
<Compile Include="UI\FrmDialogString.cs">
|
<Compile Include="UI\FrmDialogString.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -221,15 +240,11 @@
|
|||||||
<Compile Include="UI\Tools\PnlActivity.Designer.cs">
|
<Compile Include="UI\Tools\PnlActivity.Designer.cs">
|
||||||
<DependentUpon>PnlActivity.cs</DependentUpon>
|
<DependentUpon>PnlActivity.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="UI\Tools\PnlCover.cs">
|
<Compile Include="UI\Tools\PnlCover.cs" />
|
||||||
<SubType>UserControl</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="UI\Tools\PnlCover.Designer.cs">
|
<Compile Include="UI\Tools\PnlCover.Designer.cs">
|
||||||
<DependentUpon>PnlCover.cs</DependentUpon>
|
<DependentUpon>PnlCover.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="UI\Tools\PnlSuspension.cs">
|
<Compile Include="UI\Tools\PnlSuspension.cs" />
|
||||||
<SubType>UserControl</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="UI\Tools\PnlSuspension.Designer.cs">
|
<Compile Include="UI\Tools\PnlSuspension.Designer.cs">
|
||||||
<DependentUpon>PnlSuspension.cs</DependentUpon>
|
<DependentUpon>PnlSuspension.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
|||||||
Reference in New Issue
Block a user