aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Controls/IconControl.Designer.cs
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-07-19 21:53:26 -0400
committerMichaelTheShifter <[email protected]>2016-07-19 21:53:26 -0400
commit6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9 (patch)
treed7bc4b46c45a552add946666151d44490f3b3caf /source/WindowsFormsApplication1/Controls/IconControl.Designer.cs
parent9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (diff)
downloadshiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.gz
shiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.tar.bz2
shiftos-c--6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9.zip
Full ShiftUI conversion
The only bugs are that windows don't show in the center of the screen, and Gecko webbrowsers are not serializing properly to be converted to ShiftUI widgets (you can use the ToWidget() extension method to convert a WinForms control to a ShiftUI widget) Also multiple desktop panels are removed due to some odd bug I can't diagnose. Will add them back in the future. Promise. I loved creating GNOME2 skins.
Diffstat (limited to 'source/WindowsFormsApplication1/Controls/IconControl.Designer.cs')
-rw-r--r--source/WindowsFormsApplication1/Controls/IconControl.Designer.cs40
1 files changed, 20 insertions, 20 deletions
diff --git a/source/WindowsFormsApplication1/Controls/IconControl.Designer.cs b/source/WindowsFormsApplication1/Controls/IconControl.Designer.cs
index b86f908..62a3cca 100644
--- a/source/WindowsFormsApplication1/Controls/IconControl.Designer.cs
+++ b/source/WindowsFormsApplication1/Controls/IconControl.Designer.cs
@@ -1,6 +1,6 @@
namespace ShiftOS
{
- partial class IconControl
+ partial class IconWidget
{
/// <summary>
/// Required designer variable.
@@ -28,19 +28,19 @@
/// </summary>
private void InitializeComponent()
{
- this.panel1 = new System.Windows.Forms.Panel();
- this.pblarge = new System.Windows.Forms.PictureBox();
- this.lbname = new System.Windows.Forms.Label();
+ this.panel1 = new ShiftUI.Panel();
+ this.pblarge = new ShiftUI.PictureBox();
+ this.lbname = new ShiftUI.Label();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pblarge)).BeginInit();
this.SuspendLayout();
//
// panel1
//
- this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
- this.panel1.Controls.Add(this.pblarge);
- this.panel1.Controls.Add(this.lbname);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel1.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
+ this.panel1.Widgets.Add(this.pblarge);
+ this.panel1.Widgets.Add(this.lbname);
+ this.panel1.Dock = ShiftUI.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(171, 56);
@@ -48,19 +48,19 @@
//
// pblarge
//
- this.pblarge.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.pblarge.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.pblarge.Location = new System.Drawing.Point(135, 3);
this.pblarge.Name = "pblarge";
this.pblarge.Size = new System.Drawing.Size(32, 32);
- this.pblarge.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
+ this.pblarge.SizeMode = ShiftUI.PictureBoxSizeMode.CenterImage;
this.pblarge.TabIndex = 2;
this.pblarge.TabStop = false;
this.pblarge.Click += new System.EventHandler(this.pblarge_Click);
//
// lbname
//
- this.lbname.Cursor = System.Windows.Forms.Cursors.IBeam;
- this.lbname.Dock = System.Windows.Forms.DockStyle.Left;
+ this.lbname.Cursor = ShiftUI.Cursors.IBeam;
+ this.lbname.Dock = ShiftUI.DockStyle.Left;
this.lbname.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.lbname.Location = new System.Drawing.Point(0, 0);
this.lbname.Name = "lbname";
@@ -69,14 +69,14 @@
this.lbname.Text = "Icon Name";
this.lbname.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
- // IconControl
+ // IconWidget
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.panel1);
- this.Name = "IconControl";
+ this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
+ this.Widgets.Add(this.panel1);
+ this.Name = "IconWidget";
this.Size = new System.Drawing.Size(171, 56);
- this.Load += new System.EventHandler(this.IconControl_Load);
+ this.Load += new System.EventHandler(this.IconWidget_Load);
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pblarge)).EndInit();
this.ResumeLayout(false);
@@ -85,8 +85,8 @@
#endregion
- private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.Label lbname;
- private System.Windows.Forms.PictureBox pblarge;
+ private ShiftUI.Panel panel1;
+ private ShiftUI.Label lbname;
+ private ShiftUI.PictureBox pblarge;
}
}