diff options
| author | MichaelTheShifter <[email protected]> | 2016-07-19 21:53:26 -0400 |
|---|---|---|
| committer | MichaelTheShifter <[email protected]> | 2016-07-19 21:53:26 -0400 |
| commit | 6b804f03ebcdd1c5aa145f29ae71b62bd61f8cb9 (patch) | |
| tree | d7bc4b46c45a552add946666151d44490f3b3caf /source/WindowsFormsApplication1/Dialogs/Graphic_Picker.Designer.cs | |
| parent | 9322701aa1eae9596a8586ef19a0fe1d1b3ab66b (diff) | |
| download | shiftos-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/Dialogs/Graphic_Picker.Designer.cs')
| -rw-r--r-- | source/WindowsFormsApplication1/Dialogs/Graphic_Picker.Designer.cs | 210 |
1 files changed, 102 insertions, 108 deletions
diff --git a/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.Designer.cs b/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.Designer.cs index 5cc62ea..5544a56 100644 --- a/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.Designer.cs +++ b/source/WindowsFormsApplication1/Dialogs/Graphic_Picker.Designer.cs @@ -24,31 +24,30 @@ namespace ShiftOS private void InitializeComponent() { - this.pgcontents = new System.Windows.Forms.Panel(); - this.btncancel = new System.Windows.Forms.Button(); - this.btnreset = new System.Windows.Forms.Button(); - this.btnapply = new System.Windows.Forms.Button(); - this.Label4 = new System.Windows.Forms.Label(); - this.btnmousedownbrowse = new System.Windows.Forms.Button(); - this.txtmousedownfile = new System.Windows.Forms.TextBox(); - this.picmousedown = new System.Windows.Forms.PictureBox(); - this.Label3 = new System.Windows.Forms.Label(); - this.btnmouseoverbrowse = new System.Windows.Forms.Button(); - this.txtmouseoverfile = new System.Windows.Forms.TextBox(); - this.picmouseover = new System.Windows.Forms.PictureBox(); - this.Label2 = new System.Windows.Forms.Label(); - this.Label1 = new System.Windows.Forms.Label(); - this.btnidlebrowse = new System.Windows.Forms.Button(); - this.txtidlefile = new System.Windows.Forms.TextBox(); - this.picidle = new System.Windows.Forms.PictureBox(); - this.btnzoom = new System.Windows.Forms.Button(); - this.btnstretch = new System.Windows.Forms.Button(); - this.btncentre = new System.Windows.Forms.Button(); - this.btntile = new System.Windows.Forms.Button(); - this.pnlgraphicholder = new System.Windows.Forms.Panel(); - this.picgraphic = new System.Windows.Forms.PictureBox(); - this.lblobjecttoskin = new System.Windows.Forms.Label(); - this.OpenFileDialog1 = new System.Windows.Forms.OpenFileDialog(); + this.pgcontents = new ShiftUI.Panel(); + this.btncancel = new ShiftUI.Button(); + this.btnreset = new ShiftUI.Button(); + this.btnapply = new ShiftUI.Button(); + this.Label4 = new ShiftUI.Label(); + this.btnmousedownbrowse = new ShiftUI.Button(); + this.txtmousedownfile = new ShiftUI.TextBox(); + this.picmousedown = new ShiftUI.PictureBox(); + this.Label3 = new ShiftUI.Label(); + this.btnmouseoverbrowse = new ShiftUI.Button(); + this.txtmouseoverfile = new ShiftUI.TextBox(); + this.picmouseover = new ShiftUI.PictureBox(); + this.Label2 = new ShiftUI.Label(); + this.Label1 = new ShiftUI.Label(); + this.btnidlebrowse = new ShiftUI.Button(); + this.txtidlefile = new ShiftUI.TextBox(); + this.picidle = new ShiftUI.PictureBox(); + this.btnzoom = new ShiftUI.Button(); + this.btnstretch = new ShiftUI.Button(); + this.btncentre = new ShiftUI.Button(); + this.btntile = new ShiftUI.Button(); + this.pnlgraphicholder = new ShiftUI.Panel(); + this.picgraphic = new ShiftUI.PictureBox(); + this.lblobjecttoskin = new ShiftUI.Label(); this.pgcontents.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.picmousedown)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picmouseover)).BeginInit(); @@ -60,29 +59,29 @@ namespace ShiftOS // pgcontents // this.pgcontents.BackColor = System.Drawing.Color.White; - this.pgcontents.Controls.Add(this.btncancel); - this.pgcontents.Controls.Add(this.btnreset); - this.pgcontents.Controls.Add(this.btnapply); - this.pgcontents.Controls.Add(this.Label4); - this.pgcontents.Controls.Add(this.btnmousedownbrowse); - this.pgcontents.Controls.Add(this.txtmousedownfile); - this.pgcontents.Controls.Add(this.picmousedown); - this.pgcontents.Controls.Add(this.Label3); - this.pgcontents.Controls.Add(this.btnmouseoverbrowse); - this.pgcontents.Controls.Add(this.txtmouseoverfile); - this.pgcontents.Controls.Add(this.picmouseover); - this.pgcontents.Controls.Add(this.Label2); - this.pgcontents.Controls.Add(this.Label1); - this.pgcontents.Controls.Add(this.btnidlebrowse); - this.pgcontents.Controls.Add(this.txtidlefile); - this.pgcontents.Controls.Add(this.picidle); - this.pgcontents.Controls.Add(this.btnzoom); - this.pgcontents.Controls.Add(this.btnstretch); - this.pgcontents.Controls.Add(this.btncentre); - this.pgcontents.Controls.Add(this.btntile); - this.pgcontents.Controls.Add(this.pnlgraphicholder); - this.pgcontents.Controls.Add(this.lblobjecttoskin); - this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill; + this.pgcontents.Widgets.Add(this.btncancel); + this.pgcontents.Widgets.Add(this.btnreset); + this.pgcontents.Widgets.Add(this.btnapply); + this.pgcontents.Widgets.Add(this.Label4); + this.pgcontents.Widgets.Add(this.btnmousedownbrowse); + this.pgcontents.Widgets.Add(this.txtmousedownfile); + this.pgcontents.Widgets.Add(this.picmousedown); + this.pgcontents.Widgets.Add(this.Label3); + this.pgcontents.Widgets.Add(this.btnmouseoverbrowse); + this.pgcontents.Widgets.Add(this.txtmouseoverfile); + this.pgcontents.Widgets.Add(this.picmouseover); + this.pgcontents.Widgets.Add(this.Label2); + this.pgcontents.Widgets.Add(this.Label1); + this.pgcontents.Widgets.Add(this.btnidlebrowse); + this.pgcontents.Widgets.Add(this.txtidlefile); + this.pgcontents.Widgets.Add(this.picidle); + this.pgcontents.Widgets.Add(this.btnzoom); + this.pgcontents.Widgets.Add(this.btnstretch); + this.pgcontents.Widgets.Add(this.btncentre); + this.pgcontents.Widgets.Add(this.btntile); + this.pgcontents.Widgets.Add(this.pnlgraphicholder); + this.pgcontents.Widgets.Add(this.lblobjecttoskin); + this.pgcontents.Dock = ShiftUI.DockStyle.Fill; this.pgcontents.Location = new System.Drawing.Point(0, 0); this.pgcontents.Name = "pgcontents"; this.pgcontents.Size = new System.Drawing.Size(390, 594); @@ -90,8 +89,8 @@ namespace ShiftOS // // btncancel // - this.btncancel.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.btncancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btncancel.Anchor = ShiftUI.AnchorStyles.Bottom; + this.btncancel.FlatStyle = ShiftUI.FlatStyle.Flat; this.btncancel.Location = new System.Drawing.Point(21, 546); this.btncancel.Name = "btncancel"; this.btncancel.Size = new System.Drawing.Size(109, 32); @@ -102,8 +101,8 @@ namespace ShiftOS // // btnreset // - this.btnreset.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.btnreset.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnreset.Anchor = ShiftUI.AnchorStyles.Bottom; + this.btnreset.FlatStyle = ShiftUI.FlatStyle.Flat; this.btnreset.Location = new System.Drawing.Point(136, 546); this.btnreset.Name = "btnreset"; this.btnreset.Size = new System.Drawing.Size(109, 32); @@ -114,8 +113,8 @@ namespace ShiftOS // // btnapply // - this.btnapply.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.btnapply.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnapply.Anchor = ShiftUI.AnchorStyles.Bottom; + this.btnapply.FlatStyle = ShiftUI.FlatStyle.Flat; this.btnapply.Location = new System.Drawing.Point(251, 546); this.btnapply.Name = "btnapply"; this.btnapply.Size = new System.Drawing.Size(118, 32); @@ -136,7 +135,7 @@ namespace ShiftOS // // btnmousedownbrowse // - this.btnmousedownbrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnmousedownbrowse.FlatStyle = ShiftUI.FlatStyle.Flat; this.btnmousedownbrowse.Location = new System.Drawing.Point(295, 411); this.btnmousedownbrowse.Name = "btnmousedownbrowse"; this.btnmousedownbrowse.Size = new System.Drawing.Size(73, 60); @@ -148,7 +147,7 @@ namespace ShiftOS // txtmousedownfile // this.txtmousedownfile.BackColor = System.Drawing.Color.White; - this.txtmousedownfile.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtmousedownfile.BorderStyle = ShiftUI.BorderStyle.FixedSingle; this.txtmousedownfile.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); this.txtmousedownfile.Location = new System.Drawing.Point(125, 442); this.txtmousedownfile.Multiline = true; @@ -156,12 +155,12 @@ namespace ShiftOS this.txtmousedownfile.Size = new System.Drawing.Size(163, 29); this.txtmousedownfile.TabIndex = 18; this.txtmousedownfile.Text = "None"; - this.txtmousedownfile.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.txtmousedownfile.TextAlign = ShiftUI.HorizontalAlignment.Center; // // picmousedown // - this.picmousedown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.picmousedown.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.picmousedown.BackgroundImageLayout = ShiftUI.ImageLayout.Stretch; + this.picmousedown.BorderStyle = ShiftUI.BorderStyle.FixedSingle; this.picmousedown.Location = new System.Drawing.Point(19, 411); this.picmousedown.Name = "picmousedown"; this.picmousedown.Size = new System.Drawing.Size(100, 60); @@ -180,7 +179,7 @@ namespace ShiftOS // // btnmouseoverbrowse // - this.btnmouseoverbrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnmouseoverbrowse.FlatStyle = ShiftUI.FlatStyle.Flat; this.btnmouseoverbrowse.Location = new System.Drawing.Point(295, 336); this.btnmouseoverbrowse.Name = "btnmouseoverbrowse"; this.btnmouseoverbrowse.Size = new System.Drawing.Size(73, 60); @@ -192,7 +191,7 @@ namespace ShiftOS // txtmouseoverfile // this.txtmouseoverfile.BackColor = System.Drawing.Color.White; - this.txtmouseoverfile.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtmouseoverfile.BorderStyle = ShiftUI.BorderStyle.FixedSingle; this.txtmouseoverfile.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F); this.txtmouseoverfile.Location = new System.Drawing.Point(125, 367); this.txtmouseoverfile.Multiline = true; @@ -200,12 +199,12 @@ namespace ShiftOS this.txtmouseoverfile.Size = new System.Drawing.Size(163, 29); this.txtmouseoverfile.TabIndex = 14; this.txtmouseoverfile.Text = "None"; - this.txtmouseoverfile.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.txtmouseoverfile.TextAlign = ShiftUI.HorizontalAlignment.Center; // // picmouseover // - this.picmouseover.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.picmouseover.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.picmouseover.BackgroundImageLayout = ShiftUI.ImageLayout.Stretch; + this.picmouseover.BorderStyle = ShiftUI.BorderStyle.FixedSingle; this.picmouseover.Location = new System.Drawing.Point(19, 336); this.picmouseover.Name = "picmouseover"; this.picmouseover.Size = new System.Drawing.Size(100, 60); @@ -234,7 +233,7 @@ namespace ShiftOS // // btnidlebrowse // - this.btnidlebrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnidlebrowse.FlatStyle = ShiftUI.FlatStyle.Flat; this.btnidlebrowse.Location = new System.Drawing.Point(295, 260); this.btnidlebrowse.Name = "btnidlebrowse"; this.btnidlebrowse.Size = new System.Drawing.Size(73, 60); @@ -246,7 +245,7 @@ namespace ShiftOS // txtidlefile // this.txtidlefile.BackColor = System.Drawing.Color.White; - this.txtidlefile.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.txtidlefile.BorderStyle = ShiftUI.BorderStyle.FixedSingle; this.txtidlefile.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtidlefile.Location = new System.Drawing.Point(125, 291); this.txtidlefile.Multiline = true; @@ -254,16 +253,16 @@ namespace ShiftOS this.txtidlefile.Size = new System.Drawing.Size(163, 29); this.txtidlefile.TabIndex = 9; this.txtidlefile.Text = "None"; - this.txtidlefile.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + this.txtidlefile.TextAlign = ShiftUI.HorizontalAlignment.Center; // // picidle // - this.picidle.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.picidle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.picidle.BackgroundImageLayout = ShiftUI.ImageLayout.Stretch; + this.picidle.BorderStyle = ShiftUI.BorderStyle.FixedSingle; this.picidle.Location = new System.Drawing.Point(19, 260); this.picidle.Name = "picidle"; this.picidle.Size = new System.Drawing.Size(100, 60); - this.picidle.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom; + this.picidle.SizeMode = ShiftUI.PictureBoxSizeMode.Zoom; this.picidle.TabIndex = 8; this.picidle.TabStop = false; // @@ -272,7 +271,7 @@ namespace ShiftOS this.btnzoom.BackgroundImage = global::ShiftOS.Properties.Resources.zoombutton; this.btnzoom.FlatAppearance.BorderColor = System.Drawing.Color.Black; this.btnzoom.FlatAppearance.BorderSize = 0; - this.btnzoom.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnzoom.FlatStyle = ShiftUI.FlatStyle.Flat; this.btnzoom.Location = new System.Drawing.Point(286, 144); this.btnzoom.Name = "btnzoom"; this.btnzoom.Size = new System.Drawing.Size(82, 65); @@ -285,7 +284,7 @@ namespace ShiftOS this.btnstretch.BackgroundImage = global::ShiftOS.Properties.Resources.stretchbutton; this.btnstretch.FlatAppearance.BorderColor = System.Drawing.Color.Black; this.btnstretch.FlatAppearance.BorderSize = 0; - this.btnstretch.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btnstretch.FlatStyle = ShiftUI.FlatStyle.Flat; this.btnstretch.Location = new System.Drawing.Point(197, 144); this.btnstretch.Name = "btnstretch"; this.btnstretch.Size = new System.Drawing.Size(82, 65); @@ -298,7 +297,7 @@ namespace ShiftOS this.btncentre.BackgroundImage = global::ShiftOS.Properties.Resources.centrebutton; this.btncentre.FlatAppearance.BorderColor = System.Drawing.Color.Black; this.btncentre.FlatAppearance.BorderSize = 0; - this.btncentre.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btncentre.FlatStyle = ShiftUI.FlatStyle.Flat; this.btncentre.Location = new System.Drawing.Point(108, 144); this.btncentre.Name = "btncentre"; this.btncentre.Size = new System.Drawing.Size(82, 65); @@ -311,7 +310,7 @@ namespace ShiftOS this.btntile.BackgroundImage = global::ShiftOS.Properties.Resources.tilebutton; this.btntile.FlatAppearance.BorderColor = System.Drawing.Color.Black; this.btntile.FlatAppearance.BorderSize = 0; - this.btntile.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.btntile.FlatStyle = ShiftUI.FlatStyle.Flat; this.btntile.Location = new System.Drawing.Point(19, 144); this.btntile.Name = "btntile"; this.btntile.Size = new System.Drawing.Size(82, 65); @@ -321,7 +320,7 @@ namespace ShiftOS // // pnlgraphicholder // - this.pnlgraphicholder.Controls.Add(this.picgraphic); + this.pnlgraphicholder.Widgets.Add(this.picgraphic); this.pnlgraphicholder.Location = new System.Drawing.Point(19, 38); this.pnlgraphicholder.Name = "pnlgraphicholder"; this.pnlgraphicholder.Size = new System.Drawing.Size(350, 100); @@ -329,7 +328,7 @@ namespace ShiftOS // // picgraphic // - this.picgraphic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; + this.picgraphic.BackgroundImageLayout = ShiftUI.ImageLayout.Center; this.picgraphic.Location = new System.Drawing.Point(0, 0); this.picgraphic.Name = "picgraphic"; this.picgraphic.Size = new System.Drawing.Size(350, 100); @@ -346,17 +345,13 @@ namespace ShiftOS this.lblobjecttoskin.Text = "Close Button"; this.lblobjecttoskin.TextAlign = System.Drawing.ContentAlignment.TopCenter; // - // OpenFileDialog1 - // - this.OpenFileDialog1.FileName = "OpenFileDialog1"; - // // Graphic_Picker // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleMode = ShiftUI.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(390, 594); - this.Controls.Add(this.pgcontents); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Widgets.Add(this.pgcontents); + this.FormBorderStyle = ShiftUI.FormBorderStyle.None; this.Name = "Graphic_Picker"; this.Text = "Graphic_Picker"; this.TopMost = true; @@ -371,30 +366,29 @@ namespace ShiftOS this.ResumeLayout(false); } - internal System.Windows.Forms.Panel pgcontents; - internal System.Windows.Forms.Button btncancel; - internal System.Windows.Forms.Button btnreset; - internal System.Windows.Forms.Button btnapply; - internal System.Windows.Forms.Label Label4; - internal System.Windows.Forms.Button btnmousedownbrowse; - internal System.Windows.Forms.TextBox txtmousedownfile; - internal System.Windows.Forms.PictureBox picmousedown; - internal System.Windows.Forms.Label Label3; - internal System.Windows.Forms.Button btnmouseoverbrowse; - internal System.Windows.Forms.TextBox txtmouseoverfile; - internal System.Windows.Forms.PictureBox picmouseover; - internal System.Windows.Forms.Label Label2; - internal System.Windows.Forms.Label Label1; - internal System.Windows.Forms.Button btnidlebrowse; - internal System.Windows.Forms.TextBox txtidlefile; - internal System.Windows.Forms.PictureBox picidle; - internal System.Windows.Forms.Button btnzoom; - internal System.Windows.Forms.Button btnstretch; - internal System.Windows.Forms.Button btncentre; - internal System.Windows.Forms.Button btntile; - internal System.Windows.Forms.Panel pnlgraphicholder; - internal System.Windows.Forms.PictureBox picgraphic; - internal System.Windows.Forms.Label lblobjecttoskin; - internal System.Windows.Forms.OpenFileDialog OpenFileDialog1; + internal ShiftUI.Panel pgcontents; + internal ShiftUI.Button btncancel; + internal ShiftUI.Button btnreset; + internal ShiftUI.Button btnapply; + internal ShiftUI.Label Label4; + internal ShiftUI.Button btnmousedownbrowse; + internal ShiftUI.TextBox txtmousedownfile; + internal ShiftUI.PictureBox picmousedown; + internal ShiftUI.Label Label3; + internal ShiftUI.Button btnmouseoverbrowse; + internal ShiftUI.TextBox txtmouseoverfile; + internal ShiftUI.PictureBox picmouseover; + internal ShiftUI.Label Label2; + internal ShiftUI.Label Label1; + internal ShiftUI.Button btnidlebrowse; + internal ShiftUI.TextBox txtidlefile; + internal ShiftUI.PictureBox picidle; + internal ShiftUI.Button btnzoom; + internal ShiftUI.Button btnstretch; + internal ShiftUI.Button btncentre; + internal ShiftUI.Button btntile; + internal ShiftUI.Panel pnlgraphicholder; + internal ShiftUI.PictureBox picgraphic; + internal ShiftUI.Label lblobjecttoskin; } }
\ No newline at end of file |
