Archived
Changed: simplified tile container, removed group label
This commit is contained in:
1 parent
5ad779ddab
commit
9e167916cb
25 files changed
+443
-131
No files matched your search
@@ -9,7 +9,7 @@ using System.Windows.Forms;
|
||||
|
||||
namespace RyzStudio.Windows.Forms
|
||||
{
|
||||
public class FlatButton : Label
|
||||
public class TFlatButton : Label
|
||||
{
|
||||
public class FlatButtonStyle
|
||||
{
|
||||
@@ -26,7 +26,7 @@ namespace RyzStudio.Windows.Forms
|
||||
|
||||
protected FlatButtonState controlState = FlatButtonState.Idle;
|
||||
|
||||
public FlatButton() : base()
|
||||
public TFlatButton() : base()
|
||||
{
|
||||
this.AutoSize = false;
|
||||
this.ImageAlign = ContentAlignment.MiddleCenter;
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
namespace RyzStudio.Windows.Forms
|
||||
{
|
||||
partial class HorizontalSeparator
|
||||
partial class THorizontalSeparator
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
+4
-2
@@ -3,9 +3,9 @@ using System.Windows.Forms;
|
||||
|
||||
namespace RyzStudio.Windows.Forms
|
||||
{
|
||||
public partial class HorizontalSeparator : System.Windows.Forms.UserControl
|
||||
public partial class THorizontalSeparator : System.Windows.Forms.UserControl
|
||||
{
|
||||
public HorizontalSeparator()
|
||||
public THorizontalSeparator()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
@@ -17,8 +17,10 @@ namespace RyzStudio.Windows.Forms
|
||||
base.OnPaintBackground(e);
|
||||
|
||||
Graphics g = e.Graphics;
|
||||
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(213, 223, 229)), new Rectangle(this.DisplayRectangle.Left, 0, this.DisplayRectangle.Width, 1));
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(249, 251, 253)), new Rectangle(this.DisplayRectangle.Left, 1, this.DisplayRectangle.Width, 1));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -4,9 +4,9 @@ using System.Drawing;
|
||||
|
||||
namespace RyzStudio.Windows.Forms
|
||||
{
|
||||
public class ImageBox : System.Windows.Forms.PictureBox
|
||||
public class TImageBox : System.Windows.Forms.PictureBox
|
||||
{
|
||||
public ImageBox() : base()
|
||||
public TImageBox() : base()
|
||||
{
|
||||
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.ErrorImage = null;
|
||||
@@ -22,7 +22,7 @@ namespace RyzStudio.Windows.Forms
|
||||
}
|
||||
|
||||
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
|
||||
public new Image Image { get => base.Image; set { base.Image = value; } }
|
||||
public new Image Image { get => base.Image; set => base.Image = value; }
|
||||
|
||||
[Category("Appearance"), Browsable(true)]
|
||||
public Image NormalImage { get; set; }
|
||||
@@ -77,7 +77,7 @@
|
||||
|
||||
[Browsable(true), EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
[Category("Appearance")]
|
||||
public Forms.ImageBox InnerImageBox { get => imageBox1; set => imageBox1 = value; }
|
||||
public Forms.TImageBox InnerImageBox { get => imageBox1; set => imageBox1 = value; }
|
||||
|
||||
[Browsable(true), EditorBrowsable(EditorBrowsableState.Advanced)]
|
||||
[Category("Appearance")]
|
||||
|
||||
+2
-2
@@ -29,7 +29,7 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.imageBox1 = new RyzStudio.Windows.Forms.ImageBox();
|
||||
this.imageBox1 = new RyzStudio.Windows.Forms.TImageBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imageBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -76,6 +76,6 @@
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private Forms.ImageBox imageBox1;
|
||||
private Forms.TImageBox imageBox1;
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -30,7 +30,7 @@
|
||||
{
|
||||
this.lblDescription = new System.Windows.Forms.Label();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.imgbxClose = new RyzStudio.Windows.Forms.ImageBox();
|
||||
this.imgbxClose = new RyzStudio.Windows.Forms.TImageBox();
|
||||
this.area1 = new System.Windows.Forms.Panel();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imgbxClose)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
@@ -115,7 +115,7 @@
|
||||
}
|
||||
|
||||
#endregion
|
||||
protected internal Forms.ImageBox imgbxClose;
|
||||
protected internal Forms.TImageBox imgbxClose;
|
||||
protected internal System.Windows.Forms.Label lblDescription;
|
||||
protected internal System.Windows.Forms.Panel panel1;
|
||||
protected internal System.Windows.Forms.Panel area1;
|
||||
|
||||
+10
-10
@@ -29,11 +29,11 @@
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.listBox1 = new System.Windows.Forms.ListBox();
|
||||
this.imageBox5 = new RyzStudio.Windows.Forms.ImageBox();
|
||||
this.imageBox4 = new RyzStudio.Windows.Forms.ImageBox();
|
||||
this.imageBox3 = new RyzStudio.Windows.Forms.ImageBox();
|
||||
this.imageBox2 = new RyzStudio.Windows.Forms.ImageBox();
|
||||
this.imageBox1 = new RyzStudio.Windows.Forms.ImageBox();
|
||||
this.imageBox5 = new RyzStudio.Windows.Forms.TImageBox();
|
||||
this.imageBox4 = new RyzStudio.Windows.Forms.TImageBox();
|
||||
this.imageBox3 = new RyzStudio.Windows.Forms.TImageBox();
|
||||
this.imageBox2 = new RyzStudio.Windows.Forms.TImageBox();
|
||||
this.imageBox1 = new RyzStudio.Windows.Forms.TImageBox();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imageBox5)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imageBox4)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imageBox3)).BeginInit();
|
||||
@@ -173,10 +173,10 @@
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.ListBox listBox1;
|
||||
private Forms.ImageBox imageBox1;
|
||||
private Forms.ImageBox imageBox2;
|
||||
private Forms.ImageBox imageBox3;
|
||||
private Forms.ImageBox imageBox4;
|
||||
private Forms.ImageBox imageBox5;
|
||||
private Forms.TImageBox imageBox1;
|
||||
private Forms.TImageBox imageBox2;
|
||||
private Forms.TImageBox imageBox3;
|
||||
private Forms.TImageBox imageBox4;
|
||||
private Forms.TImageBox imageBox5;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user