mirror of
https://github.com/seriocomedy/ShiftOS-C-.git
synced 2025-01-23 09:32:14 +00:00
f1856e8ed3
This glitch has been prevelant ever since ShiftOS first had Knowledge Input. And I don't mean 0.1.0, I mean all the way back before 0.0.5 when OSFirstTimer was developing it. Basically, buttons would show light gray backgrounds when you click on them. Now they show black (and it's skinnable :D)
187 lines
No EOL
8.9 KiB
C#
187 lines
No EOL
8.9 KiB
C#
using System;
|
|
|
|
namespace ShiftOS
|
|
{
|
|
partial class infobox
|
|
{
|
|
/// <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);
|
|
}
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.pgcontents = new ShiftUI.Panel();
|
|
this.txtuserinput = new ShiftUI.TextBox();
|
|
this.btnok = new ShiftUI.Button();
|
|
this.txtmessage = new ShiftUI.Label();
|
|
this.pboximage = new ShiftUI.PictureBox();
|
|
this.lblintructtext = new ShiftUI.Label();
|
|
this.pnlyesno = new ShiftUI.Panel();
|
|
this.btnno = new ShiftUI.Button();
|
|
this.btnyes = new ShiftUI.Button();
|
|
this.pgcontents.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pboximage)).BeginInit();
|
|
this.pnlyesno.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// pgcontents
|
|
//
|
|
this.pgcontents.BackColor = System.Drawing.Color.White;
|
|
this.pgcontents.Widgets.Add(this.txtuserinput);
|
|
this.pgcontents.Widgets.Add(this.btnok);
|
|
this.pgcontents.Widgets.Add(this.txtmessage);
|
|
this.pgcontents.Widgets.Add(this.pboximage);
|
|
this.pgcontents.Widgets.Add(this.lblintructtext);
|
|
this.pgcontents.Widgets.Add(this.pnlyesno);
|
|
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(371, 154);
|
|
this.pgcontents.TabIndex = 20;
|
|
//
|
|
// txtuserinput
|
|
//
|
|
this.txtuserinput.Anchor = ShiftUI.AnchorStyles.Bottom;
|
|
this.txtuserinput.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
|
|
this.txtuserinput.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtuserinput.Location = new System.Drawing.Point(103, 86);
|
|
this.txtuserinput.Multiline = true;
|
|
this.txtuserinput.Name = "txtuserinput";
|
|
this.txtuserinput.Size = new System.Drawing.Size(256, 23);
|
|
this.txtuserinput.TabIndex = 8;
|
|
this.txtuserinput.TextAlign = ShiftUI.HorizontalAlignment.Center;
|
|
this.txtuserinput.Visible = false;
|
|
//
|
|
// btnok
|
|
//
|
|
this.btnok.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)
|
|
| ShiftUI.AnchorStyles.Right)));
|
|
this.btnok.FlatStyle = ShiftUI.FlatStyle.Standard;
|
|
this.btnok.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnok.ForeColor = System.Drawing.Color.Black;
|
|
this.btnok.Location = new System.Drawing.Point(134, 118);
|
|
this.btnok.Name = "btnok";
|
|
this.btnok.Size = new System.Drawing.Size(109, 30);
|
|
this.btnok.TabIndex = 7;
|
|
this.btnok.TabStop = false;
|
|
this.btnok.Text = "Ok";
|
|
this.btnok.UseVisualStyleBackColor = true;
|
|
this.btnok.Click += new System.EventHandler(this.btnok_Click);
|
|
//
|
|
// txtmessage
|
|
//
|
|
this.txtmessage.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
|
| ShiftUI.AnchorStyles.Right)));
|
|
this.txtmessage.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.txtmessage.Location = new System.Drawing.Point(102, 7);
|
|
this.txtmessage.Name = "txtmessage";
|
|
this.txtmessage.Size = new System.Drawing.Size(266, 102);
|
|
this.txtmessage.TabIndex = 2;
|
|
this.txtmessage.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
//
|
|
// pboximage
|
|
//
|
|
this.pboximage.Image = global::ShiftOS.Properties.Resources.Symbolinfo1;
|
|
this.pboximage.Location = new System.Drawing.Point(12, 7);
|
|
this.pboximage.Name = "pboximage";
|
|
this.pboximage.Size = new System.Drawing.Size(80, 70);
|
|
this.pboximage.TabIndex = 0;
|
|
this.pboximage.TabStop = false;
|
|
//
|
|
// lblintructtext
|
|
//
|
|
this.lblintructtext.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
|
| ShiftUI.AnchorStyles.Right)));
|
|
this.lblintructtext.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
|
|
this.lblintructtext.Location = new System.Drawing.Point(105, 7);
|
|
this.lblintructtext.Name = "lblintructtext";
|
|
this.lblintructtext.Size = new System.Drawing.Size(256, 76);
|
|
this.lblintructtext.TabIndex = 9;
|
|
this.lblintructtext.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
|
this.lblintructtext.Visible = false;
|
|
//
|
|
// pnlyesno
|
|
//
|
|
this.pnlyesno.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)
|
|
| ShiftUI.AnchorStyles.Right)));
|
|
this.pnlyesno.Widgets.Add(this.btnno);
|
|
this.pnlyesno.Widgets.Add(this.btnyes);
|
|
this.pnlyesno.Location = new System.Drawing.Point(57, 115);
|
|
this.pnlyesno.Name = "pnlyesno";
|
|
this.pnlyesno.Size = new System.Drawing.Size(269, 33);
|
|
this.pnlyesno.TabIndex = 10;
|
|
this.pnlyesno.Visible = false;
|
|
//
|
|
// btnno
|
|
//
|
|
this.btnno.FlatStyle = ShiftUI.FlatStyle.Standard;
|
|
this.btnno.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnno.ForeColor = System.Drawing.Color.Black;
|
|
this.btnno.Location = new System.Drawing.Point(142, 2);
|
|
this.btnno.Name = "btnno";
|
|
this.btnno.Size = new System.Drawing.Size(105, 30);
|
|
this.btnno.TabIndex = 9;
|
|
this.btnno.TabStop = false;
|
|
this.btnno.Text = "No";
|
|
this.btnno.UseVisualStyleBackColor = true;
|
|
this.btnno.Click += new System.EventHandler(this.btnno_Click);
|
|
//
|
|
// btnyes
|
|
//
|
|
this.btnyes.FlatStyle = ShiftUI.FlatStyle.Standard;
|
|
this.btnyes.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
this.btnyes.ForeColor = System.Drawing.Color.Black;
|
|
this.btnyes.Location = new System.Drawing.Point(29, 2);
|
|
this.btnyes.Name = "btnyes";
|
|
this.btnyes.Size = new System.Drawing.Size(105, 30);
|
|
this.btnyes.TabIndex = 8;
|
|
this.btnyes.TabStop = false;
|
|
this.btnyes.Text = "Yes";
|
|
this.btnyes.UseVisualStyleBackColor = true;
|
|
this.btnyes.Click += new System.EventHandler(this.btnyes_Click);
|
|
//
|
|
// infobox
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(371, 154);
|
|
this.Widgets.Add(this.pgcontents);
|
|
this.DoubleBuffered = true;
|
|
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
|
|
this.KeyPreview = true;
|
|
this.Name = "infobox";
|
|
this.Text = "infobox";
|
|
this.TopMost = true;
|
|
this.Load += new System.EventHandler(this.infobox_Load);
|
|
this.pgcontents.ResumeLayout(false);
|
|
this.pgcontents.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.pboximage)).EndInit();
|
|
this.pnlyesno.ResumeLayout(false);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
internal ShiftUI.Panel pgcontents;
|
|
internal ShiftUI.Button btnok;
|
|
internal ShiftUI.Label txtmessage;
|
|
internal ShiftUI.PictureBox pboximage;
|
|
internal ShiftUI.Label lblintructtext;
|
|
internal ShiftUI.TextBox txtuserinput;
|
|
internal ShiftUI.Panel pnlyesno;
|
|
internal ShiftUI.Button btnno;
|
|
internal ShiftUI.Button btnyes;
|
|
}
|
|
} |