Dark style

This commit is contained in:
2021-04-11 06:36:42 +02:00
parent 98ced01b0f
commit 2e8f8c6c8d
31 changed files with 501 additions and 155 deletions

View File

@@ -0,0 +1,105 @@
using System;
using System.Drawing;
using System.Windows.Forms;
namespace VAR.Toolbox.Controls
{
public class CButton : System.Windows.Forms.Button
{
private Brush _foreColorBrush;
private Brush _foreColorDisableBrush;
private Brush _backColorBrush;
private Brush _backColorOverBrush;
private Brush _backColorDownBrush;
private bool _mouseIsDown = false;
private bool _mouseIsOver = false;
public CButton()
{
_foreColorBrush = new SolidBrush(Color.FromArgb(255, 192, 192, 192));
_foreColorDisableBrush = new SolidBrush(Color.FromArgb(255, 96, 96, 96));
_backColorBrush = new SolidBrush(Color.FromArgb(255, 64, 64, 64));
_backColorOverBrush = new SolidBrush(Color.FromArgb(255, 128, 0, 0));
_backColorDownBrush = new SolidBrush(Color.FromArgb(255, 192, 64, 64));
}
protected override void OnLostFocus(EventArgs e)
{
_mouseIsDown = false;
base.OnLostFocus(e);
}
protected override void OnMouseEnter(EventArgs eventargs)
{
_mouseIsOver = true;
base.OnMouseEnter(eventargs);
}
protected override void OnMouseLeave(EventArgs eventargs)
{
_mouseIsOver = false;
base.OnMouseLeave(eventargs);
}
protected override void OnMouseMove(MouseEventArgs mevent)
{
if (mevent.Button != MouseButtons.None)
{
Rectangle r = ClientRectangle;
if (!r.Contains(mevent.X, mevent.Y))
{
_mouseIsDown = false;
}
else
{
_mouseIsDown = true;
}
}
base.OnMouseMove(mevent);
}
protected override void OnMouseDown(MouseEventArgs mevent)
{
_mouseIsDown = true;
base.OnMouseDown(mevent);
}
protected override void OnMouseUp(MouseEventArgs mevent)
{
_mouseIsDown = false;
base.OnMouseUp(mevent);
}
protected override void OnPaint(PaintEventArgs pevent)
{
if (Enabled)
{
if (_mouseIsDown)
{
pevent.Graphics.FillRectangle(_backColorDownBrush, pevent.ClipRectangle);
}
else
{
if (_mouseIsOver)
{
pevent.Graphics.FillRectangle(_backColorOverBrush, pevent.ClipRectangle);
}
else
{
pevent.Graphics.FillRectangle(_backColorBrush, pevent.ClipRectangle);
}
}
}
else
{
pevent.Graphics.FillRectangle(_backColorBrush, pevent.ClipRectangle);
}
var sf = new StringFormat { Alignment = StringAlignment.Center, LineAlignment = StringAlignment.Center };
pevent.Graphics.DrawString(Text, Font, Enabled ? _foreColorBrush : _foreColorDisableBrush, pevent.ClipRectangle, sf);
sf.Dispose();
}
}
}

View File

@@ -0,0 +1,21 @@
using System.Drawing;
using System.Windows.Forms;
namespace VAR.Toolbox.Controls
{
public class CComboBox : System.Windows.Forms.ComboBox
{
public CComboBox()
{
BackColor = Color.FromArgb(255, 0, 0, 0);
ForeColor = Color.FromArgb(255, 192, 192, 192);
FlatStyle = System.Windows.Forms.FlatStyle.Flat;
}
protected override void OnPaint(PaintEventArgs pevent)
{
pevent.Graphics.FillRectangle(Brushes.CadetBlue, pevent.ClipRectangle);
}
}
}

View File

@@ -0,0 +1,13 @@
using System.Drawing;
namespace VAR.Toolbox.Controls
{
public class CDateTimePicker : System.Windows.Forms.DateTimePicker
{
public CDateTimePicker()
{
BackColor = Color.DarkSlateGray;
ForeColor = Color.Gray;
}
}
}

View File

@@ -0,0 +1,41 @@
using System.Drawing;
using System.Windows.Forms;
namespace VAR.Toolbox.Controls
{
public class CGroupBox : System.Windows.Forms.GroupBox
{
public CGroupBox()
{
BackColor = Color.FromArgb(255, 32, 32, 32);
ForeColor = Color.FromArgb(255, 192, 192, 192);
BorderColor = Color.FromArgb(255, 64, 64, 64);
FlatStyle = System.Windows.Forms.FlatStyle.Flat;
}
private Color _borderColor = Color.Black;
public Color BorderColor
{
get { return this._borderColor; }
set { this._borderColor = value; }
}
protected override void OnPaint(PaintEventArgs e)
{
Size tSize = TextRenderer.MeasureText(this.Text, this.Font);
Rectangle borderRect = e.ClipRectangle;
borderRect.Y = (borderRect.Y + (tSize.Height / 2));
borderRect.Height = (borderRect.Height - (tSize.Height / 2));
ControlPaint.DrawBorder(e.Graphics, borderRect, this._borderColor, ButtonBorderStyle.Solid);
Rectangle textRect = e.ClipRectangle;
textRect.X = (textRect.X + 6);
textRect.Width = tSize.Width;
textRect.Height = tSize.Height;
e.Graphics.FillRectangle(new SolidBrush(this.BackColor), textRect);
e.Graphics.DrawString(this.Text, this.Font, new SolidBrush(this.ForeColor), textRect);
}
}
}

View File

@@ -0,0 +1,13 @@
using System.Drawing;
namespace VAR.Toolbox.Controls
{
public class CSplitContainer : System.Windows.Forms.SplitContainer
{
public CSplitContainer()
{
BackColor = Color.FromArgb(255, 32, 32, 32);
ForeColor = Color.FromArgb(255, 192, 192, 192);
}
}
}

View File

@@ -1,4 +1,6 @@
namespace VAR.Toolbox.Controls using System.Drawing;
namespace VAR.Toolbox.Controls
{ {
public class Frame : System.Windows.Forms.Form public class Frame : System.Windows.Forms.Form
{ {
@@ -6,6 +8,8 @@
{ {
Font = new System.Drawing.Font(Font.Name, ControlsUtils.GetFontSize(this, 8.25f), Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont); 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; AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
BackColor = Color.FromArgb(255, 32, 32, 32);
ForeColor = Color.FromArgb(255, 192, 192, 192);
} }
} }
} }

View File

@@ -11,6 +11,7 @@ namespace VAR.Toolbox.Controls
Font = new Font("Consolas", ControlsUtils.GetFontSize(this, 9)); Font = new Font("Consolas", ControlsUtils.GetFontSize(this, 9));
BackColor = Color.Black; BackColor = Color.Black;
ForeColor = Color.Gray; ForeColor = Color.Gray;
BorderStyle = BorderStyle.FixedSingle;
SelectionMode = SelectionMode.MultiExtended; SelectionMode = SelectionMode.MultiExtended;
} }
} }

View File

@@ -7,7 +7,11 @@ namespace VAR.Toolbox.Controls
{ {
public ListBoxNormal() public ListBoxNormal()
{ {
FormattingEnabled = true;
Font = new Font("Microsoft Sans Serif", ControlsUtils.GetFontSize(this, 8.25f)); Font = new Font("Microsoft Sans Serif", ControlsUtils.GetFontSize(this, 8.25f));
BackColor = Color.Black;
ForeColor = Color.Gray;
BorderStyle = BorderStyle.FixedSingle;
} }
} }
} }

View File

@@ -1,4 +1,6 @@
namespace VAR.Toolbox.Controls using System.Drawing;
namespace VAR.Toolbox.Controls
{ {
public class SubFrame : System.Windows.Forms.UserControl public class SubFrame : System.Windows.Forms.UserControl
{ {
@@ -6,6 +8,8 @@
{ {
Font = new System.Drawing.Font(Font.Name, ControlsUtils.GetFontSize(this, 8.25f), Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont); 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; AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
BackColor = Color.FromArgb(255, 32, 32, 32);
ForeColor = Color.FromArgb(255, 192, 192, 192);
} }
} }
} }

View File

@@ -8,6 +8,9 @@ namespace VAR.Toolbox.Controls
public TextBoxMonospace() public TextBoxMonospace()
{ {
Font = new Font("Consolas", ControlsUtils.GetFontSize(this, 9.0f)); Font = new Font("Consolas", ControlsUtils.GetFontSize(this, 9.0f));
BackColor = Color.FromArgb(255, 0, 0, 0);
ForeColor = Color.FromArgb(255, 192, 192, 192);
BorderStyle = BorderStyle.FixedSingle;
} }
} }
} }

View File

@@ -8,6 +8,9 @@ namespace VAR.Toolbox.Controls
public TextBoxNormal() public TextBoxNormal()
{ {
Font = new Font("Microsoft Sans Serif", ControlsUtils.GetFontSize(this, 8.25f)); Font = new Font("Microsoft Sans Serif", ControlsUtils.GetFontSize(this, 8.25f));
BackColor = Color.FromArgb(255, 0, 0, 0);
ForeColor = Color.FromArgb(255, 192, 192, 192);
BorderStyle = BorderStyle.FixedSingle;
} }
} }
} }

View File

@@ -32,8 +32,8 @@
this.tblLayout = new System.Windows.Forms.TableLayoutPanel(); this.tblLayout = new System.Windows.Forms.TableLayoutPanel();
this.txtValue = new VAR.Toolbox.Controls.TextBoxNormal(); 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 VAR.Toolbox.Controls.CButton();
this.btnCancel = new System.Windows.Forms.Button(); this.btnCancel = new VAR.Toolbox.Controls.CButton();
this.tblLayout.SuspendLayout(); this.tblLayout.SuspendLayout();
this.flowButtons.SuspendLayout(); this.flowButtons.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
@@ -125,7 +125,7 @@
private System.Windows.Forms.TableLayoutPanel tblLayout; private System.Windows.Forms.TableLayoutPanel tblLayout;
private VAR.Toolbox.Controls.TextBoxNormal 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 VAR.Toolbox.Controls.CButton btnCancel;
private System.Windows.Forms.Button btnAccept; private VAR.Toolbox.Controls.CButton btnAccept;
} }
} }

View File

@@ -29,8 +29,8 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.lsbItems = new VAR.Toolbox.Controls.ListBoxNormal(); this.lsbItems = new VAR.Toolbox.Controls.ListBoxNormal();
this.btnCancel = new System.Windows.Forms.Button(); this.btnCancel = new VAR.Toolbox.Controls.CButton();
this.btnAccept = new System.Windows.Forms.Button(); this.btnAccept = new VAR.Toolbox.Controls.CButton();
this.SuspendLayout(); this.SuspendLayout();
// //
// lsbItems // lsbItems
@@ -82,7 +82,7 @@
#endregion #endregion
private VAR.Toolbox.Controls.ListBoxNormal lsbItems; private VAR.Toolbox.Controls.ListBoxNormal lsbItems;
private System.Windows.Forms.Button btnCancel; private VAR.Toolbox.Controls.CButton btnCancel;
private System.Windows.Forms.Button btnAccept; private VAR.Toolbox.Controls.CButton btnAccept;
} }
} }

View File

@@ -5,6 +5,7 @@ using System.Collections.Generic;
using System.Drawing; using System.Drawing;
using System.Linq; 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; using VAR.Toolbox.Controls;
@@ -18,7 +19,7 @@ namespace VAR.Toolbox.UI
private bool _closing = false; private bool _closing = false;
private Label lblToolbox; private Label lblToolbox;
private Button btnExit; private CButton btnExit;
private NotifyIcon niTray = null; private NotifyIcon niTray = null;
@@ -146,14 +147,13 @@ namespace VAR.Toolbox.UI
{ {
int x = xStartButtons + (idxButton % 2) * xStepButtons; int x = xStartButtons + (idxButton % 2) * xStepButtons;
int y = yStartButtons + (idxButton / 2) * yStepButtons; int y = yStartButtons + (idxButton / 2) * yStepButtons;
Button btn = new Button CButton btn = new CButton
{ {
Location = new Point(x, y), Location = new Point(x, y),
Name = string.Format("btn{0}", p.Key), Name = string.Format("btn{0}", p.Key),
Size = new Size(toolWidth, 40), Size = new Size(toolWidth, 40),
TabIndex = idxButton, TabIndex = idxButton,
Text = p.Key, Text = p.Key,
UseVisualStyleBackColor = true
}; };
btn.Click += (s, e) => { CreateWindow(p.Value); }; btn.Click += (s, e) => { CreateWindow(p.Value); };
Controls.Add(btn); Controls.Add(btn);
@@ -191,7 +191,7 @@ namespace VAR.Toolbox.UI
} }
// btnExit // btnExit
btnExit = new Button btnExit = new CButton
{ {
Anchor = ((AnchorStyles.Bottom | AnchorStyles.Left) Anchor = ((AnchorStyles.Bottom | AnchorStyles.Left)
| AnchorStyles.Right), | AnchorStyles.Right),
@@ -200,7 +200,6 @@ namespace VAR.Toolbox.UI
Size = new Size(toolWidth * 2 + toolSpacing, 40), Size = new Size(toolWidth * 2 + toolSpacing, 40),
TabIndex = 7, TabIndex = 7,
Text = "Exit", Text = "Exit",
UseVisualStyleBackColor = true
}; };
btnExit.Click += BtnExit_Click; btnExit.Click += BtnExit_Click;
nextYLocation = btnExit.Location.Y + btnExit.Size.Height + windowSpacing; nextYLocation = btnExit.Location.Y + btnExit.Size.Height + windowSpacing;

View File

@@ -29,13 +29,13 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.txtInput = new VAR.Toolbox.Controls.TextBoxMonospace(); this.txtInput = new VAR.Toolbox.Controls.TextBoxMonospace();
this.btnDecode = new System.Windows.Forms.Button(); this.btnDecode = new VAR.Toolbox.Controls.CButton();
this.txtOutput = new VAR.Toolbox.Controls.TextBoxMonospace(); this.txtOutput = new VAR.Toolbox.Controls.TextBoxMonospace();
this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.splitContainer1 = new VAR.Toolbox.Controls.CSplitContainer();
this.txtKey = new VAR.Toolbox.Controls.TextBoxMonospace(); this.txtKey = new VAR.Toolbox.Controls.TextBoxMonospace();
this.cboCode = new System.Windows.Forms.ComboBox(); this.cboCode = new VAR.Toolbox.Controls.CComboBox();
this.btnEncode = new System.Windows.Forms.Button(); this.btnEncode = new VAR.Toolbox.Controls.CButton();
this.btnSwap = new System.Windows.Forms.Button(); this.btnSwap = new VAR.Toolbox.Controls.CButton();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout();
@@ -166,12 +166,12 @@
#endregion #endregion
private VAR.Toolbox.Controls.TextBoxMonospace txtInput; private VAR.Toolbox.Controls.TextBoxMonospace txtInput;
private System.Windows.Forms.Button btnDecode; private VAR.Toolbox.Controls.CButton btnDecode;
private VAR.Toolbox.Controls.TextBoxMonospace txtOutput; private VAR.Toolbox.Controls.TextBoxMonospace txtOutput;
private System.Windows.Forms.SplitContainer splitContainer1; private VAR.Toolbox.Controls.CSplitContainer splitContainer1;
private System.Windows.Forms.Button btnEncode; private VAR.Toolbox.Controls.CButton btnEncode;
private System.Windows.Forms.ComboBox cboCode; private VAR.Toolbox.Controls.CComboBox cboCode;
private System.Windows.Forms.Button btnSwap; private VAR.Toolbox.Controls.CButton btnSwap;
private VAR.Toolbox.Controls.TextBoxMonospace txtKey; private VAR.Toolbox.Controls.TextBoxMonospace txtKey;
} }
} }

View File

@@ -29,9 +29,9 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.ctrOutput = new VAR.Toolbox.Controls.CtrOutput(); this.ctrOutput = new VAR.Toolbox.Controls.CtrOutput();
this.btnScan = new System.Windows.Forms.Button(); this.btnScan = new VAR.Toolbox.Controls.CButton();
this.lblStatus = new System.Windows.Forms.Label(); this.lblStatus = new System.Windows.Forms.Label();
this.btnStop = new System.Windows.Forms.Button(); this.btnStop = new VAR.Toolbox.Controls.CButton();
this.txtSubnet = new VAR.Toolbox.Controls.TextBoxMonospace(); this.txtSubnet = new VAR.Toolbox.Controls.TextBoxMonospace();
this.SuspendLayout(); this.SuspendLayout();
// //
@@ -105,9 +105,9 @@
#endregion #endregion
private VAR.Toolbox.Controls.CtrOutput ctrOutput; private VAR.Toolbox.Controls.CtrOutput ctrOutput;
private System.Windows.Forms.Button btnScan; private VAR.Toolbox.Controls.CButton btnScan;
private System.Windows.Forms.Label lblStatus; private System.Windows.Forms.Label lblStatus;
private System.Windows.Forms.Button btnStop; private VAR.Toolbox.Controls.CButton btnStop;
private VAR.Toolbox.Controls.TextBoxMonospace txtSubnet; private VAR.Toolbox.Controls.TextBoxMonospace txtSubnet;
} }
} }

View File

@@ -29,7 +29,7 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
this.ddlNetworkInterfaces = new System.Windows.Forms.ComboBox(); this.ddlNetworkInterfaces = new VAR.Toolbox.Controls.CComboBox();
this.lblID = new System.Windows.Forms.Label(); this.lblID = new System.Windows.Forms.Label();
this.txtID = new VAR.Toolbox.Controls.TextBoxMonospace(); this.txtID = new VAR.Toolbox.Controls.TextBoxMonospace();
this.lblName = new System.Windows.Forms.Label(); this.lblName = new System.Windows.Forms.Label();
@@ -254,7 +254,7 @@
#endregion #endregion
private System.Windows.Forms.ComboBox ddlNetworkInterfaces; private VAR.Toolbox.Controls.CComboBox ddlNetworkInterfaces;
private System.Windows.Forms.Label lblID; private System.Windows.Forms.Label lblID;
private VAR.Toolbox.Controls.TextBoxMonospace txtID; private VAR.Toolbox.Controls.TextBoxMonospace txtID;
private System.Windows.Forms.Label lblName; private System.Windows.Forms.Label lblName;

View File

@@ -28,11 +28,11 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.splitMain = new System.Windows.Forms.SplitContainer(); this.splitMain = new VAR.Toolbox.Controls.CSplitContainer();
this.txtOutput = new VAR.Toolbox.Controls.TextBoxMonospace(); this.txtOutput = new VAR.Toolbox.Controls.TextBoxMonospace();
this.txtInput = new VAR.Toolbox.Controls.TextBoxMonospace(); this.txtInput = new VAR.Toolbox.Controls.TextBoxMonospace();
this.ddlCurrentConfig = new System.Windows.Forms.ComboBox(); this.ddlCurrentConfig = new VAR.Toolbox.Controls.CComboBox();
this.btnConfig = new System.Windows.Forms.Button(); this.btnConfig = new VAR.Toolbox.Controls.CButton();
((System.ComponentModel.ISupportInitialize)(this.splitMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitMain)).BeginInit();
this.splitMain.Panel1.SuspendLayout(); this.splitMain.Panel1.SuspendLayout();
this.splitMain.Panel2.SuspendLayout(); this.splitMain.Panel2.SuspendLayout();
@@ -132,10 +132,10 @@
#endregion #endregion
private System.Windows.Forms.SplitContainer splitMain; private VAR.Toolbox.Controls.CSplitContainer splitMain;
private VAR.Toolbox.Controls.TextBoxMonospace txtOutput; private VAR.Toolbox.Controls.TextBoxMonospace txtOutput;
private VAR.Toolbox.Controls.TextBoxMonospace txtInput; private VAR.Toolbox.Controls.TextBoxMonospace txtInput;
private System.Windows.Forms.ComboBox ddlCurrentConfig; private VAR.Toolbox.Controls.CComboBox ddlCurrentConfig;
private System.Windows.Forms.Button btnConfig; private VAR.Toolbox.Controls.CButton btnConfig;
} }
} }

View File

@@ -30,9 +30,9 @@
{ {
this.lsvCmdProxyConfigs = new VAR.Toolbox.Controls.ListBoxNormal(); this.lsvCmdProxyConfigs = new VAR.Toolbox.Controls.ListBoxNormal();
this.txtCmdProxyConfigName = new VAR.Toolbox.Controls.TextBoxNormal(); this.txtCmdProxyConfigName = new VAR.Toolbox.Controls.TextBoxNormal();
this.btnSave = new System.Windows.Forms.Button(); this.btnSave = new VAR.Toolbox.Controls.CButton();
this.btnDelete = new System.Windows.Forms.Button(); this.btnDelete = new VAR.Toolbox.Controls.CButton();
this.btnNew = new System.Windows.Forms.Button(); this.btnNew = new VAR.Toolbox.Controls.CButton();
this.txtCmdProxyConfigContent = new VAR.Toolbox.Controls.TextBoxNormal(); this.txtCmdProxyConfigContent = new VAR.Toolbox.Controls.TextBoxNormal();
this.SuspendLayout(); this.SuspendLayout();
// //
@@ -121,9 +121,9 @@
private VAR.Toolbox.Controls.ListBoxNormal lsvCmdProxyConfigs; private VAR.Toolbox.Controls.ListBoxNormal lsvCmdProxyConfigs;
private VAR.Toolbox.Controls.TextBoxNormal txtCmdProxyConfigName; private VAR.Toolbox.Controls.TextBoxNormal txtCmdProxyConfigName;
private System.Windows.Forms.Button btnSave; private VAR.Toolbox.Controls.CButton btnSave;
private System.Windows.Forms.Button btnDelete; private VAR.Toolbox.Controls.CButton btnDelete;
private System.Windows.Forms.Button btnNew; private VAR.Toolbox.Controls.CButton btnNew;
private VAR.Toolbox.Controls.TextBoxNormal txtCmdProxyConfigContent; private VAR.Toolbox.Controls.TextBoxNormal txtCmdProxyConfigContent;
} }
} }

View File

@@ -28,9 +28,9 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.btnScreenshoot = new System.Windows.Forms.Button(); this.btnScreenshoot = new VAR.Toolbox.Controls.CButton();
this.picViewer = new VAR.Toolbox.Controls.CtrImageViewer(); this.picViewer = new VAR.Toolbox.Controls.CtrImageViewer();
this.btnStartStop = new System.Windows.Forms.Button(); this.btnStartStop = new VAR.Toolbox.Controls.CButton();
((System.ComponentModel.ISupportInitialize)(this.picViewer)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picViewer)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
@@ -85,7 +85,7 @@
#endregion #endregion
private VAR.Toolbox.Controls.CtrImageViewer picViewer; private VAR.Toolbox.Controls.CtrImageViewer picViewer;
private System.Windows.Forms.Button btnScreenshoot; private VAR.Toolbox.Controls.CButton btnScreenshoot;
private System.Windows.Forms.Button btnStartStop; private VAR.Toolbox.Controls.CButton btnStartStop;
} }
} }

View File

@@ -30,7 +30,7 @@
{ {
this.tabWebServices = new System.Windows.Forms.TabControl(); this.tabWebServices = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage1 = new System.Windows.Forms.TabPage();
this.btnTestSoap = new System.Windows.Forms.Button(); this.btnTestSoap = new VAR.Toolbox.Controls.CButton();
this.label5 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label();
this.txtResultSoap = new VAR.Toolbox.Controls.TextBoxMonospace(); this.txtResultSoap = new VAR.Toolbox.Controls.TextBoxMonospace();
this.txtParametersSoap = new VAR.Toolbox.Controls.TextBoxMonospace(); this.txtParametersSoap = new VAR.Toolbox.Controls.TextBoxMonospace();
@@ -44,7 +44,7 @@
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 VAR.Toolbox.Controls.TextBoxMonospace(); this.txtResultRest = new VAR.Toolbox.Controls.TextBoxMonospace();
this.btnTestRest = new System.Windows.Forms.Button(); this.btnTestRest = new VAR.Toolbox.Controls.CButton();
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();
@@ -72,6 +72,7 @@
// //
// tabPage1 // tabPage1
// //
this.tabPage1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.tabPage1.Controls.Add(this.btnTestSoap); this.tabPage1.Controls.Add(this.btnTestSoap);
this.tabPage1.Controls.Add(this.label5); this.tabPage1.Controls.Add(this.label5);
this.tabPage1.Controls.Add(this.txtResultSoap); this.tabPage1.Controls.Add(this.txtResultSoap);
@@ -89,7 +90,6 @@
this.tabPage1.Size = new System.Drawing.Size(674, 492); this.tabPage1.Size = new System.Drawing.Size(674, 492);
this.tabPage1.TabIndex = 0; this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "SoapService"; this.tabPage1.Text = "SoapService";
this.tabPage1.UseVisualStyleBackColor = true;
// //
// btnTestSoap // btnTestSoap
// //
@@ -99,7 +99,6 @@
this.btnTestSoap.Size = new System.Drawing.Size(75, 23); this.btnTestSoap.Size = new System.Drawing.Size(75, 23);
this.btnTestSoap.TabIndex = 21; this.btnTestSoap.TabIndex = 21;
this.btnTestSoap.Text = "Test"; this.btnTestSoap.Text = "Test";
this.btnTestSoap.UseVisualStyleBackColor = true;
this.btnTestSoap.Click += new System.EventHandler(this.BtnTestSoap_Click); this.btnTestSoap.Click += new System.EventHandler(this.BtnTestSoap_Click);
// //
// label5 // label5
@@ -116,7 +115,10 @@
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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.txtResultSoap.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtResultSoap.Font = new System.Drawing.Font("Consolas", 6F); this.txtResultSoap.Font = new System.Drawing.Font("Consolas", 6F);
this.txtResultSoap.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
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";
@@ -128,7 +130,10 @@
// //
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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.txtParametersSoap.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtParametersSoap.Font = new System.Drawing.Font("Consolas", 6F); this.txtParametersSoap.Font = new System.Drawing.Font("Consolas", 6F);
this.txtParametersSoap.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
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";
@@ -140,30 +145,39 @@
// //
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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.txtMethodSoap.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtMethodSoap.Font = new System.Drawing.Font("Consolas", 6F); this.txtMethodSoap.Font = new System.Drawing.Font("Consolas", 6F);
this.txtMethodSoap.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
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, 22); this.txtMethodSoap.Size = new System.Drawing.Size(571, 17);
this.txtMethodSoap.TabIndex = 17; this.txtMethodSoap.TabIndex = 17;
// //
// txtNamespaceUrlSoap // txtNamespaceUrlSoap
// //
this.txtNamespaceUrlSoap.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.txtNamespaceUrlSoap.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.txtNamespaceUrlSoap.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtNamespaceUrlSoap.Font = new System.Drawing.Font("Consolas", 6F); this.txtNamespaceUrlSoap.Font = new System.Drawing.Font("Consolas", 6F);
this.txtNamespaceUrlSoap.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
this.txtNamespaceUrlSoap.Location = new System.Drawing.Point(100, 29); this.txtNamespaceUrlSoap.Location = new System.Drawing.Point(100, 29);
this.txtNamespaceUrlSoap.Name = "txtNamespaceUrlSoap"; this.txtNamespaceUrlSoap.Name = "txtNamespaceUrlSoap";
this.txtNamespaceUrlSoap.Size = new System.Drawing.Size(571, 22); this.txtNamespaceUrlSoap.Size = new System.Drawing.Size(571, 17);
this.txtNamespaceUrlSoap.TabIndex = 16; 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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.txtUrlSoap.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtUrlSoap.Font = new System.Drawing.Font("Consolas", 6F); this.txtUrlSoap.Font = new System.Drawing.Font("Consolas", 6F);
this.txtUrlSoap.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
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, 22); this.txtUrlSoap.Size = new System.Drawing.Size(571, 17);
this.txtUrlSoap.TabIndex = 15; this.txtUrlSoap.TabIndex = 15;
// //
// label4 // label4
@@ -204,7 +218,7 @@
// //
// tabPage2 // tabPage2
// //
this.tabPage2.BackColor = System.Drawing.Color.Transparent; this.tabPage2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.tabPage2.Controls.Add(this.label6); this.tabPage2.Controls.Add(this.label6);
this.tabPage2.Controls.Add(this.txtResultRest); this.tabPage2.Controls.Add(this.txtResultRest);
this.tabPage2.Controls.Add(this.btnTestRest); this.tabPage2.Controls.Add(this.btnTestRest);
@@ -237,7 +251,10 @@
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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.txtResultRest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtResultRest.Font = new System.Drawing.Font("Consolas", 6F); this.txtResultRest.Font = new System.Drawing.Font("Consolas", 6F);
this.txtResultRest.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
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";
@@ -253,7 +270,6 @@
this.btnTestRest.Size = new System.Drawing.Size(75, 23); this.btnTestRest.Size = new System.Drawing.Size(75, 23);
this.btnTestRest.TabIndex = 19; this.btnTestRest.TabIndex = 19;
this.btnTestRest.Text = "Test"; this.btnTestRest.Text = "Test";
this.btnTestRest.UseVisualStyleBackColor = true;
this.btnTestRest.Click += new System.EventHandler(this.BtnTestRest_Click); this.btnTestRest.Click += new System.EventHandler(this.BtnTestRest_Click);
// //
// label7 // label7
@@ -296,7 +312,10 @@
// //
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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.txtBodyRest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtBodyRest.Font = new System.Drawing.Font("Consolas", 6F); this.txtBodyRest.Font = new System.Drawing.Font("Consolas", 6F);
this.txtBodyRest.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
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";
@@ -308,7 +327,10 @@
// //
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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.txtParametersRest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtParametersRest.Font = new System.Drawing.Font("Consolas", 6F); this.txtParametersRest.Font = new System.Drawing.Font("Consolas", 6F);
this.txtParametersRest.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
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";
@@ -320,20 +342,26 @@
// //
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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.txtUrlApiMethodRest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtUrlApiMethodRest.Font = new System.Drawing.Font("Consolas", 6F); this.txtUrlApiMethodRest.Font = new System.Drawing.Font("Consolas", 6F);
this.txtUrlApiMethodRest.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
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, 22); this.txtUrlApiMethodRest.Size = new System.Drawing.Size(547, 17);
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.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.txtUrlRest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtUrlRest.Font = new System.Drawing.Font("Consolas", 6F); this.txtUrlRest.Font = new System.Drawing.Font("Consolas", 6F);
this.txtUrlRest.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
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, 22); this.txtUrlRest.Size = new System.Drawing.Size(547, 17);
this.txtUrlRest.TabIndex = 11; this.txtUrlRest.TabIndex = 11;
// //
// FrmTestWebService // FrmTestWebService
@@ -357,7 +385,7 @@
private System.Windows.Forms.TabControl tabWebServices; private System.Windows.Forms.TabControl tabWebServices;
private System.Windows.Forms.TabPage tabPage1; private System.Windows.Forms.TabPage tabPage1;
private System.Windows.Forms.TabPage tabPage2; private System.Windows.Forms.TabPage tabPage2;
private System.Windows.Forms.Button btnTestSoap; private VAR.Toolbox.Controls.CButton btnTestSoap;
private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label5;
private VAR.Toolbox.Controls.TextBoxMonospace txtResultSoap; private VAR.Toolbox.Controls.TextBoxMonospace txtResultSoap;
private VAR.Toolbox.Controls.TextBoxMonospace txtParametersSoap; private VAR.Toolbox.Controls.TextBoxMonospace txtParametersSoap;
@@ -370,7 +398,7 @@
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 VAR.Toolbox.Controls.TextBoxMonospace txtResultRest; private VAR.Toolbox.Controls.TextBoxMonospace txtResultRest;
private System.Windows.Forms.Button btnTestRest; private VAR.Toolbox.Controls.CButton 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;

View File

@@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -28,8 +28,8 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.btnRun = new System.Windows.Forms.Button(); this.btnRun = new VAR.Toolbox.Controls.CButton();
this.btnStop = new System.Windows.Forms.Button(); this.btnStop = new VAR.Toolbox.Controls.CButton();
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();
@@ -47,7 +47,6 @@
this.btnRun.Size = new System.Drawing.Size(83, 45); this.btnRun.Size = new System.Drawing.Size(83, 45);
this.btnRun.TabIndex = 0; this.btnRun.TabIndex = 0;
this.btnRun.Text = "Run"; this.btnRun.Text = "Run";
this.btnRun.UseVisualStyleBackColor = true;
this.btnRun.Click += new System.EventHandler(this.BtnRun_Click); this.btnRun.Click += new System.EventHandler(this.BtnRun_Click);
// //
// btnStop // btnStop
@@ -58,7 +57,6 @@
this.btnStop.Size = new System.Drawing.Size(75, 45); this.btnStop.Size = new System.Drawing.Size(75, 45);
this.btnStop.TabIndex = 1; this.btnStop.TabIndex = 1;
this.btnStop.Text = "Stop"; this.btnStop.Text = "Stop";
this.btnStop.UseVisualStyleBackColor = true;
this.btnStop.Click += new System.EventHandler(this.BtnStop_Click); this.btnStop.Click += new System.EventHandler(this.BtnStop_Click);
// //
// lblRemoteHost // lblRemoteHost
@@ -144,8 +142,8 @@
#endregion #endregion
private System.Windows.Forms.Button btnRun; private VAR.Toolbox.Controls.CButton btnRun;
private System.Windows.Forms.Button btnStop; private VAR.Toolbox.Controls.CButton btnStop;
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;

View File

@@ -28,8 +28,8 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.btnStartStop = new System.Windows.Forms.Button(); this.btnStartStop = new VAR.Toolbox.Controls.CButton();
this.cboWebcams = new System.Windows.Forms.ComboBox(); this.cboWebcams = new VAR.Toolbox.Controls.CComboBox();
this.picWebcam = new VAR.Toolbox.Controls.CtrImageViewer(); this.picWebcam = new VAR.Toolbox.Controls.CtrImageViewer();
((System.ComponentModel.ISupportInitialize)(this.picWebcam)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picWebcam)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
@@ -91,7 +91,7 @@
#endregion #endregion
private VAR.Toolbox.Controls.CtrImageViewer picWebcam; private VAR.Toolbox.Controls.CtrImageViewer picWebcam;
private System.Windows.Forms.Button btnStartStop; private VAR.Toolbox.Controls.CButton btnStartStop;
private System.Windows.Forms.ComboBox cboWebcams; private VAR.Toolbox.Controls.CComboBox cboWebcams;
} }
} }

View File

@@ -29,7 +29,7 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
this.grpActivity = new System.Windows.Forms.GroupBox(); this.grpActivity = new VAR.Toolbox.Controls.CGroupBox();
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 VAR.Toolbox.Controls.TextBoxNormal(); this.txtCurrentActivity = new VAR.Toolbox.Controls.TextBoxNormal();
@@ -97,7 +97,7 @@
#endregion #endregion
private System.Windows.Forms.GroupBox grpActivity; private VAR.Toolbox.Controls.CGroupBox 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 VAR.Toolbox.Controls.TextBoxNormal txtCurrentActivity; private VAR.Toolbox.Controls.TextBoxNormal txtCurrentActivity;

View File

@@ -29,8 +29,8 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
this.grpCover = new System.Windows.Forms.GroupBox(); this.grpCover = new VAR.Toolbox.Controls.CGroupBox();
this.btnCover = new System.Windows.Forms.Button(); this.btnCover = new VAR.Toolbox.Controls.CButton();
this.numInactive = new System.Windows.Forms.NumericUpDown(); this.numInactive = new System.Windows.Forms.NumericUpDown();
this.lblInactive = new System.Windows.Forms.Label(); this.lblInactive = new System.Windows.Forms.Label();
this.chkAutoCover = new System.Windows.Forms.CheckBox(); this.chkAutoCover = new System.Windows.Forms.CheckBox();
@@ -63,7 +63,6 @@
this.btnCover.Size = new System.Drawing.Size(161, 28); this.btnCover.Size = new System.Drawing.Size(161, 28);
this.btnCover.TabIndex = 7; this.btnCover.TabIndex = 7;
this.btnCover.Text = "Cover"; this.btnCover.Text = "Cover";
this.btnCover.UseVisualStyleBackColor = true;
this.btnCover.Click += new System.EventHandler(this.BtnCover_Click); this.btnCover.Click += new System.EventHandler(this.BtnCover_Click);
// //
// numInactive // numInactive
@@ -110,7 +109,6 @@
this.chkAutoCover.Size = new System.Drawing.Size(96, 21); this.chkAutoCover.Size = new System.Drawing.Size(96, 21);
this.chkAutoCover.TabIndex = 9; this.chkAutoCover.TabIndex = 9;
this.chkAutoCover.Text = "AutoCover"; this.chkAutoCover.Text = "AutoCover";
this.chkAutoCover.UseVisualStyleBackColor = true;
// //
// timTicker // timTicker
// //
@@ -132,8 +130,8 @@
#endregion #endregion
private System.Windows.Forms.GroupBox grpCover; private VAR.Toolbox.Controls.CGroupBox grpCover;
private System.Windows.Forms.Button btnCover; private VAR.Toolbox.Controls.CButton btnCover;
private System.Windows.Forms.NumericUpDown numInactive; private System.Windows.Forms.NumericUpDown numInactive;
private System.Windows.Forms.Label lblInactive; private System.Windows.Forms.Label lblInactive;
private System.Windows.Forms.CheckBox chkAutoCover; private System.Windows.Forms.CheckBox chkAutoCover;

View File

@@ -31,12 +31,12 @@
this.components = new System.ComponentModel.Container(); this.components = new System.ComponentModel.Container();
this.chkSuspendAtCustom = new System.Windows.Forms.CheckBox(); this.chkSuspendAtCustom = new System.Windows.Forms.CheckBox();
this.numOffset = new System.Windows.Forms.NumericUpDown(); this.numOffset = new System.Windows.Forms.NumericUpDown();
this.btnRandOffset = new System.Windows.Forms.Button(); this.btnRandOffset = new VAR.Toolbox.Controls.CButton();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.btnCustomSuspenedNow = new System.Windows.Forms.Button(); this.btnCustomSuspenedNow = new VAR.Toolbox.Controls.CButton();
this.ddlCustomHour = new System.Windows.Forms.ComboBox(); this.ddlCustomHour = new VAR.Toolbox.Controls.CComboBox();
this.ddlCustomMinute = new System.Windows.Forms.ComboBox(); this.ddlCustomMinute = new VAR.Toolbox.Controls.CComboBox();
this.grpSuspension = new System.Windows.Forms.GroupBox(); this.grpSuspension = new VAR.Toolbox.Controls.CGroupBox();
this.lblCountdown = new System.Windows.Forms.Label(); this.lblCountdown = new System.Windows.Forms.Label();
this.timTicker = new System.Windows.Forms.Timer(this.components); this.timTicker = new System.Windows.Forms.Timer(this.components);
((System.ComponentModel.ISupportInitialize)(this.numOffset)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numOffset)).BeginInit();
@@ -52,7 +52,6 @@
this.chkSuspendAtCustom.Size = new System.Drawing.Size(146, 21); this.chkSuspendAtCustom.Size = new System.Drawing.Size(146, 21);
this.chkSuspendAtCustom.TabIndex = 5; this.chkSuspendAtCustom.TabIndex = 5;
this.chkSuspendAtCustom.Text = "SuspendAtCustom"; this.chkSuspendAtCustom.Text = "SuspendAtCustom";
this.chkSuspendAtCustom.UseVisualStyleBackColor = true;
// //
// numOffset // numOffset
// //
@@ -85,7 +84,6 @@
this.btnRandOffset.Size = new System.Drawing.Size(66, 28); this.btnRandOffset.Size = new System.Drawing.Size(66, 28);
this.btnRandOffset.TabIndex = 12; this.btnRandOffset.TabIndex = 12;
this.btnRandOffset.Text = "Rand"; this.btnRandOffset.Text = "Rand";
this.btnRandOffset.UseVisualStyleBackColor = true;
this.btnRandOffset.Click += new System.EventHandler(this.BtnRandOffset_Click); this.btnRandOffset.Click += new System.EventHandler(this.BtnRandOffset_Click);
// //
// label1 // label1
@@ -106,7 +104,6 @@
this.btnCustomSuspenedNow.Size = new System.Drawing.Size(30, 28); this.btnCustomSuspenedNow.Size = new System.Drawing.Size(30, 28);
this.btnCustomSuspenedNow.TabIndex = 13; this.btnCustomSuspenedNow.TabIndex = 13;
this.btnCustomSuspenedNow.Text = "N"; this.btnCustomSuspenedNow.Text = "N";
this.btnCustomSuspenedNow.UseVisualStyleBackColor = true;
this.btnCustomSuspenedNow.Click += new System.EventHandler(this.BtnCustomSuspenedNow_Click); this.btnCustomSuspenedNow.Click += new System.EventHandler(this.BtnCustomSuspenedNow_Click);
// //
// ddlCustomHour // ddlCustomHour
@@ -183,12 +180,12 @@
private System.Windows.Forms.CheckBox chkSuspendAtCustom; private System.Windows.Forms.CheckBox chkSuspendAtCustom;
private System.Windows.Forms.NumericUpDown numOffset; private System.Windows.Forms.NumericUpDown numOffset;
private System.Windows.Forms.Button btnRandOffset; private VAR.Toolbox.Controls.CButton btnRandOffset;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnCustomSuspenedNow; private VAR.Toolbox.Controls.CButton btnCustomSuspenedNow;
private System.Windows.Forms.ComboBox ddlCustomHour; private VAR.Toolbox.Controls.CComboBox ddlCustomHour;
private System.Windows.Forms.ComboBox ddlCustomMinute; private VAR.Toolbox.Controls.CComboBox ddlCustomMinute;
private System.Windows.Forms.GroupBox grpSuspension; private VAR.Toolbox.Controls.CGroupBox grpSuspension;
private System.Windows.Forms.Label lblCountdown; private System.Windows.Forms.Label lblCountdown;
private System.Windows.Forms.Timer timTicker; private System.Windows.Forms.Timer timTicker;
} }

View File

@@ -28,29 +28,29 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.splitWindow = new System.Windows.Forms.SplitContainer(); this.splitWindow = new VAR.Toolbox.Controls.CSplitContainer();
this.lblWorkLogTime = new System.Windows.Forms.Label(); this.lblWorkLogTime = new System.Windows.Forms.Label();
this.btnExport = new System.Windows.Forms.Button(); this.btnExport = new VAR.Toolbox.Controls.CButton();
this.btnImport = new System.Windows.Forms.Button(); this.btnImport = new VAR.Toolbox.Controls.CButton();
this.cboImporters = new System.Windows.Forms.ComboBox(); this.cboImporters = new VAR.Toolbox.Controls.CComboBox();
this.txtName = new VAR.Toolbox.Controls.TextBoxNormal(); this.txtName = new VAR.Toolbox.Controls.TextBoxNormal();
this.btnLoad = new System.Windows.Forms.Button(); this.btnLoad = new VAR.Toolbox.Controls.CButton();
this.btnSave = new System.Windows.Forms.Button(); this.btnSave = new VAR.Toolbox.Controls.CButton();
this.btnNextDay = new System.Windows.Forms.Button(); this.btnNextDay = new VAR.Toolbox.Controls.CButton();
this.btnPreviousDay = new System.Windows.Forms.Button(); this.btnPreviousDay = new VAR.Toolbox.Controls.CButton();
this.dtToday = new System.Windows.Forms.DateTimePicker(); this.dtToday = new VAR.Toolbox.Controls.CDateTimePicker();
this.lsbWorkLog = new VAR.Toolbox.Controls.ListBoxMonospace(); this.lsbWorkLog = new VAR.Toolbox.Controls.ListBoxMonospace();
this.btnSearch = new System.Windows.Forms.Button(); this.btnSearch = new VAR.Toolbox.Controls.CButton();
this.btnStats = new System.Windows.Forms.Button(); this.btnStats = new VAR.Toolbox.Controls.CButton();
this.lblWorkLogItemTime = new System.Windows.Forms.Label(); this.lblWorkLogItemTime = new System.Windows.Forms.Label();
this.btnRename = new System.Windows.Forms.Button(); this.btnRename = new VAR.Toolbox.Controls.CButton();
this.dtEnd = new System.Windows.Forms.DateTimePicker(); this.dtEnd = new VAR.Toolbox.Controls.CDateTimePicker();
this.dtStart = new System.Windows.Forms.DateTimePicker(); this.dtStart = new VAR.Toolbox.Controls.CDateTimePicker();
this.txtDescription = new VAR.Toolbox.Controls.TextBoxNormal(); this.txtDescription = new VAR.Toolbox.Controls.TextBoxNormal();
this.txtActivity = new VAR.Toolbox.Controls.TextBoxNormal(); this.txtActivity = new VAR.Toolbox.Controls.TextBoxNormal();
this.btnDelete = new System.Windows.Forms.Button(); this.btnDelete = new VAR.Toolbox.Controls.CButton();
this.btnAdd = new System.Windows.Forms.Button(); this.btnAdd = new VAR.Toolbox.Controls.CButton();
this.btnSumary = new System.Windows.Forms.Button(); this.btnSumary = new VAR.Toolbox.Controls.CButton();
((System.ComponentModel.ISupportInitialize)(this.splitWindow)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitWindow)).BeginInit();
this.splitWindow.Panel1.SuspendLayout(); this.splitWindow.Panel1.SuspendLayout();
this.splitWindow.Panel2.SuspendLayout(); this.splitWindow.Panel2.SuspendLayout();
@@ -113,7 +113,6 @@
this.btnExport.Size = new System.Drawing.Size(40, 21); this.btnExport.Size = new System.Drawing.Size(40, 21);
this.btnExport.TabIndex = 8; this.btnExport.TabIndex = 8;
this.btnExport.Text = "Exp"; this.btnExport.Text = "Exp";
this.btnExport.UseVisualStyleBackColor = true;
this.btnExport.Click += new System.EventHandler(this.btnExport_Click); this.btnExport.Click += new System.EventHandler(this.btnExport_Click);
// //
// btnImport // btnImport
@@ -124,7 +123,6 @@
this.btnImport.Size = new System.Drawing.Size(40, 21); this.btnImport.Size = new System.Drawing.Size(40, 21);
this.btnImport.TabIndex = 7; this.btnImport.TabIndex = 7;
this.btnImport.Text = "Imp"; this.btnImport.Text = "Imp";
this.btnImport.UseVisualStyleBackColor = true;
this.btnImport.Click += new System.EventHandler(this.btnImport_Click); this.btnImport.Click += new System.EventHandler(this.btnImport_Click);
// //
// cboImporters // cboImporters
@@ -153,7 +151,6 @@
this.btnLoad.Size = new System.Drawing.Size(43, 20); this.btnLoad.Size = new System.Drawing.Size(43, 20);
this.btnLoad.TabIndex = 4; this.btnLoad.TabIndex = 4;
this.btnLoad.Text = "Load"; this.btnLoad.Text = "Load";
this.btnLoad.UseVisualStyleBackColor = true;
this.btnLoad.Click += new System.EventHandler(this.btnLoad_Click); this.btnLoad.Click += new System.EventHandler(this.btnLoad_Click);
// //
// btnSave // btnSave
@@ -163,7 +160,6 @@
this.btnSave.Size = new System.Drawing.Size(41, 20); this.btnSave.Size = new System.Drawing.Size(41, 20);
this.btnSave.TabIndex = 3; this.btnSave.TabIndex = 3;
this.btnSave.Text = "Save"; this.btnSave.Text = "Save";
this.btnSave.UseVisualStyleBackColor = true;
this.btnSave.Click += new System.EventHandler(this.btnSave_Click); this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
// //
// btnNextDay // btnNextDay
@@ -173,7 +169,6 @@
this.btnNextDay.Size = new System.Drawing.Size(33, 20); this.btnNextDay.Size = new System.Drawing.Size(33, 20);
this.btnNextDay.TabIndex = 2; this.btnNextDay.TabIndex = 2;
this.btnNextDay.Text = "->"; this.btnNextDay.Text = "->";
this.btnNextDay.UseVisualStyleBackColor = true;
this.btnNextDay.Click += new System.EventHandler(this.btnNextDay_Click); this.btnNextDay.Click += new System.EventHandler(this.btnNextDay_Click);
// //
// btnPreviousDay // btnPreviousDay
@@ -183,7 +178,6 @@
this.btnPreviousDay.Size = new System.Drawing.Size(33, 20); this.btnPreviousDay.Size = new System.Drawing.Size(33, 20);
this.btnPreviousDay.TabIndex = 1; this.btnPreviousDay.TabIndex = 1;
this.btnPreviousDay.Text = "<-"; this.btnPreviousDay.Text = "<-";
this.btnPreviousDay.UseVisualStyleBackColor = true;
this.btnPreviousDay.Click += new System.EventHandler(this.btnPreviousDay_Click); this.btnPreviousDay.Click += new System.EventHandler(this.btnPreviousDay_Click);
// //
// dtToday // dtToday
@@ -305,7 +299,6 @@
this.btnDelete.Size = new System.Drawing.Size(62, 23); this.btnDelete.Size = new System.Drawing.Size(62, 23);
this.btnDelete.TabIndex = 1; this.btnDelete.TabIndex = 1;
this.btnDelete.Text = "Delete"; this.btnDelete.Text = "Delete";
this.btnDelete.UseVisualStyleBackColor = true;
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click); this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
// //
// btnAdd // btnAdd
@@ -315,7 +308,6 @@
this.btnAdd.Size = new System.Drawing.Size(59, 23); this.btnAdd.Size = new System.Drawing.Size(59, 23);
this.btnAdd.TabIndex = 0; this.btnAdd.TabIndex = 0;
this.btnAdd.Text = "Add"; this.btnAdd.Text = "Add";
this.btnAdd.UseVisualStyleBackColor = true;
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
// //
// btnSumary // btnSumary
@@ -325,7 +317,6 @@
this.btnSumary.Size = new System.Drawing.Size(73, 23); this.btnSumary.Size = new System.Drawing.Size(73, 23);
this.btnSumary.TabIndex = 10; this.btnSumary.TabIndex = 10;
this.btnSumary.Text = "Sumary"; this.btnSumary.Text = "Sumary";
this.btnSumary.UseVisualStyleBackColor = true;
this.btnSumary.Click += new System.EventHandler(this.btnSumary_Click); this.btnSumary.Click += new System.EventHandler(this.btnSumary_Click);
// //
// FrmWorkLog // FrmWorkLog
@@ -347,28 +338,28 @@
#endregion #endregion
private System.Windows.Forms.SplitContainer splitWindow; private VAR.Toolbox.Controls.CSplitContainer splitWindow;
private System.Windows.Forms.DateTimePicker dtToday; private VAR.Toolbox.Controls.CDateTimePicker dtToday;
private VAR.Toolbox.Controls.ListBoxMonospace lsbWorkLog; private VAR.Toolbox.Controls.ListBoxMonospace lsbWorkLog;
private VAR.Toolbox.Controls.TextBoxNormal txtDescription; private VAR.Toolbox.Controls.TextBoxNormal txtDescription;
private VAR.Toolbox.Controls.TextBoxNormal txtActivity; private VAR.Toolbox.Controls.TextBoxNormal txtActivity;
private System.Windows.Forms.Button btnDelete; private VAR.Toolbox.Controls.CButton btnDelete;
private System.Windows.Forms.Button btnAdd; private VAR.Toolbox.Controls.CButton btnAdd;
private System.Windows.Forms.DateTimePicker dtEnd; private VAR.Toolbox.Controls.CDateTimePicker dtEnd;
private System.Windows.Forms.DateTimePicker dtStart; private VAR.Toolbox.Controls.CDateTimePicker dtStart;
private System.Windows.Forms.Button btnNextDay; private VAR.Toolbox.Controls.CButton btnNextDay;
private System.Windows.Forms.Button btnPreviousDay; private VAR.Toolbox.Controls.CButton btnPreviousDay;
private System.Windows.Forms.Button btnSave; private VAR.Toolbox.Controls.CButton btnSave;
private VAR.Toolbox.Controls.TextBoxNormal txtName; private VAR.Toolbox.Controls.TextBoxNormal txtName;
private System.Windows.Forms.Button btnLoad; private VAR.Toolbox.Controls.CButton btnLoad;
private System.Windows.Forms.ComboBox cboImporters; private VAR.Toolbox.Controls.CComboBox cboImporters;
private System.Windows.Forms.Button btnExport; private VAR.Toolbox.Controls.CButton btnExport;
private System.Windows.Forms.Button btnImport; private VAR.Toolbox.Controls.CButton btnImport;
private System.Windows.Forms.Button btnRename; private VAR.Toolbox.Controls.CButton btnRename;
private System.Windows.Forms.Label lblWorkLogItemTime; private System.Windows.Forms.Label lblWorkLogItemTime;
private System.Windows.Forms.Label lblWorkLogTime; private System.Windows.Forms.Label lblWorkLogTime;
private System.Windows.Forms.Button btnStats; private VAR.Toolbox.Controls.CButton btnStats;
private System.Windows.Forms.Button btnSearch; private VAR.Toolbox.Controls.CButton btnSearch;
private System.Windows.Forms.Button btnSumary; private VAR.Toolbox.Controls.CButton btnSumary;
} }
} }

View File

@@ -31,12 +31,12 @@
this.lsbDays = new VAR.Toolbox.Controls.ListBoxNormal(); this.lsbDays = new VAR.Toolbox.Controls.ListBoxNormal();
this.lblDateStart = new System.Windows.Forms.Label(); this.lblDateStart = new System.Windows.Forms.Label();
this.txtActivity = new VAR.Toolbox.Controls.TextBoxNormal(); this.txtActivity = new VAR.Toolbox.Controls.TextBoxNormal();
this.btnSearch = new System.Windows.Forms.Button(); this.btnSearch = new VAR.Toolbox.Controls.CButton();
this.btnClose = new System.Windows.Forms.Button(); this.btnClose = new VAR.Toolbox.Controls.CButton();
this.lblDateEnd = new System.Windows.Forms.Label(); this.lblDateEnd = new System.Windows.Forms.Label();
this.lblTotalTime = new System.Windows.Forms.Label(); this.lblTotalTime = new System.Windows.Forms.Label();
this.dtpStart = new System.Windows.Forms.DateTimePicker(); this.dtpStart = new VAR.Toolbox.Controls.CDateTimePicker();
this.dtpEnd = new System.Windows.Forms.DateTimePicker(); this.dtpEnd = new VAR.Toolbox.Controls.CDateTimePicker();
this.SuspendLayout(); this.SuspendLayout();
// //
// lsbDays // lsbDays
@@ -75,7 +75,6 @@
this.btnSearch.Size = new System.Drawing.Size(62, 20); this.btnSearch.Size = new System.Drawing.Size(62, 20);
this.btnSearch.TabIndex = 3; this.btnSearch.TabIndex = 3;
this.btnSearch.Text = "Search"; this.btnSearch.Text = "Search";
this.btnSearch.UseVisualStyleBackColor = true;
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
// //
// btnClose // btnClose
@@ -87,7 +86,6 @@
this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.Size = new System.Drawing.Size(75, 23);
this.btnClose.TabIndex = 4; this.btnClose.TabIndex = 4;
this.btnClose.Text = "Close"; this.btnClose.Text = "Close";
this.btnClose.UseVisualStyleBackColor = true;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click); this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
// //
// lblDateEnd // lblDateEnd
@@ -154,11 +152,11 @@
private VAR.Toolbox.Controls.ListBoxNormal lsbDays; private VAR.Toolbox.Controls.ListBoxNormal lsbDays;
private System.Windows.Forms.Label lblDateStart; private System.Windows.Forms.Label lblDateStart;
private VAR.Toolbox.Controls.TextBoxNormal txtActivity; private VAR.Toolbox.Controls.TextBoxNormal txtActivity;
private System.Windows.Forms.Button btnSearch; private VAR.Toolbox.Controls.CButton btnSearch;
private System.Windows.Forms.Button btnClose; private VAR.Toolbox.Controls.CButton btnClose;
private System.Windows.Forms.Label lblDateEnd; private System.Windows.Forms.Label lblDateEnd;
private System.Windows.Forms.Label lblTotalTime; private System.Windows.Forms.Label lblTotalTime;
private System.Windows.Forms.DateTimePicker dtpStart; private VAR.Toolbox.Controls.CDateTimePicker dtpStart;
private System.Windows.Forms.DateTimePicker dtpEnd; private VAR.Toolbox.Controls.CDateTimePicker dtpEnd;
} }
} }

View File

@@ -30,12 +30,12 @@
{ {
this.lsbActivities = new VAR.Toolbox.Controls.ListBoxNormal(); 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 VAR.Toolbox.Controls.CButton();
this.btnClose = new System.Windows.Forms.Button(); this.btnClose = new VAR.Toolbox.Controls.CButton();
this.lblDateEnd = new System.Windows.Forms.Label(); this.lblDateEnd = new System.Windows.Forms.Label();
this.lblTotalTime = new System.Windows.Forms.Label(); this.lblTotalTime = new System.Windows.Forms.Label();
this.dtpStart = new System.Windows.Forms.DateTimePicker(); this.dtpStart = new VAR.Toolbox.Controls.CDateTimePicker();
this.dtpEnd = new System.Windows.Forms.DateTimePicker(); this.dtpEnd = new VAR.Toolbox.Controls.CDateTimePicker();
this.chkOnlyGroups = new System.Windows.Forms.CheckBox(); this.chkOnlyGroups = new System.Windows.Forms.CheckBox();
this.txtActivity = new VAR.Toolbox.Controls.TextBoxNormal(); this.txtActivity = new VAR.Toolbox.Controls.TextBoxNormal();
this.btnStats = new System.Windows.Forms.Button(); this.btnStats = new System.Windows.Forms.Button();
@@ -72,7 +72,6 @@
this.btnSearch.Size = new System.Drawing.Size(62, 20); this.btnSearch.Size = new System.Drawing.Size(62, 20);
this.btnSearch.TabIndex = 3; this.btnSearch.TabIndex = 3;
this.btnSearch.Text = "Search"; this.btnSearch.Text = "Search";
this.btnSearch.UseVisualStyleBackColor = true;
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
// //
// btnClose // btnClose
@@ -84,7 +83,6 @@
this.btnClose.Size = new System.Drawing.Size(75, 23); this.btnClose.Size = new System.Drawing.Size(75, 23);
this.btnClose.TabIndex = 4; this.btnClose.TabIndex = 4;
this.btnClose.Text = "Close"; this.btnClose.Text = "Close";
this.btnClose.UseVisualStyleBackColor = true;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click); this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
// //
// lblDateEnd // lblDateEnd
@@ -134,7 +132,6 @@
this.chkOnlyGroups.Size = new System.Drawing.Size(81, 17); this.chkOnlyGroups.Size = new System.Drawing.Size(81, 17);
this.chkOnlyGroups.TabIndex = 9; this.chkOnlyGroups.TabIndex = 9;
this.chkOnlyGroups.Text = "OnlyGroups"; this.chkOnlyGroups.Text = "OnlyGroups";
this.chkOnlyGroups.UseVisualStyleBackColor = true;
// //
// txtActivity // txtActivity
// //
@@ -184,12 +181,12 @@
private VAR.Toolbox.Controls.ListBoxNormal 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 VAR.Toolbox.Controls.CButton btnSearch;
private System.Windows.Forms.Button btnClose; private VAR.Toolbox.Controls.CButton btnClose;
private System.Windows.Forms.Label lblDateEnd; private System.Windows.Forms.Label lblDateEnd;
private System.Windows.Forms.Label lblTotalTime; private System.Windows.Forms.Label lblTotalTime;
private System.Windows.Forms.DateTimePicker dtpStart; private VAR.Toolbox.Controls.CDateTimePicker dtpStart;
private System.Windows.Forms.DateTimePicker dtpEnd; private VAR.Toolbox.Controls.CDateTimePicker dtpEnd;
private System.Windows.Forms.CheckBox chkOnlyGroups; private System.Windows.Forms.CheckBox chkOnlyGroups;
private VAR.Toolbox.Controls.TextBoxNormal txtActivity; private VAR.Toolbox.Controls.TextBoxNormal txtActivity;
private System.Windows.Forms.Button btnStats; private System.Windows.Forms.Button btnStats;

View File

@@ -128,7 +128,12 @@
<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\CButton.cs" />
<Compile Include="Controls\CComboBox.cs" />
<Compile Include="Controls\CDateTimePicker.cs" />
<Compile Include="Controls\CGroupBox.cs" />
<Compile Include="Controls\ControlsUtils.cs" /> <Compile Include="Controls\ControlsUtils.cs" />
<Compile Include="Controls\CSplitContainer.cs" />
<Compile Include="Controls\CtrImageViewer.cs"> <Compile Include="Controls\CtrImageViewer.cs">
<SubType>Component</SubType> <SubType>Component</SubType>
</Compile> </Compile>
@@ -275,6 +280,9 @@
<Content Include="Toolbox.ico" /> <Content Include="Toolbox.ico" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="UI\Tools\FrmTestWebService.resx">
<DependentUpon>FrmTestWebService.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\Tools\WorkLog\FrmWorkLogSumary.resx"> <EmbeddedResource Include="UI\Tools\WorkLog\FrmWorkLogSumary.resx">
<DependentUpon>FrmWorkLogSumary.cs</DependentUpon> <DependentUpon>FrmWorkLogSumary.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>