Archived
WIP: icons + clean-up
This commit is contained in:
1 parent
054bc1fecc
commit
c770265283
26 files changed
+38
-5584
No files matched your search
@@ -1,193 +0,0 @@
|
||||
using RyzStudio.Windows.Forms;
|
||||
|
||||
namespace RyzStudio.Windows.ThemedForms
|
||||
{
|
||||
partial class BorderlessForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BorderlessForm));
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.area1 = new System.Windows.Forms.Panel();
|
||||
this.pictureBox4 = new RyzStudio.Windows.Forms.TImageBox();
|
||||
this.pictureBox2 = new RyzStudio.Windows.Forms.TImageBox();
|
||||
this.pictureBox1 = new RyzStudio.Windows.Forms.TImageBox();
|
||||
this.pictureBox3 = new RyzStudio.Windows.Forms.TImageBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.label1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
|
||||
this.label1.Location = new System.Drawing.Point(1, 1);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Padding = new System.Windows.Forms.Padding(48, 0, 0, 0);
|
||||
this.label1.Size = new System.Drawing.Size(454, 48);
|
||||
this.label1.TabIndex = 148;
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.label1.DoubleClick += new System.EventHandler(this.label1_DoubleClick);
|
||||
this.label1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.label1_MouseClick);
|
||||
this.label1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.label1_MouseDown);
|
||||
this.label1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.label1_MouseMove);
|
||||
this.label1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.label1_MouseUp);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel1.Cursor = System.Windows.Forms.Cursors.SizeNWSE;
|
||||
this.panel1.Location = new System.Drawing.Point(594, 674);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(6, 6);
|
||||
this.panel1.TabIndex = 150;
|
||||
this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
|
||||
this.panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseMove);
|
||||
this.panel1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseUp);
|
||||
//
|
||||
// area1
|
||||
//
|
||||
this.area1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.area1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.area1.Cursor = System.Windows.Forms.Cursors.SizeNS;
|
||||
this.area1.Location = new System.Drawing.Point(1, 674);
|
||||
this.area1.Name = "area1";
|
||||
this.area1.Size = new System.Drawing.Size(592, 6);
|
||||
this.area1.TabIndex = 152;
|
||||
this.area1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseDown);
|
||||
this.area1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseMove);
|
||||
this.area1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseUp);
|
||||
//
|
||||
// pictureBox4
|
||||
//
|
||||
this.pictureBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox4.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBox4.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.pictureBox4.ErrorImage = null;
|
||||
this.pictureBox4.ImageHover = global::hiim.dply.Properties.Resources.form20_menu2;
|
||||
this.pictureBox4.Image = global::hiim.dply.Properties.Resources.form20_menu;
|
||||
this.pictureBox4.InitialImage = null;
|
||||
this.pictureBox4.Location = new System.Drawing.Point(460, 11);
|
||||
this.pictureBox4.Name = "pictureBox4";
|
||||
this.pictureBox4.NormalImage = global::hiim.dply.Properties.Resources.form20_menu;
|
||||
this.pictureBox4.Size = new System.Drawing.Size(28, 28);
|
||||
this.pictureBox4.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pictureBox4.TabIndex = 149;
|
||||
this.pictureBox4.TabStop = false;
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
this.pictureBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox2.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.pictureBox2.ErrorImage = null;
|
||||
this.pictureBox2.ImageHover = global::hiim.dply.Properties.Resources.form20_maximise2;
|
||||
this.pictureBox2.Image = global::hiim.dply.Properties.Resources.form20_maximise;
|
||||
this.pictureBox2.InitialImage = null;
|
||||
this.pictureBox2.Location = new System.Drawing.Point(528, 11);
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.NormalImage = global::hiim.dply.Properties.Resources.form20_maximise;
|
||||
this.pictureBox2.Size = new System.Drawing.Size(28, 28);
|
||||
this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pictureBox2.TabIndex = 147;
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.pictureBox1.ErrorImage = null;
|
||||
this.pictureBox1.ImageHover = global::hiim.dply.Properties.Resources.form20_minimise2;
|
||||
this.pictureBox1.Image = global::hiim.dply.Properties.Resources.form20_minimise;
|
||||
this.pictureBox1.InitialImage = null;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(494, 11);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.NormalImage = global::hiim.dply.Properties.Resources.form20_minimise;
|
||||
this.pictureBox1.Size = new System.Drawing.Size(28, 28);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pictureBox1.TabIndex = 146;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// pictureBox3
|
||||
//
|
||||
this.pictureBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pictureBox3.BackColor = System.Drawing.Color.Transparent;
|
||||
this.pictureBox3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.pictureBox3.ErrorImage = null;
|
||||
this.pictureBox3.ImageHover = global::hiim.dply.Properties.Resources.form20_close2;
|
||||
this.pictureBox3.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox3.Image")));
|
||||
this.pictureBox3.InitialImage = null;
|
||||
this.pictureBox3.Location = new System.Drawing.Point(562, 11);
|
||||
this.pictureBox3.Name = "pictureBox3";
|
||||
this.pictureBox3.NormalImage = ((System.Drawing.Image)(resources.GetObject("pictureBox3.NormalImage")));
|
||||
this.pictureBox3.Size = new System.Drawing.Size(28, 28);
|
||||
this.pictureBox3.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.pictureBox3.TabIndex = 145;
|
||||
this.pictureBox3.TabStop = false;
|
||||
//
|
||||
// BorderlessForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.ClientSize = new System.Drawing.Size(600, 680);
|
||||
this.Controls.Add(this.area1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.pictureBox4);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.pictureBox2);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.Controls.Add(this.pictureBox3);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Name = "BorderlessForm";
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox4)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
protected internal TImageBox pictureBox2;
|
||||
protected internal TImageBox pictureBox1;
|
||||
protected internal TImageBox pictureBox3;
|
||||
protected internal System.Windows.Forms.Label label1;
|
||||
protected internal TImageBox pictureBox4;
|
||||
protected internal System.Windows.Forms.Panel panel1;
|
||||
protected internal System.Windows.Forms.Panel area1;
|
||||
}
|
||||
}
|
||||
@@ -1,409 +0,0 @@
|
||||
namespace RyzStudio.Windows.ThemedForms
|
||||
{
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Design;
|
||||
using System.Windows.Forms;
|
||||
|
||||
public partial class BorderlessForm : System.Windows.Forms.Form
|
||||
{
|
||||
protected bool isBusy = false;
|
||||
|
||||
protected Color topFillColour = Color.FromArgb(15, 15, 15);
|
||||
protected int topFillHeight = 48;
|
||||
protected Color bottomFillColour = Color.FromArgb(15, 15, 15);
|
||||
protected int bottomFillMargin = 19;
|
||||
protected int bottomLeftMargin = 20;
|
||||
protected int borderWidth = 1;
|
||||
protected int menuFillWidth = 160;
|
||||
protected Color menuFillColour = Color.FromArgb(179, 179, 179);
|
||||
|
||||
private bool windowDragging = false;
|
||||
private Point windowOffset = new Point();
|
||||
private Point windowSize = new Point();
|
||||
|
||||
public BorderlessForm() : base()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
|
||||
this.BackColor = Color.FromArgb(247, 247, 247);
|
||||
this.FormBorderStyle = FormBorderStyle.None;
|
||||
this.Padding = new Padding(1);
|
||||
|
||||
this.topFillColour = Color.FromArgb(51, 51, 51);
|
||||
this.topFillHeight = 48;
|
||||
this.bottomFillColour = Color.FromArgb(0, 152, 167);
|
||||
this.bottomFillMargin = 6;
|
||||
|
||||
pictureBox1.Click += pictureBox1_Click;
|
||||
pictureBox2.Click += pictureBox2_Click;
|
||||
pictureBox3.Click += pictureBox3_Click;
|
||||
pictureBox4.Click += pictureBox4_Click;
|
||||
|
||||
updatePictureBox2Image();
|
||||
}
|
||||
|
||||
protected override void OnClosing(CancelEventArgs e)
|
||||
{
|
||||
base.OnClosing(e);
|
||||
|
||||
if (this.IsBusy)
|
||||
{
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
base.OnPaint(e);
|
||||
|
||||
Graphics g = e.Graphics;
|
||||
|
||||
Rectangle areaTop = new Rectangle(this.DisplayRectangle.Left, this.Padding.Top, this.DisplayRectangle.Width, topFillHeight);
|
||||
Rectangle areaBottom = new Rectangle(this.DisplayRectangle.Left, (this.DisplayRectangle.Height - bottomFillMargin + this.Padding.Top), this.DisplayRectangle.Width, bottomFillMargin);
|
||||
Rectangle areaBorder = new Rectangle(this.ClientRectangle.X, this.ClientRectangle.Y, this.ClientRectangle.Width - borderWidth, this.ClientRectangle.Height - borderWidth);
|
||||
|
||||
Rectangle areaMenu = new Rectangle(this.DisplayRectangle.Left, this.DisplayRectangle.Top + topFillHeight, menuFillWidth, (this.DisplayRectangle.Height - bottomFillMargin - topFillHeight));
|
||||
|
||||
// draw header
|
||||
if (topFillHeight > 0)
|
||||
{
|
||||
g.FillRectangle(new SolidBrush(topFillColour), areaTop);
|
||||
}
|
||||
|
||||
// fill menu
|
||||
g.FillRectangle(new SolidBrush(menuFillColour), areaMenu);
|
||||
|
||||
// draw footer
|
||||
if (bottomFillMargin > 0)
|
||||
{
|
||||
g.FillRectangle(new SolidBrush(bottomFillColour), areaBottom);
|
||||
}
|
||||
|
||||
// draw logo
|
||||
if (this.TitleLogo != null)
|
||||
{
|
||||
g.DrawImageUnscaled(this.TitleLogo, this.Padding.Left, this.Padding.Top);
|
||||
}
|
||||
|
||||
if (this.Banner != null)
|
||||
{
|
||||
g.DrawImageUnscaled(this.Banner, this.Padding.Left + bottomLeftMargin, (this.DisplayRectangle.Height - this.Banner.Height - bottomFillMargin + this.Padding.Top), (this.DisplayRectangle.Width - (this.Padding.Left + this.Padding.Right)), this.Banner.Height);
|
||||
}
|
||||
|
||||
g.DrawRectangle(new Pen(Color.Black, borderWidth), areaBorder);
|
||||
}
|
||||
|
||||
protected override void OnResize(EventArgs e)
|
||||
{
|
||||
base.OnResize(e);
|
||||
|
||||
updatePictureBox2Image();
|
||||
|
||||
this.Invalidate();
|
||||
}
|
||||
|
||||
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public new Color BackColor { get => base.BackColor; set => base.BackColor = value; }
|
||||
|
||||
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public new FormBorderStyle FormBorderStyle { get => base.FormBorderStyle; set => base.FormBorderStyle = value; }
|
||||
|
||||
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public new Padding Padding { get => base.Padding; set => base.Padding = value; }
|
||||
|
||||
[Category("Appearance"), Browsable(true)]
|
||||
public string Description
|
||||
{
|
||||
get
|
||||
{
|
||||
return label1.Text?.Replace("\n", "\\n");
|
||||
}
|
||||
set
|
||||
{
|
||||
label1.Text = value?.Replace("\\n", "\n");
|
||||
}
|
||||
}
|
||||
|
||||
[Category("Appearance"), Browsable(true)]
|
||||
public Image TitleLogo { get; set; }
|
||||
|
||||
[Category("Appearance"), Browsable(true)]
|
||||
public Image Banner { get; set; }
|
||||
|
||||
[Category("Appearance"), Browsable(true)]
|
||||
public bool ShowMenuButton { get => pictureBox4.Visible; set => pictureBox4.Visible = value; }
|
||||
|
||||
protected virtual bool IsBusy { get => isBusy; set => isBusy = value; }
|
||||
|
||||
private void pictureBox4_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
//this.WindowState = FormWindowState.Minimized;
|
||||
}
|
||||
|
||||
private void pictureBox1_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
MouseEventArgs mouseEvent = (MouseEventArgs)e;
|
||||
if (mouseEvent != null)
|
||||
{
|
||||
if (mouseEvent.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.WindowState = FormWindowState.Minimized;
|
||||
}
|
||||
|
||||
private void pictureBox2_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
MouseEventArgs mouseEvent = (MouseEventArgs)e;
|
||||
if (mouseEvent != null)
|
||||
{
|
||||
if (mouseEvent.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.WindowState == FormWindowState.Maximized)
|
||||
{
|
||||
this.WindowState = FormWindowState.Normal;
|
||||
pictureBox2.NormalImage = Resources.form20_maximise;
|
||||
pictureBox2.HighlightImage = Resources.form20_maximise2;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.WindowState = FormWindowState.Maximized;
|
||||
pictureBox2.NormalImage = Resources.form20_restore;
|
||||
pictureBox2.HighlightImage = Resources.form20_restore2;
|
||||
}
|
||||
}
|
||||
|
||||
private void pictureBox3_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
MouseEventArgs mouseEvent = (MouseEventArgs)e;
|
||||
if (mouseEvent != null)
|
||||
{
|
||||
if (mouseEvent.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.Close();
|
||||
}
|
||||
|
||||
public void SetValue(Label sender, string value)
|
||||
{
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { sender.Text = value; }));
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.Text = value;
|
||||
}
|
||||
}
|
||||
|
||||
public void SetValue(GroupBox sender, string value)
|
||||
{
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { sender.Text = value; }));
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.Text = value;
|
||||
}
|
||||
}
|
||||
|
||||
public void AddValue(ListBox sender, string value)
|
||||
{
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { sender.Items.Add(value); }));
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.Items.Add(value);
|
||||
}
|
||||
}
|
||||
|
||||
public void AddControl(FlowLayoutPanel sender, Control value)
|
||||
{
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() =>
|
||||
{
|
||||
sender.Controls.Add(value);
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.Controls.Add(value);
|
||||
}
|
||||
}
|
||||
|
||||
public void ClearValues(ListBox sender)
|
||||
{
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { sender.Items.Clear(); }));
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.Items.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
public string GetValue(ListBox sender)
|
||||
{
|
||||
string rv = string.Empty;
|
||||
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { rv = (sender.SelectedItem == null) ? string.Empty : sender.SelectedItem.ToString(); }));
|
||||
}
|
||||
else
|
||||
{
|
||||
rv = (sender.SelectedItem == null) ? string.Empty : sender.SelectedItem.ToString();
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
public string GetValue(TextBox sender)
|
||||
{
|
||||
string rv = string.Empty;
|
||||
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { rv = sender.Text.Trim(); }));
|
||||
}
|
||||
else
|
||||
{
|
||||
rv = sender.Text.Trim();
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
public int GetValue(NumericUpDown sender)
|
||||
{
|
||||
int rv = 0;
|
||||
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { rv = (int)sender.Value; }));
|
||||
}
|
||||
else
|
||||
{
|
||||
rv = (int)sender.Value;
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
protected void updatePictureBox2Image()
|
||||
{
|
||||
if (this.WindowState == FormWindowState.Maximized)
|
||||
{
|
||||
pictureBox2.NormalImage = Resources.form20_restore;
|
||||
pictureBox2.HighlightImage = Resources.form20_restore2;
|
||||
}
|
||||
else
|
||||
{
|
||||
pictureBox2.NormalImage = Resources.form20_maximise;
|
||||
pictureBox2.HighlightImage = Resources.form20_maximise2;
|
||||
}
|
||||
}
|
||||
|
||||
private void label1_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
windowDragging = true;
|
||||
windowOffset = e.Location;
|
||||
}
|
||||
|
||||
private void label1_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
windowDragging = false;
|
||||
}
|
||||
|
||||
private void label1_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (windowDragging)
|
||||
{
|
||||
Point currentScreenPos = PointToScreen(e.Location);
|
||||
Location = new Point(currentScreenPos.X - windowOffset.X, currentScreenPos.Y - windowOffset.Y);
|
||||
}
|
||||
}
|
||||
|
||||
private void label1_DoubleClick(object sender, EventArgs e) => pictureBox2_Click(sender, e);
|
||||
|
||||
private void label1_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button == MouseButtons.Middle)
|
||||
{
|
||||
this.TopMost = !this.TopMost;
|
||||
}
|
||||
}
|
||||
|
||||
private void panel1_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
windowDragging = true;
|
||||
windowOffset = e.Location;
|
||||
windowSize = new Point(this.Width, this.Height);
|
||||
}
|
||||
|
||||
private void panel1_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
windowDragging = false;
|
||||
}
|
||||
|
||||
private void panel1_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (windowDragging)
|
||||
{
|
||||
this.Size = new Size(e.X - windowOffset.X + this.Width, e.Y - windowOffset.Y + this.Height);
|
||||
}
|
||||
}
|
||||
|
||||
private void panel2_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
windowDragging = true;
|
||||
windowOffset = e.Location;
|
||||
windowSize = new Point(this.Width, this.Height);
|
||||
}
|
||||
|
||||
private void panel2_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
windowDragging = false;
|
||||
}
|
||||
|
||||
private void panel2_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (windowDragging)
|
||||
{
|
||||
this.Size = new Size(windowSize.X, e.Y - windowOffset.Y + this.Height);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,158 +0,0 @@
|
||||
<?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>
|
||||
<metadata name="label1.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pictureBox4.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pictureBox2.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pictureBox1.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="pictureBox3.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="pictureBox3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
xAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAADnSURBVDhP1ZVB
|
||||
DoIwEEW7whNo9Cri/QCv5Y4YEoTWxK71Gvqn+W2AgEkbNvxkYPgzfWkpKcpau9NaX/u+/yC+iSFjK3Ay
|
||||
RdhcU0qUChc3s67rzipRGJ8T+JYHR2ctWYGzXSC8Gzbs3rbtgZaSXDyp0QoKnJBMBK8WH5vVCUhCcvbX
|
||||
bAuivwxsmmaP2TxYfyE3zJ/Ij2wLYu3/OxQoah4kYedgIt8TDTTGnFgeyfcsAodLxn205Dlo4IRkInjr
|
||||
bgq8dT+bWG0L6A/WnLVo4b1eyHDHV8WHNaJwvwAkJeI9KMSGjC201tkP+AimzgF8cMEAAAAASUVORK5C
|
||||
YII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="pictureBox3.NormalImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
xAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAADnSURBVDhP1ZVB
|
||||
DoIwEEW7whNo9Cri/QCv5Y4YEoTWxK71Gvqn+W2AgEkbNvxkYPgzfWkpKcpau9NaX/u+/yC+iSFjK3Ay
|
||||
RdhcU0qUChc3s67rzipRGJ8T+JYHR2ctWYGzXSC8Gzbs3rbtgZaSXDyp0QoKnJBMBK8WH5vVCUhCcvbX
|
||||
bAuivwxsmmaP2TxYfyE3zJ/Ij2wLYu3/OxQoah4kYedgIt8TDTTGnFgeyfcsAodLxn205Dlo4IRkInjr
|
||||
bgq8dT+bWG0L6A/WnLVo4b1eyHDHV8WHNaJwvwAkJeI9KMSGjC201tkP+AimzgF8cMEAAAAASUVORK5C
|
||||
YII=
|
||||
</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -1,191 +0,0 @@
|
||||
namespace RyzStudio.Windows.ThemedForms
|
||||
{
|
||||
partial class BorderlessToolForm
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.lblDescription = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.imgbxMenu = new RyzStudio.Windows.Forms.ImageBox();
|
||||
this.imgbxMaximise = new RyzStudio.Windows.Forms.ImageBox();
|
||||
this.imgbxMinimise = new RyzStudio.Windows.Forms.ImageBox();
|
||||
this.imgbxClose = new RyzStudio.Windows.Forms.ImageBox();
|
||||
this.area1 = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxMenu)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxMaximise)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxMinimise)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lblDescription
|
||||
//
|
||||
this.lblDescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblDescription.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblDescription.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.lblDescription.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(241)))), ((int)(((byte)(241)))), ((int)(((byte)(241)))));
|
||||
this.lblDescription.Location = new System.Drawing.Point(1, 1);
|
||||
this.lblDescription.Name = "lblDescription";
|
||||
this.lblDescription.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
|
||||
this.lblDescription.Size = new System.Drawing.Size(194, 30);
|
||||
this.lblDescription.TabIndex = 148;
|
||||
this.lblDescription.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.lblDescription.DoubleClick += new System.EventHandler(this.label1_DoubleClick);
|
||||
this.lblDescription.MouseClick += new System.Windows.Forms.MouseEventHandler(this.label1_MouseClick);
|
||||
this.lblDescription.MouseDown += new System.Windows.Forms.MouseEventHandler(this.label1_MouseDown);
|
||||
this.lblDescription.MouseMove += new System.Windows.Forms.MouseEventHandler(this.label1_MouseMove);
|
||||
this.lblDescription.MouseUp += new System.Windows.Forms.MouseEventHandler(this.label1_MouseUp);
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.panel1.Cursor = System.Windows.Forms.Cursors.SizeNWSE;
|
||||
this.panel1.Location = new System.Drawing.Point(335, 595);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(5, 5);
|
||||
this.panel1.TabIndex = 150;
|
||||
this.panel1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseDown);
|
||||
this.panel1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseMove);
|
||||
this.panel1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel1_MouseUp);
|
||||
//
|
||||
// imgbxMenu
|
||||
//
|
||||
this.imgbxMenu.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.imgbxMenu.BackColor = System.Drawing.Color.Transparent;
|
||||
this.imgbxMenu.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.imgbxMenu.ErrorImage = null;
|
||||
this.imgbxMenu.HighlightImage = global::AppLauncher.Properties.Resources.form16_menu2;
|
||||
this.imgbxMenu.Image = global::AppLauncher.Properties.Resources.form16_menu;
|
||||
this.imgbxMenu.InitialImage = null;
|
||||
this.imgbxMenu.Location = new System.Drawing.Point(224, 4);
|
||||
this.imgbxMenu.Name = "imgbxMenu";
|
||||
this.imgbxMenu.NormalImage = global::AppLauncher.Properties.Resources.form16_menu;
|
||||
this.imgbxMenu.Size = new System.Drawing.Size(24, 24);
|
||||
this.imgbxMenu.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.imgbxMenu.TabIndex = 149;
|
||||
this.imgbxMenu.TabStop = false;
|
||||
//
|
||||
// imgbxMaximise
|
||||
//
|
||||
this.imgbxMaximise.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.imgbxMaximise.BackColor = System.Drawing.Color.Transparent;
|
||||
this.imgbxMaximise.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.imgbxMaximise.ErrorImage = null;
|
||||
this.imgbxMaximise.HighlightImage = global::AppLauncher.Properties.Resources.form16_maximise2;
|
||||
this.imgbxMaximise.Image = global::AppLauncher.Properties.Resources.form16_maximise;
|
||||
this.imgbxMaximise.InitialImage = null;
|
||||
this.imgbxMaximise.Location = new System.Drawing.Point(280, 4);
|
||||
this.imgbxMaximise.Name = "imgbxMaximise";
|
||||
this.imgbxMaximise.NormalImage = global::AppLauncher.Properties.Resources.form16_maximise;
|
||||
this.imgbxMaximise.Size = new System.Drawing.Size(24, 24);
|
||||
this.imgbxMaximise.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.imgbxMaximise.TabIndex = 147;
|
||||
this.imgbxMaximise.TabStop = false;
|
||||
//
|
||||
// imgbxMinimise
|
||||
//
|
||||
this.imgbxMinimise.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.imgbxMinimise.BackColor = System.Drawing.Color.Transparent;
|
||||
this.imgbxMinimise.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.imgbxMinimise.ErrorImage = null;
|
||||
this.imgbxMinimise.HighlightImage = global::AppLauncher.Properties.Resources.form16_minimise2;
|
||||
this.imgbxMinimise.Image = global::AppLauncher.Properties.Resources.form16_minimise;
|
||||
this.imgbxMinimise.InitialImage = null;
|
||||
this.imgbxMinimise.Location = new System.Drawing.Point(252, 4);
|
||||
this.imgbxMinimise.Name = "imgbxMinimise";
|
||||
this.imgbxMinimise.NormalImage = global::AppLauncher.Properties.Resources.form16_minimise;
|
||||
this.imgbxMinimise.Size = new System.Drawing.Size(24, 24);
|
||||
this.imgbxMinimise.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.imgbxMinimise.TabIndex = 146;
|
||||
this.imgbxMinimise.TabStop = false;
|
||||
//
|
||||
// imgbxClose
|
||||
//
|
||||
this.imgbxClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.imgbxClose.BackColor = System.Drawing.Color.Transparent;
|
||||
this.imgbxClose.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.imgbxClose.ErrorImage = null;
|
||||
this.imgbxClose.HighlightImage = global::AppLauncher.Properties.Resources.form16_close2;
|
||||
this.imgbxClose.Image = global::AppLauncher.Properties.Resources.form16_close;
|
||||
this.imgbxClose.InitialImage = null;
|
||||
this.imgbxClose.Location = new System.Drawing.Point(308, 4);
|
||||
this.imgbxClose.Name = "imgbxClose";
|
||||
this.imgbxClose.NormalImage = global::AppLauncher.Properties.Resources.form16_close;
|
||||
this.imgbxClose.Size = new System.Drawing.Size(24, 24);
|
||||
this.imgbxClose.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
|
||||
this.imgbxClose.TabIndex = 145;
|
||||
this.imgbxClose.TabStop = false;
|
||||
//
|
||||
// area1
|
||||
//
|
||||
this.area1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.area1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.area1.Cursor = System.Windows.Forms.Cursors.SizeNS;
|
||||
this.area1.Location = new System.Drawing.Point(0, 595);
|
||||
this.area1.Name = "area1";
|
||||
this.area1.Size = new System.Drawing.Size(334, 5);
|
||||
this.area1.TabIndex = 151;
|
||||
this.area1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseDown);
|
||||
this.area1.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseMove);
|
||||
this.area1.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panel2_MouseUp);
|
||||
//
|
||||
// BorderlessToolForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.ClientSize = new System.Drawing.Size(340, 600);
|
||||
this.Controls.Add(this.area1);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.imgbxMenu);
|
||||
this.Controls.Add(this.lblDescription);
|
||||
this.Controls.Add(this.imgbxMaximise);
|
||||
this.Controls.Add(this.imgbxMinimise);
|
||||
this.Controls.Add(this.imgbxClose);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.MinimumSize = new System.Drawing.Size(40, 0);
|
||||
this.Name = "BorderlessToolForm";
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxMenu)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxMaximise)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxMinimise)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
protected internal Forms.ImageBox imgbxMaximise;
|
||||
protected internal Forms.ImageBox imgbxMinimise;
|
||||
protected internal Forms.ImageBox imgbxClose;
|
||||
protected internal System.Windows.Forms.Label lblDescription;
|
||||
protected internal Forms.ImageBox imgbxMenu;
|
||||
protected internal System.Windows.Forms.Panel panel1;
|
||||
protected internal System.Windows.Forms.Panel area1;
|
||||
}
|
||||
}
|
||||
@@ -1,394 +0,0 @@
|
||||
namespace RyzStudio.Windows.ThemedForms
|
||||
{
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Design;
|
||||
using System.Windows.Forms;
|
||||
using Resources = AppLauncher.Properties.Resources;
|
||||
|
||||
public partial class BorderlessToolForm : System.Windows.Forms.Form
|
||||
{
|
||||
protected bool isBusy = false;
|
||||
|
||||
protected Color topFillColour = Color.FromArgb(15, 15, 15);
|
||||
protected int topFillHeight = 32;
|
||||
protected int borderWidth = 1;
|
||||
|
||||
private bool windowDragging = false;
|
||||
private Point windowOffset = new Point();
|
||||
private Point windowSize = new Point();
|
||||
|
||||
public BorderlessToolForm() : base()
|
||||
{
|
||||
this.InitializeComponent();
|
||||
|
||||
this.BackColor = Color.FromArgb(246, 246, 246);
|
||||
this.Padding = new Padding(1);
|
||||
|
||||
this.topFillColour = Color.FromArgb(51, 51, 51);
|
||||
this.topFillHeight = 32;
|
||||
|
||||
this.BackColor = Color.FromArgb(179, 179, 179);
|
||||
this.FormBorderStyle = FormBorderStyle.None;
|
||||
|
||||
imgbxMinimise.Click += pictureBox1_Click;
|
||||
imgbxMaximise.Click += pictureBox2_Click;
|
||||
imgbxClose.Click += pictureBox3_Click;
|
||||
imgbxMenu.Click += pictureBox4_Click;
|
||||
|
||||
updatePictureBox2Image();
|
||||
}
|
||||
|
||||
protected override void OnClosing(CancelEventArgs e)
|
||||
{
|
||||
base.OnClosing(e);
|
||||
|
||||
if (this.IsBusy)
|
||||
{
|
||||
e.Cancel = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void OnPaint(PaintEventArgs e)
|
||||
{
|
||||
base.OnPaint(e);
|
||||
|
||||
Graphics g = e.Graphics;
|
||||
|
||||
Rectangle areaTop = new Rectangle(this.DisplayRectangle.Left, this.Padding.Top, this.DisplayRectangle.Width, topFillHeight);
|
||||
Rectangle areaBorder = new Rectangle(this.ClientRectangle.X, this.ClientRectangle.Y, this.ClientRectangle.Width - borderWidth, this.ClientRectangle.Height - borderWidth);
|
||||
|
||||
// draw header
|
||||
if (topFillHeight > 0)
|
||||
{
|
||||
g.FillRectangle(new SolidBrush(topFillColour), areaTop);
|
||||
}
|
||||
|
||||
// draw logo
|
||||
//if (this.TitleLogo != null)
|
||||
//{
|
||||
// g.DrawImageUnscaled(this.TitleLogo, this.Padding.Left, this.Padding.Top);
|
||||
//}
|
||||
|
||||
g.DrawRectangle(new Pen(Color.Black, borderWidth), areaBorder);
|
||||
}
|
||||
|
||||
protected override void OnResize(EventArgs e)
|
||||
{
|
||||
base.OnResize(e);
|
||||
|
||||
updatePictureBox2Image();
|
||||
|
||||
this.Invalidate();
|
||||
}
|
||||
|
||||
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public new Color BackColor { get => base.BackColor; set => base.BackColor = value; }
|
||||
|
||||
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public new FormBorderStyle FormBorderStyle { get => base.FormBorderStyle; set => base.FormBorderStyle = value; }
|
||||
|
||||
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public new Padding Padding { get => base.Padding; set => base.Padding = value; }
|
||||
|
||||
[Category("Appearance"), Browsable(true)]
|
||||
public string Description
|
||||
{
|
||||
get
|
||||
{
|
||||
return lblDescription.Text?.Replace("\n", "\\n");
|
||||
}
|
||||
set
|
||||
{
|
||||
lblDescription.Text = value?.Replace("\\n", "\n");
|
||||
}
|
||||
}
|
||||
|
||||
//[Category("Appearance"), Browsable(true)]
|
||||
//public Image TitleLogo { get; set; }
|
||||
|
||||
[Category("Appearance"), Browsable(true)]
|
||||
public Image Banner { get; set; }
|
||||
|
||||
[Category("Appearance"), Browsable(true)]
|
||||
public bool ShowMenuButton { get => imgbxMenu.Visible; set => imgbxMenu.Visible = value; }
|
||||
|
||||
[Category("Appearance"), Browsable(true)]
|
||||
public bool ShowMinimiseButton { get => imgbxMinimise.Visible; set => imgbxMinimise.Visible = value; }
|
||||
|
||||
[Category("Appearance"), Browsable(true)]
|
||||
public bool ShowMaximiseButton { get => imgbxMaximise.Visible; set => imgbxMaximise.Visible = value; }
|
||||
|
||||
protected virtual bool IsBusy { get => isBusy; set => isBusy = value; }
|
||||
|
||||
private void pictureBox4_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
//this.WindowState = FormWindowState.Minimized;
|
||||
}
|
||||
|
||||
private void pictureBox1_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
MouseEventArgs mouseEvent = (MouseEventArgs)e;
|
||||
if (mouseEvent != null)
|
||||
{
|
||||
if (mouseEvent.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.WindowState = FormWindowState.Minimized;
|
||||
}
|
||||
|
||||
private void pictureBox2_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
MouseEventArgs mouseEvent = (MouseEventArgs)e;
|
||||
if (mouseEvent != null)
|
||||
{
|
||||
if (mouseEvent.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.WindowState == FormWindowState.Maximized)
|
||||
{
|
||||
this.WindowState = FormWindowState.Normal;
|
||||
imgbxMaximise.NormalImage = Resources.form16_maximise;
|
||||
imgbxMaximise.HighlightImage = Resources.form16_maximise2;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.WindowState = FormWindowState.Maximized;
|
||||
imgbxMaximise.NormalImage = Resources.form16_restore;
|
||||
imgbxMaximise.HighlightImage = Resources.form16_restore2;
|
||||
}
|
||||
}
|
||||
|
||||
private void pictureBox3_Click(object sender, System.EventArgs e)
|
||||
{
|
||||
MouseEventArgs mouseEvent = (MouseEventArgs)e;
|
||||
if (mouseEvent != null)
|
||||
{
|
||||
if (mouseEvent.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
this.Close();
|
||||
}
|
||||
|
||||
public void SetValue(Label sender, string value)
|
||||
{
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { sender.Text = value; }));
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.Text = value;
|
||||
}
|
||||
}
|
||||
|
||||
public void SetValue(GroupBox sender, string value)
|
||||
{
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { sender.Text = value; }));
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.Text = value;
|
||||
}
|
||||
}
|
||||
|
||||
public void AddValue(ListBox sender, string value)
|
||||
{
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { sender.Items.Add(value); }));
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.Items.Add(value);
|
||||
}
|
||||
}
|
||||
|
||||
public void AddControl(FlowLayoutPanel sender, Control value)
|
||||
{
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() =>
|
||||
{
|
||||
sender.Controls.Add(value);
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.Controls.Add(value);
|
||||
}
|
||||
}
|
||||
|
||||
public void ClearValues(ListBox sender)
|
||||
{
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { sender.Items.Clear(); }));
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.Items.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
public string GetValue(ListBox sender)
|
||||
{
|
||||
string rv = string.Empty;
|
||||
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { rv = (sender.SelectedItem == null) ? string.Empty : sender.SelectedItem.ToString(); }));
|
||||
}
|
||||
else
|
||||
{
|
||||
rv = (sender.SelectedItem == null) ? string.Empty : sender.SelectedItem.ToString();
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
public string GetValue(TTextBox sender)
|
||||
{
|
||||
string rv = string.Empty;
|
||||
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { rv = sender.Text.Trim(); }));
|
||||
}
|
||||
else
|
||||
{
|
||||
rv = sender.Text.Trim();
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
public int GetValue(NumericUpDown sender)
|
||||
{
|
||||
int rv = 0;
|
||||
|
||||
if (sender.InvokeRequired)
|
||||
{
|
||||
sender.Invoke(new MethodInvoker(() => { rv = (int)sender.Value; }));
|
||||
}
|
||||
else
|
||||
{
|
||||
rv = (int)sender.Value;
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
protected void updatePictureBox2Image()
|
||||
{
|
||||
if (this.WindowState == FormWindowState.Maximized)
|
||||
{
|
||||
imgbxMaximise.NormalImage = Resources.form16_restore;
|
||||
imgbxMaximise.HighlightImage = Resources.form16_restore2;
|
||||
}
|
||||
else
|
||||
{
|
||||
imgbxMaximise.NormalImage = Resources.form16_maximise;
|
||||
imgbxMaximise.HighlightImage = Resources.form16_maximise2;
|
||||
}
|
||||
}
|
||||
|
||||
private void label1_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
windowDragging = true;
|
||||
windowOffset = e.Location;
|
||||
}
|
||||
|
||||
private void label1_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
windowDragging = false;
|
||||
}
|
||||
|
||||
private void label1_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (windowDragging)
|
||||
{
|
||||
Point currentScreenPos = PointToScreen(e.Location);
|
||||
Location = new Point(currentScreenPos.X - windowOffset.X, currentScreenPos.Y - windowOffset.Y);
|
||||
}
|
||||
}
|
||||
|
||||
private void label1_DoubleClick(object sender, EventArgs e) => pictureBox2_Click(sender, e);
|
||||
|
||||
private void label1_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button == MouseButtons.Middle)
|
||||
{
|
||||
this.TopMost = !this.TopMost;
|
||||
}
|
||||
}
|
||||
|
||||
private void panel1_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
windowDragging = true;
|
||||
windowOffset = e.Location;
|
||||
windowSize = new Point(this.Width, this.Height);
|
||||
}
|
||||
|
||||
private void panel1_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
windowDragging = false;
|
||||
}
|
||||
|
||||
private void panel1_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (windowDragging)
|
||||
{
|
||||
this.Size = new Size(e.X - windowOffset.X + this.Width, e.Y - windowOffset.Y + this.Height);
|
||||
}
|
||||
}
|
||||
|
||||
private void panel2_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button != MouseButtons.Left)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
windowDragging = true;
|
||||
windowOffset = e.Location;
|
||||
windowSize = new Point(this.Width, this.Height);
|
||||
}
|
||||
|
||||
private void panel2_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
windowDragging = false;
|
||||
|
||||
}
|
||||
|
||||
private void panel2_MouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (windowDragging)
|
||||
{
|
||||
this.Size = new Size(windowSize.X, e.Y - windowOffset.Y + this.Height);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,138 +0,0 @@
|
||||
<?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>
|
||||
<metadata name="lblDescription.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="panel1.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="imgbxMenu.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="imgbxMaximise.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="imgbxMinimise.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="imgbxClose.Locked" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
</root>
|
||||
Reference in new issue
Block a user