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.
This commit is contained in:
MichaelTheShifter 2016-07-19 21:53:26 -04:00
parent 9322701aa1
commit 6b804f03eb
169 changed files with 7257 additions and 7377 deletions
source/WindowsFormsApplication1
API.cs
Apps
Controls

View file

@ -5,7 +5,7 @@ using System.Linq;
using System.Media;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
using System.IO.Compression;
using System.Drawing;
using Newtonsoft.Json;
@ -83,7 +83,7 @@ namespace ShiftOS
public class API
{
public static Dictionary<Form, string> OpenGUIDs = new Dictionary<Form, string>();
public static Dictionary<string, Control> DEF_PanelGUIDs = new Dictionary<string, Control>();
public static Dictionary<string, Widget> DEF_PanelGUIDs = new Dictionary<string, Widget>();
/// <summary>
@ -119,7 +119,7 @@ namespace ShiftOS
public static bool InfoboxesPlaySounds = true;
public static void SkinControl(Control c)
public static void SkinWidget(Widget c)
{
if(c is Button)
{
@ -128,9 +128,9 @@ namespace ShiftOS
}
if(c is Panel || c is FlowLayoutPanel)
{
foreach(Control child in c.Controls)
foreach(Widget child in c.Widgets)
{
SkinControl(child);
SkinWidget(child);
}
}
}
@ -1070,136 +1070,25 @@ namespace ShiftOS
{
API.CurrentSession = new ShiftOSDesktop();
}
try
formToCreate.Text = AppName;
formToCreate.TopMost = true;
formToCreate.Show();
var brdr = new WindowBorder(AppName, AppIcon);
brdr.Tag = "api_brdr";
formToCreate.Widgets.Add(brdr);
brdr.Show();
foreach(Widget widget in formToCreate.Body.Widgets)
{
if (Upgrades["multitasking"] == false && formToCreate.Name != "infobox")
if(widget != brdr)
{
CloseEverything();
brdr.pgcontents.Widgets.Add(widget);
widget.Show();
}
var bw = new BackgroundWorker();
bw.DoWork += (object sen, DoWorkEventArgs eva) =>
{
WindowComposition.SafeToAddControls = false;
//bugfix: Close any terminal if WindowedTerminal isn't installed.
if (Upgrades["windowedterminal"] == false)
{
API.CurrentSession.Invoke(new Action(() =>
{
foreach (Form frm in OpenPrograms)
{
if (frm.Name.ToLower() == "terminal")
{
API.CurrentSession.Invoke(new Action(() =>
{
frm.Close();
}));
}
}
}));
}
WindowBorder brdr = new WindowBorder(AppName, AppIcon);
brdr.Name = "api_brdr";
formToCreate.Controls.Add(brdr);
formToCreate.ShowInTaskbar = false;
brdr.Show();
formToCreate.FormBorderStyle = FormBorderStyle.None;
brdr.Dock = DockStyle.Fill;
BordersToUpdate.Add(brdr);
List<Control> duplicates = new List<Control>();
foreach (Control ctrl in formToCreate.Controls)
{
if (ctrl.Name != "api_brdr")
{
ctrl.Hide();
brdr.pgcontents.Controls.Add(ctrl);
duplicates.Add(ctrl);
}
}
foreach (Control ctrl in duplicates)
{
try
{
formToCreate.Controls.Remove(ctrl);
ctrl.Show();
SkinControl(ctrl);
}
catch
{
API.CurrentSession.Invoke(new Action(() =>
{
ctrl.Show();
SkinControl(ctrl);
}));
}
}
WindowComposition.ShowForm(formToCreate, CurrentSkin.WindowOpenAnimation);
API.CurrentSession.Invoke(new Action(() =>
{
brdr.justopened = true;
formToCreate.TopMost = true;
//Open terminal on CTRL+T press on any form.
formToCreate.KeyDown += (object sender, KeyEventArgs e) =>
{
if (e.KeyCode == Keys.T && e.Control && formToCreate.Name != "Terminal")
{
CurrentSession.InvokeCTRLT();
}
if (formToCreate.Name != "Terminal" || Upgrades["windowedterminal"] == true)
{
//Movable Windows
if (API.Upgrades["movablewindows"] == true)
{
if (e.KeyCode == Keys.A && e.Control)
{
e.Handled = true;
formToCreate.Location = new Point(formToCreate.Location.X - 30, formToCreate.Location.Y);
}
if (e.KeyCode == Keys.D && e.Control)
{
e.Handled = true;
formToCreate.Location = new Point(formToCreate.Location.X + 30, formToCreate.Location.Y);
}
if (e.KeyCode == Keys.W && e.Control)
{
e.Handled = true;
formToCreate.Location = new Point(formToCreate.Location.X, formToCreate.Location.Y - 30);
}
if (e.KeyCode == Keys.S && e.Control)
{
e.Handled = true;
formToCreate.Location = new Point(formToCreate.Location.X, formToCreate.Location.Y + 30);
}
}
}
};
formToCreate.TransparencyKey = Skinning.Utilities.globaltransparencycolour;
OpenPrograms.Add(formToCreate);
if (AppName == "Enemy Hacker")
{
API.CurrentSession.Invoke(new Action(() =>
{
formToCreate.Left = Screen.PrimaryScreen.Bounds.Width - formToCreate.Width;
}));
}
else if (AppName == "You")
{
API.CurrentSession.Invoke(new Action(() =>
{
formToCreate.Left = 0;
}));
}
}));
WindowComposition.SafeToAddControls = true;
API.OpenGUIDs.Add(formToCreate, Guid.NewGuid().ToString());
API.CurrentSession.Invoke(new Action(() => { CurrentSession.InvokeWindowOp("open", formToCreate); }));
};
bw.RunWorkerAsync();
}
catch
{
}
brdr.Dock = DockStyle.Fill;
formToCreate.Body.BorderStyle = BorderStyle.None;
brdr.setupall();
}
/// <summary>

View file

@ -30,68 +30,68 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Appscape));
this.panel3 = new System.Windows.Forms.Panel();
this.pnlchoosenetwork = new System.Windows.Forms.Panel();
this.btnrequest = new System.Windows.Forms.Button();
this.label14 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
this.lvnets = new System.Windows.Forms.ListView();
this.clhostnameheader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.pnlpackageeditor = new System.Windows.Forms.Panel();
this.label12 = new System.Windows.Forms.Label();
this.btndonecustomizing = new System.Windows.Forms.Button();
this.btnsaa = new System.Windows.Forms.Button();
this.txtprice = new System.Windows.Forms.TextBox();
this.lbprice = new System.Windows.Forms.Label();
this.lbaddress = new System.Windows.Forms.Label();
this.cbsell = new System.Windows.Forms.CheckBox();
this.txtpackagedescription = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.txtpackagename = new System.Windows.Forms.TextBox();
this.label11 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.pnllounge = new System.Windows.Forms.Panel();
this.btnedit = new System.Windows.Forms.Button();
this.btnupload = new System.Windows.Forms.Button();
this.btnsave = new System.Windows.Forms.Button();
this.txtbitnoteaddress = new System.Windows.Forms.TextBox();
this.label8 = new System.Windows.Forms.Label();
this.txtbio = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.txtmoddername = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.lbmybio = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.lbmyname = new System.Windows.Forms.Label();
this.lvmypackages = new System.Windows.Forms.ListView();
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.pnlpackageinfo = new System.Windows.Forms.Panel();
this.pnlauthordetails = new System.Windows.Forms.Panel();
this.lbauthordescription = new System.Windows.Forms.Label();
this.lbauthorname = new System.Windows.Forms.Label();
this.pbappicon = new System.Windows.Forms.PictureBox();
this.pbappscreenshot = new System.Windows.Forms.PictureBox();
this.pnldownload = new System.Windows.Forms.Panel();
this.lbdownloadpath = new System.Windows.Forms.Label();
this.btndownload = new System.Windows.Forms.Button();
this.lbpkgdescription = new System.Windows.Forms.Label();
this.lbpkgname = new System.Windows.Forms.Label();
this.pnllist = new System.Windows.Forms.Panel();
this.lvpackages = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.pnlsearch = new System.Windows.Forms.Panel();
this.btnlounge = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.btngetkey = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.txtsearch = new System.Windows.Forms.TextBox();
this.btnskins = new System.Windows.Forms.Button();
this.btnapps = new System.Windows.Forms.Button();
this.imgpackageicons = new System.Windows.Forms.ImageList(this.components);
this.panel3 = new ShiftUI.Panel();
this.pnlchoosenetwork = new ShiftUI.Panel();
this.btnrequest = new ShiftUI.Button();
this.label14 = new ShiftUI.Label();
this.label13 = new ShiftUI.Label();
this.lvnets = new ShiftUI.ListView();
this.clhostnameheader = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
this.pnlpackageeditor = new ShiftUI.Panel();
this.label12 = new ShiftUI.Label();
this.btndonecustomizing = new ShiftUI.Button();
this.btnsaa = new ShiftUI.Button();
this.txtprice = new ShiftUI.TextBox();
this.lbprice = new ShiftUI.Label();
this.lbaddress = new ShiftUI.Label();
this.cbsell = new ShiftUI.CheckBox();
this.txtpackagedescription = new ShiftUI.TextBox();
this.label10 = new ShiftUI.Label();
this.txtpackagename = new ShiftUI.TextBox();
this.label11 = new ShiftUI.Label();
this.label9 = new ShiftUI.Label();
this.pnllounge = new ShiftUI.Panel();
this.btnedit = new ShiftUI.Button();
this.btnupload = new ShiftUI.Button();
this.btnsave = new ShiftUI.Button();
this.txtbitnoteaddress = new ShiftUI.TextBox();
this.label8 = new ShiftUI.Label();
this.txtbio = new ShiftUI.TextBox();
this.label7 = new ShiftUI.Label();
this.txtmoddername = new ShiftUI.TextBox();
this.label6 = new ShiftUI.Label();
this.label5 = new ShiftUI.Label();
this.label4 = new ShiftUI.Label();
this.lbmybio = new ShiftUI.Label();
this.label3 = new ShiftUI.Label();
this.lbmyname = new ShiftUI.Label();
this.lvmypackages = new ShiftUI.ListView();
this.columnHeader4 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
this.pnlpackageinfo = new ShiftUI.Panel();
this.pnlauthordetails = new ShiftUI.Panel();
this.lbauthordescription = new ShiftUI.Label();
this.lbauthorname = new ShiftUI.Label();
this.pbappicon = new ShiftUI.PictureBox();
this.pbappscreenshot = new ShiftUI.PictureBox();
this.pnldownload = new ShiftUI.Panel();
this.lbdownloadpath = new ShiftUI.Label();
this.btndownload = new ShiftUI.Button();
this.lbpkgdescription = new ShiftUI.Label();
this.lbpkgname = new ShiftUI.Label();
this.pnllist = new ShiftUI.Panel();
this.lvpackages = new ShiftUI.ListView();
this.columnHeader1 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
this.columnHeader2 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
this.columnHeader3 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
this.pnlsearch = new ShiftUI.Panel();
this.btnlounge = new ShiftUI.Button();
this.label2 = new ShiftUI.Label();
this.btngetkey = new ShiftUI.Button();
this.label1 = new ShiftUI.Label();
this.txtsearch = new ShiftUI.TextBox();
this.btnskins = new ShiftUI.Button();
this.btnapps = new ShiftUI.Button();
this.imgpackageicons = new ShiftUI.ImageList(this.components);
this.panel3.SuspendLayout();
this.pnlchoosenetwork.SuspendLayout();
this.pnlpackageeditor.SuspendLayout();
@ -107,13 +107,13 @@
//
// panel3
//
this.panel3.Controls.Add(this.pnlchoosenetwork);
this.panel3.Controls.Add(this.pnlpackageeditor);
this.panel3.Controls.Add(this.pnllounge);
this.panel3.Controls.Add(this.pnlpackageinfo);
this.panel3.Controls.Add(this.pnllist);
this.panel3.Controls.Add(this.pnlsearch);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Widgets.Add(this.pnlchoosenetwork);
this.panel3.Widgets.Add(this.pnlpackageeditor);
this.panel3.Widgets.Add(this.pnllounge);
this.panel3.Widgets.Add(this.pnlpackageinfo);
this.panel3.Widgets.Add(this.pnllist);
this.panel3.Widgets.Add(this.pnlsearch);
this.panel3.Dock = ShiftUI.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 0);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(886, 469);
@ -121,11 +121,11 @@
//
// pnlchoosenetwork
//
this.pnlchoosenetwork.Controls.Add(this.lvnets);
this.pnlchoosenetwork.Controls.Add(this.btnrequest);
this.pnlchoosenetwork.Controls.Add(this.label14);
this.pnlchoosenetwork.Controls.Add(this.label13);
this.pnlchoosenetwork.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlchoosenetwork.Widgets.Add(this.lvnets);
this.pnlchoosenetwork.Widgets.Add(this.btnrequest);
this.pnlchoosenetwork.Widgets.Add(this.label14);
this.pnlchoosenetwork.Widgets.Add(this.label13);
this.pnlchoosenetwork.Dock = ShiftUI.DockStyle.Fill;
this.pnlchoosenetwork.Location = new System.Drawing.Point(0, 47);
this.pnlchoosenetwork.Name = "pnlchoosenetwork";
this.pnlchoosenetwork.Size = new System.Drawing.Size(886, 422);
@ -133,8 +133,8 @@
//
// btnrequest
//
this.btnrequest.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnrequest.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnrequest.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btnrequest.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnrequest.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btnrequest.Location = new System.Drawing.Point(799, 385);
this.btnrequest.Name = "btnrequest";
@ -146,8 +146,8 @@
//
// label14
//
this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label14.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.label14.Location = new System.Drawing.Point(17, 31);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(857, 30);
@ -166,19 +166,19 @@
//
// lvnets
//
this.lvnets.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lvnets.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.lvnets.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lvnets.Columns.AddRange(new ShiftUI.ColumnHeader[] {
this.clhostnameheader});
this.lvnets.FullRowSelect = true;
this.lvnets.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.lvnets.HeaderStyle = ShiftUI.ColumnHeaderStyle.Nonclickable;
this.lvnets.Location = new System.Drawing.Point(12, 64);
this.lvnets.Name = "lvnets";
this.lvnets.Size = new System.Drawing.Size(868, 307);
this.lvnets.TabIndex = 0;
this.lvnets.UseCompatibleStateImageBehavior = false;
this.lvnets.View = System.Windows.Forms.View.Details;
this.lvnets.View = ShiftUI.View.Details;
//
// clhostnameheader
//
@ -186,19 +186,19 @@
//
// pnlpackageeditor
//
this.pnlpackageeditor.Controls.Add(this.label12);
this.pnlpackageeditor.Controls.Add(this.btndonecustomizing);
this.pnlpackageeditor.Controls.Add(this.btnsaa);
this.pnlpackageeditor.Controls.Add(this.txtprice);
this.pnlpackageeditor.Controls.Add(this.lbprice);
this.pnlpackageeditor.Controls.Add(this.lbaddress);
this.pnlpackageeditor.Controls.Add(this.cbsell);
this.pnlpackageeditor.Controls.Add(this.txtpackagedescription);
this.pnlpackageeditor.Controls.Add(this.label10);
this.pnlpackageeditor.Controls.Add(this.txtpackagename);
this.pnlpackageeditor.Controls.Add(this.label11);
this.pnlpackageeditor.Controls.Add(this.label9);
this.pnlpackageeditor.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlpackageeditor.Widgets.Add(this.label12);
this.pnlpackageeditor.Widgets.Add(this.btndonecustomizing);
this.pnlpackageeditor.Widgets.Add(this.btnsaa);
this.pnlpackageeditor.Widgets.Add(this.txtprice);
this.pnlpackageeditor.Widgets.Add(this.lbprice);
this.pnlpackageeditor.Widgets.Add(this.lbaddress);
this.pnlpackageeditor.Widgets.Add(this.cbsell);
this.pnlpackageeditor.Widgets.Add(this.txtpackagedescription);
this.pnlpackageeditor.Widgets.Add(this.label10);
this.pnlpackageeditor.Widgets.Add(this.txtpackagename);
this.pnlpackageeditor.Widgets.Add(this.label11);
this.pnlpackageeditor.Widgets.Add(this.label9);
this.pnlpackageeditor.Dock = ShiftUI.DockStyle.Fill;
this.pnlpackageeditor.Location = new System.Drawing.Point(0, 47);
this.pnlpackageeditor.Name = "pnlpackageeditor";
this.pnlpackageeditor.Size = new System.Drawing.Size(886, 422);
@ -215,10 +215,10 @@
//
// btndonecustomizing
//
this.btndonecustomizing.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btndonecustomizing.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btndonecustomizing.AutoSize = true;
this.btndonecustomizing.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btndonecustomizing.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btndonecustomizing.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btndonecustomizing.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btndonecustomizing.Font = new System.Drawing.Font("Times New Roman", 10F);
this.btndonecustomizing.Location = new System.Drawing.Point(824, 385);
this.btndonecustomizing.Name = "btndonecustomizing";
@ -231,8 +231,8 @@
// btnsaa
//
this.btnsaa.AutoSize = true;
this.btnsaa.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnsaa.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsaa.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnsaa.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnsaa.Font = new System.Drawing.Font("Times New Roman", 10F);
this.btnsaa.Location = new System.Drawing.Point(99, 318);
this.btnsaa.Name = "btnsaa";
@ -272,9 +272,9 @@
//
// cbsell
//
this.cbsell.Appearance = System.Windows.Forms.Appearance.Button;
this.cbsell.Appearance = ShiftUI.Appearance.Button;
this.cbsell.AutoSize = true;
this.cbsell.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cbsell.FlatStyle = ShiftUI.FlatStyle.Flat;
this.cbsell.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.cbsell.Location = new System.Drawing.Point(97, 263);
this.cbsell.Name = "cbsell";
@ -286,8 +286,8 @@
//
// txtpackagedescription
//
this.txtpackagedescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtpackagedescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.txtpackagedescription.Location = new System.Drawing.Point(99, 72);
this.txtpackagedescription.Multiline = true;
this.txtpackagedescription.Name = "txtpackagedescription";
@ -331,22 +331,22 @@
//
// pnllounge
//
this.pnllounge.Controls.Add(this.btnedit);
this.pnllounge.Controls.Add(this.btnupload);
this.pnllounge.Controls.Add(this.btnsave);
this.pnllounge.Controls.Add(this.txtbitnoteaddress);
this.pnllounge.Controls.Add(this.label8);
this.pnllounge.Controls.Add(this.txtbio);
this.pnllounge.Controls.Add(this.label7);
this.pnllounge.Controls.Add(this.txtmoddername);
this.pnllounge.Controls.Add(this.label6);
this.pnllounge.Controls.Add(this.label5);
this.pnllounge.Controls.Add(this.label4);
this.pnllounge.Controls.Add(this.lbmybio);
this.pnllounge.Controls.Add(this.label3);
this.pnllounge.Controls.Add(this.lbmyname);
this.pnllounge.Controls.Add(this.lvmypackages);
this.pnllounge.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnllounge.Widgets.Add(this.btnedit);
this.pnllounge.Widgets.Add(this.btnupload);
this.pnllounge.Widgets.Add(this.btnsave);
this.pnllounge.Widgets.Add(this.txtbitnoteaddress);
this.pnllounge.Widgets.Add(this.label8);
this.pnllounge.Widgets.Add(this.txtbio);
this.pnllounge.Widgets.Add(this.label7);
this.pnllounge.Widgets.Add(this.txtmoddername);
this.pnllounge.Widgets.Add(this.label6);
this.pnllounge.Widgets.Add(this.label5);
this.pnllounge.Widgets.Add(this.label4);
this.pnllounge.Widgets.Add(this.lbmybio);
this.pnllounge.Widgets.Add(this.label3);
this.pnllounge.Widgets.Add(this.lbmyname);
this.pnllounge.Widgets.Add(this.lvmypackages);
this.pnllounge.Dock = ShiftUI.DockStyle.Fill;
this.pnllounge.Location = new System.Drawing.Point(0, 47);
this.pnllounge.Name = "pnllounge";
this.pnllounge.Size = new System.Drawing.Size(886, 422);
@ -354,8 +354,8 @@
//
// btnedit
//
this.btnedit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnedit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnedit.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.btnedit.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnedit.Location = new System.Drawing.Point(239, 377);
this.btnedit.Name = "btnedit";
this.btnedit.Size = new System.Drawing.Size(75, 23);
@ -366,8 +366,8 @@
//
// btnupload
//
this.btnupload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnupload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnupload.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.btnupload.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnupload.Location = new System.Drawing.Point(320, 377);
this.btnupload.Name = "btnupload";
this.btnupload.Size = new System.Drawing.Size(75, 23);
@ -378,8 +378,8 @@
//
// btnsave
//
this.btnsave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsave.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btnsave.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnsave.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btnsave.Location = new System.Drawing.Point(799, 390);
this.btnsave.Name = "btnsave";
@ -391,7 +391,7 @@
//
// txtbitnoteaddress
//
this.txtbitnoteaddress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.txtbitnoteaddress.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.txtbitnoteaddress.Location = new System.Drawing.Point(490, 333);
this.txtbitnoteaddress.Name = "txtbitnoteaddress";
this.txtbitnoteaddress.Size = new System.Drawing.Size(384, 20);
@ -400,7 +400,7 @@
//
// label8
//
this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label8.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(407, 339);
this.label8.Name = "label8";
@ -410,7 +410,7 @@
//
// txtbio
//
this.txtbio.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.txtbio.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.txtbio.Location = new System.Drawing.Point(490, 110);
this.txtbio.Multiline = true;
this.txtbio.Name = "txtbio";
@ -429,7 +429,7 @@
//
// txtmoddername
//
this.txtmoddername.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.txtmoddername.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.txtmoddername.Location = new System.Drawing.Point(490, 84);
this.txtmoddername.Name = "txtmoddername";
this.txtmoddername.Size = new System.Drawing.Size(384, 20);
@ -438,7 +438,7 @@
//
// label6
//
this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label6.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(407, 90);
this.label6.Name = "label6";
@ -448,7 +448,7 @@
//
// label5
//
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label5.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.label5.Location = new System.Drawing.Point(404, 31);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(378, 32);
@ -458,7 +458,7 @@
//
// label4
//
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label4.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("Times New Roman", 13F);
this.label4.Location = new System.Drawing.Point(403, 11);
@ -469,8 +469,8 @@
//
// lbmybio
//
this.lbmybio.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.lbmybio.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)));
this.lbmybio.Location = new System.Drawing.Point(17, 46);
this.lbmybio.Name = "lbmybio";
this.lbmybio.Size = new System.Drawing.Size(378, 110);
@ -479,7 +479,7 @@
//
// label3
//
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label3.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(17, 156);
this.label3.Name = "label3";
@ -499,16 +499,16 @@
//
// lvmypackages
//
this.lvmypackages.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.lvmypackages.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.lvmypackages.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.lvmypackages.Columns.AddRange(new ShiftUI.ColumnHeader[] {
this.columnHeader4});
this.lvmypackages.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.lvmypackages.HeaderStyle = ShiftUI.ColumnHeaderStyle.Nonclickable;
this.lvmypackages.Location = new System.Drawing.Point(20, 172);
this.lvmypackages.Name = "lvmypackages";
this.lvmypackages.Size = new System.Drawing.Size(375, 199);
this.lvmypackages.TabIndex = 0;
this.lvmypackages.UseCompatibleStateImageBehavior = false;
this.lvmypackages.View = System.Windows.Forms.View.Details;
this.lvmypackages.View = ShiftUI.View.Details;
//
// columnHeader4
//
@ -516,13 +516,13 @@
//
// pnlpackageinfo
//
this.pnlpackageinfo.Controls.Add(this.pnlauthordetails);
this.pnlpackageinfo.Controls.Add(this.pbappicon);
this.pnlpackageinfo.Controls.Add(this.pbappscreenshot);
this.pnlpackageinfo.Controls.Add(this.pnldownload);
this.pnlpackageinfo.Controls.Add(this.lbpkgdescription);
this.pnlpackageinfo.Controls.Add(this.lbpkgname);
this.pnlpackageinfo.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlpackageinfo.Widgets.Add(this.pnlauthordetails);
this.pnlpackageinfo.Widgets.Add(this.pbappicon);
this.pnlpackageinfo.Widgets.Add(this.pbappscreenshot);
this.pnlpackageinfo.Widgets.Add(this.pnldownload);
this.pnlpackageinfo.Widgets.Add(this.lbpkgdescription);
this.pnlpackageinfo.Widgets.Add(this.lbpkgname);
this.pnlpackageinfo.Dock = ShiftUI.DockStyle.Fill;
this.pnlpackageinfo.Location = new System.Drawing.Point(0, 47);
this.pnlpackageinfo.Name = "pnlpackageinfo";
this.pnlpackageinfo.Size = new System.Drawing.Size(886, 422);
@ -530,9 +530,9 @@
//
// pnlauthordetails
//
this.pnlauthordetails.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.pnlauthordetails.Controls.Add(this.lbauthordescription);
this.pnlauthordetails.Controls.Add(this.lbauthorname);
this.pnlauthordetails.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.pnlauthordetails.Widgets.Add(this.lbauthordescription);
this.pnlauthordetails.Widgets.Add(this.lbauthorname);
this.pnlauthordetails.Location = new System.Drawing.Point(12, 213);
this.pnlauthordetails.Name = "pnlauthordetails";
this.pnlauthordetails.Size = new System.Drawing.Size(468, 197);
@ -561,25 +561,25 @@
this.pbappicon.Location = new System.Drawing.Point(12, 11);
this.pbappicon.Name = "pbappicon";
this.pbappicon.Size = new System.Drawing.Size(32, 32);
this.pbappicon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbappicon.SizeMode = ShiftUI.PictureBoxSizeMode.StretchImage;
this.pbappicon.TabIndex = 4;
this.pbappicon.TabStop = false;
//
// pbappscreenshot
//
this.pbappscreenshot.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.pbappscreenshot.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.pbappscreenshot.Location = new System.Drawing.Point(500, 213);
this.pbappscreenshot.Name = "pbappscreenshot";
this.pbappscreenshot.Size = new System.Drawing.Size(374, 197);
this.pbappscreenshot.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pbappscreenshot.SizeMode = ShiftUI.PictureBoxSizeMode.StretchImage;
this.pbappscreenshot.TabIndex = 3;
this.pbappscreenshot.TabStop = false;
//
// pnldownload
//
this.pnldownload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.pnldownload.Controls.Add(this.lbdownloadpath);
this.pnldownload.Controls.Add(this.btndownload);
this.pnldownload.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.pnldownload.Widgets.Add(this.lbdownloadpath);
this.pnldownload.Widgets.Add(this.btndownload);
this.pnldownload.Location = new System.Drawing.Point(646, 7);
this.pnldownload.Name = "pnldownload";
this.pnldownload.Size = new System.Drawing.Size(237, 97);
@ -596,7 +596,7 @@
//
// btndownload
//
this.btndownload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btndownload.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btndownload.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btndownload.Location = new System.Drawing.Point(112, 13);
this.btndownload.Name = "btndownload";
@ -608,8 +608,8 @@
//
// lbpkgdescription
//
this.lbpkgdescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.lbpkgdescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)));
this.lbpkgdescription.Location = new System.Drawing.Point(17, 47);
this.lbpkgdescription.Name = "lbpkgdescription";
this.lbpkgdescription.Size = new System.Drawing.Size(347, 156);
@ -628,8 +628,8 @@
//
// pnllist
//
this.pnllist.Controls.Add(this.lvpackages);
this.pnllist.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnllist.Widgets.Add(this.lvpackages);
this.pnllist.Dock = ShiftUI.DockStyle.Fill;
this.pnllist.Location = new System.Drawing.Point(0, 47);
this.pnllist.Name = "pnllist";
this.pnllist.Size = new System.Drawing.Size(886, 422);
@ -637,19 +637,19 @@
//
// lvpackages
//
this.lvpackages.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.lvpackages.Columns.AddRange(new ShiftUI.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2,
this.columnHeader3});
this.lvpackages.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvpackages.Dock = ShiftUI.DockStyle.Fill;
this.lvpackages.FullRowSelect = true;
this.lvpackages.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.lvpackages.HeaderStyle = ShiftUI.ColumnHeaderStyle.Nonclickable;
this.lvpackages.Location = new System.Drawing.Point(0, 0);
this.lvpackages.Name = "lvpackages";
this.lvpackages.Size = new System.Drawing.Size(886, 422);
this.lvpackages.TabIndex = 0;
this.lvpackages.UseCompatibleStateImageBehavior = false;
this.lvpackages.View = System.Windows.Forms.View.Details;
this.lvpackages.View = ShiftUI.View.Details;
this.lvpackages.SelectedIndexChanged += new System.EventHandler(this.lvpackages_SelectedIndexChanged);
this.lvpackages.DoubleClick += new System.EventHandler(this.lvpackages_DoubleClick);
//
@ -668,14 +668,14 @@
// pnlsearch
//
this.pnlsearch.BackColor = System.Drawing.Color.Gray;
this.pnlsearch.Controls.Add(this.btnlounge);
this.pnlsearch.Controls.Add(this.label2);
this.pnlsearch.Controls.Add(this.btngetkey);
this.pnlsearch.Controls.Add(this.label1);
this.pnlsearch.Controls.Add(this.txtsearch);
this.pnlsearch.Controls.Add(this.btnskins);
this.pnlsearch.Controls.Add(this.btnapps);
this.pnlsearch.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlsearch.Widgets.Add(this.btnlounge);
this.pnlsearch.Widgets.Add(this.label2);
this.pnlsearch.Widgets.Add(this.btngetkey);
this.pnlsearch.Widgets.Add(this.label1);
this.pnlsearch.Widgets.Add(this.txtsearch);
this.pnlsearch.Widgets.Add(this.btnskins);
this.pnlsearch.Widgets.Add(this.btnapps);
this.pnlsearch.Dock = ShiftUI.DockStyle.Top;
this.pnlsearch.ForeColor = System.Drawing.Color.White;
this.pnlsearch.Location = new System.Drawing.Point(0, 0);
this.pnlsearch.Name = "pnlsearch";
@ -684,7 +684,7 @@
//
// btnlounge
//
this.btnlounge.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnlounge.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnlounge.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btnlounge.Location = new System.Drawing.Point(377, 14);
this.btnlounge.Name = "btnlounge";
@ -696,7 +696,7 @@
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.label2.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(643, 16);
this.label2.Name = "label2";
@ -706,7 +706,7 @@
//
// btngetkey
//
this.btngetkey.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btngetkey.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btngetkey.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btngetkey.Location = new System.Drawing.Point(296, 14);
this.btngetkey.Name = "btngetkey";
@ -727,7 +727,7 @@
//
// txtsearch
//
this.txtsearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.txtsearch.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.txtsearch.Location = new System.Drawing.Point(721, 13);
this.txtsearch.Name = "txtsearch";
this.txtsearch.Size = new System.Drawing.Size(153, 20);
@ -736,7 +736,7 @@
//
// btnskins
//
this.btnskins.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnskins.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnskins.Font = new System.Drawing.Font("Times New Roman", 10F);
this.btnskins.Location = new System.Drawing.Point(86, 4);
this.btnskins.Name = "btnskins";
@ -748,7 +748,7 @@
//
// btnapps
//
this.btnapps.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnapps.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnapps.Font = new System.Drawing.Font("Times New Roman", 10F);
this.btnapps.Location = new System.Drawing.Point(4, 4);
this.btnapps.Name = "btnapps";
@ -760,17 +760,17 @@
//
// imgpackageicons
//
this.imgpackageicons.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
this.imgpackageicons.ColorDepth = ShiftUI.ColorDepth.Depth8Bit;
this.imgpackageicons.ImageSize = new System.Drawing.Size(16, 16);
this.imgpackageicons.TransparentColor = System.Drawing.Color.Transparent;
//
// Appscape
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(886, 469);
this.Controls.Add(this.panel3);
this.Widgets.Add(this.panel3);
this.Name = "Appscape";
this.Text = "Form1";
this.Load += new System.EventHandler(this.Form1_Load);
@ -796,67 +796,67 @@
}
#endregion
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.ImageList imgpackageicons;
private System.Windows.Forms.Panel pnlsearch;
private System.Windows.Forms.Button btnskins;
private System.Windows.Forms.Button btnapps;
private System.Windows.Forms.Panel pnlpackageinfo;
private System.Windows.Forms.Label lbpkgname;
private System.Windows.Forms.Label lbpkgdescription;
private System.Windows.Forms.Panel pnldownload;
private System.Windows.Forms.Label lbdownloadpath;
private System.Windows.Forms.Button btndownload;
private System.Windows.Forms.Panel pnllist;
private System.Windows.Forms.ListView lvpackages;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.ColumnHeader columnHeader3;
private System.Windows.Forms.PictureBox pbappscreenshot;
private System.Windows.Forms.PictureBox pbappicon;
private System.Windows.Forms.TextBox txtsearch;
private System.Windows.Forms.Button btnlounge;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btngetkey;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel pnllounge;
private System.Windows.Forms.ListView lvmypackages;
private System.Windows.Forms.ColumnHeader columnHeader4;
private System.Windows.Forms.Label lbmyname;
private System.Windows.Forms.Label lbmybio;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtbitnoteaddress;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.TextBox txtbio;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox txtmoddername;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button btnsave;
private System.Windows.Forms.Button btnupload;
private System.Windows.Forms.Button btnedit;
private System.Windows.Forms.Panel pnlpackageeditor;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox txtprice;
private System.Windows.Forms.Label lbprice;
private System.Windows.Forms.Label lbaddress;
private System.Windows.Forms.CheckBox cbsell;
private System.Windows.Forms.TextBox txtpackagedescription;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.TextBox txtpackagename;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.Button btndonecustomizing;
private System.Windows.Forms.Button btnsaa;
private System.Windows.Forms.Panel pnlauthordetails;
private System.Windows.Forms.Label lbauthordescription;
private System.Windows.Forms.Label lbauthorname;
private System.Windows.Forms.Panel pnlchoosenetwork;
private System.Windows.Forms.Button btnrequest;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.ListView lvnets;
private System.Windows.Forms.ColumnHeader clhostnameheader;
private ShiftUI.Panel panel3;
private ShiftUI.ImageList imgpackageicons;
private ShiftUI.Panel pnlsearch;
private ShiftUI.Button btnskins;
private ShiftUI.Button btnapps;
private ShiftUI.Panel pnlpackageinfo;
private ShiftUI.Label lbpkgname;
private ShiftUI.Label lbpkgdescription;
private ShiftUI.Panel pnldownload;
private ShiftUI.Label lbdownloadpath;
private ShiftUI.Button btndownload;
private ShiftUI.Panel pnllist;
private ShiftUI.ListView lvpackages;
private ShiftUI.ColumnHeader columnHeader1;
private ShiftUI.ColumnHeader columnHeader2;
private ShiftUI.ColumnHeader columnHeader3;
private ShiftUI.PictureBox pbappscreenshot;
private ShiftUI.PictureBox pbappicon;
private ShiftUI.TextBox txtsearch;
private ShiftUI.Button btnlounge;
private ShiftUI.Label label2;
private ShiftUI.Button btngetkey;
private ShiftUI.Label label1;
private ShiftUI.Panel pnllounge;
private ShiftUI.ListView lvmypackages;
private ShiftUI.ColumnHeader columnHeader4;
private ShiftUI.Label lbmyname;
private ShiftUI.Label lbmybio;
private ShiftUI.Label label3;
private ShiftUI.TextBox txtbitnoteaddress;
private ShiftUI.Label label8;
private ShiftUI.TextBox txtbio;
private ShiftUI.Label label7;
private ShiftUI.TextBox txtmoddername;
private ShiftUI.Label label6;
private ShiftUI.Label label5;
private ShiftUI.Label label4;
private ShiftUI.Button btnsave;
private ShiftUI.Button btnupload;
private ShiftUI.Button btnedit;
private ShiftUI.Panel pnlpackageeditor;
private ShiftUI.Label label9;
private ShiftUI.TextBox txtprice;
private ShiftUI.Label lbprice;
private ShiftUI.Label lbaddress;
private ShiftUI.CheckBox cbsell;
private ShiftUI.TextBox txtpackagedescription;
private ShiftUI.Label label10;
private ShiftUI.TextBox txtpackagename;
private ShiftUI.Label label11;
private ShiftUI.Label label12;
private ShiftUI.Button btndonecustomizing;
private ShiftUI.Button btnsaa;
private ShiftUI.Panel pnlauthordetails;
private ShiftUI.Label lbauthordescription;
private ShiftUI.Label lbauthorname;
private ShiftUI.Panel pnlchoosenetwork;
private ShiftUI.Button btnrequest;
private ShiftUI.Label label14;
private ShiftUI.Label label13;
private ShiftUI.ListView lvnets;
private ShiftUI.ColumnHeader clhostnameheader;
}
}

View file

@ -11,7 +11,7 @@ using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="label14.Text" xml:space="preserve">
<value>Please choose a repository you would like your developer key to be associated with. Any uploads made using the new key will be sent to this repository and viewers of this repository will see your new package.</value>

View file

@ -28,31 +28,31 @@
/// </summary>
private void InitializeComponent()
{
this.lbtitle = new System.Windows.Forms.Label();
this.pnlmain = new System.Windows.Forms.Panel();
this.Page0 = new System.Windows.Forms.Panel();
this.txtprice = new System.Windows.Forms.TextBox();
this.lbprice = new System.Windows.Forms.Label();
this.lbaddress = new System.Windows.Forms.Label();
this.cbsell = new System.Windows.Forms.CheckBox();
this.txtpackagedescription = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.txtpackagename = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.Page1 = new System.Windows.Forms.Panel();
this.btncompilesaa = new System.Windows.Forms.Button();
this.btnscreenshot = new System.Windows.Forms.Button();
this.btnicon = new System.Windows.Forms.Button();
this.btnsaa = new System.Windows.Forms.Button();
this.Page2 = new System.Windows.Forms.Panel();
this.txtconfirm = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.lbldescription = new System.Windows.Forms.Label();
this.pnlactions = new System.Windows.Forms.FlowLayoutPanel();
this.btndone = new System.Windows.Forms.Button();
this.btnnext = new System.Windows.Forms.Button();
this.btnback = new System.Windows.Forms.Button();
this.btncancel = new System.Windows.Forms.Button();
this.lbtitle = new ShiftUI.Label();
this.pnlmain = new ShiftUI.Panel();
this.Page0 = new ShiftUI.Panel();
this.txtprice = new ShiftUI.TextBox();
this.lbprice = new ShiftUI.Label();
this.lbaddress = new ShiftUI.Label();
this.cbsell = new ShiftUI.CheckBox();
this.txtpackagedescription = new ShiftUI.TextBox();
this.label2 = new ShiftUI.Label();
this.txtpackagename = new ShiftUI.TextBox();
this.label1 = new ShiftUI.Label();
this.Page1 = new ShiftUI.Panel();
this.btncompilesaa = new ShiftUI.Button();
this.btnscreenshot = new ShiftUI.Button();
this.btnicon = new ShiftUI.Button();
this.btnsaa = new ShiftUI.Button();
this.Page2 = new ShiftUI.Panel();
this.txtconfirm = new ShiftUI.TextBox();
this.label3 = new ShiftUI.Label();
this.lbldescription = new ShiftUI.Label();
this.pnlactions = new ShiftUI.FlowLayoutPanel();
this.btndone = new ShiftUI.Button();
this.btnnext = new ShiftUI.Button();
this.btnback = new ShiftUI.Button();
this.btncancel = new ShiftUI.Button();
this.pnlmain.SuspendLayout();
this.Page0.SuspendLayout();
this.Page1.SuspendLayout();
@ -63,12 +63,12 @@
// lbtitle
//
this.lbtitle.BackColor = System.Drawing.Color.Gray;
this.lbtitle.Dock = System.Windows.Forms.DockStyle.Top;
this.lbtitle.Dock = ShiftUI.DockStyle.Top;
this.lbtitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
this.lbtitle.ForeColor = System.Drawing.Color.White;
this.lbtitle.Location = new System.Drawing.Point(0, 0);
this.lbtitle.Name = "lbtitle";
this.lbtitle.Padding = new System.Windows.Forms.Padding(15, 0, 0, 0);
this.lbtitle.Padding = new ShiftUI.Padding(15, 0, 0, 0);
this.lbtitle.Size = new System.Drawing.Size(711, 49);
this.lbtitle.TabIndex = 0;
this.lbtitle.Text = "Welcome!";
@ -77,13 +77,13 @@
// pnlmain
//
this.pnlmain.BackColor = System.Drawing.Color.Gray;
this.pnlmain.Controls.Add(this.Page0);
this.pnlmain.Controls.Add(this.Page1);
this.pnlmain.Controls.Add(this.Page2);
this.pnlmain.Controls.Add(this.lbldescription);
this.pnlmain.Controls.Add(this.pnlactions);
this.pnlmain.Controls.Add(this.lbtitle);
this.pnlmain.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlmain.Widgets.Add(this.Page0);
this.pnlmain.Widgets.Add(this.Page1);
this.pnlmain.Widgets.Add(this.Page2);
this.pnlmain.Widgets.Add(this.lbldescription);
this.pnlmain.Widgets.Add(this.pnlactions);
this.pnlmain.Widgets.Add(this.lbtitle);
this.pnlmain.Dock = ShiftUI.DockStyle.Fill;
this.pnlmain.Location = new System.Drawing.Point(0, 0);
this.pnlmain.Name = "pnlmain";
this.pnlmain.Size = new System.Drawing.Size(711, 485);
@ -91,15 +91,15 @@
//
// Page0
//
this.Page0.Controls.Add(this.txtprice);
this.Page0.Controls.Add(this.lbprice);
this.Page0.Controls.Add(this.lbaddress);
this.Page0.Controls.Add(this.cbsell);
this.Page0.Controls.Add(this.txtpackagedescription);
this.Page0.Controls.Add(this.label2);
this.Page0.Controls.Add(this.txtpackagename);
this.Page0.Controls.Add(this.label1);
this.Page0.Dock = System.Windows.Forms.DockStyle.Fill;
this.Page0.Widgets.Add(this.txtprice);
this.Page0.Widgets.Add(this.lbprice);
this.Page0.Widgets.Add(this.lbaddress);
this.Page0.Widgets.Add(this.cbsell);
this.Page0.Widgets.Add(this.txtpackagedescription);
this.Page0.Widgets.Add(this.label2);
this.Page0.Widgets.Add(this.txtpackagename);
this.Page0.Widgets.Add(this.label1);
this.Page0.Dock = ShiftUI.DockStyle.Fill;
this.Page0.Location = new System.Drawing.Point(0, 135);
this.Page0.Name = "Page0";
this.Page0.Size = new System.Drawing.Size(711, 314);
@ -138,9 +138,9 @@
//
// cbsell
//
this.cbsell.Appearance = System.Windows.Forms.Appearance.Button;
this.cbsell.Appearance = ShiftUI.Appearance.Button;
this.cbsell.AutoSize = true;
this.cbsell.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cbsell.FlatStyle = ShiftUI.FlatStyle.Flat;
this.cbsell.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.cbsell.Location = new System.Drawing.Point(98, 235);
this.cbsell.Name = "cbsell";
@ -152,8 +152,8 @@
//
// txtpackagedescription
//
this.txtpackagedescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtpackagedescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.txtpackagedescription.Location = new System.Drawing.Point(100, 44);
this.txtpackagedescription.Multiline = true;
this.txtpackagedescription.Name = "txtpackagedescription";
@ -191,11 +191,11 @@
//
// Page1
//
this.Page1.Controls.Add(this.btncompilesaa);
this.Page1.Controls.Add(this.btnscreenshot);
this.Page1.Controls.Add(this.btnicon);
this.Page1.Controls.Add(this.btnsaa);
this.Page1.Dock = System.Windows.Forms.DockStyle.Fill;
this.Page1.Widgets.Add(this.btncompilesaa);
this.Page1.Widgets.Add(this.btnscreenshot);
this.Page1.Widgets.Add(this.btnicon);
this.Page1.Widgets.Add(this.btnsaa);
this.Page1.Dock = ShiftUI.DockStyle.Fill;
this.Page1.Location = new System.Drawing.Point(0, 135);
this.Page1.Name = "Page1";
this.Page1.Size = new System.Drawing.Size(711, 314);
@ -203,10 +203,10 @@
//
// btncompilesaa
//
this.btncompilesaa.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btncompilesaa.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.btncompilesaa.AutoSize = true;
this.btncompilesaa.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btncompilesaa.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btncompilesaa.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btncompilesaa.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btncompilesaa.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btncompilesaa.Location = new System.Drawing.Point(4, 282);
this.btncompilesaa.Name = "btncompilesaa";
@ -219,8 +219,8 @@
// btnscreenshot
//
this.btnscreenshot.AutoSize = true;
this.btnscreenshot.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnscreenshot.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnscreenshot.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnscreenshot.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnscreenshot.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btnscreenshot.Location = new System.Drawing.Point(12, 76);
this.btnscreenshot.Name = "btnscreenshot";
@ -233,8 +233,8 @@
// btnicon
//
this.btnicon.AutoSize = true;
this.btnicon.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnicon.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnicon.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnicon.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnicon.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btnicon.Location = new System.Drawing.Point(12, 44);
this.btnicon.Name = "btnicon";
@ -247,8 +247,8 @@
// btnsaa
//
this.btnsaa.AutoSize = true;
this.btnsaa.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnsaa.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsaa.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnsaa.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnsaa.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btnsaa.Location = new System.Drawing.Point(12, 9);
this.btnsaa.Name = "btnsaa";
@ -260,9 +260,9 @@
//
// Page2
//
this.Page2.Controls.Add(this.txtconfirm);
this.Page2.Controls.Add(this.label3);
this.Page2.Dock = System.Windows.Forms.DockStyle.Fill;
this.Page2.Widgets.Add(this.txtconfirm);
this.Page2.Widgets.Add(this.label3);
this.Page2.Dock = ShiftUI.DockStyle.Fill;
this.Page2.Location = new System.Drawing.Point(0, 135);
this.Page2.Name = "Page2";
this.Page2.Size = new System.Drawing.Size(711, 314);
@ -270,9 +270,9 @@
//
// txtconfirm
//
this.txtconfirm.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtconfirm.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.txtconfirm.Location = new System.Drawing.Point(19, 49);
this.txtconfirm.Multiline = true;
this.txtconfirm.Name = "txtconfirm";
@ -290,24 +290,24 @@
//
// lbldescription
//
this.lbldescription.Dock = System.Windows.Forms.DockStyle.Top;
this.lbldescription.Dock = ShiftUI.DockStyle.Top;
this.lbldescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.lbldescription.ForeColor = System.Drawing.Color.White;
this.lbldescription.Location = new System.Drawing.Point(0, 49);
this.lbldescription.Name = "lbldescription";
this.lbldescription.Padding = new System.Windows.Forms.Padding(15, 0, 0, 0);
this.lbldescription.Padding = new ShiftUI.Padding(15, 0, 0, 0);
this.lbldescription.Size = new System.Drawing.Size(711, 86);
this.lbldescription.TabIndex = 2;
this.lbldescription.Text = "label1";
//
// pnlactions
//
this.pnlactions.Controls.Add(this.btndone);
this.pnlactions.Controls.Add(this.btnnext);
this.pnlactions.Controls.Add(this.btnback);
this.pnlactions.Controls.Add(this.btncancel);
this.pnlactions.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlactions.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
this.pnlactions.Widgets.Add(this.btndone);
this.pnlactions.Widgets.Add(this.btnnext);
this.pnlactions.Widgets.Add(this.btnback);
this.pnlactions.Widgets.Add(this.btncancel);
this.pnlactions.Dock = ShiftUI.DockStyle.Bottom;
this.pnlactions.FlowDirection = ShiftUI.FlowDirection.RightToLeft;
this.pnlactions.ForeColor = System.Drawing.Color.White;
this.pnlactions.Location = new System.Drawing.Point(0, 449);
this.pnlactions.Name = "pnlactions";
@ -317,8 +317,8 @@
// btndone
//
this.btndone.AutoSize = true;
this.btndone.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btndone.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btndone.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btndone.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btndone.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btndone.Location = new System.Drawing.Point(660, 3);
this.btndone.Name = "btndone";
@ -331,8 +331,8 @@
// btnnext
//
this.btnnext.AutoSize = true;
this.btnnext.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnnext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnnext.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnnext.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnnext.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btnnext.Location = new System.Drawing.Point(612, 3);
this.btnnext.Name = "btnnext";
@ -345,8 +345,8 @@
// btnback
//
this.btnback.AutoSize = true;
this.btnback.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnback.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnback.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnback.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnback.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btnback.Location = new System.Drawing.Point(564, 3);
this.btnback.Name = "btnback";
@ -359,8 +359,8 @@
// btncancel
//
this.btncancel.AutoSize = true;
this.btncancel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btncancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btncancel.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btncancel.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btncancel.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btncancel.Location = new System.Drawing.Point(508, 3);
this.btncancel.Name = "btncancel";
@ -373,9 +373,9 @@
// AppscapeUploader
//
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(711, 485);
this.Controls.Add(this.pnlmain);
this.Widgets.Add(this.pnlmain);
this.Name = "AppscapeUploader";
this.Text = "AppscapeUploader";
this.Load += new System.EventHandler(this.AppscapeUploader_Load);
@ -394,30 +394,30 @@
#endregion
private System.Windows.Forms.Label lbtitle;
private System.Windows.Forms.Panel pnlmain;
private System.Windows.Forms.FlowLayoutPanel pnlactions;
private System.Windows.Forms.Button btndone;
private System.Windows.Forms.Button btnnext;
private System.Windows.Forms.Button btnback;
private System.Windows.Forms.Button btncancel;
private System.Windows.Forms.Label lbldescription;
private System.Windows.Forms.Panel Page0;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtpackagedescription;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.TextBox txtpackagename;
private System.Windows.Forms.Panel Page1;
private System.Windows.Forms.Button btnsaa;
private System.Windows.Forms.Button btnscreenshot;
private System.Windows.Forms.Button btnicon;
private System.Windows.Forms.Panel Page2;
private System.Windows.Forms.TextBox txtconfirm;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button btncompilesaa;
private System.Windows.Forms.TextBox txtprice;
private System.Windows.Forms.Label lbprice;
private System.Windows.Forms.Label lbaddress;
private System.Windows.Forms.CheckBox cbsell;
private ShiftUI.Label lbtitle;
private ShiftUI.Panel pnlmain;
private ShiftUI.FlowLayoutPanel pnlactions;
private ShiftUI.Button btndone;
private ShiftUI.Button btnnext;
private ShiftUI.Button btnback;
private ShiftUI.Button btncancel;
private ShiftUI.Label lbldescription;
private ShiftUI.Panel Page0;
private ShiftUI.Label label1;
private ShiftUI.TextBox txtpackagedescription;
private ShiftUI.Label label2;
private ShiftUI.TextBox txtpackagename;
private ShiftUI.Panel Page1;
private ShiftUI.Button btnsaa;
private ShiftUI.Button btnscreenshot;
private ShiftUI.Button btnicon;
private ShiftUI.Panel Page2;
private ShiftUI.TextBox txtconfirm;
private ShiftUI.Label label3;
private ShiftUI.Button btncompilesaa;
private ShiftUI.TextBox txtprice;
private ShiftUI.Label lbprice;
private ShiftUI.Label lbaddress;
private ShiftUI.CheckBox cbsell;
}
}

View file

@ -10,7 +10,7 @@ using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -121,16 +121,16 @@ namespace ShiftOS
/// Makes the specified control and ALL of it's children, grand children, great grand children, and so on, appear "dark".
/// </summary>
/// <param name="ctrl">The top of the hierarchy; the start of it all.</param>
private void RecursiveControlSetup(Control ctrl)
private void RecursiveWidgetSetup(Widget ctrl)
{
ctrl.BackColor = API.CurrentSkin.titlebarcolour;
ctrl.ForeColor = API.CurrentSkin.titletextcolour;
try
{
var pnl = (Panel)ctrl;
foreach(Control c in pnl.Controls)
foreach(Widget c in pnl.Widgets)
{
RecursiveControlSetup(c);
RecursiveWidgetSetup(c);
}
}
catch {
@ -143,7 +143,7 @@ namespace ShiftOS
/// </summary>
private void SetupUI()
{
RecursiveControlSetup(pnlmain);
RecursiveWidgetSetup(pnlmain);
switch (page)
{
case 0:

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,7 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
using System.Drawing.Text;
using System.Drawing.Imaging;
using System.Drawing.Drawing2D;
@ -247,7 +247,7 @@ namespace ShiftOS
#region Drawing Display
// ERROR: Handles clauses are not supported in C#
private void picdrawingdisplay_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
private void picdrawingdisplay_Paint(object sender, ShiftUI.PaintEventArgs e)
{
e.Graphics.FillRectangle(Brushes.White, 0, 0, canvaswidth * magnificationlevel, canvasheight * magnificationlevel);
e.Graphics.InterpolationMode = InterpolationMode.NearestNeighbor;
@ -353,7 +353,7 @@ namespace ShiftOS
// ERROR: Handles clauses are not supported in C#
private void picdrawingdisplay_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
private void picdrawingdisplay_MouseDown(object sender, ShiftUI.MouseEventArgs e)
{
undo.undoStack.Push((Image)canvasbitmap.Clone());
undo.redoStack.Clear();
@ -478,7 +478,7 @@ namespace ShiftOS
}
// ERROR: Handles clauses are not supported in C#
private void picdrawingdisplay_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
private void picdrawingdisplay_MouseMove(object sender, ShiftUI.MouseEventArgs e)
{
Point lastpoint;
@ -621,7 +621,7 @@ namespace ShiftOS
// ERROR: Handles clauses are not supported in C#
private void colourpallet1_MouseClick(object sender, MouseEventArgs e)
{
var s = (Control)sender;
var s = (Widget)sender;
if (e.Button == MouseButtons.Left)
{
drawingcolour = s.BackColor;
@ -1265,7 +1265,7 @@ namespace ShiftOS
// ERROR: Handles clauses are not supported in C#
private void ChangePencilSize(object sender, EventArgs e)
{
var s = (Control)sender;
var s = (Widget)sender;
switch (s.Name.ToString())
{
case "btnpencilsize1":
@ -1735,13 +1735,13 @@ namespace ShiftOS
{
panelstoadd = 128;
}
flowcolours.Controls.Clear();
flowcolours.Widgets.Clear();
for(int i = 0; i < panelstoadd; i++)
{
Panel pnl = new Panel();
pnl.BackColor = Color.Black;
pnl.Size = new Size(12, 8);
flowcolours.Controls.Add(pnl);
flowcolours.Widgets.Add(pnl);
pnl.Margin = new Padding(1, 0, 0, 1);
pnl.MouseClick += new MouseEventHandler(this.colourpallet1_MouseClick);
pnl.Show();

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tmrcodepointcooldown.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>

View file

@ -28,16 +28,16 @@
/// </summary>
private void InitializeComponent()
{
this.txtcodepoints = new System.Windows.Forms.TextBox();
this.lbstatus = new System.Windows.Forms.Label();
this.btnconvert = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.txtcodepoints = new ShiftUI.TextBox();
this.lbstatus = new ShiftUI.Label();
this.btnconvert = new ShiftUI.Button();
this.panel1 = new ShiftUI.Panel();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// txtcodepoints
//
this.txtcodepoints.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtcodepoints.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.txtcodepoints.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.txtcodepoints.Location = new System.Drawing.Point(28, 12);
this.txtcodepoints.Name = "txtcodepoints";
@ -47,8 +47,8 @@
//
// lbstatus
//
this.lbstatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbstatus.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lbstatus.AutoSize = true;
this.lbstatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
this.lbstatus.Location = new System.Drawing.Point(78, 16);
@ -59,8 +59,8 @@
//
// btnconvert
//
this.btnconvert.Dock = System.Windows.Forms.DockStyle.Bottom;
this.btnconvert.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnconvert.Dock = ShiftUI.DockStyle.Bottom;
this.btnconvert.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnconvert.Location = new System.Drawing.Point(0, 76);
this.btnconvert.Name = "btnconvert";
this.btnconvert.Size = new System.Drawing.Size(229, 23);
@ -72,10 +72,10 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.btnconvert);
this.panel1.Controls.Add(this.lbstatus);
this.panel1.Controls.Add(this.txtcodepoints);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Widgets.Add(this.btnconvert);
this.panel1.Widgets.Add(this.lbstatus);
this.panel1.Widgets.Add(this.txtcodepoints);
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(229, 99);
@ -84,9 +84,9 @@
// BitnoteConverter
//
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(229, 99);
this.Controls.Add(this.panel1);
this.Widgets.Add(this.panel1);
this.Name = "BitnoteConverter";
this.Text = "BitnoteConverter";
this.Load += new System.EventHandler(this.BitnoteConverter_Load);
@ -98,9 +98,9 @@
#endregion
private System.Windows.Forms.TextBox txtcodepoints;
private System.Windows.Forms.Label lbstatus;
private System.Windows.Forms.Button btnconvert;
private System.Windows.Forms.Panel panel1;
private ShiftUI.TextBox txtcodepoints;
private ShiftUI.Label lbstatus;
private ShiftUI.Button btnconvert;
private ShiftUI.Panel panel1;
}
}

View file

@ -6,7 +6,7 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -25,28 +25,28 @@ namespace ShiftOS
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.pgcontents = new System.Windows.Forms.Panel();
this.Label10 = new System.Windows.Forms.Label();
this.btnsend = new System.Windows.Forms.Button();
this.txtsendaddress = new System.Windows.Forms.TextBox();
this.Label7 = new System.Windows.Forms.Label();
this.lbltotalbitcoinsmined = new System.Windows.Forms.Label();
this.Panel1 = new System.Windows.Forms.Panel();
this.Label6 = new System.Windows.Forms.Label();
this.Label8 = new System.Windows.Forms.Label();
this.turbomodespeed = new System.Windows.Forms.Label();
this.Label5 = new System.Windows.Forms.Label();
this.lbldiggerstatsspeed = new System.Windows.Forms.Label();
this.lbldiggerstatsgrade = new System.Windows.Forms.Label();
this.lbldiggerstatsname = new System.Windows.Forms.Label();
this.btnturbomode = new System.Windows.Forms.Button();
this.btnstop = new System.Windows.Forms.Button();
this.btnstart = new System.Windows.Forms.Button();
this.PictureBox1 = new System.Windows.Forms.PictureBox();
this.Label1 = new System.Windows.Forms.Label();
this.tmrcalcbitnotesmined = new System.Windows.Forms.Timer(this.components);
this.tmrturbomode = new System.Windows.Forms.Timer(this.components);
this.btnupgrade = new System.Windows.Forms.Button();
this.pgcontents = new ShiftUI.Panel();
this.Label10 = new ShiftUI.Label();
this.btnsend = new ShiftUI.Button();
this.txtsendaddress = new ShiftUI.TextBox();
this.Label7 = new ShiftUI.Label();
this.lbltotalbitcoinsmined = new ShiftUI.Label();
this.Panel1 = new ShiftUI.Panel();
this.Label6 = new ShiftUI.Label();
this.Label8 = new ShiftUI.Label();
this.turbomodespeed = new ShiftUI.Label();
this.Label5 = new ShiftUI.Label();
this.lbldiggerstatsspeed = new ShiftUI.Label();
this.lbldiggerstatsgrade = new ShiftUI.Label();
this.lbldiggerstatsname = new ShiftUI.Label();
this.btnturbomode = new ShiftUI.Button();
this.btnstop = new ShiftUI.Button();
this.btnstart = new ShiftUI.Button();
this.PictureBox1 = new ShiftUI.PictureBox();
this.Label1 = new ShiftUI.Label();
this.tmrcalcbitnotesmined = new ShiftUI.Timer(this.components);
this.tmrturbomode = new ShiftUI.Timer(this.components);
this.btnupgrade = new ShiftUI.Button();
this.pgcontents.SuspendLayout();
this.Panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
@ -55,14 +55,14 @@ namespace ShiftOS
// pgcontents
//
this.pgcontents.BackColor = System.Drawing.Color.White;
this.pgcontents.Controls.Add(this.Label10);
this.pgcontents.Controls.Add(this.btnsend);
this.pgcontents.Controls.Add(this.txtsendaddress);
this.pgcontents.Controls.Add(this.Label7);
this.pgcontents.Controls.Add(this.lbltotalbitcoinsmined);
this.pgcontents.Controls.Add(this.Panel1);
this.pgcontents.Controls.Add(this.Label1);
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
this.pgcontents.Widgets.Add(this.Label10);
this.pgcontents.Widgets.Add(this.btnsend);
this.pgcontents.Widgets.Add(this.txtsendaddress);
this.pgcontents.Widgets.Add(this.Label7);
this.pgcontents.Widgets.Add(this.lbltotalbitcoinsmined);
this.pgcontents.Widgets.Add(this.Panel1);
this.pgcontents.Widgets.Add(this.Label1);
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(560, 297);
@ -82,7 +82,7 @@ namespace ShiftOS
// btnsend
//
this.btnsend.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.btnsend.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsend.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnsend.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnsend.Location = new System.Drawing.Point(472, 181);
this.btnsend.Name = "btnsend";
@ -95,14 +95,14 @@ namespace ShiftOS
// txtsendaddress
//
this.txtsendaddress.BackColor = System.Drawing.Color.White;
this.txtsendaddress.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtsendaddress.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.txtsendaddress.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtsendaddress.Location = new System.Drawing.Point(205, 155);
this.txtsendaddress.Multiline = true;
this.txtsendaddress.Name = "txtsendaddress";
this.txtsendaddress.Size = new System.Drawing.Size(340, 21);
this.txtsendaddress.TabIndex = 4;
this.txtsendaddress.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.txtsendaddress.TextAlign = ShiftUI.HorizontalAlignment.Center;
//
// Label7
//
@ -126,19 +126,19 @@ namespace ShiftOS
//
// Panel1
//
this.Panel1.Controls.Add(this.btnupgrade);
this.Panel1.Controls.Add(this.Label6);
this.Panel1.Controls.Add(this.Label8);
this.Panel1.Controls.Add(this.turbomodespeed);
this.Panel1.Controls.Add(this.Label5);
this.Panel1.Controls.Add(this.lbldiggerstatsspeed);
this.Panel1.Controls.Add(this.lbldiggerstatsgrade);
this.Panel1.Controls.Add(this.lbldiggerstatsname);
this.Panel1.Controls.Add(this.btnturbomode);
this.Panel1.Controls.Add(this.btnstop);
this.Panel1.Controls.Add(this.btnstart);
this.Panel1.Controls.Add(this.PictureBox1);
this.Panel1.Dock = System.Windows.Forms.DockStyle.Left;
this.Panel1.Widgets.Add(this.btnupgrade);
this.Panel1.Widgets.Add(this.Label6);
this.Panel1.Widgets.Add(this.Label8);
this.Panel1.Widgets.Add(this.turbomodespeed);
this.Panel1.Widgets.Add(this.Label5);
this.Panel1.Widgets.Add(this.lbldiggerstatsspeed);
this.Panel1.Widgets.Add(this.lbldiggerstatsgrade);
this.Panel1.Widgets.Add(this.lbldiggerstatsname);
this.Panel1.Widgets.Add(this.btnturbomode);
this.Panel1.Widgets.Add(this.btnstop);
this.Panel1.Widgets.Add(this.btnstart);
this.Panel1.Widgets.Add(this.PictureBox1);
this.Panel1.Dock = ShiftUI.DockStyle.Left;
this.Panel1.Location = new System.Drawing.Point(0, 0);
this.Panel1.Name = "Panel1";
this.Panel1.Size = new System.Drawing.Size(199, 297);
@ -216,7 +216,7 @@ namespace ShiftOS
//
// btnturbomode
//
this.btnturbomode.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnturbomode.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnturbomode.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnturbomode.Location = new System.Drawing.Point(6, 188);
this.btnturbomode.Name = "btnturbomode";
@ -228,7 +228,7 @@ namespace ShiftOS
//
// btnstop
//
this.btnstop.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnstop.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnstop.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnstop.Location = new System.Drawing.Point(101, 156);
this.btnstop.Name = "btnstop";
@ -240,7 +240,7 @@ namespace ShiftOS
//
// btnstart
//
this.btnstart.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnstart.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnstart.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnstart.Location = new System.Drawing.Point(6, 156);
this.btnstart.Name = "btnstart";
@ -253,7 +253,7 @@ namespace ShiftOS
// PictureBox1
//
this.PictureBox1.BackColor = System.Drawing.Color.Black;
this.PictureBox1.Dock = System.Windows.Forms.DockStyle.Right;
this.PictureBox1.Dock = ShiftUI.DockStyle.Right;
this.PictureBox1.Location = new System.Drawing.Point(198, 0);
this.PictureBox1.Name = "PictureBox1";
this.PictureBox1.Size = new System.Drawing.Size(1, 297);
@ -282,7 +282,7 @@ namespace ShiftOS
//
// btnupgrade
//
this.btnupgrade.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnupgrade.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnupgrade.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnupgrade.Location = new System.Drawing.Point(6, 223);
this.btnupgrade.Name = "btnupgrade";
@ -295,10 +295,10 @@ namespace ShiftOS
// BitnoteDigger
//
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(560, 297);
this.Controls.Add(this.pgcontents);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Widgets.Add(this.pgcontents);
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
this.Name = "BitnoteDigger";
this.Text = "Bitnote_Digger";
this.TopMost = true;
@ -311,27 +311,27 @@ namespace ShiftOS
this.ResumeLayout(false);
}
internal System.Windows.Forms.Panel pgcontents;
internal System.Windows.Forms.Panel Panel1;
internal System.Windows.Forms.PictureBox PictureBox1;
internal System.Windows.Forms.Label Label1;
internal System.Windows.Forms.Label lbltotalbitcoinsmined;
internal System.Windows.Forms.Button btnturbomode;
internal System.Windows.Forms.Button btnstop;
internal System.Windows.Forms.Button btnstart;
internal System.Windows.Forms.Label Label6;
internal System.Windows.Forms.Label Label8;
internal System.Windows.Forms.Label turbomodespeed;
internal System.Windows.Forms.Label Label5;
internal System.Windows.Forms.Label lbldiggerstatsspeed;
internal System.Windows.Forms.Label lbldiggerstatsgrade;
internal System.Windows.Forms.Label lbldiggerstatsname;
internal System.Windows.Forms.Label Label10;
internal System.Windows.Forms.Button btnsend;
internal System.Windows.Forms.TextBox txtsendaddress;
internal System.Windows.Forms.Label Label7;
internal System.Windows.Forms.Timer tmrcalcbitnotesmined;
internal System.Windows.Forms.Timer tmrturbomode;
internal System.Windows.Forms.Button btnupgrade;
internal ShiftUI.Panel pgcontents;
internal ShiftUI.Panel Panel1;
internal ShiftUI.PictureBox PictureBox1;
internal ShiftUI.Label Label1;
internal ShiftUI.Label lbltotalbitcoinsmined;
internal ShiftUI.Button btnturbomode;
internal ShiftUI.Button btnstop;
internal ShiftUI.Button btnstart;
internal ShiftUI.Label Label6;
internal ShiftUI.Label Label8;
internal ShiftUI.Label turbomodespeed;
internal ShiftUI.Label Label5;
internal ShiftUI.Label lbldiggerstatsspeed;
internal ShiftUI.Label lbldiggerstatsgrade;
internal ShiftUI.Label lbldiggerstatsname;
internal ShiftUI.Label Label10;
internal ShiftUI.Button btnsend;
internal ShiftUI.TextBox txtsendaddress;
internal ShiftUI.Label Label7;
internal ShiftUI.Timer tmrcalcbitnotesmined;
internal ShiftUI.Timer tmrturbomode;
internal ShiftUI.Button btnupgrade;
}
}

View file

@ -6,7 +6,7 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
using System.IO;
using Newtonsoft.Json;

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tmrcalcbitnotesmined.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>

View file

@ -29,21 +29,21 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.fltopbar = new System.Windows.Forms.FlowLayoutPanel();
this.btnsend = new System.Windows.Forms.Button();
this.btnsync = new System.Windows.Forms.Button();
this.sendpanel = new System.Windows.Forms.Panel();
this.txtamount = new System.Windows.Forms.TextBox();
this.txtrecipient = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.btnconfirmsend = new System.Windows.Forms.PictureBox();
this.panel1 = new System.Windows.Forms.Panel();
this.lbmybitnotes = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.txtmyaddress = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.tmrrefresh = new System.Windows.Forms.Timer(this.components);
this.fltopbar = new ShiftUI.FlowLayoutPanel();
this.btnsend = new ShiftUI.Button();
this.btnsync = new ShiftUI.Button();
this.sendpanel = new ShiftUI.Panel();
this.txtamount = new ShiftUI.TextBox();
this.txtrecipient = new ShiftUI.TextBox();
this.label2 = new ShiftUI.Label();
this.label1 = new ShiftUI.Label();
this.btnconfirmsend = new ShiftUI.PictureBox();
this.panel1 = new ShiftUI.Panel();
this.lbmybitnotes = new ShiftUI.Label();
this.label4 = new ShiftUI.Label();
this.txtmyaddress = new ShiftUI.TextBox();
this.label3 = new ShiftUI.Label();
this.tmrrefresh = new ShiftUI.Timer(this.components);
this.fltopbar.SuspendLayout();
this.sendpanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.btnconfirmsend)).BeginInit();
@ -53,9 +53,9 @@
// fltopbar
//
this.fltopbar.BackColor = System.Drawing.Color.Gray;
this.fltopbar.Controls.Add(this.btnsend);
this.fltopbar.Controls.Add(this.btnsync);
this.fltopbar.Dock = System.Windows.Forms.DockStyle.Top;
this.fltopbar.Widgets.Add(this.btnsend);
this.fltopbar.Widgets.Add(this.btnsync);
this.fltopbar.Dock = ShiftUI.DockStyle.Top;
this.fltopbar.ForeColor = System.Drawing.Color.White;
this.fltopbar.Location = new System.Drawing.Point(0, 0);
this.fltopbar.Name = "fltopbar";
@ -64,8 +64,8 @@
//
// btnsend
//
this.btnsend.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.btnsend.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsend.BackgroundImageLayout = ShiftUI.ImageLayout.None;
this.btnsend.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnsend.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btnsend.Location = new System.Drawing.Point(3, 3);
this.btnsend.Name = "btnsend";
@ -77,7 +77,7 @@
//
// btnsync
//
this.btnsync.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsync.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnsync.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btnsync.Location = new System.Drawing.Point(84, 3);
this.btnsync.Name = "btnsync";
@ -89,12 +89,12 @@
//
// sendpanel
//
this.sendpanel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.sendpanel.Controls.Add(this.txtamount);
this.sendpanel.Controls.Add(this.txtrecipient);
this.sendpanel.Controls.Add(this.label2);
this.sendpanel.Controls.Add(this.label1);
this.sendpanel.Controls.Add(this.btnconfirmsend);
this.sendpanel.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.sendpanel.Widgets.Add(this.txtamount);
this.sendpanel.Widgets.Add(this.txtrecipient);
this.sendpanel.Widgets.Add(this.label2);
this.sendpanel.Widgets.Add(this.label1);
this.sendpanel.Widgets.Add(this.btnconfirmsend);
this.sendpanel.Location = new System.Drawing.Point(306, 143);
this.sendpanel.Name = "sendpanel";
this.sendpanel.Size = new System.Drawing.Size(233, 105);
@ -141,7 +141,7 @@
this.btnconfirmsend.Location = new System.Drawing.Point(129, 75);
this.btnconfirmsend.Name = "btnconfirmsend";
this.btnconfirmsend.Size = new System.Drawing.Size(101, 27);
this.btnconfirmsend.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.btnconfirmsend.SizeMode = ShiftUI.PictureBoxSizeMode.AutoSize;
this.btnconfirmsend.TabIndex = 0;
this.btnconfirmsend.TabStop = false;
this.btnconfirmsend.Click += new System.EventHandler(this.btnconfirmsend_Click);
@ -149,13 +149,13 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.lbmybitnotes);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.txtmyaddress);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.fltopbar);
this.panel1.Controls.Add(this.sendpanel);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Widgets.Add(this.lbmybitnotes);
this.panel1.Widgets.Add(this.label4);
this.panel1.Widgets.Add(this.txtmyaddress);
this.panel1.Widgets.Add(this.label3);
this.panel1.Widgets.Add(this.fltopbar);
this.panel1.Widgets.Add(this.sendpanel);
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(551, 260);
@ -206,9 +206,9 @@
// BitnoteWallet
//
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(551, 260);
this.Controls.Add(this.panel1);
this.Widgets.Add(this.panel1);
this.Name = "BitnoteWallet";
this.Text = "BitnoteWallet";
this.Load += new System.EventHandler(this.BitnoteWallet_Load);
@ -224,20 +224,20 @@
#endregion
private System.Windows.Forms.FlowLayoutPanel fltopbar;
private System.Windows.Forms.Button btnsend;
private System.Windows.Forms.Button btnsync;
private System.Windows.Forms.Panel sendpanel;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.PictureBox btnconfirmsend;
private System.Windows.Forms.TextBox txtamount;
private System.Windows.Forms.TextBox txtrecipient;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label lbmybitnotes;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txtmyaddress;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Timer tmrrefresh;
private ShiftUI.FlowLayoutPanel fltopbar;
private ShiftUI.Button btnsend;
private ShiftUI.Button btnsync;
private ShiftUI.Panel sendpanel;
private ShiftUI.Panel panel1;
private ShiftUI.PictureBox btnconfirmsend;
private ShiftUI.TextBox txtamount;
private ShiftUI.TextBox txtrecipient;
private ShiftUI.Label label2;
private ShiftUI.Label label1;
private ShiftUI.Label lbmybitnotes;
private ShiftUI.Label label4;
private ShiftUI.TextBox txtmyaddress;
private ShiftUI.Label label3;
private ShiftUI.Timer tmrrefresh;
}
}

View file

@ -10,7 +10,7 @@ using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tmrrefresh.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>

View file

@ -25,19 +25,19 @@ namespace ShiftOS
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.pgcontents = new System.Windows.Forms.Panel();
this.player = new System.Windows.Forms.PictureBox();
this.QuitButton = new System.Windows.Forms.PictureBox();
this.BeginButton = new System.Windows.Forms.PictureBox();
this.DescriptionLabel = new System.Windows.Forms.Label();
this.object_small2 = new System.Windows.Forms.PictureBox();
this.object_mid2 = new System.Windows.Forms.PictureBox();
this.object_large = new System.Windows.Forms.PictureBox();
this.object_small = new System.Windows.Forms.PictureBox();
this.object_mid = new System.Windows.Forms.PictureBox();
this.scorelabel = new System.Windows.Forms.Label();
this.PicBonus = new System.Windows.Forms.PictureBox();
this.clock = new System.Windows.Forms.Timer(this.components);
this.pgcontents = new ShiftUI.Panel();
this.player = new ShiftUI.PictureBox();
this.QuitButton = new ShiftUI.PictureBox();
this.BeginButton = new ShiftUI.PictureBox();
this.DescriptionLabel = new ShiftUI.Label();
this.object_small2 = new ShiftUI.PictureBox();
this.object_mid2 = new ShiftUI.PictureBox();
this.object_large = new ShiftUI.PictureBox();
this.object_small = new ShiftUI.PictureBox();
this.object_mid = new ShiftUI.PictureBox();
this.scorelabel = new ShiftUI.Label();
this.PicBonus = new ShiftUI.PictureBox();
this.clock = new ShiftUI.Timer(this.components);
this.pgcontents.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.player)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.QuitButton)).BeginInit();
@ -53,18 +53,18 @@ namespace ShiftOS
// pgcontents
//
this.pgcontents.BackColor = System.Drawing.Color.White;
this.pgcontents.Controls.Add(this.player);
this.pgcontents.Controls.Add(this.QuitButton);
this.pgcontents.Controls.Add(this.BeginButton);
this.pgcontents.Controls.Add(this.DescriptionLabel);
this.pgcontents.Controls.Add(this.object_small2);
this.pgcontents.Controls.Add(this.object_mid2);
this.pgcontents.Controls.Add(this.object_large);
this.pgcontents.Controls.Add(this.object_small);
this.pgcontents.Controls.Add(this.object_mid);
this.pgcontents.Controls.Add(this.scorelabel);
this.pgcontents.Controls.Add(this.PicBonus);
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
this.pgcontents.Widgets.Add(this.player);
this.pgcontents.Widgets.Add(this.QuitButton);
this.pgcontents.Widgets.Add(this.BeginButton);
this.pgcontents.Widgets.Add(this.DescriptionLabel);
this.pgcontents.Widgets.Add(this.object_small2);
this.pgcontents.Widgets.Add(this.object_mid2);
this.pgcontents.Widgets.Add(this.object_large);
this.pgcontents.Widgets.Add(this.object_small);
this.pgcontents.Widgets.Add(this.object_mid);
this.pgcontents.Widgets.Add(this.scorelabel);
this.pgcontents.Widgets.Add(this.PicBonus);
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(418, 478);
@ -72,7 +72,7 @@ namespace ShiftOS
//
// player
//
this.player.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.player.Anchor = ShiftUI.AnchorStyles.Bottom;
this.player.BackColor = System.Drawing.Color.Transparent;
this.player.Image = global::ShiftOS.Properties.Resources.player_Image;
this.player.Location = new System.Drawing.Point(192, 445);
@ -83,7 +83,7 @@ namespace ShiftOS
//
// QuitButton
//
this.QuitButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.QuitButton.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.QuitButton.Image = global::ShiftOS.Properties.Resources.QuitButton_Image;
this.QuitButton.InitialImage = global::ShiftOS.Properties.Resources.QuitButton_Image;
this.QuitButton.Location = new System.Drawing.Point(216, 424);
@ -95,7 +95,7 @@ namespace ShiftOS
//
// BeginButton
//
this.BeginButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.BeginButton.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.BeginButton.Image = global::ShiftOS.Properties.Resources.BeginButton1;
this.BeginButton.InitialImage = global::ShiftOS.Properties.Resources.BeginButton_Image;
this.BeginButton.Location = new System.Drawing.Point(3, 424);
@ -188,17 +188,17 @@ namespace ShiftOS
// Dodge
//
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(418, 478);
this.Controls.Add(this.pgcontents);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Widgets.Add(this.pgcontents);
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
this.MaximizeBox = false;
this.Name = "Dodge";
this.Text = "Dodge";
this.TopMost = true;
this.Load += new System.EventHandler(this.Form1_Load);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_keydown);
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyUp);
this.KeyDown += new ShiftUI.KeyEventHandler(this.Form1_keydown);
this.KeyUp += new ShiftUI.KeyEventHandler(this.Form1_KeyUp);
this.pgcontents.ResumeLayout(false);
this.pgcontents.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.player)).EndInit();
@ -213,18 +213,18 @@ namespace ShiftOS
this.ResumeLayout(false);
}
internal System.Windows.Forms.Panel pgcontents;
internal System.Windows.Forms.PictureBox player;
internal System.Windows.Forms.PictureBox QuitButton;
internal System.Windows.Forms.PictureBox BeginButton;
internal System.Windows.Forms.Label DescriptionLabel;
internal System.Windows.Forms.PictureBox object_small2;
internal System.Windows.Forms.PictureBox object_mid2;
internal System.Windows.Forms.PictureBox object_large;
internal System.Windows.Forms.PictureBox object_small;
internal System.Windows.Forms.PictureBox object_mid;
internal System.Windows.Forms.Label scorelabel;
internal System.Windows.Forms.Timer clock;
internal System.Windows.Forms.PictureBox PicBonus;
internal ShiftUI.Panel pgcontents;
internal ShiftUI.PictureBox player;
internal ShiftUI.PictureBox QuitButton;
internal ShiftUI.PictureBox BeginButton;
internal ShiftUI.Label DescriptionLabel;
internal ShiftUI.PictureBox object_small2;
internal ShiftUI.PictureBox object_mid2;
internal ShiftUI.PictureBox object_large;
internal ShiftUI.PictureBox object_small;
internal ShiftUI.PictureBox object_mid;
internal ShiftUI.Label scorelabel;
internal ShiftUI.Timer clock;
internal ShiftUI.PictureBox PicBonus;
}
}

View file

@ -6,7 +6,7 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -105,7 +105,7 @@ namespace ShiftOS
return new Random().Next(0, pgcontents.Width);
}
public void Form1_keydown(System.Object sender, System.Windows.Forms.KeyEventArgs e)
public void Form1_keydown(System.Object sender, ShiftUI.KeyEventArgs e)
{
switch (e.KeyCode)
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="clock.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>

View file

@ -30,20 +30,20 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(File_Skimmer));
this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
this.toolStrip2 = new System.Windows.Forms.ToolStrip();
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
this.txtfilename = new System.Windows.Forms.ToolStripTextBox();
this.cbfiletypes = new System.Windows.Forms.ToolStripComboBox();
this.btnperformaction = new System.Windows.Forms.ToolStripButton();
this.btncancel = new System.Windows.Forms.ToolStripButton();
this.lvfiles = new System.Windows.Forms.ListView();
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.newFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.lbcurrentfolder = new System.Windows.Forms.ToolStripLabel();
this.imgtypes = new System.Windows.Forms.ImageList(this.components);
this.toolStripContainer1 = new ShiftUI.ToolStripContainer();
this.toolStrip2 = new ShiftUI.ToolStrip();
this.toolStripLabel1 = new ShiftUI.ToolStripLabel();
this.txtfilename = new ShiftUI.ToolStripTextBox();
this.cbfiletypes = new ShiftUI.ToolStripComboBox();
this.btnperformaction = new ShiftUI.ToolStripButton();
this.btncancel = new ShiftUI.ToolStripButton();
this.lvfiles = new ShiftUI.ListView();
this.menuStrip1 = new ShiftUI.MenuStrip();
this.newFolderToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
this.deleteToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
this.toolStrip1 = new ShiftUI.ToolStrip();
this.lbcurrentfolder = new ShiftUI.ToolStripLabel();
this.imgtypes = new ShiftUI.ImageList(this.components);
this.toolStripContainer1.BottomToolStripPanel.SuspendLayout();
this.toolStripContainer1.ContentPanel.SuspendLayout();
this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
@ -58,13 +58,13 @@
//
// toolStripContainer1.BottomToolStripPanel
//
this.toolStripContainer1.BottomToolStripPanel.Controls.Add(this.toolStrip2);
this.toolStripContainer1.BottomToolStripPanel.Widgets.Add(this.toolStrip2);
//
// toolStripContainer1.ContentPanel
//
this.toolStripContainer1.ContentPanel.Controls.Add(this.lvfiles);
this.toolStripContainer1.ContentPanel.Widgets.Add(this.lvfiles);
this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(763, 348);
this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.toolStripContainer1.Dock = ShiftUI.DockStyle.Fill;
this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
this.toolStripContainer1.Name = "toolStripContainer1";
this.toolStripContainer1.Size = new System.Drawing.Size(763, 413);
@ -73,21 +73,21 @@
//
// toolStripContainer1.TopToolStripPanel
//
this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1);
this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1);
this.toolStripContainer1.TopToolStripPanel.Widgets.Add(this.menuStrip1);
this.toolStripContainer1.TopToolStripPanel.Widgets.Add(this.toolStrip1);
//
// toolStrip2
//
this.toolStrip2.AutoSize = false;
this.toolStrip2.Dock = System.Windows.Forms.DockStyle.None;
this.toolStrip2.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStrip2.Dock = ShiftUI.DockStyle.None;
this.toolStrip2.GripStyle = ShiftUI.ToolStripGripStyle.Hidden;
this.toolStrip2.Items.AddRange(new ShiftUI.ToolStripItem[] {
this.toolStripLabel1,
this.txtfilename,
this.cbfiletypes,
this.btnperformaction,
this.btncancel});
this.toolStrip2.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Flow;
this.toolStrip2.LayoutStyle = ShiftUI.ToolStripLayoutStyle.Flow;
this.toolStrip2.Location = new System.Drawing.Point(0, 0);
this.toolStrip2.Name = "toolStrip2";
this.toolStrip2.Size = new System.Drawing.Size(763, 23);
@ -114,7 +114,7 @@
//
// btnperformaction
//
this.btnperformaction.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.btnperformaction.DisplayStyle = ShiftUI.ToolStripItemDisplayStyle.Text;
this.btnperformaction.Image = ((System.Drawing.Image)(resources.GetObject("btnperformaction.Image")));
this.btnperformaction.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btnperformaction.Name = "btnperformaction";
@ -124,7 +124,7 @@
//
// btncancel
//
this.btncancel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.btncancel.DisplayStyle = ShiftUI.ToolStripItemDisplayStyle.Text;
this.btncancel.Image = ((System.Drawing.Image)(resources.GetObject("btncancel.Image")));
this.btncancel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.btncancel.Name = "btncancel";
@ -134,7 +134,7 @@
//
// lvfiles
//
this.lvfiles.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvfiles.Dock = ShiftUI.DockStyle.Fill;
this.lvfiles.Location = new System.Drawing.Point(0, 0);
this.lvfiles.Name = "lvfiles";
this.lvfiles.Size = new System.Drawing.Size(763, 348);
@ -144,8 +144,8 @@
//
// menuStrip1
//
this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None;
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.menuStrip1.Dock = ShiftUI.DockStyle.None;
this.menuStrip1.Items.AddRange(new ShiftUI.ToolStripItem[] {
this.newFolderToolStripMenuItem,
this.deleteToolStripMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
@ -171,11 +171,11 @@
// toolStrip1
//
this.toolStrip1.AutoSize = false;
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStrip1.Dock = ShiftUI.DockStyle.None;
this.toolStrip1.GripStyle = ShiftUI.ToolStripGripStyle.Hidden;
this.toolStrip1.Items.AddRange(new ShiftUI.ToolStripItem[] {
this.lbcurrentfolder});
this.toolStrip1.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.Table;
this.toolStrip1.LayoutStyle = ShiftUI.ToolStripLayoutStyle.Table;
this.toolStrip1.Location = new System.Drawing.Point(0, 24);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.ShowItemToolTips = false;
@ -191,21 +191,20 @@
//
// imgtypes
//
this.imgtypes.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgtypes.ImageStream")));
this.imgtypes.TransparentColor = System.Drawing.Color.Transparent;
this.imgtypes.Images.SetKeyName(0, "application");
this.imgtypes.Images.SetKeyName(1, "package");
this.imgtypes.Images.SetKeyName(2, "none");
this.imgtypes.Images.SetKeyName(3, "doc");
this.imgtypes.Images.SetKeyName(4, "dir");
this.imgtypes.Images.SetKeyName(5, "skin");
//this.imgtypes.Images.SetKeyName(0, "application");
//this.imgtypes.Images.SetKeyName(1, "package");
//this.imgtypes.Images.SetKeyName(2, "none");
//this.imgtypes.Images.SetKeyName(3, "doc");
//this.imgtypes.Images.SetKeyName(4, "dir");
//this.imgtypes.Images.SetKeyName(5, "skin");
//
// File_Skimmer
//
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(763, 413);
this.Controls.Add(this.toolStripContainer1);
this.Widgets.Add(this.toolStripContainer1);
this.Name = "File_Skimmer";
this.Text = "File_Skimmer";
this.Load += new System.EventHandler(this.File_Skimmer_Load);
@ -227,19 +226,19 @@
#endregion
private System.Windows.Forms.ToolStripContainer toolStripContainer1;
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem newFolderToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ListView lvfiles;
private System.Windows.Forms.ToolStripLabel lbcurrentfolder;
private System.Windows.Forms.ImageList imgtypes;
private System.Windows.Forms.ToolStrip toolStrip2;
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
private System.Windows.Forms.ToolStripTextBox txtfilename;
private System.Windows.Forms.ToolStripComboBox cbfiletypes;
private System.Windows.Forms.ToolStripButton btnperformaction;
private System.Windows.Forms.ToolStripButton btncancel;
private ShiftUI.ToolStripContainer toolStripContainer1;
private ShiftUI.MenuStrip menuStrip1;
private ShiftUI.ToolStripMenuItem newFolderToolStripMenuItem;
private ShiftUI.ToolStripMenuItem deleteToolStripMenuItem;
private ShiftUI.ToolStrip toolStrip1;
private ShiftUI.ListView lvfiles;
private ShiftUI.ToolStripLabel lbcurrentfolder;
private ShiftUI.ImageList imgtypes;
private ShiftUI.ToolStrip toolStrip2;
private ShiftUI.ToolStripLabel toolStripLabel1;
private ShiftUI.ToolStripTextBox txtfilename;
private ShiftUI.ToolStripComboBox cbfiletypes;
private ShiftUI.ToolStripButton btnperformaction;
private ShiftUI.ToolStripButton btncancel;
}
}

View file

@ -7,7 +7,7 @@ using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>339, 17</value>

View file

@ -30,21 +30,21 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HoloChat));
this.panel1 = new System.Windows.Forms.Panel();
this.pnlintro = new System.Windows.Forms.Panel();
this.flintrobuttons = new System.Windows.Forms.FlowLayoutPanel();
this.btnconnect = new System.Windows.Forms.Button();
this.btnrefresh = new System.Windows.Forms.Button();
this.lbrooms = new System.Windows.Forms.ListBox();
this.label1 = new System.Windows.Forms.Label();
this.lblintro = new System.Windows.Forms.Label();
this.lblheader = new System.Windows.Forms.Label();
this.txtchat = new System.Windows.Forms.RichTextBox();
this.txtsend = new System.Windows.Forms.TextBox();
this.pnlusers = new System.Windows.Forms.Panel();
this.lbusers = new System.Windows.Forms.ListBox();
this.lbtopic = new System.Windows.Forms.Label();
this.tmrui = new System.Windows.Forms.Timer(this.components);
this.panel1 = new ShiftUI.Panel();
this.pnlintro = new ShiftUI.Panel();
this.flintrobuttons = new ShiftUI.FlowLayoutPanel();
this.btnconnect = new ShiftUI.Button();
this.btnrefresh = new ShiftUI.Button();
this.lbrooms = new ShiftUI.ListBox();
this.label1 = new ShiftUI.Label();
this.lblintro = new ShiftUI.Label();
this.lblheader = new ShiftUI.Label();
this.txtchat = new ShiftUI.RichTextBox();
this.txtsend = new ShiftUI.TextBox();
this.pnlusers = new ShiftUI.Panel();
this.lbusers = new ShiftUI.ListBox();
this.lbtopic = new ShiftUI.Label();
this.tmrui = new ShiftUI.Timer(this.components);
this.panel1.SuspendLayout();
this.pnlintro.SuspendLayout();
this.flintrobuttons.SuspendLayout();
@ -54,12 +54,12 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.pnlintro);
this.panel1.Controls.Add(this.txtchat);
this.panel1.Controls.Add(this.txtsend);
this.panel1.Controls.Add(this.pnlusers);
this.panel1.Controls.Add(this.lbtopic);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Widgets.Add(this.pnlintro);
this.panel1.Widgets.Add(this.txtchat);
this.panel1.Widgets.Add(this.txtsend);
this.panel1.Widgets.Add(this.pnlusers);
this.panel1.Widgets.Add(this.lbtopic);
this.panel1.Dock = ShiftUI.DockStyle.Fill;
this.panel1.ForeColor = System.Drawing.Color.Black;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
@ -68,14 +68,14 @@
//
// pnlintro
//
this.pnlintro.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pnlintro.Controls.Add(this.flintrobuttons);
this.pnlintro.Controls.Add(this.lbrooms);
this.pnlintro.Controls.Add(this.label1);
this.pnlintro.Controls.Add(this.lblintro);
this.pnlintro.Controls.Add(this.lblheader);
this.pnlintro.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.pnlintro.Widgets.Add(this.flintrobuttons);
this.pnlintro.Widgets.Add(this.lbrooms);
this.pnlintro.Widgets.Add(this.label1);
this.pnlintro.Widgets.Add(this.lblintro);
this.pnlintro.Widgets.Add(this.lblheader);
this.pnlintro.Location = new System.Drawing.Point(36, 35);
this.pnlintro.Name = "pnlintro";
this.pnlintro.Size = new System.Drawing.Size(706, 341);
@ -83,11 +83,11 @@
//
// flintrobuttons
//
this.flintrobuttons.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.flintrobuttons.Controls.Add(this.btnconnect);
this.flintrobuttons.Controls.Add(this.btnrefresh);
this.flintrobuttons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
this.flintrobuttons.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.flintrobuttons.Widgets.Add(this.btnconnect);
this.flintrobuttons.Widgets.Add(this.btnrefresh);
this.flintrobuttons.FlowDirection = ShiftUI.FlowDirection.RightToLeft;
this.flintrobuttons.Location = new System.Drawing.Point(337, 284);
this.flintrobuttons.Name = "flintrobuttons";
this.flintrobuttons.Size = new System.Drawing.Size(350, 42);
@ -95,7 +95,7 @@
//
// btnconnect
//
this.btnconnect.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnconnect.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnconnect.Location = new System.Drawing.Point(272, 3);
this.btnconnect.Name = "btnconnect";
this.btnconnect.Size = new System.Drawing.Size(75, 33);
@ -106,7 +106,7 @@
//
// btnrefresh
//
this.btnrefresh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnrefresh.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnrefresh.Location = new System.Drawing.Point(191, 3);
this.btnrefresh.Name = "btnrefresh";
this.btnrefresh.Size = new System.Drawing.Size(75, 33);
@ -117,8 +117,8 @@
//
// lbrooms
//
this.lbrooms.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbrooms.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Right)));
this.lbrooms.FormattingEnabled = true;
this.lbrooms.Location = new System.Drawing.Point(337, 75);
this.lbrooms.Name = "lbrooms";
@ -127,8 +127,8 @@
//
// 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.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
this.label1.Location = new System.Drawing.Point(342, 38);
this.label1.Name = "label1";
@ -139,8 +139,8 @@
//
// lblintro
//
this.lblintro.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.lblintro.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)));
this.lblintro.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.lblintro.Location = new System.Drawing.Point(4, 38);
this.lblintro.Name = "lblintro";
@ -151,8 +151,8 @@
//
// lblheader
//
this.lblheader.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblheader.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lblheader.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F);
this.lblheader.Location = new System.Drawing.Point(4, 4);
this.lblheader.Name = "lblheader";
@ -163,7 +163,7 @@
//
// txtchat
//
this.txtchat.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtchat.Dock = ShiftUI.DockStyle.Fill;
this.txtchat.Location = new System.Drawing.Point(0, 23);
this.txtchat.Name = "txtchat";
this.txtchat.ReadOnly = true;
@ -174,17 +174,17 @@
//
// txtsend
//
this.txtsend.Dock = System.Windows.Forms.DockStyle.Bottom;
this.txtsend.Dock = ShiftUI.DockStyle.Bottom;
this.txtsend.Location = new System.Drawing.Point(0, 411);
this.txtsend.Name = "txtsend";
this.txtsend.Size = new System.Drawing.Size(641, 20);
this.txtsend.TabIndex = 1;
this.txtsend.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtsend_KeyDown);
this.txtsend.KeyDown += new ShiftUI.KeyEventHandler(this.txtsend_KeyDown);
//
// pnlusers
//
this.pnlusers.Controls.Add(this.lbusers);
this.pnlusers.Dock = System.Windows.Forms.DockStyle.Right;
this.pnlusers.Widgets.Add(this.lbusers);
this.pnlusers.Dock = ShiftUI.DockStyle.Right;
this.pnlusers.Location = new System.Drawing.Point(641, 23);
this.pnlusers.Name = "pnlusers";
this.pnlusers.Size = new System.Drawing.Size(131, 408);
@ -192,7 +192,7 @@
//
// lbusers
//
this.lbusers.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbusers.Dock = ShiftUI.DockStyle.Fill;
this.lbusers.FormattingEnabled = true;
this.lbusers.Location = new System.Drawing.Point(0, 0);
this.lbusers.Name = "lbusers";
@ -201,7 +201,7 @@
//
// lbtopic
//
this.lbtopic.Dock = System.Windows.Forms.DockStyle.Top;
this.lbtopic.Dock = ShiftUI.DockStyle.Top;
this.lbtopic.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.lbtopic.Location = new System.Drawing.Point(0, 0);
this.lbtopic.Name = "lbtopic";
@ -217,12 +217,12 @@
// HoloChat
//
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(772, 431);
this.Controls.Add(this.panel1);
this.Widgets.Add(this.panel1);
this.Name = "HoloChat";
this.Text = "HoloChat";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.me_Closing);
this.FormClosing += new ShiftUI.FormClosingEventHandler(this.me_Closing);
this.Load += new System.EventHandler(this.HoloChat_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
@ -235,20 +235,20 @@
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.RichTextBox txtchat;
private System.Windows.Forms.TextBox txtsend;
private System.Windows.Forms.Panel pnlusers;
private System.Windows.Forms.ListBox lbusers;
private System.Windows.Forms.Panel pnlintro;
private System.Windows.Forms.FlowLayoutPanel flintrobuttons;
private System.Windows.Forms.Button btnconnect;
private System.Windows.Forms.Button btnrefresh;
private System.Windows.Forms.ListBox lbrooms;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label lblintro;
private System.Windows.Forms.Label lblheader;
private System.Windows.Forms.Timer tmrui;
private System.Windows.Forms.Label lbtopic;
private ShiftUI.Panel panel1;
private ShiftUI.RichTextBox txtchat;
private ShiftUI.TextBox txtsend;
private ShiftUI.Panel pnlusers;
private ShiftUI.ListBox lbusers;
private ShiftUI.Panel pnlintro;
private ShiftUI.FlowLayoutPanel flintrobuttons;
private ShiftUI.Button btnconnect;
private ShiftUI.Button btnrefresh;
private ShiftUI.ListBox lbrooms;
private ShiftUI.Label label1;
private ShiftUI.Label lblintro;
private ShiftUI.Label lblheader;
private ShiftUI.Timer tmrui;
private ShiftUI.Label lbtopic;
}
}

View file

@ -9,7 +9,7 @@ using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -240,7 +240,7 @@ namespace ShiftOS
public void SetupFakeClient(FakeChatClient fClient)
{
lbtopic.Text = fClient.Topic;
var t = new System.Windows.Forms.Timer();
var t = new ShiftUI.Timer();
t.Interval = 500;
t.Tick += (object s, EventArgs a) =>
{
@ -255,7 +255,7 @@ namespace ShiftOS
int m = 0;
//message buffer
var mb = new System.Windows.Forms.Timer();
var mb = new ShiftUI.Timer();
mb.Tick += (object s, EventArgs a) =>
{
string message = fClient.Messages.Keys.ElementAt(m);

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="lblintro.Text" xml:space="preserve">
<value>HoloChat is a revolutionary new program made only for ShiftOS.

View file

@ -28,12 +28,12 @@
/// </summary>
private void InitializeComponent()
{
this.pnlactions = new System.Windows.Forms.Panel();
this.pnlicons = new System.Windows.Forms.FlowLayoutPanel();
this.panel1 = new System.Windows.Forms.Panel();
this.btnsave = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.pnlactions = new ShiftUI.Panel();
this.pnlicons = new ShiftUI.FlowLayoutPanel();
this.panel1 = new ShiftUI.Panel();
this.btnsave = new ShiftUI.Button();
this.button1 = new ShiftUI.Button();
this.button2 = new ShiftUI.Button();
this.pnlactions.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
@ -41,10 +41,10 @@
// pnlactions
//
this.pnlactions.BackColor = System.Drawing.Color.Gray;
this.pnlactions.Controls.Add(this.button2);
this.pnlactions.Controls.Add(this.button1);
this.pnlactions.Controls.Add(this.btnsave);
this.pnlactions.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlactions.Widgets.Add(this.button2);
this.pnlactions.Widgets.Add(this.button1);
this.pnlactions.Widgets.Add(this.btnsave);
this.pnlactions.Dock = ShiftUI.DockStyle.Bottom;
this.pnlactions.ForeColor = System.Drawing.Color.White;
this.pnlactions.Location = new System.Drawing.Point(0, 511);
this.pnlactions.Name = "pnlactions";
@ -54,8 +54,8 @@
// pnlicons
//
this.pnlicons.BackColor = System.Drawing.Color.White;
this.pnlicons.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlicons.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
this.pnlicons.Dock = ShiftUI.DockStyle.Fill;
this.pnlicons.FlowDirection = ShiftUI.FlowDirection.TopDown;
this.pnlicons.ForeColor = System.Drawing.Color.Black;
this.pnlicons.Location = new System.Drawing.Point(0, 0);
this.pnlicons.Name = "pnlicons";
@ -64,9 +64,9 @@
//
// panel1
//
this.panel1.Controls.Add(this.pnlicons);
this.panel1.Controls.Add(this.pnlactions);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Widgets.Add(this.pnlicons);
this.panel1.Widgets.Add(this.pnlactions);
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(720, 552);
@ -74,8 +74,8 @@
//
// btnsave
//
this.btnsave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsave.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)));
this.btnsave.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnsave.Location = new System.Drawing.Point(3, 3);
this.btnsave.Name = "btnsave";
this.btnsave.Size = new System.Drawing.Size(75, 35);
@ -86,8 +86,8 @@
//
// button1
//
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)));
this.button1.FlatStyle = ShiftUI.FlatStyle.Flat;
this.button1.Location = new System.Drawing.Point(84, 3);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 35);
@ -98,8 +98,8 @@
//
// button2
//
this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button2.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)));
this.button2.FlatStyle = ShiftUI.FlatStyle.Flat;
this.button2.Location = new System.Drawing.Point(165, 3);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 35);
@ -111,9 +111,9 @@
// IconManager
//
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(720, 552);
this.Controls.Add(this.panel1);
this.Widgets.Add(this.panel1);
this.Name = "IconManager";
this.Text = "IconManager";
this.Load += new System.EventHandler(this.IconManager_Load);
@ -125,11 +125,11 @@
#endregion
private System.Windows.Forms.Panel pnlactions;
private System.Windows.Forms.FlowLayoutPanel pnlicons;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Button btnsave;
private ShiftUI.Panel pnlactions;
private ShiftUI.FlowLayoutPanel pnlicons;
private ShiftUI.Panel panel1;
private ShiftUI.Button button2;
private ShiftUI.Button button1;
private ShiftUI.Button btnsave;
}
}

View file

@ -8,7 +8,7 @@ using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -26,31 +26,31 @@ namespace ShiftOS
public void GetAllIcons()
{
pnlicons.Controls.Clear();
pnlicons.Widgets.Clear();
pnlicons.Margin = new Padding(0);
foreach(var kv in API.IconRegistry)
{
var ctrl = new IconControl();
var ctrl = new IconWidget();
ctrl.Margin = new Padding(0);
ctrl.IconName = kv.Key;
ctrl.LargeImage = kv.Value;
pnlicons.Controls.Add(ctrl);
pnlicons.Widgets.Add(ctrl);
ctrl.Show();
}
}
private void btnsave_Click(object sender, EventArgs e)
{
foreach (Control ctrl in pnlicons.Controls)
foreach (Widget ctrl in pnlicons.Widgets)
{
try
{
IconControl ic = (IconControl)ctrl;
IconWidget ic = (IconWidget)ctrl;
Skinning.Utilities.IconRegistry[ic.IconName] = ic.LargeImage;
}
catch
{
IconControl ic = (IconControl)ctrl;
IconWidget ic = (IconWidget)ctrl;
Skinning.Utilities.IconRegistry.Add(ic.IconName, ic.LargeImage);
}
}

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -31,27 +31,27 @@ namespace ShiftOS
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KnowledgeInput));
this.ListBox1 = new System.Windows.Forms.ListBox();
this.pnlintro = new System.Windows.Forms.Panel();
this.pnlcategorydisplay = new System.Windows.Forms.Panel();
this.lblnextreward = new System.Windows.Forms.Label();
this.guessbox = new System.Windows.Forms.TextBox();
this.lblcurrentlevel = new System.Windows.Forms.Label();
this.Label5 = new System.Windows.Forms.Label();
this.listblistedstuff = new System.Windows.Forms.ListBox();
this.lbltillnextlevel = new System.Windows.Forms.Label();
this.lbltotal = new System.Windows.Forms.Label();
this.btnstart = new System.Windows.Forms.Button();
this.lblcatedescription = new System.Windows.Forms.Label();
this.lblcategory = new System.Windows.Forms.Label();
this.Label4 = new System.Windows.Forms.Label();
this.Label3 = new System.Windows.Forms.Label();
this.Label2 = new System.Windows.Forms.Label();
this.Label1 = new System.Windows.Forms.Label();
this.decider = new System.Windows.Forms.Timer(this.components);
this.Label6 = new System.Windows.Forms.Label();
this.pgcontents = new System.Windows.Forms.Panel();
this.tmrstoryline = new System.Windows.Forms.Timer(this.components);
this.ListBox1 = new ShiftUI.ListBox();
this.pnlintro = new ShiftUI.Panel();
this.pnlcategorydisplay = new ShiftUI.Panel();
this.lblnextreward = new ShiftUI.Label();
this.guessbox = new ShiftUI.TextBox();
this.lblcurrentlevel = new ShiftUI.Label();
this.Label5 = new ShiftUI.Label();
this.listblistedstuff = new ShiftUI.ListBox();
this.lbltillnextlevel = new ShiftUI.Label();
this.lbltotal = new ShiftUI.Label();
this.btnstart = new ShiftUI.Button();
this.lblcatedescription = new ShiftUI.Label();
this.lblcategory = new ShiftUI.Label();
this.Label4 = new ShiftUI.Label();
this.Label3 = new ShiftUI.Label();
this.Label2 = new ShiftUI.Label();
this.Label1 = new ShiftUI.Label();
this.decider = new ShiftUI.Timer(this.components);
this.Label6 = new ShiftUI.Label();
this.pgcontents = new ShiftUI.Panel();
this.tmrstoryline = new ShiftUI.Timer(this.components);
this.pnlintro.SuspendLayout();
this.pnlcategorydisplay.SuspendLayout();
this.pgcontents.SuspendLayout();
@ -59,12 +59,12 @@ namespace ShiftOS
//
// ListBox1
//
this.ListBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ListBox1.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.ListBox1.BackColor = System.Drawing.Color.White;
this.ListBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.ListBox1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.ListBox1.BorderStyle = ShiftUI.BorderStyle.None;
this.ListBox1.DrawMode = ShiftUI.DrawMode.OwnerDrawFixed;
this.ListBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ListBox1.ForeColor = System.Drawing.Color.Black;
this.ListBox1.FormattingEnabled = true;
@ -77,16 +77,16 @@ namespace ShiftOS
this.ListBox1.Name = "ListBox1";
this.ListBox1.Size = new System.Drawing.Size(179, 240);
this.ListBox1.TabIndex = 0;
this.ListBox1.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ListBox1_DrawItem);
this.ListBox1.DrawItem += new ShiftUI.DrawItemEventHandler(this.ListBox1_DrawItem);
this.ListBox1.SelectedIndexChanged += new System.EventHandler(this.ListBox1_SelectedIndexChanged);
//
// pnlintro
//
this.pnlintro.Controls.Add(this.pnlcategorydisplay);
this.pnlintro.Controls.Add(this.Label4);
this.pnlintro.Controls.Add(this.Label3);
this.pnlintro.Controls.Add(this.Label2);
this.pnlintro.Controls.Add(this.Label1);
this.pnlintro.Widgets.Add(this.pnlcategorydisplay);
this.pnlintro.Widgets.Add(this.Label4);
this.pnlintro.Widgets.Add(this.Label3);
this.pnlintro.Widgets.Add(this.Label2);
this.pnlintro.Widgets.Add(this.Label1);
this.pnlintro.Location = new System.Drawing.Point(190, 0);
this.pnlintro.Name = "pnlintro";
this.pnlintro.Size = new System.Drawing.Size(479, 272);
@ -94,17 +94,17 @@ namespace ShiftOS
//
// pnlcategorydisplay
//
this.pnlcategorydisplay.Controls.Add(this.lblnextreward);
this.pnlcategorydisplay.Controls.Add(this.guessbox);
this.pnlcategorydisplay.Controls.Add(this.lblcurrentlevel);
this.pnlcategorydisplay.Controls.Add(this.Label5);
this.pnlcategorydisplay.Controls.Add(this.listblistedstuff);
this.pnlcategorydisplay.Controls.Add(this.lbltillnextlevel);
this.pnlcategorydisplay.Controls.Add(this.lbltotal);
this.pnlcategorydisplay.Controls.Add(this.btnstart);
this.pnlcategorydisplay.Controls.Add(this.lblcatedescription);
this.pnlcategorydisplay.Controls.Add(this.lblcategory);
this.pnlcategorydisplay.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlcategorydisplay.Widgets.Add(this.lblnextreward);
this.pnlcategorydisplay.Widgets.Add(this.guessbox);
this.pnlcategorydisplay.Widgets.Add(this.lblcurrentlevel);
this.pnlcategorydisplay.Widgets.Add(this.Label5);
this.pnlcategorydisplay.Widgets.Add(this.listblistedstuff);
this.pnlcategorydisplay.Widgets.Add(this.lbltillnextlevel);
this.pnlcategorydisplay.Widgets.Add(this.lbltotal);
this.pnlcategorydisplay.Widgets.Add(this.btnstart);
this.pnlcategorydisplay.Widgets.Add(this.lblcatedescription);
this.pnlcategorydisplay.Widgets.Add(this.lblcategory);
this.pnlcategorydisplay.Dock = ShiftUI.DockStyle.Fill;
this.pnlcategorydisplay.ForeColor = System.Drawing.Color.Black;
this.pnlcategorydisplay.Location = new System.Drawing.Point(0, 0);
this.pnlcategorydisplay.Name = "pnlcategorydisplay";
@ -125,7 +125,7 @@ namespace ShiftOS
// guessbox
//
this.guessbox.BackColor = System.Drawing.Color.White;
this.guessbox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.guessbox.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.guessbox.Font = new System.Drawing.Font("Microsoft Sans Serif", 24F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.guessbox.ForeColor = System.Drawing.Color.Black;
this.guessbox.Location = new System.Drawing.Point(11, 147);
@ -134,9 +134,9 @@ namespace ShiftOS
this.guessbox.Size = new System.Drawing.Size(297, 45);
this.guessbox.TabIndex = 9;
this.guessbox.Text = "Enter Guess Here";
this.guessbox.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.guessbox.TextAlign = ShiftUI.HorizontalAlignment.Center;
this.guessbox.Click += new System.EventHandler(this.guessbox_click);
this.guessbox.KeyDown += new System.Windows.Forms.KeyEventHandler(this.guessbox_keydown);
this.guessbox.KeyDown += new ShiftUI.KeyEventHandler(this.guessbox_keydown);
//
// lblcurrentlevel
//
@ -161,8 +161,8 @@ namespace ShiftOS
// listblistedstuff
//
this.listblistedstuff.BackColor = System.Drawing.Color.Black;
this.listblistedstuff.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.listblistedstuff.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
this.listblistedstuff.BorderStyle = ShiftUI.BorderStyle.None;
this.listblistedstuff.DrawMode = ShiftUI.DrawMode.OwnerDrawFixed;
this.listblistedstuff.ForeColor = System.Drawing.Color.White;
this.listblistedstuff.FormattingEnabled = true;
this.listblistedstuff.Location = new System.Drawing.Point(340, 41);
@ -170,7 +170,7 @@ namespace ShiftOS
this.listblistedstuff.ScrollAlwaysVisible = true;
this.listblistedstuff.Size = new System.Drawing.Size(129, 221);
this.listblistedstuff.TabIndex = 6;
this.listblistedstuff.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.listblistedstuff_DrawItem);
this.listblistedstuff.DrawItem += new ShiftUI.DrawItemEventHandler(this.listblistedstuff_DrawItem);
//
// lbltillnextlevel
//
@ -194,7 +194,7 @@ namespace ShiftOS
//
// btnstart
//
this.btnstart.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnstart.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnstart.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnstart.Location = new System.Drawing.Point(11, 198);
this.btnstart.Name = "btnstart";
@ -284,10 +284,10 @@ namespace ShiftOS
// pgcontents
//
this.pgcontents.BackColor = System.Drawing.Color.White;
this.pgcontents.Controls.Add(this.pnlintro);
this.pgcontents.Controls.Add(this.Label6);
this.pgcontents.Controls.Add(this.ListBox1);
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
this.pgcontents.Widgets.Add(this.pnlintro);
this.pgcontents.Widgets.Add(this.Label6);
this.pgcontents.Widgets.Add(this.ListBox1);
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(673, 304);
@ -301,11 +301,11 @@ namespace ShiftOS
//
this.AcceptButton = this.btnstart;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(673, 304);
this.Controls.Add(this.pgcontents);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Widgets.Add(this.pgcontents);
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
this.KeyPreview = true;
this.Name = "KnowledgeInput";
this.Text = "Knowledge_Input";
@ -320,26 +320,26 @@ namespace ShiftOS
this.ResumeLayout(false);
}
internal System.Windows.Forms.ListBox ListBox1;
internal System.Windows.Forms.Panel pnlintro;
internal System.Windows.Forms.Label Label4;
internal System.Windows.Forms.Label Label3;
internal System.Windows.Forms.Label Label2;
internal System.Windows.Forms.Label Label1;
internal System.Windows.Forms.Panel pnlcategorydisplay;
internal System.Windows.Forms.Label lblcategory;
internal System.Windows.Forms.Button btnstart;
internal System.Windows.Forms.Label lblcatedescription;
internal System.Windows.Forms.Label lbltillnextlevel;
internal System.Windows.Forms.Label lbltotal;
internal System.Windows.Forms.ListBox listblistedstuff;
internal System.Windows.Forms.Label Label5;
internal System.Windows.Forms.TextBox guessbox;
internal System.Windows.Forms.Label lblcurrentlevel;
internal System.Windows.Forms.Timer decider;
internal System.Windows.Forms.Label lblnextreward;
internal System.Windows.Forms.Label Label6;
internal System.Windows.Forms.Panel pgcontents;
internal System.Windows.Forms.Timer tmrstoryline;
internal ShiftUI.ListBox ListBox1;
internal ShiftUI.Panel pnlintro;
internal ShiftUI.Label Label4;
internal ShiftUI.Label Label3;
internal ShiftUI.Label Label2;
internal ShiftUI.Label Label1;
internal ShiftUI.Panel pnlcategorydisplay;
internal ShiftUI.Label lblcategory;
internal ShiftUI.Button btnstart;
internal ShiftUI.Label lblcatedescription;
internal ShiftUI.Label lbltillnextlevel;
internal ShiftUI.Label lbltotal;
internal ShiftUI.ListBox listblistedstuff;
internal ShiftUI.Label Label5;
internal ShiftUI.TextBox guessbox;
internal ShiftUI.Label lblcurrentlevel;
internal ShiftUI.Timer decider;
internal ShiftUI.Label lblnextreward;
internal ShiftUI.Label Label6;
internal ShiftUI.Panel pgcontents;
internal ShiftUI.Timer tmrstoryline;
}
}

View file

@ -7,7 +7,7 @@ using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -67,7 +67,7 @@ namespace ShiftOS
}
// ERROR: Handles clauses are not supported in C#
private void ListBox1_DrawItem(object sender, System.Windows.Forms.DrawItemEventArgs e)
private void ListBox1_DrawItem(object sender, ShiftUI.DrawItemEventArgs e)
{
e.DrawBackground();
if ((e.State & DrawItemState.Selected) == DrawItemState.Selected)
@ -84,7 +84,7 @@ namespace ShiftOS
}
// ERROR: Handles clauses are not supported in C#
private void listblistedstuff_DrawItem(object sender, System.Windows.Forms.DrawItemEventArgs e)
private void listblistedstuff_DrawItem(object sender, ShiftUI.DrawItemEventArgs e)
{
e.DrawBackground();
if ((e.State & DrawItemState.Selected) == DrawItemState.Selected)
@ -203,7 +203,7 @@ namespace ShiftOS
}
// ERROR: Handles clauses are not supported in C#
private void guessbox_keydown(object sender, System.Windows.Forms.KeyEventArgs e)
private void guessbox_keydown(object sender, ShiftUI.KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter)
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Label2.Text" xml:space="preserve">
<value> - Select a category on the left to begin playing.

View file

@ -29,7 +29,7 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.Text = "Labyrinth";
}

View file

@ -6,7 +6,7 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{

View file

@ -28,13 +28,13 @@
/// </summary>
private void InitializeComponent()
{
this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
this.pnlactions = new System.Windows.Forms.FlowLayoutPanel();
this.btnapply = new System.Windows.Forms.Button();
this.btnload = new System.Windows.Forms.Button();
this.btnsave = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.propertyGrid1 = new ShiftUI.PropertyGrid();
this.pnlactions = new ShiftUI.FlowLayoutPanel();
this.btnapply = new ShiftUI.Button();
this.btnload = new ShiftUI.Button();
this.btnsave = new ShiftUI.Button();
this.label1 = new ShiftUI.Label();
this.panel1 = new ShiftUI.Panel();
this.pnlactions.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
@ -43,37 +43,31 @@
//
this.propertyGrid1.BackColor = System.Drawing.Color.White;
this.propertyGrid1.CategoryForeColor = System.Drawing.Color.Black;
this.propertyGrid1.CategorySplitterColor = System.Drawing.Color.Gray;
this.propertyGrid1.CommandsActiveLinkColor = System.Drawing.Color.Black;
this.propertyGrid1.CommandsBackColor = System.Drawing.Color.White;
this.propertyGrid1.CommandsBorderColor = System.Drawing.Color.White;
this.propertyGrid1.CommandsDisabledLinkColor = System.Drawing.Color.Gray;
this.propertyGrid1.CommandsForeColor = System.Drawing.Color.Black;
this.propertyGrid1.CommandsLinkColor = System.Drawing.Color.Gray;
this.propertyGrid1.DisabledItemForeColor = System.Drawing.Color.Gray;
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
this.propertyGrid1.Dock = ShiftUI.DockStyle.Fill;
this.propertyGrid1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.propertyGrid1.HelpVisible = false;
this.propertyGrid1.LineColor = System.Drawing.Color.White;
this.propertyGrid1.Location = new System.Drawing.Point(0, 28);
this.propertyGrid1.Name = "propertyGrid1";
this.propertyGrid1.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
this.propertyGrid1.SelectedItemWithFocusBackColor = System.Drawing.Color.Gray;
this.propertyGrid1.SelectedItemWithFocusForeColor = System.Drawing.Color.White;
this.propertyGrid1.PropertySort = ShiftUI.PropertySort.Alphabetical;
this.propertyGrid1.Size = new System.Drawing.Size(403, 400);
this.propertyGrid1.TabIndex = 0;
this.propertyGrid1.ToolbarVisible = false;
this.propertyGrid1.ViewBackColor = System.Drawing.Color.White;
this.propertyGrid1.ViewBorderColor = System.Drawing.Color.White;
this.propertyGrid1.ViewForeColor = System.Drawing.Color.Black;
//
// pnlactions
//
this.pnlactions.BackColor = System.Drawing.Color.Gray;
this.pnlactions.Controls.Add(this.btnapply);
this.pnlactions.Controls.Add(this.btnload);
this.pnlactions.Controls.Add(this.btnsave);
this.pnlactions.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlactions.Widgets.Add(this.btnapply);
this.pnlactions.Widgets.Add(this.btnload);
this.pnlactions.Widgets.Add(this.btnsave);
this.pnlactions.Dock = ShiftUI.DockStyle.Bottom;
this.pnlactions.Location = new System.Drawing.Point(0, 428);
this.pnlactions.Name = "pnlactions";
this.pnlactions.Size = new System.Drawing.Size(403, 39);
@ -81,7 +75,7 @@
//
// btnapply
//
this.btnapply.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnapply.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnapply.ForeColor = System.Drawing.Color.White;
this.btnapply.Location = new System.Drawing.Point(3, 3);
this.btnapply.Name = "btnapply";
@ -93,7 +87,7 @@
//
// btnload
//
this.btnload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnload.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnload.ForeColor = System.Drawing.Color.White;
this.btnload.Location = new System.Drawing.Point(84, 3);
this.btnload.Name = "btnload";
@ -105,7 +99,7 @@
//
// btnsave
//
this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsave.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnsave.ForeColor = System.Drawing.Color.White;
this.btnsave.Location = new System.Drawing.Point(165, 3);
this.btnsave.Name = "btnsave";
@ -117,7 +111,7 @@
//
// label1
//
this.label1.Dock = System.Windows.Forms.DockStyle.Top;
this.label1.Dock = ShiftUI.DockStyle.Top;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
this.label1.Location = new System.Drawing.Point(0, 0);
this.label1.Name = "label1";
@ -129,10 +123,10 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.propertyGrid1);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.pnlactions);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Widgets.Add(this.propertyGrid1);
this.panel1.Widgets.Add(this.label1);
this.panel1.Widgets.Add(this.pnlactions);
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(403, 467);
@ -141,9 +135,9 @@
// NameChanger
//
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(403, 467);
this.Controls.Add(this.panel1);
this.Widgets.Add(this.panel1);
this.Name = "NameChanger";
this.Text = "NameChanger";
this.Load += new System.EventHandler(this.NameChanger_Load);
@ -154,12 +148,12 @@
}
#endregion
private System.Windows.Forms.FlowLayoutPanel pnlactions;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnapply;
private System.Windows.Forms.Button btnload;
private System.Windows.Forms.Button btnsave;
private System.Windows.Forms.Panel panel1;
public System.Windows.Forms.PropertyGrid propertyGrid1;
private ShiftUI.FlowLayoutPanel pnlactions;
private ShiftUI.Label label1;
private ShiftUI.Button btnapply;
private ShiftUI.Button btnload;
private ShiftUI.Button btnsave;
private ShiftUI.Panel panel1;
public ShiftUI.PropertyGrid propertyGrid1;
}
}

View file

@ -8,7 +8,7 @@ using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -29,47 +29,47 @@
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NetGen));
this.panel1 = new System.Windows.Forms.Panel();
this.pnlnetdesign = new System.Windows.Forms.Panel();
this.pnlpcinfo = new System.Windows.Forms.Panel();
this.btndelete = new System.Windows.Forms.Button();
this.lbpcinfo = new System.Windows.Forms.Label();
this.lbmoduletitle = new System.Windows.Forms.Label();
this.btncloseinfo = new System.Windows.Forms.Button();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.btnaddmodule = new System.Windows.Forms.Button();
this.pnlbuy = new System.Windows.Forms.Panel();
this.txthostname = new System.Windows.Forms.TextBox();
this.lbhostname = new System.Windows.Forms.Label();
this.txtgrade = new System.Windows.Forms.TextBox();
this.lbgrade = new System.Windows.Forms.Label();
this.lbmoduleinfo = new System.Windows.Forms.Label();
this.cmbbuyable = new System.Windows.Forms.ComboBox();
this.label4 = new System.Windows.Forms.Label();
this.btndonebuying = new System.Windows.Forms.Button();
this.pnlnetinf = new System.Windows.Forms.Panel();
this.label6 = new System.Windows.Forms.Label();
this.cbdifficulty = new System.Windows.Forms.ComboBox();
this.txtfspeed = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.txtfskill = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.txtnetdesc = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.txtnetname = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.flbuttons = new System.Windows.Forms.FlowLayoutPanel();
this.btnnext = new System.Windows.Forms.Button();
this.btnback = new System.Windows.Forms.Button();
this.pnlnetinfo = new System.Windows.Forms.Panel();
this.lbdescription = new System.Windows.Forms.Label();
this.lbtitle = new System.Windows.Forms.Label();
this.btnloadfromtemplate = new System.Windows.Forms.Button();
this.pnltemplates = new System.Windows.Forms.Panel();
this.label9 = new System.Windows.Forms.Label();
this.cbnets = new System.Windows.Forms.ComboBox();
this.label10 = new System.Windows.Forms.Label();
this.btnrecreate = new System.Windows.Forms.Button();
this.panel1 = new ShiftUI.Panel();
this.pnlnetdesign = new ShiftUI.Panel();
this.pnlpcinfo = new ShiftUI.Panel();
this.btndelete = new ShiftUI.Button();
this.lbpcinfo = new ShiftUI.Label();
this.lbmoduletitle = new ShiftUI.Label();
this.btncloseinfo = new ShiftUI.Button();
this.flowLayoutPanel1 = new ShiftUI.FlowLayoutPanel();
this.btnaddmodule = new ShiftUI.Button();
this.pnlbuy = new ShiftUI.Panel();
this.txthostname = new ShiftUI.TextBox();
this.lbhostname = new ShiftUI.Label();
this.txtgrade = new ShiftUI.TextBox();
this.lbgrade = new ShiftUI.Label();
this.lbmoduleinfo = new ShiftUI.Label();
this.cmbbuyable = new ShiftUI.ComboBox();
this.label4 = new ShiftUI.Label();
this.btndonebuying = new ShiftUI.Button();
this.pnlnetinf = new ShiftUI.Panel();
this.label6 = new ShiftUI.Label();
this.cbdifficulty = new ShiftUI.ComboBox();
this.txtfspeed = new ShiftUI.TextBox();
this.label5 = new ShiftUI.Label();
this.txtfskill = new ShiftUI.TextBox();
this.label3 = new ShiftUI.Label();
this.txtnetdesc = new ShiftUI.TextBox();
this.label2 = new ShiftUI.Label();
this.txtnetname = new ShiftUI.TextBox();
this.label1 = new ShiftUI.Label();
this.flbuttons = new ShiftUI.FlowLayoutPanel();
this.btnnext = new ShiftUI.Button();
this.btnback = new ShiftUI.Button();
this.pnlnetinfo = new ShiftUI.Panel();
this.lbdescription = new ShiftUI.Label();
this.lbtitle = new ShiftUI.Label();
this.btnloadfromtemplate = new ShiftUI.Button();
this.pnltemplates = new ShiftUI.Panel();
this.label9 = new ShiftUI.Label();
this.cbnets = new ShiftUI.ComboBox();
this.label10 = new ShiftUI.Label();
this.btnrecreate = new ShiftUI.Button();
this.panel1.SuspendLayout();
this.pnlnetdesign.SuspendLayout();
this.pnlpcinfo.SuspendLayout();
@ -83,37 +83,37 @@
//
// panel1
//
this.panel1.Controls.Add(this.pnltemplates);
this.panel1.Controls.Add(this.pnlnetdesign);
this.panel1.Controls.Add(this.pnlnetinf);
this.panel1.Controls.Add(this.flbuttons);
this.panel1.Controls.Add(this.pnlnetinfo);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Widgets.Add(this.pnltemplates);
this.panel1.Widgets.Add(this.pnlnetdesign);
this.panel1.Widgets.Add(this.pnlnetinf);
this.panel1.Widgets.Add(this.flbuttons);
this.panel1.Widgets.Add(this.pnlnetinfo);
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(894, 591);
this.panel1.TabIndex = 0;
this.panel1.Paint += new System.Windows.Forms.PaintEventHandler(this.panel1_Paint);
this.panel1.Paint += new ShiftUI.PaintEventHandler(this.panel1_Paint);
//
// pnlnetdesign
//
this.pnlnetdesign.Controls.Add(this.pnlpcinfo);
this.pnlnetdesign.Controls.Add(this.flowLayoutPanel1);
this.pnlnetdesign.Controls.Add(this.pnlbuy);
this.pnlnetdesign.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlnetdesign.Widgets.Add(this.pnlpcinfo);
this.pnlnetdesign.Widgets.Add(this.flowLayoutPanel1);
this.pnlnetdesign.Widgets.Add(this.pnlbuy);
this.pnlnetdesign.Dock = ShiftUI.DockStyle.Fill;
this.pnlnetdesign.Location = new System.Drawing.Point(0, 76);
this.pnlnetdesign.Name = "pnlnetdesign";
this.pnlnetdesign.Size = new System.Drawing.Size(894, 484);
this.pnlnetdesign.TabIndex = 6;
this.pnlnetdesign.MouseDown += new System.Windows.Forms.MouseEventHandler(this.place_module);
this.pnlnetdesign.MouseDown += new ShiftUI.MouseEventHandler(this.place_module);
//
// pnlpcinfo
//
this.pnlpcinfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.pnlpcinfo.Controls.Add(this.btndelete);
this.pnlpcinfo.Controls.Add(this.lbpcinfo);
this.pnlpcinfo.Controls.Add(this.lbmoduletitle);
this.pnlpcinfo.Controls.Add(this.btncloseinfo);
this.pnlpcinfo.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.pnlpcinfo.Widgets.Add(this.btndelete);
this.pnlpcinfo.Widgets.Add(this.lbpcinfo);
this.pnlpcinfo.Widgets.Add(this.lbmoduletitle);
this.pnlpcinfo.Widgets.Add(this.btncloseinfo);
this.pnlpcinfo.Location = new System.Drawing.Point(43, 167);
this.pnlpcinfo.Name = "pnlpcinfo";
this.pnlpcinfo.Size = new System.Drawing.Size(382, 280);
@ -122,10 +122,10 @@
//
// btndelete
//
this.btndelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btndelete.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btndelete.AutoSize = true;
this.btndelete.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btndelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btndelete.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btndelete.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btndelete.Location = new System.Drawing.Point(106, 254);
this.btndelete.Name = "btndelete";
this.btndelete.Size = new System.Drawing.Size(59, 23);
@ -153,10 +153,10 @@
//
// btncloseinfo
//
this.btncloseinfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btncloseinfo.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btncloseinfo.AutoSize = true;
this.btncloseinfo.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btncloseinfo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btncloseinfo.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btncloseinfo.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btncloseinfo.Location = new System.Drawing.Point(327, 254);
this.btncloseinfo.Name = "btncloseinfo";
this.btncloseinfo.Size = new System.Drawing.Size(52, 23);
@ -167,8 +167,8 @@
//
// flowLayoutPanel1
//
this.flowLayoutPanel1.Controls.Add(this.btnaddmodule);
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
this.flowLayoutPanel1.Widgets.Add(this.btnaddmodule);
this.flowLayoutPanel1.Dock = ShiftUI.DockStyle.Bottom;
this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 453);
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
this.flowLayoutPanel1.Size = new System.Drawing.Size(894, 31);
@ -177,8 +177,8 @@
// btnaddmodule
//
this.btnaddmodule.AutoSize = true;
this.btnaddmodule.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnaddmodule.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnaddmodule.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnaddmodule.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnaddmodule.Location = new System.Drawing.Point(3, 3);
this.btnaddmodule.Name = "btnaddmodule";
this.btnaddmodule.Size = new System.Drawing.Size(87, 23);
@ -189,15 +189,15 @@
//
// pnlbuy
//
this.pnlbuy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.pnlbuy.Controls.Add(this.txthostname);
this.pnlbuy.Controls.Add(this.lbhostname);
this.pnlbuy.Controls.Add(this.txtgrade);
this.pnlbuy.Controls.Add(this.lbgrade);
this.pnlbuy.Controls.Add(this.lbmoduleinfo);
this.pnlbuy.Controls.Add(this.cmbbuyable);
this.pnlbuy.Controls.Add(this.label4);
this.pnlbuy.Controls.Add(this.btndonebuying);
this.pnlbuy.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.pnlbuy.Widgets.Add(this.txthostname);
this.pnlbuy.Widgets.Add(this.lbhostname);
this.pnlbuy.Widgets.Add(this.txtgrade);
this.pnlbuy.Widgets.Add(this.lbgrade);
this.pnlbuy.Widgets.Add(this.lbmoduleinfo);
this.pnlbuy.Widgets.Add(this.cmbbuyable);
this.pnlbuy.Widgets.Add(this.label4);
this.pnlbuy.Widgets.Add(this.btndonebuying);
this.pnlbuy.Location = new System.Drawing.Point(3, 148);
this.pnlbuy.Name = "pnlbuy";
this.pnlbuy.Size = new System.Drawing.Size(382, 299);
@ -207,7 +207,7 @@
// txthostname
//
this.txthostname.BackColor = System.Drawing.Color.Black;
this.txthostname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txthostname.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.txthostname.ForeColor = System.Drawing.Color.White;
this.txthostname.Location = new System.Drawing.Point(186, 236);
this.txthostname.Name = "txthostname";
@ -226,7 +226,7 @@
// txtgrade
//
this.txtgrade.BackColor = System.Drawing.Color.Black;
this.txtgrade.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtgrade.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.txtgrade.ForeColor = System.Drawing.Color.White;
this.txtgrade.Location = new System.Drawing.Point(65, 236);
this.txtgrade.Name = "txtgrade";
@ -254,8 +254,8 @@
// cmbbuyable
//
this.cmbbuyable.BackColor = System.Drawing.Color.Black;
this.cmbbuyable.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cmbbuyable.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cmbbuyable.DropDownStyle = ShiftUI.ComboBoxStyle.DropDownList;
this.cmbbuyable.FlatStyle = ShiftUI.FlatStyle.Flat;
this.cmbbuyable.ForeColor = System.Drawing.Color.White;
this.cmbbuyable.FormattingEnabled = true;
this.cmbbuyable.Location = new System.Drawing.Point(12, 38);
@ -275,10 +275,10 @@
//
// btndonebuying
//
this.btndonebuying.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btndonebuying.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btndonebuying.AutoSize = true;
this.btndonebuying.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btndonebuying.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btndonebuying.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btndonebuying.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btndonebuying.Location = new System.Drawing.Point(341, 273);
this.btndonebuying.Name = "btndonebuying";
this.btndonebuying.Size = new System.Drawing.Size(38, 23);
@ -289,17 +289,17 @@
//
// pnlnetinf
//
this.pnlnetinf.Controls.Add(this.label6);
this.pnlnetinf.Controls.Add(this.cbdifficulty);
this.pnlnetinf.Controls.Add(this.txtfspeed);
this.pnlnetinf.Controls.Add(this.label5);
this.pnlnetinf.Controls.Add(this.txtfskill);
this.pnlnetinf.Controls.Add(this.label3);
this.pnlnetinf.Controls.Add(this.txtnetdesc);
this.pnlnetinf.Controls.Add(this.label2);
this.pnlnetinf.Controls.Add(this.txtnetname);
this.pnlnetinf.Controls.Add(this.label1);
this.pnlnetinf.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlnetinf.Widgets.Add(this.label6);
this.pnlnetinf.Widgets.Add(this.cbdifficulty);
this.pnlnetinf.Widgets.Add(this.txtfspeed);
this.pnlnetinf.Widgets.Add(this.label5);
this.pnlnetinf.Widgets.Add(this.txtfskill);
this.pnlnetinf.Widgets.Add(this.label3);
this.pnlnetinf.Widgets.Add(this.txtnetdesc);
this.pnlnetinf.Widgets.Add(this.label2);
this.pnlnetinf.Widgets.Add(this.txtnetname);
this.pnlnetinf.Widgets.Add(this.label1);
this.pnlnetinf.Dock = ShiftUI.DockStyle.Fill;
this.pnlnetinf.Location = new System.Drawing.Point(0, 76);
this.pnlnetinf.Name = "pnlnetinf";
this.pnlnetinf.Size = new System.Drawing.Size(894, 484);
@ -317,8 +317,8 @@
// cbdifficulty
//
this.cbdifficulty.BackColor = System.Drawing.Color.Black;
this.cbdifficulty.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbdifficulty.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cbdifficulty.DropDownStyle = ShiftUI.ComboBoxStyle.DropDownList;
this.cbdifficulty.FlatStyle = ShiftUI.FlatStyle.Flat;
this.cbdifficulty.ForeColor = System.Drawing.Color.Green;
this.cbdifficulty.FormattingEnabled = true;
this.cbdifficulty.Items.AddRange(new object[] {
@ -333,7 +333,7 @@
// txtfspeed
//
this.txtfspeed.BackColor = System.Drawing.Color.Black;
this.txtfspeed.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtfspeed.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.txtfspeed.ForeColor = System.Drawing.Color.Green;
this.txtfspeed.Location = new System.Drawing.Point(142, 172);
this.txtfspeed.Name = "txtfspeed";
@ -353,7 +353,7 @@
// txtfskill
//
this.txtfskill.BackColor = System.Drawing.Color.Black;
this.txtfskill.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtfskill.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.txtfskill.ForeColor = System.Drawing.Color.Green;
this.txtfskill.Location = new System.Drawing.Point(142, 146);
this.txtfskill.Name = "txtfskill";
@ -373,7 +373,7 @@
// txtnetdesc
//
this.txtnetdesc.BackColor = System.Drawing.Color.Black;
this.txtnetdesc.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtnetdesc.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.txtnetdesc.ForeColor = System.Drawing.Color.Green;
this.txtnetdesc.Location = new System.Drawing.Point(142, 80);
this.txtnetdesc.Name = "txtnetdesc";
@ -392,7 +392,7 @@
// txtnetname
//
this.txtnetname.BackColor = System.Drawing.Color.Black;
this.txtnetname.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtnetname.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.txtnetname.ForeColor = System.Drawing.Color.Green;
this.txtnetname.Location = new System.Drawing.Point(142, 56);
this.txtnetname.Name = "txtnetname";
@ -410,10 +410,10 @@
//
// flbuttons
//
this.flbuttons.Controls.Add(this.btnnext);
this.flbuttons.Controls.Add(this.btnback);
this.flbuttons.Dock = System.Windows.Forms.DockStyle.Bottom;
this.flbuttons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
this.flbuttons.Widgets.Add(this.btnnext);
this.flbuttons.Widgets.Add(this.btnback);
this.flbuttons.Dock = ShiftUI.DockStyle.Bottom;
this.flbuttons.FlowDirection = ShiftUI.FlowDirection.RightToLeft;
this.flbuttons.Location = new System.Drawing.Point(0, 560);
this.flbuttons.Name = "flbuttons";
this.flbuttons.Size = new System.Drawing.Size(894, 31);
@ -422,8 +422,8 @@
// btnnext
//
this.btnnext.AutoSize = true;
this.btnnext.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnnext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnnext.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnnext.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnnext.Location = new System.Drawing.Point(846, 3);
this.btnnext.Name = "btnnext";
this.btnnext.Size = new System.Drawing.Size(45, 23);
@ -435,8 +435,8 @@
// btnback
//
this.btnback.AutoSize = true;
this.btnback.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnback.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnback.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnback.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnback.Location = new System.Drawing.Point(795, 3);
this.btnback.Name = "btnback";
this.btnback.Size = new System.Drawing.Size(45, 23);
@ -447,10 +447,10 @@
//
// pnlnetinfo
//
this.pnlnetinfo.Controls.Add(this.btnloadfromtemplate);
this.pnlnetinfo.Controls.Add(this.lbdescription);
this.pnlnetinfo.Controls.Add(this.lbtitle);
this.pnlnetinfo.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlnetinfo.Widgets.Add(this.btnloadfromtemplate);
this.pnlnetinfo.Widgets.Add(this.lbdescription);
this.pnlnetinfo.Widgets.Add(this.lbtitle);
this.pnlnetinfo.Dock = ShiftUI.DockStyle.Top;
this.pnlnetinfo.Location = new System.Drawing.Point(0, 0);
this.pnlnetinfo.Name = "pnlnetinfo";
this.pnlnetinfo.Size = new System.Drawing.Size(894, 76);
@ -458,8 +458,8 @@
//
// lbdescription
//
this.lbdescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbdescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lbdescription.Location = new System.Drawing.Point(15, 31);
this.lbdescription.Name = "lbdescription";
this.lbdescription.Size = new System.Drawing.Size(867, 36);
@ -478,10 +478,10 @@
//
// btnloadfromtemplate
//
this.btnloadfromtemplate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnloadfromtemplate.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btnloadfromtemplate.AutoSize = true;
this.btnloadfromtemplate.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnloadfromtemplate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnloadfromtemplate.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnloadfromtemplate.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnloadfromtemplate.Location = new System.Drawing.Point(683, 47);
this.btnloadfromtemplate.Name = "btnloadfromtemplate";
this.btnloadfromtemplate.Size = new System.Drawing.Size(199, 23);
@ -493,11 +493,11 @@
//
// pnltemplates
//
this.pnltemplates.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.pnltemplates.Controls.Add(this.label9);
this.pnltemplates.Controls.Add(this.cbnets);
this.pnltemplates.Controls.Add(this.label10);
this.pnltemplates.Controls.Add(this.btnrecreate);
this.pnltemplates.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.pnltemplates.Widgets.Add(this.label9);
this.pnltemplates.Widgets.Add(this.cbnets);
this.pnltemplates.Widgets.Add(this.label10);
this.pnltemplates.Widgets.Add(this.btnrecreate);
this.pnltemplates.Location = new System.Drawing.Point(256, 146);
this.pnltemplates.Name = "pnltemplates";
this.pnltemplates.Size = new System.Drawing.Size(382, 299);
@ -516,8 +516,8 @@
// cbnets
//
this.cbnets.BackColor = System.Drawing.Color.Black;
this.cbnets.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbnets.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cbnets.DropDownStyle = ShiftUI.ComboBoxStyle.DropDownList;
this.cbnets.FlatStyle = ShiftUI.FlatStyle.Flat;
this.cbnets.ForeColor = System.Drawing.Color.White;
this.cbnets.FormattingEnabled = true;
this.cbnets.Location = new System.Drawing.Point(12, 38);
@ -536,10 +536,10 @@
//
// btnrecreate
//
this.btnrecreate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnrecreate.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btnrecreate.AutoSize = true;
this.btnrecreate.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnrecreate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnrecreate.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnrecreate.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnrecreate.Location = new System.Drawing.Point(334, 273);
this.btnrecreate.Name = "btnrecreate";
this.btnrecreate.Size = new System.Drawing.Size(45, 23);
@ -551,13 +551,13 @@
// NetGen
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 11F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Black;
this.ClientSize = new System.Drawing.Size(894, 591);
this.Controls.Add(this.panel1);
this.Widgets.Add(this.panel1);
this.Font = new System.Drawing.Font("Lucida Console", 8.25F);
this.ForeColor = System.Drawing.Color.LightGreen;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
this.Name = "NetGen";
this.Text = "NetGen";
this.Load += new System.EventHandler(this.NetGen_Load);
@ -583,46 +583,46 @@
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.FlowLayoutPanel flbuttons;
private System.Windows.Forms.TextBox txtnetname;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Panel pnlnetinfo;
private System.Windows.Forms.Label lbdescription;
private System.Windows.Forms.Label lbtitle;
private System.Windows.Forms.TextBox txtnetdesc;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btnnext;
private System.Windows.Forms.Button btnback;
private System.Windows.Forms.Panel pnlnetdesign;
private System.Windows.Forms.Panel pnlnetinf;
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
private System.Windows.Forms.Button btnaddmodule;
private System.Windows.Forms.Panel pnlbuy;
private System.Windows.Forms.TextBox txthostname;
private System.Windows.Forms.Label lbhostname;
private System.Windows.Forms.TextBox txtgrade;
private System.Windows.Forms.Label lbgrade;
private System.Windows.Forms.Label lbmoduleinfo;
private System.Windows.Forms.ComboBox cmbbuyable;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button btndonebuying;
private System.Windows.Forms.Panel pnlpcinfo;
private System.Windows.Forms.Button btndelete;
private System.Windows.Forms.Label lbpcinfo;
private System.Windows.Forms.Label lbmoduletitle;
private System.Windows.Forms.Button btncloseinfo;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.ComboBox cbdifficulty;
private System.Windows.Forms.TextBox txtfspeed;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox txtfskill;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button btnloadfromtemplate;
private System.Windows.Forms.Panel pnltemplates;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.ComboBox cbnets;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Button btnrecreate;
private ShiftUI.Panel panel1;
private ShiftUI.FlowLayoutPanel flbuttons;
private ShiftUI.TextBox txtnetname;
private ShiftUI.Label label1;
private ShiftUI.Panel pnlnetinfo;
private ShiftUI.Label lbdescription;
private ShiftUI.Label lbtitle;
private ShiftUI.TextBox txtnetdesc;
private ShiftUI.Label label2;
private ShiftUI.Button btnnext;
private ShiftUI.Button btnback;
private ShiftUI.Panel pnlnetdesign;
private ShiftUI.Panel pnlnetinf;
private ShiftUI.FlowLayoutPanel flowLayoutPanel1;
private ShiftUI.Button btnaddmodule;
private ShiftUI.Panel pnlbuy;
private ShiftUI.TextBox txthostname;
private ShiftUI.Label lbhostname;
private ShiftUI.TextBox txtgrade;
private ShiftUI.Label lbgrade;
private ShiftUI.Label lbmoduleinfo;
private ShiftUI.ComboBox cmbbuyable;
private ShiftUI.Label label4;
private ShiftUI.Button btndonebuying;
private ShiftUI.Panel pnlpcinfo;
private ShiftUI.Button btndelete;
private ShiftUI.Label lbpcinfo;
private ShiftUI.Label lbmoduletitle;
private ShiftUI.Button btncloseinfo;
private ShiftUI.Label label6;
private ShiftUI.ComboBox cbdifficulty;
private ShiftUI.TextBox txtfspeed;
private ShiftUI.Label label5;
private ShiftUI.TextBox txtfskill;
private ShiftUI.Label label3;
private ShiftUI.Button btnloadfromtemplate;
private ShiftUI.Panel pnltemplates;
private ShiftUI.Label label9;
private ShiftUI.ComboBox cbnets;
private ShiftUI.Label label10;
private ShiftUI.Button btnrecreate;
}
}

View file

@ -7,7 +7,7 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -51,7 +51,7 @@ namespace ShiftOS
{
foreach(var p in potentialModules)
{
pnlnetdesign.Controls.Remove(p);
pnlnetdesign.Widgets.Remove(p);
p.Hide();
}
@ -71,7 +71,7 @@ namespace ShiftOS
var c = network.Network[0].Deploy();
c.Left = (pnlnetdesign.Width - 64) / 2;
c.Top = (pnlnetdesign.Height - 64) / 2;
pnlnetdesign.Controls.Add(c);
pnlnetdesign.Widgets.Add(c);
c.Select += (s, a) =>
{
ShowSysInf(c);
@ -236,7 +236,7 @@ namespace ShiftOS
fmod.HP = fmod.GetTotalHP();
var computerToPlace = fmod.Deploy();
computerToPlace.Location = new Point(x, y);
pnlnetdesign.Controls.Add(computerToPlace);
pnlnetdesign.Widgets.Add(computerToPlace);
potentialModules.Add(computerToPlace);
computerToPlace.Select += (s, a) =>
{
@ -270,7 +270,7 @@ namespace ShiftOS
if(SelectedSystem != null)
{
potentialModules.Remove(SelectedSystem);
pnlnetdesign.Controls.Remove(SelectedSystem);
pnlnetdesign.Widgets.Remove(SelectedSystem);
SelectedSystem.Dispose();
}
SelectedSystem = null;

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="lbpcinfo.Text" xml:space="preserve">
<value>When you press 'Done', simply click where you'd like to place the new module. You can right-click the playing field to cancel the deployment.

View file

@ -30,33 +30,33 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NetworkBrowser));
this.panel1 = new System.Windows.Forms.Panel();
this.pnlonline = new System.Windows.Forms.Panel();
this.btnjoinlobby = new System.Windows.Forms.Button();
this.lbonlineservers = new System.Windows.Forms.ListBox();
this.lbonlinedesc = new System.Windows.Forms.Label();
this.lbonlineheader = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.btnscreen = new System.Windows.Forms.Button();
this.pnlmynet = new System.Windows.Forms.Panel();
this.flmodules = new System.Windows.Forms.FlowLayoutPanel();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.btntier = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.btnstartbattle = new System.Windows.Forms.Button();
this.lbnets = new System.Windows.Forms.ListBox();
this.panel2 = new System.Windows.Forms.Panel();
this.lbnetdesc = new System.Windows.Forms.Label();
this.lbtitle = new System.Windows.Forms.Label();
this.tmrcalctotal = new System.Windows.Forms.Timer(this.components);
this.panel1 = new ShiftUI.Panel();
this.pnlonline = new ShiftUI.Panel();
this.btnjoinlobby = new ShiftUI.Button();
this.lbonlineservers = new ShiftUI.ListBox();
this.lbonlinedesc = new ShiftUI.Label();
this.lbonlineheader = new ShiftUI.Label();
this.button1 = new ShiftUI.Button();
this.label3 = new ShiftUI.Label();
this.btnscreen = new ShiftUI.Button();
this.pnlmynet = new ShiftUI.Panel();
this.flmodules = new ShiftUI.FlowLayoutPanel();
this.label5 = new ShiftUI.Label();
this.label4 = new ShiftUI.Label();
this.btntier = new ShiftUI.Button();
this.label2 = new ShiftUI.Label();
this.label1 = new ShiftUI.Label();
this.btnstartbattle = new ShiftUI.Button();
this.lbnets = new ShiftUI.ListBox();
this.panel2 = new ShiftUI.Panel();
this.lbnetdesc = new ShiftUI.Label();
this.lbtitle = new ShiftUI.Label();
this.tmrcalctotal = new ShiftUI.Timer(this.components);
this.pgtotalhealth = new ShiftOS.ProgressBarEX();
this.label6 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.txtmyname = new System.Windows.Forms.TextBox();
this.txtmydescription = new System.Windows.Forms.TextBox();
this.label6 = new ShiftUI.Label();
this.label7 = new ShiftUI.Label();
this.txtmyname = new ShiftUI.TextBox();
this.txtmydescription = new ShiftUI.TextBox();
this.panel1.SuspendLayout();
this.pnlonline.SuspendLayout();
this.pnlmynet.SuspendLayout();
@ -65,18 +65,18 @@
//
// panel1
//
this.panel1.Controls.Add(this.pnlmynet);
this.panel1.Controls.Add(this.pnlonline);
this.panel1.Controls.Add(this.button1);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.btnscreen);
this.panel1.Controls.Add(this.btntier);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.btnstartbattle);
this.panel1.Controls.Add(this.lbnets);
this.panel1.Controls.Add(this.panel2);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Widgets.Add(this.pnlmynet);
this.panel1.Widgets.Add(this.pnlonline);
this.panel1.Widgets.Add(this.button1);
this.panel1.Widgets.Add(this.label3);
this.panel1.Widgets.Add(this.btnscreen);
this.panel1.Widgets.Add(this.btntier);
this.panel1.Widgets.Add(this.label2);
this.panel1.Widgets.Add(this.label1);
this.panel1.Widgets.Add(this.btnstartbattle);
this.panel1.Widgets.Add(this.lbnets);
this.panel1.Widgets.Add(this.panel2);
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(725, 495);
@ -84,10 +84,10 @@
//
// pnlonline
//
this.pnlonline.Controls.Add(this.btnjoinlobby);
this.pnlonline.Controls.Add(this.lbonlineservers);
this.pnlonline.Controls.Add(this.lbonlinedesc);
this.pnlonline.Controls.Add(this.lbonlineheader);
this.pnlonline.Widgets.Add(this.btnjoinlobby);
this.pnlonline.Widgets.Add(this.lbonlineservers);
this.pnlonline.Widgets.Add(this.lbonlinedesc);
this.pnlonline.Widgets.Add(this.lbonlineheader);
this.pnlonline.Location = new System.Drawing.Point(12, 12);
this.pnlonline.Name = "pnlonline";
this.pnlonline.Size = new System.Drawing.Size(404, 447);
@ -95,9 +95,9 @@
//
// btnjoinlobby
//
this.btnjoinlobby.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnjoinlobby.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.btnjoinlobby.Enabled = false;
this.btnjoinlobby.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnjoinlobby.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnjoinlobby.Location = new System.Drawing.Point(306, 415);
this.btnjoinlobby.Name = "btnjoinlobby";
this.btnjoinlobby.Size = new System.Drawing.Size(84, 23);
@ -108,9 +108,9 @@
//
// lbonlineservers
//
this.lbonlineservers.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbonlineservers.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lbonlineservers.BackColor = System.Drawing.Color.Black;
this.lbonlineservers.ForeColor = System.Drawing.Color.White;
this.lbonlineservers.FormattingEnabled = true;
@ -141,8 +141,8 @@
//
// button1
//
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.button1.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.button1.FlatStyle = ShiftUI.FlatStyle.Flat;
this.button1.Location = new System.Drawing.Point(549, 465);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(83, 23);
@ -153,7 +153,7 @@
//
// label3
//
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label3.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(282, 470);
this.label3.Name = "label3";
@ -163,8 +163,8 @@
//
// btnscreen
//
this.btnscreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnscreen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnscreen.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.btnscreen.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnscreen.Location = new System.Drawing.Point(332, 465);
this.btnscreen.Name = "btnscreen";
this.btnscreen.Size = new System.Drawing.Size(84, 23);
@ -175,17 +175,17 @@
//
// pnlmynet
//
this.pnlmynet.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pnlmynet.Controls.Add(this.txtmydescription);
this.pnlmynet.Controls.Add(this.txtmyname);
this.pnlmynet.Controls.Add(this.label7);
this.pnlmynet.Controls.Add(this.label6);
this.pnlmynet.Controls.Add(this.pgtotalhealth);
this.pnlmynet.Controls.Add(this.flmodules);
this.pnlmynet.Controls.Add(this.label5);
this.pnlmynet.Controls.Add(this.label4);
this.pnlmynet.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.pnlmynet.Widgets.Add(this.txtmydescription);
this.pnlmynet.Widgets.Add(this.txtmyname);
this.pnlmynet.Widgets.Add(this.label7);
this.pnlmynet.Widgets.Add(this.label6);
this.pnlmynet.Widgets.Add(this.pgtotalhealth);
this.pnlmynet.Widgets.Add(this.flmodules);
this.pnlmynet.Widgets.Add(this.label5);
this.pnlmynet.Widgets.Add(this.label4);
this.pnlmynet.Location = new System.Drawing.Point(12, 12);
this.pnlmynet.Name = "pnlmynet";
this.pnlmynet.Size = new System.Drawing.Size(404, 447);
@ -193,10 +193,10 @@
//
// flmodules
//
this.flmodules.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.flmodules.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
this.flmodules.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.flmodules.FlowDirection = ShiftUI.FlowDirection.TopDown;
this.flmodules.Location = new System.Drawing.Point(7, 140);
this.flmodules.Name = "flmodules";
this.flmodules.Size = new System.Drawing.Size(394, 219);
@ -225,8 +225,8 @@
//
// btntier
//
this.btntier.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btntier.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btntier.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.btntier.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btntier.Location = new System.Drawing.Point(47, 465);
this.btntier.Name = "btntier";
this.btntier.Size = new System.Drawing.Size(75, 23);
@ -237,7 +237,7 @@
//
// label2
//
this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.label2.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(13, 470);
this.label2.Name = "label2";
@ -247,7 +247,7 @@
//
// label1
//
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.label1.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.label1.Location = new System.Drawing.Point(419, 354);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(294, 71);
@ -256,8 +256,8 @@
//
// btnstartbattle
//
this.btnstartbattle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnstartbattle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnstartbattle.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btnstartbattle.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnstartbattle.Location = new System.Drawing.Point(638, 465);
this.btnstartbattle.Name = "btnstartbattle";
this.btnstartbattle.Size = new System.Drawing.Size(75, 23);
@ -268,9 +268,9 @@
//
// lbnets
//
this.lbnets.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbnets.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lbnets.BackColor = System.Drawing.Color.Black;
this.lbnets.ForeColor = System.Drawing.Color.White;
this.lbnets.FormattingEnabled = true;
@ -282,9 +282,9 @@
//
// panel2
//
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.panel2.Controls.Add(this.lbnetdesc);
this.panel2.Controls.Add(this.lbtitle);
this.panel2.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.panel2.Widgets.Add(this.lbnetdesc);
this.panel2.Widgets.Add(this.lbtitle);
this.panel2.Location = new System.Drawing.Point(422, 13);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(291, 326);
@ -315,8 +315,8 @@
//
// pgtotalhealth
//
this.pgtotalhealth.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pgtotalhealth.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.pgtotalhealth.BackColor = System.Drawing.Color.Black;
this.pgtotalhealth.BlockSeparation = 3;
this.pgtotalhealth.BlockWidth = 5;
@ -364,8 +364,8 @@
//
// txtmydescription
//
this.txtmydescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtmydescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.txtmydescription.Location = new System.Drawing.Point(74, 397);
this.txtmydescription.Name = "txtmydescription";
this.txtmydescription.Size = new System.Drawing.Size(316, 20);
@ -375,14 +375,14 @@
// NetworkBrowser
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(725, 495);
this.Controls.Add(this.panel1);
this.Widgets.Add(this.panel1);
this.ForeColor = System.Drawing.Color.Black;
this.Name = "NetworkBrowser";
this.Text = "NetworkBrowser";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.stop_matchmake);
this.FormClosing += new ShiftUI.FormClosingEventHandler(this.stop_matchmake);
this.Load += new System.EventHandler(this.NetworkBrowser_Load);
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
@ -398,32 +398,32 @@
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnstartbattle;
private System.Windows.Forms.ListBox lbnets;
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Label lbnetdesc;
private System.Windows.Forms.Label lbtitle;
private System.Windows.Forms.Button btntier;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Button btnscreen;
private System.Windows.Forms.Panel pnlmynet;
private System.Windows.Forms.FlowLayoutPanel flmodules;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private ShiftUI.Panel panel1;
private ShiftUI.Label label1;
private ShiftUI.Button btnstartbattle;
private ShiftUI.ListBox lbnets;
private ShiftUI.Panel panel2;
private ShiftUI.Label lbnetdesc;
private ShiftUI.Label lbtitle;
private ShiftUI.Button btntier;
private ShiftUI.Label label2;
private ShiftUI.Label label3;
private ShiftUI.Button btnscreen;
private ShiftUI.Panel pnlmynet;
private ShiftUI.FlowLayoutPanel flmodules;
private ShiftUI.Label label5;
private ShiftUI.Label label4;
private ProgressBarEX pgtotalhealth;
private System.Windows.Forms.Timer tmrcalctotal;
private System.Windows.Forms.Panel pnlonline;
private System.Windows.Forms.Label lbonlinedesc;
private System.Windows.Forms.Label lbonlineheader;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.ListBox lbonlineservers;
private System.Windows.Forms.Button btnjoinlobby;
private System.Windows.Forms.TextBox txtmydescription;
private System.Windows.Forms.TextBox txtmyname;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.Label label6;
private ShiftUI.Timer tmrcalctotal;
private ShiftUI.Panel pnlonline;
private ShiftUI.Label lbonlinedesc;
private ShiftUI.Label lbonlineheader;
private ShiftUI.Button button1;
private ShiftUI.ListBox lbonlineservers;
private ShiftUI.Button btnjoinlobby;
private ShiftUI.TextBox txtmydescription;
private ShiftUI.TextBox txtmyname;
private ShiftUI.Label label7;
private ShiftUI.Label label6;
}
}

View file

@ -8,7 +8,7 @@ using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
using ShiftOS.Online.Hacking;
namespace ShiftOS
@ -308,11 +308,11 @@ Those above values only matter if the leader decides to become a friend. If they
public void SetupMyNet()
{
flmodules.Controls.Clear();
flmodules.Widgets.Clear();
foreach(var m in Hacking.MyNetwork)
{
var mStatus = new NetModuleStatus(m);
flmodules.Controls.Add(mStatus);
flmodules.Widgets.Add(mStatus);
mStatus.Show();
}
}
@ -389,7 +389,7 @@ Those above values only matter if the leader decides to become a friend. If they
API.CurrentSave.MyOnlineNetwork.Codepoints = API.Codepoints;
Package_Grabber.SendMessage(selected_server.IPAddress, $"join_lobby {JsonConvert.SerializeObject(API.CurrentSave.MyOnlineNetwork)}");
Online.Hacking.Matchmaker.Matchmake(selected_server);
var t = new System.Windows.Forms.Timer();
var t = new ShiftUI.Timer();
t.Interval = 5000;
int sindex = 0;
t.Tick += (o, a) =>

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="lbnetdesc.Text" xml:space="preserve">
<value>Welcome to the Network Browser. Here, you can choose various enemy networks to battle and conquer. On the left is the network selection panel, and it will let you choose what network you'd like to fight. When you beat a network, it's removed from the list.

View file

@ -28,24 +28,24 @@
/// </summary>
private void InitializeComponent()
{
this.pnlmain = new System.Windows.Forms.Panel();
this.btndone = new System.Windows.Forms.Button();
this.pnlbgcolor = new System.Windows.Forms.Panel();
this.Label40 = new System.Windows.Forms.Label();
this.Label36 = new System.Windows.Forms.Label();
this.txtheight = new System.Windows.Forms.TextBox();
this.pnlmain = new ShiftUI.Panel();
this.btndone = new ShiftUI.Button();
this.pnlbgcolor = new ShiftUI.Panel();
this.Label40 = new ShiftUI.Label();
this.Label36 = new ShiftUI.Label();
this.txtheight = new ShiftUI.TextBox();
this.pnlmain.SuspendLayout();
this.SuspendLayout();
//
// pnlmain
//
this.pnlmain.BackColor = System.Drawing.Color.White;
this.pnlmain.Controls.Add(this.txtheight);
this.pnlmain.Controls.Add(this.Label36);
this.pnlmain.Controls.Add(this.pnlbgcolor);
this.pnlmain.Controls.Add(this.Label40);
this.pnlmain.Controls.Add(this.btndone);
this.pnlmain.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlmain.Widgets.Add(this.txtheight);
this.pnlmain.Widgets.Add(this.Label36);
this.pnlmain.Widgets.Add(this.pnlbgcolor);
this.pnlmain.Widgets.Add(this.Label40);
this.pnlmain.Widgets.Add(this.btndone);
this.pnlmain.Dock = ShiftUI.DockStyle.Fill;
this.pnlmain.ForeColor = System.Drawing.Color.Black;
this.pnlmain.Location = new System.Drawing.Point(0, 0);
this.pnlmain.Name = "pnlmain";
@ -54,8 +54,8 @@
//
// btndone
//
this.btndone.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btndone.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btndone.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btndone.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btndone.Location = new System.Drawing.Point(273, 343);
this.btndone.Name = "btndone";
this.btndone.Size = new System.Drawing.Size(75, 23);
@ -66,12 +66,12 @@
//
// pnlbgcolor
//
this.pnlbgcolor.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pnlbgcolor.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.pnlbgcolor.Location = new System.Drawing.Point(307, 101);
this.pnlbgcolor.Name = "pnlbgcolor";
this.pnlbgcolor.Size = new System.Drawing.Size(41, 20);
this.pnlbgcolor.TabIndex = 22;
this.pnlbgcolor.MouseDown += new System.Windows.Forms.MouseEventHandler(this.setbgcolor);
this.pnlbgcolor.MouseDown += new ShiftUI.MouseEventHandler(this.setbgcolor);
//
// Label40
//
@ -96,7 +96,7 @@
// txtheight
//
this.txtheight.BackColor = System.Drawing.Color.White;
this.txtheight.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtheight.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.txtheight.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtheight.ForeColor = System.Drawing.Color.Black;
this.txtheight.Location = new System.Drawing.Point(325, 134);
@ -108,9 +108,9 @@
// PanelManager
//
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(360, 378);
this.Controls.Add(this.pnlmain);
this.Widgets.Add(this.pnlmain);
this.Name = "PanelManager";
this.Text = "PanelManager";
this.Load += new System.EventHandler(this.PanelManager_Load);
@ -122,11 +122,11 @@
#endregion
private System.Windows.Forms.Panel pnlmain;
private System.Windows.Forms.Button btndone;
private System.Windows.Forms.Panel pnlbgcolor;
private System.Windows.Forms.Label Label40;
private System.Windows.Forms.Label Label36;
private System.Windows.Forms.TextBox txtheight;
private ShiftUI.Panel pnlmain;
private ShiftUI.Button btndone;
private ShiftUI.Panel pnlbgcolor;
private ShiftUI.Label Label40;
private ShiftUI.Label Label36;
private ShiftUI.TextBox txtheight;
}
}

View file

@ -6,7 +6,7 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -1,5 +1,5 @@
using System;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -27,48 +27,48 @@ namespace ShiftOS
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Pong));
this.pgcontents = new System.Windows.Forms.Panel();
this.pnlgamestats = new System.Windows.Forms.Panel();
this.lblnextstats = new System.Windows.Forms.Label();
this.Label7 = new System.Windows.Forms.Label();
this.lblpreviousstats = new System.Windows.Forms.Label();
this.Label4 = new System.Windows.Forms.Label();
this.btnplayon = new System.Windows.Forms.Button();
this.Label3 = new System.Windows.Forms.Label();
this.btncashout = new System.Windows.Forms.Button();
this.Label2 = new System.Windows.Forms.Label();
this.lbllevelreached = new System.Windows.Forms.Label();
this.pnllose = new System.Windows.Forms.Panel();
this.lblmissedout = new System.Windows.Forms.Label();
this.btnlosetryagain = new System.Windows.Forms.Button();
this.Label5 = new System.Windows.Forms.Label();
this.Label1 = new System.Windows.Forms.Label();
this.pnlintro = new System.Windows.Forms.Panel();
this.Label6 = new System.Windows.Forms.Label();
this.btnstartgame = new System.Windows.Forms.Button();
this.Label8 = new System.Windows.Forms.Label();
this.pnlfinalstats = new System.Windows.Forms.Panel();
this.btnplayagain = new System.Windows.Forms.Button();
this.lblfinalcodepoints = new System.Windows.Forms.Label();
this.Label11 = new System.Windows.Forms.Label();
this.lblfinalcomputerreward = new System.Windows.Forms.Label();
this.Label9 = new System.Windows.Forms.Label();
this.lblfinallevelreward = new System.Windows.Forms.Label();
this.lblfinallevelreached = new System.Windows.Forms.Label();
this.lblfinalcodepointswithtext = new System.Windows.Forms.Label();
this.lblbeatai = new System.Windows.Forms.Label();
this.lblcountdown = new System.Windows.Forms.Label();
this.ball = new System.Windows.Forms.Panel();
this.paddleHuman = new System.Windows.Forms.PictureBox();
this.paddleComputer = new System.Windows.Forms.Panel();
this.lbllevelandtime = new System.Windows.Forms.Label();
this.lblstatscodepoints = new System.Windows.Forms.Label();
this.lblstatsY = new System.Windows.Forms.Label();
this.lblstatsX = new System.Windows.Forms.Label();
this.gameTimer = new System.Windows.Forms.Timer(this.components);
this.counter = new System.Windows.Forms.Timer(this.components);
this.tmrcountdown = new System.Windows.Forms.Timer(this.components);
this.tmrstoryline = new System.Windows.Forms.Timer(this.components);
this.pgcontents = new ShiftUI.Panel();
this.pnlgamestats = new ShiftUI.Panel();
this.lblnextstats = new ShiftUI.Label();
this.Label7 = new ShiftUI.Label();
this.lblpreviousstats = new ShiftUI.Label();
this.Label4 = new ShiftUI.Label();
this.btnplayon = new ShiftUI.Button();
this.Label3 = new ShiftUI.Label();
this.btncashout = new ShiftUI.Button();
this.Label2 = new ShiftUI.Label();
this.lbllevelreached = new ShiftUI.Label();
this.pnllose = new ShiftUI.Panel();
this.lblmissedout = new ShiftUI.Label();
this.btnlosetryagain = new ShiftUI.Button();
this.Label5 = new ShiftUI.Label();
this.Label1 = new ShiftUI.Label();
this.pnlintro = new ShiftUI.Panel();
this.Label6 = new ShiftUI.Label();
this.btnstartgame = new ShiftUI.Button();
this.Label8 = new ShiftUI.Label();
this.pnlfinalstats = new ShiftUI.Panel();
this.btnplayagain = new ShiftUI.Button();
this.lblfinalcodepoints = new ShiftUI.Label();
this.Label11 = new ShiftUI.Label();
this.lblfinalcomputerreward = new ShiftUI.Label();
this.Label9 = new ShiftUI.Label();
this.lblfinallevelreward = new ShiftUI.Label();
this.lblfinallevelreached = new ShiftUI.Label();
this.lblfinalcodepointswithtext = new ShiftUI.Label();
this.lblbeatai = new ShiftUI.Label();
this.lblcountdown = new ShiftUI.Label();
this.ball = new ShiftUI.Panel();
this.paddleHuman = new ShiftUI.PictureBox();
this.paddleComputer = new ShiftUI.Panel();
this.lbllevelandtime = new ShiftUI.Label();
this.lblstatscodepoints = new ShiftUI.Label();
this.lblstatsY = new ShiftUI.Label();
this.lblstatsX = new ShiftUI.Label();
this.gameTimer = new ShiftUI.Timer(this.components);
this.counter = new ShiftUI.Timer(this.components);
this.tmrcountdown = new ShiftUI.Timer(this.components);
this.tmrstoryline = new ShiftUI.Timer(this.components);
this.pgcontents.SuspendLayout();
this.pnlgamestats.SuspendLayout();
this.pnllose.SuspendLayout();
@ -80,37 +80,37 @@ namespace ShiftOS
// pgcontents
//
this.pgcontents.BackColor = System.Drawing.Color.White;
this.pgcontents.Controls.Add(this.pnlgamestats);
this.pgcontents.Controls.Add(this.pnllose);
this.pgcontents.Controls.Add(this.pnlintro);
this.pgcontents.Controls.Add(this.pnlfinalstats);
this.pgcontents.Controls.Add(this.lblbeatai);
this.pgcontents.Controls.Add(this.lblcountdown);
this.pgcontents.Controls.Add(this.ball);
this.pgcontents.Controls.Add(this.paddleHuman);
this.pgcontents.Controls.Add(this.paddleComputer);
this.pgcontents.Controls.Add(this.lbllevelandtime);
this.pgcontents.Controls.Add(this.lblstatscodepoints);
this.pgcontents.Controls.Add(this.lblstatsY);
this.pgcontents.Controls.Add(this.lblstatsX);
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
this.pgcontents.Widgets.Add(this.pnlgamestats);
this.pgcontents.Widgets.Add(this.pnllose);
this.pgcontents.Widgets.Add(this.pnlintro);
this.pgcontents.Widgets.Add(this.pnlfinalstats);
this.pgcontents.Widgets.Add(this.lblbeatai);
this.pgcontents.Widgets.Add(this.lblcountdown);
this.pgcontents.Widgets.Add(this.ball);
this.pgcontents.Widgets.Add(this.paddleHuman);
this.pgcontents.Widgets.Add(this.paddleComputer);
this.pgcontents.Widgets.Add(this.lbllevelandtime);
this.pgcontents.Widgets.Add(this.lblstatscodepoints);
this.pgcontents.Widgets.Add(this.lblstatsY);
this.pgcontents.Widgets.Add(this.lblstatsX);
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(700, 400);
this.pgcontents.TabIndex = 20;
this.pgcontents.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pongMain_MouseMove);
this.pgcontents.MouseMove += new ShiftUI.MouseEventHandler(this.pongMain_MouseMove);
//
// pnlgamestats
//
this.pnlgamestats.Controls.Add(this.lblnextstats);
this.pnlgamestats.Controls.Add(this.Label7);
this.pnlgamestats.Controls.Add(this.lblpreviousstats);
this.pnlgamestats.Controls.Add(this.Label4);
this.pnlgamestats.Controls.Add(this.btnplayon);
this.pnlgamestats.Controls.Add(this.Label3);
this.pnlgamestats.Controls.Add(this.btncashout);
this.pnlgamestats.Controls.Add(this.Label2);
this.pnlgamestats.Controls.Add(this.lbllevelreached);
this.pnlgamestats.Widgets.Add(this.lblnextstats);
this.pnlgamestats.Widgets.Add(this.Label7);
this.pnlgamestats.Widgets.Add(this.lblpreviousstats);
this.pnlgamestats.Widgets.Add(this.Label4);
this.pnlgamestats.Widgets.Add(this.btnplayon);
this.pnlgamestats.Widgets.Add(this.Label3);
this.pnlgamestats.Widgets.Add(this.btncashout);
this.pnlgamestats.Widgets.Add(this.Label2);
this.pnlgamestats.Widgets.Add(this.lbllevelreached);
this.pnlgamestats.Location = new System.Drawing.Point(56, 76);
this.pnlgamestats.Name = "pnlgamestats";
this.pnlgamestats.Size = new System.Drawing.Size(466, 206);
@ -155,7 +155,7 @@ namespace ShiftOS
//
// btnplayon
//
this.btnplayon.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnplayon.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnplayon.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnplayon.Location = new System.Drawing.Point(32, 162);
this.btnplayon.Name = "btnplayon";
@ -177,7 +177,7 @@ namespace ShiftOS
//
// btncashout
//
this.btncashout.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btncashout.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btncashout.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btncashout.Location = new System.Drawing.Point(32, 73);
this.btncashout.Name = "btncashout";
@ -209,10 +209,10 @@ namespace ShiftOS
//
// pnllose
//
this.pnllose.Controls.Add(this.lblmissedout);
this.pnllose.Controls.Add(this.btnlosetryagain);
this.pnllose.Controls.Add(this.Label5);
this.pnllose.Controls.Add(this.Label1);
this.pnllose.Widgets.Add(this.lblmissedout);
this.pnllose.Widgets.Add(this.btnlosetryagain);
this.pnllose.Widgets.Add(this.Label5);
this.pnllose.Widgets.Add(this.Label1);
this.pnllose.Location = new System.Drawing.Point(209, 71);
this.pnllose.Name = "pnllose";
this.pnllose.Size = new System.Drawing.Size(266, 214);
@ -231,7 +231,7 @@ namespace ShiftOS
//
// btnlosetryagain
//
this.btnlosetryagain.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnlosetryagain.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnlosetryagain.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnlosetryagain.Location = new System.Drawing.Point(155, 176);
this.btnlosetryagain.Name = "btnlosetryagain";
@ -250,7 +250,7 @@ namespace ShiftOS
//
// Label1
//
this.Label1.Dock = System.Windows.Forms.DockStyle.Top;
this.Label1.Dock = ShiftUI.DockStyle.Top;
this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Label1.Location = new System.Drawing.Point(0, 0);
this.Label1.Name = "Label1";
@ -261,9 +261,9 @@ namespace ShiftOS
//
// pnlintro
//
this.pnlintro.Controls.Add(this.Label6);
this.pnlintro.Controls.Add(this.btnstartgame);
this.pnlintro.Controls.Add(this.Label8);
this.pnlintro.Widgets.Add(this.Label6);
this.pnlintro.Widgets.Add(this.btnstartgame);
this.pnlintro.Widgets.Add(this.Label8);
this.pnlintro.Location = new System.Drawing.Point(52, 29);
this.pnlintro.Name = "pnlintro";
this.pnlintro.Size = new System.Drawing.Size(595, 303);
@ -281,7 +281,7 @@ namespace ShiftOS
//
// btnstartgame
//
this.btnstartgame.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnstartgame.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnstartgame.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnstartgame.Location = new System.Drawing.Point(186, 273);
this.btnstartgame.Name = "btnstartgame";
@ -304,14 +304,14 @@ namespace ShiftOS
//
// pnlfinalstats
//
this.pnlfinalstats.Controls.Add(this.btnplayagain);
this.pnlfinalstats.Controls.Add(this.lblfinalcodepoints);
this.pnlfinalstats.Controls.Add(this.Label11);
this.pnlfinalstats.Controls.Add(this.lblfinalcomputerreward);
this.pnlfinalstats.Controls.Add(this.Label9);
this.pnlfinalstats.Controls.Add(this.lblfinallevelreward);
this.pnlfinalstats.Controls.Add(this.lblfinallevelreached);
this.pnlfinalstats.Controls.Add(this.lblfinalcodepointswithtext);
this.pnlfinalstats.Widgets.Add(this.btnplayagain);
this.pnlfinalstats.Widgets.Add(this.lblfinalcodepoints);
this.pnlfinalstats.Widgets.Add(this.Label11);
this.pnlfinalstats.Widgets.Add(this.lblfinalcomputerreward);
this.pnlfinalstats.Widgets.Add(this.Label9);
this.pnlfinalstats.Widgets.Add(this.lblfinallevelreward);
this.pnlfinalstats.Widgets.Add(this.lblfinallevelreached);
this.pnlfinalstats.Widgets.Add(this.lblfinalcodepointswithtext);
this.pnlfinalstats.Location = new System.Drawing.Point(172, 74);
this.pnlfinalstats.Name = "pnlfinalstats";
this.pnlfinalstats.Size = new System.Drawing.Size(362, 226);
@ -320,7 +320,7 @@ namespace ShiftOS
//
// btnplayagain
//
this.btnplayagain.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnplayagain.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnplayagain.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnplayagain.Location = new System.Drawing.Point(5, 194);
this.btnplayagain.Name = "btnplayagain";
@ -440,8 +440,8 @@ namespace ShiftOS
//
// paddleComputer
//
this.paddleComputer.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.paddleComputer.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Right)));
this.paddleComputer.BackColor = System.Drawing.Color.Black;
this.paddleComputer.Location = new System.Drawing.Point(666, 134);
this.paddleComputer.MaximumSize = new System.Drawing.Size(20, 100);
@ -451,7 +451,7 @@ namespace ShiftOS
//
// lbllevelandtime
//
this.lbllevelandtime.Dock = System.Windows.Forms.DockStyle.Top;
this.lbllevelandtime.Dock = ShiftUI.DockStyle.Top;
this.lbllevelandtime.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbllevelandtime.Location = new System.Drawing.Point(0, 0);
this.lbllevelandtime.Name = "lbllevelandtime";
@ -462,8 +462,8 @@ namespace ShiftOS
//
// lblstatscodepoints
//
this.lblstatscodepoints.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblstatscodepoints.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lblstatscodepoints.Font = new System.Drawing.Font("Georgia", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblstatscodepoints.Location = new System.Drawing.Point(239, 356);
this.lblstatscodepoints.Name = "lblstatscodepoints";
@ -474,7 +474,7 @@ namespace ShiftOS
//
// lblstatsY
//
this.lblstatsY.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.lblstatsY.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.lblstatsY.Font = new System.Drawing.Font("Georgia", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblstatsY.Location = new System.Drawing.Point(542, 356);
this.lblstatsY.Name = "lblstatsY";
@ -485,7 +485,7 @@ namespace ShiftOS
//
// lblstatsX
//
this.lblstatsX.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.lblstatsX.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.lblstatsX.Font = new System.Drawing.Font("Georgia", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblstatsX.Location = new System.Drawing.Point(3, 356);
this.lblstatsX.Name = "lblstatsX";
@ -517,18 +517,18 @@ namespace ShiftOS
// Pong
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(700, 400);
this.Controls.Add(this.pgcontents);
this.Widgets.Add(this.pgcontents);
this.DoubleBuffered = true;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
this.Name = "Pong";
this.Text = "Pong";
this.TopMost = true;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.me_closing);
this.FormClosing += new ShiftUI.FormClosingEventHandler(this.me_closing);
this.Load += new System.EventHandler(this.Pong_Load);
this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pongMain_MouseMove);
this.MouseMove += new ShiftUI.MouseEventHandler(this.pongMain_MouseMove);
this.pgcontents.ResumeLayout(false);
this.pnlgamestats.ResumeLayout(false);
this.pnlgamestats.PerformLayout();
@ -541,48 +541,48 @@ namespace ShiftOS
this.ResumeLayout(false);
}
internal System.Windows.Forms.Panel pgcontents;
internal System.Windows.Forms.Panel ball;
internal System.Windows.Forms.Panel paddleComputer;
internal System.Windows.Forms.Timer gameTimer;
internal System.Windows.Forms.PictureBox paddleHuman;
internal System.Windows.Forms.Label lbllevelandtime;
internal System.Windows.Forms.Label lblstatsX;
internal System.Windows.Forms.Timer counter;
internal System.Windows.Forms.Panel pnlgamestats;
internal System.Windows.Forms.Label lblnextstats;
internal System.Windows.Forms.Label Label7;
internal System.Windows.Forms.Label lblpreviousstats;
internal System.Windows.Forms.Label Label4;
internal System.Windows.Forms.Button btnplayon;
internal System.Windows.Forms.Label Label3;
internal System.Windows.Forms.Button btncashout;
internal System.Windows.Forms.Label Label2;
internal System.Windows.Forms.Label lbllevelreached;
internal System.Windows.Forms.Label lblcountdown;
internal System.Windows.Forms.Timer tmrcountdown;
internal System.Windows.Forms.Label lblbeatai;
internal System.Windows.Forms.Panel pnlfinalstats;
internal System.Windows.Forms.Button btnplayagain;
internal System.Windows.Forms.Label lblfinalcodepoints;
internal System.Windows.Forms.Label Label11;
internal System.Windows.Forms.Label lblfinalcomputerreward;
internal System.Windows.Forms.Label Label9;
internal System.Windows.Forms.Label lblfinallevelreward;
internal System.Windows.Forms.Label lblfinallevelreached;
internal System.Windows.Forms.Label lblfinalcodepointswithtext;
internal System.Windows.Forms.Panel pnllose;
internal System.Windows.Forms.Label lblmissedout;
internal System.Windows.Forms.Button btnlosetryagain;
internal System.Windows.Forms.Label Label5;
internal System.Windows.Forms.Label Label1;
internal System.Windows.Forms.Label lblstatscodepoints;
internal System.Windows.Forms.Label lblstatsY;
internal System.Windows.Forms.Panel pnlintro;
internal System.Windows.Forms.Label Label6;
internal System.Windows.Forms.Button btnstartgame;
internal System.Windows.Forms.Label Label8;
internal System.Windows.Forms.Timer tmrstoryline;
internal ShiftUI.Panel pgcontents;
internal ShiftUI.Panel ball;
internal ShiftUI.Panel paddleComputer;
internal ShiftUI.Timer gameTimer;
internal ShiftUI.PictureBox paddleHuman;
internal ShiftUI.Label lbllevelandtime;
internal ShiftUI.Label lblstatsX;
internal ShiftUI.Timer counter;
internal ShiftUI.Panel pnlgamestats;
internal ShiftUI.Label lblnextstats;
internal ShiftUI.Label Label7;
internal ShiftUI.Label lblpreviousstats;
internal ShiftUI.Label Label4;
internal ShiftUI.Button btnplayon;
internal ShiftUI.Label Label3;
internal ShiftUI.Button btncashout;
internal ShiftUI.Label Label2;
internal ShiftUI.Label lbllevelreached;
internal ShiftUI.Label lblcountdown;
internal ShiftUI.Timer tmrcountdown;
internal ShiftUI.Label lblbeatai;
internal ShiftUI.Panel pnlfinalstats;
internal ShiftUI.Button btnplayagain;
internal ShiftUI.Label lblfinalcodepoints;
internal ShiftUI.Label Label11;
internal ShiftUI.Label lblfinalcomputerreward;
internal ShiftUI.Label Label9;
internal ShiftUI.Label lblfinallevelreward;
internal ShiftUI.Label lblfinallevelreached;
internal ShiftUI.Label lblfinalcodepointswithtext;
internal ShiftUI.Panel pnllose;
internal ShiftUI.Label lblmissedout;
internal ShiftUI.Button btnlosetryagain;
internal ShiftUI.Label Label5;
internal ShiftUI.Label Label1;
internal ShiftUI.Label lblstatscodepoints;
internal ShiftUI.Label lblstatsY;
internal ShiftUI.Panel pnlintro;
internal ShiftUI.Label Label6;
internal ShiftUI.Button btnstartgame;
internal ShiftUI.Label Label8;
internal ShiftUI.Timer tmrstoryline;
}
}

View file

@ -7,7 +7,7 @@ using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -50,7 +50,7 @@ namespace ShiftOS
}
// Move the paddle according to the mouse position.
private void pongMain_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
private void pongMain_MouseMove(object sender, ShiftUI.MouseEventArgs e)
{
paddleHuman.Location = new Point(paddleHuman.Location.X, (MousePosition.Y - this.Location.Y) - (paddleHuman.Height / 2));
}

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Label6.Text" xml:space="preserve">
<value>Pong is a classic arcade game from the late 20th century, ported over to ShiftOS.

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,7 @@ using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -2999,8 +2999,8 @@ namespace ShiftOS
public void SetupLuaUI()
{
pnlluafield.Controls.Clear();
flmorebuttons.Controls.Clear();
pnlluafield.Widgets.Clear();
flmorebuttons.Widgets.Clear();
if (API.LuaShifterRegistry == null)
{
var l = new Label();
@ -3012,7 +3012,7 @@ namespace ShiftOS
There are no options to show here yet.
You can add options in the Lua interpreter using the shifter_add_category(string name), shifter_add_value(string category, string name, value), and shifter_remove_category(string name) methods. Applications may also add their own values.";
pnlluafield.Controls.Add(l);
pnlluafield.Widgets.Add(l);
l.Show();
}
else
@ -3024,7 +3024,7 @@ You can add options in the Lua interpreter using the shifter_add_category(string
b.FlatStyle = FlatStyle.Flat;
b.AutoSize = true;
b.AutoSizeMode = AutoSizeMode.GrowAndShrink;
flmorebuttons.Controls.Add(b);
flmorebuttons.Widgets.Add(b);
b.Show();
b.Click += (object s, EventArgs a) =>
{
@ -3036,7 +3036,7 @@ You can add options in the Lua interpreter using the shifter_add_category(string
public void SetupLuaForm(Dictionary<string, object> d)
{
pnlluafield.Controls.Clear();
pnlluafield.Widgets.Clear();
foreach(var kv in d)
{
IShifterSetting l = new ShifterTextInput();
@ -3056,9 +3056,9 @@ You can add options in the Lua interpreter using the shifter_add_category(string
else
i.NoDecimal = false;
}
if (pnlluafield.Controls.Count > 0)
if (pnlluafield.Widgets.Count > 0)
{
var ctrl = pnlluafield.Controls[pnlluafield.Controls.Count - 1];
var ctrl = pnlluafield.Widgets[pnlluafield.Widgets.Count - 1];
l.Location = new Point(ctrl.Left + ctrl.Width + 5, ctrl.Top);
if(l.Left + l.Width > pnlluafield.Width)
{
@ -3071,7 +3071,7 @@ You can add options in the Lua interpreter using the shifter_add_category(string
l.Location = new Point(2, 2);
}
pnlluafield.Controls.Add(l);
pnlluafield.Widgets.Add(l);
l.Show();
l.Font = new Font("Microsoft Sans Serif", 9);
l.Text = kv.Key;

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="ColorDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>

View file

@ -1,4 +1,6 @@
namespace ShiftOS
using System;
namespace ShiftOS
{
partial class Shiftnet
{
@ -28,12 +30,12 @@
/// </summary>
private void InitializeComponent()
{
this.pnlcontrols = new System.Windows.Forms.Panel();
this.btngo = new System.Windows.Forms.Button();
this.btnhome = new System.Windows.Forms.Button();
this.txtaddress = new System.Windows.Forms.TextBox();
this.wbshiftnet = new System.Windows.Forms.WebBrowser();
this.panel1 = new System.Windows.Forms.Panel();
this.pnlcontrols = new ShiftUI.Panel();
this.btngo = new ShiftUI.Button();
this.btnhome = new ShiftUI.Button();
this.txtaddress = new ShiftUI.TextBox();
this.wbshiftnet = new Gecko.GeckoWebBrowser();
this.panel1 = new ShiftUI.Panel();
this.pnlcontrols.SuspendLayout();
this.panel1.SuspendLayout();
this.SuspendLayout();
@ -41,10 +43,10 @@
// pnlcontrols
//
this.pnlcontrols.BackColor = System.Drawing.Color.Gray;
this.pnlcontrols.Controls.Add(this.btngo);
this.pnlcontrols.Controls.Add(this.btnhome);
this.pnlcontrols.Controls.Add(this.txtaddress);
this.pnlcontrols.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlcontrols.Widgets.Add(this.btngo);
this.pnlcontrols.Widgets.Add(this.btnhome);
this.pnlcontrols.Widgets.Add(this.txtaddress);
this.pnlcontrols.Dock = ShiftUI.DockStyle.Top;
this.pnlcontrols.Location = new System.Drawing.Point(0, 0);
this.pnlcontrols.Name = "pnlcontrols";
this.pnlcontrols.Size = new System.Drawing.Size(792, 42);
@ -52,9 +54,9 @@
//
// btngo
//
this.btngo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btngo.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btngo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btngo.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.btngo.DialogResult = ShiftUI.DialogResult.Cancel;
this.btngo.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btngo.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btngo.ForeColor = System.Drawing.Color.White;
this.btngo.Location = new System.Drawing.Point(731, 9);
@ -67,8 +69,8 @@
//
// btnhome
//
this.btnhome.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnhome.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnhome.DialogResult = ShiftUI.DialogResult.Cancel;
this.btnhome.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnhome.Font = new System.Drawing.Font("Times New Roman", 8.25F);
this.btnhome.ForeColor = System.Drawing.Color.White;
this.btnhome.Location = new System.Drawing.Point(4, 12);
@ -81,9 +83,9 @@
//
// txtaddress
//
this.txtaddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtaddress.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtaddress.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.txtaddress.BorderStyle = ShiftUI.BorderStyle.None;
this.txtaddress.Font = new System.Drawing.Font("Times New Roman", 13F);
this.txtaddress.Location = new System.Drawing.Point(85, 12);
this.txtaddress.Name = "txtaddress";
@ -93,21 +95,19 @@
//
// wbshiftnet
//
this.wbshiftnet.AllowWebBrowserDrop = false;
this.wbshiftnet.Dock = System.Windows.Forms.DockStyle.Fill;
this.wbshiftnet.IsWebBrowserContextMenuEnabled = false;
this.wbshiftnet.Dock = (System.Windows.Forms.DockStyle)ShiftUI.DockStyle.Fill;
this.wbshiftnet.Location = new System.Drawing.Point(0, 42);
this.wbshiftnet.MinimumSize = new System.Drawing.Size(20, 20);
this.wbshiftnet.Name = "wbshiftnet";
this.wbshiftnet.Size = new System.Drawing.Size(792, 463);
this.wbshiftnet.TabIndex = 1;
this.wbshiftnet.Navigating += new System.Windows.Forms.WebBrowserNavigatingEventHandler(this.LinkInterceptor);
this.wbshiftnet.Navigating += new EventHandler<Gecko.Events.GeckoNavigatingEventArgs>(this.LinkInterceptor);
//
// panel1
//
this.panel1.Controls.Add(this.wbshiftnet);
this.panel1.Controls.Add(this.pnlcontrols);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Widgets.Add(this.wbshiftnet.ToWidget());
this.panel1.Widgets.Add(this.pnlcontrols);
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(792, 505);
@ -117,10 +117,10 @@
//
this.AcceptButton = this.btngo;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.CancelButton = this.btnhome;
this.ClientSize = new System.Drawing.Size(792, 505);
this.Controls.Add(this.panel1);
this.Widgets.Add(this.panel1);
this.Name = "Shiftnet";
this.Text = "MainForm";
this.Load += new System.EventHandler(this.MainForm_Load);
@ -133,12 +133,12 @@
#endregion
private System.Windows.Forms.Panel pnlcontrols;
private System.Windows.Forms.WebBrowser wbshiftnet;
private System.Windows.Forms.Button btngo;
private System.Windows.Forms.Button btnhome;
private System.Windows.Forms.TextBox txtaddress;
private System.Windows.Forms.Panel panel1;
private ShiftUI.Panel pnlcontrols;
private Gecko.GeckoWebBrowser wbshiftnet;
private ShiftUI.Button btngo;
private ShiftUI.Button btnhome;
private ShiftUI.TextBox txtaddress;
private ShiftUI.Panel panel1;
}
}

View file

@ -6,7 +6,7 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
using System.Net;
namespace ShiftOS
@ -26,17 +26,18 @@ namespace ShiftOS
public void InitialSetup()
{
pnlcontrols.BackColor = API.CurrentSkin.titlebarcolour;
wbshiftnet.DocumentText = WebLayer.VisitSite("shiftnet://main");
wbshiftnet.Document.TextContent = WebLayer.VisitSite("shiftnet://main");
txtaddress.Text = WebLayer.LastUrl;
}
private void LinkInterceptor(object sender, WebBrowserNavigatingEventArgs e)
private void LinkInterceptor(object sender, Gecko.Events.GeckoNavigatingEventArgs e)
{
var url = e.Url.OriginalString;
var url = e.Uri.OriginalString;
if (url != "about:blank")
{
var surl = url.Replace("http://", "shiftnet://");
wbshiftnet.DocumentText = WebLayer.VisitSite(surl);
wbshiftnet.Document.TextContent = WebLayer.VisitSite(surl);
txtaddress.Text = WebLayer.LastUrl;
}
}
@ -45,19 +46,19 @@ namespace ShiftOS
{
if (txtaddress.Text.ToLower().StartsWith("shiftnet://"))
{
wbshiftnet.DocumentText = WebLayer.VisitSite(txtaddress.Text);
wbshiftnet.Document.TextContent = WebLayer.VisitSite(txtaddress.Text);
txtaddress.Text = WebLayer.LastUrl;
}
else
{
wbshiftnet.DocumentText = WebLayer.VisitSite("shiftnet://not_found");
wbshiftnet.Document.TextContent = WebLayer.VisitSite("shiftnet://not_found");
txtaddress.Text = WebLayer.LastUrl;
}
}
private void btnhome_Click(object sender, EventArgs e)
{
wbshiftnet.DocumentText = WebLayer.VisitSite("shiftnet://main");
wbshiftnet.Document.TextContent = WebLayer.VisitSite("shiftnet://main");
txtaddress.Text = WebLayer.LastUrl;
}
}

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -29,21 +29,21 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.label1 = new System.Windows.Forms.Label();
this.txtstatus = new System.Windows.Forms.RichTextBox();
this.txtaddress = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.btnstart = new System.Windows.Forms.Button();
this.panel1 = new System.Windows.Forms.Panel();
this.tmrdecrypt = new System.Windows.Forms.Timer(this.components);
this.label1 = new ShiftUI.Label();
this.txtstatus = new ShiftUI.RichTextBox();
this.txtaddress = new ShiftUI.TextBox();
this.label2 = new ShiftUI.Label();
this.btnstart = new ShiftUI.Button();
this.panel1 = new ShiftUI.Panel();
this.tmrdecrypt = new ShiftUI.Timer(this.components);
this.pgstatus = new ShiftOS.ProgressBarEX();
this.panel1.SuspendLayout();
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.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
this.label1.Location = new System.Drawing.Point(13, 13);
this.label1.Name = "label1";
@ -54,11 +54,11 @@
//
// txtstatus
//
this.txtstatus.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtstatus.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.txtstatus.BackColor = System.Drawing.Color.Black;
this.txtstatus.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtstatus.BorderStyle = ShiftUI.BorderStyle.None;
this.txtstatus.ForeColor = System.Drawing.Color.White;
this.txtstatus.Location = new System.Drawing.Point(17, 151);
this.txtstatus.Name = "txtstatus";
@ -69,10 +69,10 @@
//
// txtaddress
//
this.txtaddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtaddress.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.txtaddress.BackColor = System.Drawing.Color.Gray;
this.txtaddress.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtaddress.BorderStyle = ShiftUI.BorderStyle.None;
this.txtaddress.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.txtaddress.Location = new System.Drawing.Point(100, 121);
this.txtaddress.Name = "txtaddress";
@ -90,8 +90,8 @@
//
// btnstart
//
this.btnstart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnstart.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnstart.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.btnstart.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnstart.Location = new System.Drawing.Point(697, 119);
this.btnstart.Name = "btnstart";
this.btnstart.Size = new System.Drawing.Size(60, 23);
@ -103,13 +103,13 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.btnstart);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.txtaddress);
this.panel1.Controls.Add(this.txtstatus);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.pgstatus);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Widgets.Add(this.btnstart);
this.panel1.Widgets.Add(this.label2);
this.panel1.Widgets.Add(this.txtaddress);
this.panel1.Widgets.Add(this.txtstatus);
this.panel1.Widgets.Add(this.label1);
this.panel1.Widgets.Add(this.pgstatus);
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(769, 443);
@ -121,8 +121,8 @@
//
// pgstatus
//
this.pgstatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pgstatus.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.pgstatus.BackColor = System.Drawing.Color.Black;
this.pgstatus.BlockSeparation = 3;
this.pgstatus.BlockWidth = 5;
@ -144,9 +144,9 @@
//
this.AcceptButton = this.btnstart;
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(769, 443);
this.Controls.Add(this.panel1);
this.Widgets.Add(this.panel1);
this.Name = "ShiftnetDecryptor";
this.Text = "ShiftnetDecryptor";
this.Load += new System.EventHandler(this.ShiftnetDecryptor_Load);
@ -159,12 +159,12 @@
#endregion
private ProgressBarEX pgstatus;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.RichTextBox txtstatus;
private System.Windows.Forms.TextBox txtaddress;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btnstart;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.Timer tmrdecrypt;
private ShiftUI.Label label1;
private ShiftUI.RichTextBox txtstatus;
private ShiftUI.TextBox txtaddress;
private ShiftUI.Label label2;
private ShiftUI.Button btnstart;
private ShiftUI.Panel panel1;
private ShiftUI.Timer tmrdecrypt;
}
}

View file

@ -8,7 +8,7 @@ using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -35,15 +35,15 @@ namespace ShiftOS
}
}
private void RecursiveControlSetup(Control ctrl)
private void RecursiveWidgetSetup(Widget ctrl)
{
ctrl.Font = new Font(OSInfo.GetMonospaceFont(), ctrl.Font.Size);
try
{
var pnl = (Panel)ctrl;
foreach (Control c in pnl.Controls)
foreach (Widget c in pnl.Widgets)
{
RecursiveControlSetup(c);
RecursiveWidgetSetup(c);
}
}
catch
@ -150,7 +150,7 @@ namespace ShiftOS
private void ShiftnetDecryptor_Load(object sender, EventArgs e)
{
RecursiveControlSetup(panel1);
RecursiveWidgetSetup(panel1);
}
}
}

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tmrdecrypt.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>

View file

@ -26,25 +26,25 @@ namespace Shiftorium
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frontend));
this.pgcontents = new System.Windows.Forms.Panel();
this.lbcodepoints = new System.Windows.Forms.Label();
this.lbupgrades = new System.Windows.Forms.ListView();
this.Label1 = new System.Windows.Forms.Label();
this.pnlinfo = new System.Windows.Forms.Panel();
this.pnlintro = new System.Windows.Forms.Panel();
this.Label4 = new System.Windows.Forms.Label();
this.Label2 = new System.Windows.Forms.Label();
this.Label5 = new System.Windows.Forms.Label();
this.btnbuy = new System.Windows.Forms.Button();
this.lbprice = new System.Windows.Forms.Label();
this.picpreview = new System.Windows.Forms.PictureBox();
this.lbudescription = new System.Windows.Forms.Label();
this.lbupgradename = new System.Windows.Forms.Label();
this.tmrcodepointsupdate = new System.Windows.Forms.Timer(this.components);
this.btnback = new System.Windows.Forms.Button();
this.btnforward = new System.Windows.Forms.Button();
this.lbcategory = new System.Windows.Forms.Label();
this.btnhack = new System.Windows.Forms.Button();
this.pgcontents = new ShiftUI.Panel();
this.lbcodepoints = new ShiftUI.Label();
this.lbupgrades = new ShiftUI.ListView();
this.Label1 = new ShiftUI.Label();
this.pnlinfo = new ShiftUI.Panel();
this.pnlintro = new ShiftUI.Panel();
this.Label4 = new ShiftUI.Label();
this.Label2 = new ShiftUI.Label();
this.Label5 = new ShiftUI.Label();
this.btnbuy = new ShiftUI.Button();
this.lbprice = new ShiftUI.Label();
this.picpreview = new ShiftUI.PictureBox();
this.lbudescription = new ShiftUI.Label();
this.lbupgradename = new ShiftUI.Label();
this.tmrcodepointsupdate = new ShiftUI.Timer(this.components);
this.btnback = new ShiftUI.Button();
this.btnforward = new ShiftUI.Button();
this.lbcategory = new ShiftUI.Label();
this.btnhack = new ShiftUI.Button();
this.pgcontents.SuspendLayout();
this.pnlinfo.SuspendLayout();
this.pnlintro.SuspendLayout();
@ -54,15 +54,15 @@ namespace Shiftorium
// pgcontents
//
this.pgcontents.BackColor = System.Drawing.Color.White;
this.pgcontents.Controls.Add(this.btnhack);
this.pgcontents.Controls.Add(this.lbcategory);
this.pgcontents.Controls.Add(this.btnforward);
this.pgcontents.Controls.Add(this.btnback);
this.pgcontents.Controls.Add(this.lbcodepoints);
this.pgcontents.Controls.Add(this.lbupgrades);
this.pgcontents.Controls.Add(this.Label1);
this.pgcontents.Controls.Add(this.pnlinfo);
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
this.pgcontents.Widgets.Add(this.btnhack);
this.pgcontents.Widgets.Add(this.lbcategory);
this.pgcontents.Widgets.Add(this.btnforward);
this.pgcontents.Widgets.Add(this.btnback);
this.pgcontents.Widgets.Add(this.lbcodepoints);
this.pgcontents.Widgets.Add(this.lbupgrades);
this.pgcontents.Widgets.Add(this.Label1);
this.pgcontents.Widgets.Add(this.pnlinfo);
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(701, 462);
@ -83,7 +83,7 @@ namespace Shiftorium
// lbupgrades
//
this.lbupgrades.BackColor = System.Drawing.Color.White;
this.lbupgrades.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.lbupgrades.BorderStyle = ShiftUI.BorderStyle.None;
this.lbupgrades.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbupgrades.ForeColor = System.Drawing.Color.Black;
this.lbupgrades.Location = new System.Drawing.Point(21, 101);
@ -92,7 +92,7 @@ namespace Shiftorium
this.lbupgrades.Size = new System.Drawing.Size(304, 254);
this.lbupgrades.TabIndex = 0;
this.lbupgrades.UseCompatibleStateImageBehavior = false;
this.lbupgrades.View = System.Windows.Forms.View.Details;
this.lbupgrades.View = ShiftUI.View.Details;
this.lbupgrades.SelectedIndexChanged += new System.EventHandler(this.lbupgrades_SelectedIndexChanged);
//
// Label1
@ -108,13 +108,13 @@ namespace Shiftorium
//
// pnlinfo
//
this.pnlinfo.Controls.Add(this.pnlintro);
this.pnlinfo.Controls.Add(this.btnbuy);
this.pnlinfo.Controls.Add(this.lbprice);
this.pnlinfo.Controls.Add(this.picpreview);
this.pnlinfo.Controls.Add(this.lbudescription);
this.pnlinfo.Controls.Add(this.lbupgradename);
this.pnlinfo.Dock = System.Windows.Forms.DockStyle.Right;
this.pnlinfo.Widgets.Add(this.pnlintro);
this.pnlinfo.Widgets.Add(this.btnbuy);
this.pnlinfo.Widgets.Add(this.lbprice);
this.pnlinfo.Widgets.Add(this.picpreview);
this.pnlinfo.Widgets.Add(this.lbudescription);
this.pnlinfo.Widgets.Add(this.lbupgradename);
this.pnlinfo.Dock = ShiftUI.DockStyle.Right;
this.pnlinfo.Location = new System.Drawing.Point(332, 0);
this.pnlinfo.Name = "pnlinfo";
this.pnlinfo.Size = new System.Drawing.Size(369, 462);
@ -122,10 +122,10 @@ namespace Shiftorium
//
// pnlintro
//
this.pnlintro.Controls.Add(this.Label4);
this.pnlintro.Controls.Add(this.Label2);
this.pnlintro.Controls.Add(this.Label5);
this.pnlintro.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlintro.Widgets.Add(this.Label4);
this.pnlintro.Widgets.Add(this.Label2);
this.pnlintro.Widgets.Add(this.Label5);
this.pnlintro.Dock = ShiftUI.DockStyle.Fill;
this.pnlintro.Location = new System.Drawing.Point(0, 0);
this.pnlintro.Name = "pnlintro";
this.pnlintro.Size = new System.Drawing.Size(369, 462);
@ -165,8 +165,8 @@ namespace Shiftorium
//
// btnbuy
//
this.btnbuy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnbuy.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnbuy.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btnbuy.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnbuy.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnbuy.ForeColor = System.Drawing.Color.Black;
this.btnbuy.Location = new System.Drawing.Point(160, 362);
@ -179,7 +179,7 @@ namespace Shiftorium
//
// lbprice
//
this.lbprice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.lbprice.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.lbprice.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold);
this.lbprice.ForeColor = System.Drawing.Color.Black;
this.lbprice.Location = new System.Drawing.Point(15, 362);
@ -227,7 +227,7 @@ namespace Shiftorium
//
// btnback
//
this.btnback.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnback.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnback.Location = new System.Drawing.Point(22, 72);
this.btnback.Name = "btnback";
this.btnback.Size = new System.Drawing.Size(36, 23);
@ -238,8 +238,8 @@ namespace Shiftorium
//
// btnforward
//
this.btnforward.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnforward.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnforward.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.btnforward.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnforward.Location = new System.Drawing.Point(289, 72);
this.btnforward.Name = "btnforward";
this.btnforward.Size = new System.Drawing.Size(36, 23);
@ -250,8 +250,8 @@ namespace Shiftorium
//
// lbcategory
//
this.lbcategory.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbcategory.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lbcategory.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Bold);
this.lbcategory.ForeColor = System.Drawing.Color.Black;
this.lbcategory.Location = new System.Drawing.Point(64, 72);
@ -263,11 +263,11 @@ namespace Shiftorium
//
// btnhack
//
this.btnhack.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.btnhack.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.btnhack.AutoSize = true;
this.btnhack.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnhack.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnhack.Location = new System.Drawing.Point(143, 218);
this.btnhack.Name = "btnhack";
this.btnhack.Size = new System.Drawing.Size(68, 25);
@ -280,11 +280,11 @@ namespace Shiftorium
// Frontend
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(701, 462);
this.Controls.Add(this.pgcontents);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Widgets.Add(this.pgcontents);
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
this.KeyPreview = true;
this.Name = "Frontend";
this.Text = "Shiftorium";
@ -299,24 +299,24 @@ namespace Shiftorium
this.ResumeLayout(false);
}
internal System.Windows.Forms.Panel pgcontents;
internal System.Windows.Forms.ListView lbupgrades;
internal System.Windows.Forms.Label Label1;
internal System.Windows.Forms.Panel pnlinfo;
internal System.Windows.Forms.Label lbcodepoints;
internal System.Windows.Forms.Button btnbuy;
internal System.Windows.Forms.Label lbprice;
internal System.Windows.Forms.PictureBox picpreview;
internal System.Windows.Forms.Label lbudescription;
internal System.Windows.Forms.Label lbupgradename;
internal System.Windows.Forms.Panel pnlintro;
internal System.Windows.Forms.Label Label4;
internal System.Windows.Forms.Label Label2;
internal System.Windows.Forms.Label Label5;
internal System.Windows.Forms.Timer tmrcodepointsupdate;
internal System.Windows.Forms.Label lbcategory;
private System.Windows.Forms.Button btnforward;
private System.Windows.Forms.Button btnback;
private System.Windows.Forms.Button btnhack;
internal ShiftUI.Panel pgcontents;
internal ShiftUI.ListView lbupgrades;
internal ShiftUI.Label Label1;
internal ShiftUI.Panel pnlinfo;
internal ShiftUI.Label lbcodepoints;
internal ShiftUI.Button btnbuy;
internal ShiftUI.Label lbprice;
internal ShiftUI.PictureBox picpreview;
internal ShiftUI.Label lbudescription;
internal ShiftUI.Label lbupgradename;
internal ShiftUI.Panel pnlintro;
internal ShiftUI.Label Label4;
internal ShiftUI.Label Label2;
internal ShiftUI.Label Label5;
internal ShiftUI.Timer tmrcodepointsupdate;
internal ShiftUI.Label lbcategory;
private ShiftUI.Button btnforward;
private ShiftUI.Button btnback;
private ShiftUI.Button btnhack;
}
}

View file

@ -6,7 +6,7 @@ using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
using ShiftOS;
using SaveSystem;

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Label2.Text" xml:space="preserve">
<value>Welcome to the Shiftorium. The Shiftorium is a place where you can spend Codepoints to upgrade the operating system and buy new applications.

View file

@ -25,57 +25,57 @@ namespace ShiftOS
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SkinLoader));
this.pgcontents = new System.Windows.Forms.Panel();
this.label3 = new System.Windows.Forms.Label();
this.btnapplyskin = new System.Windows.Forms.Button();
this.btnsaveskin = new System.Windows.Forms.Button();
this.btnloadskin = new System.Windows.Forms.Button();
this.Label2 = new System.Windows.Forms.Label();
this.btnclose = new System.Windows.Forms.Button();
this.pnldesktoppreview = new System.Windows.Forms.Panel();
this.predesktoppanel = new System.Windows.Forms.Panel();
this.prepnlpanelbuttonholder = new System.Windows.Forms.FlowLayoutPanel();
this.prepnlpanelbutton = new System.Windows.Forms.Panel();
this.pretbicon = new System.Windows.Forms.PictureBox();
this.pretbctext = new System.Windows.Forms.Label();
this.pretimepanel = new System.Windows.Forms.Panel();
this.prepaneltimetext = new System.Windows.Forms.Label();
this.preapplaunchermenuholder = new System.Windows.Forms.Panel();
this.predesktopappmenu = new System.Windows.Forms.MenuStrip();
this.ApplicationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.KnowledgeInputToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ShiftoriumToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ClockToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.TerminalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ShifterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.ShutdownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.Label1 = new System.Windows.Forms.Label();
this.pnlwindowpreview = new System.Windows.Forms.Panel();
this.prepgcontent = new System.Windows.Forms.Panel();
this.prepgbottom = new System.Windows.Forms.Panel();
this.prepgleft = new System.Windows.Forms.Panel();
this.prepgbottomlcorner = new System.Windows.Forms.Panel();
this.prepgright = new System.Windows.Forms.Panel();
this.prepgbottomrcorner = new System.Windows.Forms.Panel();
this.pretitlebar = new System.Windows.Forms.Panel();
this.preminimizebutton = new System.Windows.Forms.Panel();
this.prepnlicon = new System.Windows.Forms.PictureBox();
this.prerollupbutton = new System.Windows.Forms.Panel();
this.preclosebutton = new System.Windows.Forms.Panel();
this.pretitletext = new System.Windows.Forms.Label();
this.prepgtoplcorner = new System.Windows.Forms.Panel();
this.prepgtoprcorner = new System.Windows.Forms.Panel();
this.pnlskinpacks = new System.Windows.Forms.Panel();
this.btnapplypackskin = new System.Windows.Forms.Button();
this.label6 = new System.Windows.Forms.Label();
this.cbpackfiles = new System.Windows.Forms.ComboBox();
this.btnbrowse = new System.Windows.Forms.Button();
this.txtpackpath = new System.Windows.Forms.TextBox();
this.btnbacktoskinloader = new System.Windows.Forms.Button();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.pgcontents = new ShiftUI.Panel();
this.label3 = new ShiftUI.Label();
this.btnapplyskin = new ShiftUI.Button();
this.btnsaveskin = new ShiftUI.Button();
this.btnloadskin = new ShiftUI.Button();
this.Label2 = new ShiftUI.Label();
this.btnclose = new ShiftUI.Button();
this.pnldesktoppreview = new ShiftUI.Panel();
this.predesktoppanel = new ShiftUI.Panel();
this.prepnlpanelbuttonholder = new ShiftUI.FlowLayoutPanel();
this.prepnlpanelbutton = new ShiftUI.Panel();
this.pretbicon = new ShiftUI.PictureBox();
this.pretbctext = new ShiftUI.Label();
this.pretimepanel = new ShiftUI.Panel();
this.prepaneltimetext = new ShiftUI.Label();
this.preapplaunchermenuholder = new ShiftUI.Panel();
this.predesktopappmenu = new ShiftUI.MenuStrip();
this.ApplicationsToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
this.KnowledgeInputToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
this.ShiftoriumToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
this.ClockToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
this.TerminalToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
this.ShifterToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
this.ToolStripSeparator1 = new ShiftUI.ToolStripSeparator();
this.ShutdownToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
this.Label1 = new ShiftUI.Label();
this.pnlwindowpreview = new ShiftUI.Panel();
this.prepgcontent = new ShiftUI.Panel();
this.prepgbottom = new ShiftUI.Panel();
this.prepgleft = new ShiftUI.Panel();
this.prepgbottomlcorner = new ShiftUI.Panel();
this.prepgright = new ShiftUI.Panel();
this.prepgbottomrcorner = new ShiftUI.Panel();
this.pretitlebar = new ShiftUI.Panel();
this.preminimizebutton = new ShiftUI.Panel();
this.prepnlicon = new ShiftUI.PictureBox();
this.prerollupbutton = new ShiftUI.Panel();
this.preclosebutton = new ShiftUI.Panel();
this.pretitletext = new ShiftUI.Label();
this.prepgtoplcorner = new ShiftUI.Panel();
this.prepgtoprcorner = new ShiftUI.Panel();
this.pnlskinpacks = new ShiftUI.Panel();
this.btnapplypackskin = new ShiftUI.Button();
this.label6 = new ShiftUI.Label();
this.cbpackfiles = new ShiftUI.ComboBox();
this.btnbrowse = new ShiftUI.Button();
this.txtpackpath = new ShiftUI.TextBox();
this.btnbacktoskinloader = new ShiftUI.Button();
this.label5 = new ShiftUI.Label();
this.label4 = new ShiftUI.Label();
this.panel1 = new ShiftUI.Panel();
this.pgcontents.SuspendLayout();
this.pnldesktoppreview.SuspendLayout();
this.predesktoppanel.SuspendLayout();
@ -97,16 +97,16 @@ namespace ShiftOS
// pgcontents
//
this.pgcontents.BackColor = System.Drawing.Color.White;
this.pgcontents.Controls.Add(this.label3);
this.pgcontents.Controls.Add(this.btnapplyskin);
this.pgcontents.Controls.Add(this.btnsaveskin);
this.pgcontents.Controls.Add(this.btnloadskin);
this.pgcontents.Controls.Add(this.Label2);
this.pgcontents.Controls.Add(this.btnclose);
this.pgcontents.Controls.Add(this.pnldesktoppreview);
this.pgcontents.Controls.Add(this.Label1);
this.pgcontents.Controls.Add(this.pnlwindowpreview);
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
this.pgcontents.Widgets.Add(this.label3);
this.pgcontents.Widgets.Add(this.btnapplyskin);
this.pgcontents.Widgets.Add(this.btnsaveskin);
this.pgcontents.Widgets.Add(this.btnloadskin);
this.pgcontents.Widgets.Add(this.Label2);
this.pgcontents.Widgets.Add(this.btnclose);
this.pgcontents.Widgets.Add(this.pnldesktoppreview);
this.pgcontents.Widgets.Add(this.Label1);
this.pgcontents.Widgets.Add(this.pnlwindowpreview);
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(476, 462);
@ -114,8 +114,8 @@ namespace ShiftOS
//
// label3
//
this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label3.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.label3.Location = new System.Drawing.Point(10, 384);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(454, 31);
@ -126,8 +126,8 @@ namespace ShiftOS
//
// btnapplyskin
//
this.btnapplyskin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnapplyskin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnapplyskin.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btnapplyskin.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnapplyskin.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnapplyskin.Location = new System.Drawing.Point(352, 418);
this.btnapplyskin.Name = "btnapplyskin";
@ -139,8 +139,8 @@ namespace ShiftOS
//
// btnsaveskin
//
this.btnsaveskin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnsaveskin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsaveskin.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
this.btnsaveskin.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnsaveskin.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnsaveskin.Location = new System.Drawing.Point(239, 418);
this.btnsaveskin.Name = "btnsaveskin";
@ -152,8 +152,8 @@ namespace ShiftOS
//
// btnloadskin
//
this.btnloadskin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnloadskin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnloadskin.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.btnloadskin.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnloadskin.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnloadskin.Location = new System.Drawing.Point(126, 418);
this.btnloadskin.Name = "btnloadskin";
@ -165,8 +165,8 @@ namespace ShiftOS
//
// Label2
//
this.Label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.Label2.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.Label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Label2.Location = new System.Drawing.Point(4, 200);
this.Label2.Name = "Label2";
@ -177,8 +177,8 @@ namespace ShiftOS
//
// btnclose
//
this.btnclose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnclose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnclose.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.btnclose.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnclose.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnclose.Location = new System.Drawing.Point(13, 418);
this.btnclose.Name = "btnclose";
@ -190,10 +190,10 @@ namespace ShiftOS
//
// pnldesktoppreview
//
this.pnldesktoppreview.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pnldesktoppreview.Controls.Add(this.predesktoppanel);
this.pnldesktoppreview.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.pnldesktoppreview.Widgets.Add(this.predesktoppanel);
this.pnldesktoppreview.Location = new System.Drawing.Point(13, 233);
this.pnldesktoppreview.Name = "pnldesktoppreview";
this.pnldesktoppreview.Size = new System.Drawing.Size(448, 148);
@ -202,10 +202,10 @@ namespace ShiftOS
// predesktoppanel
//
this.predesktoppanel.BackColor = System.Drawing.Color.Gray;
this.predesktoppanel.Controls.Add(this.prepnlpanelbuttonholder);
this.predesktoppanel.Controls.Add(this.pretimepanel);
this.predesktoppanel.Controls.Add(this.preapplaunchermenuholder);
this.predesktoppanel.Dock = System.Windows.Forms.DockStyle.Top;
this.predesktoppanel.Widgets.Add(this.prepnlpanelbuttonholder);
this.predesktoppanel.Widgets.Add(this.pretimepanel);
this.predesktoppanel.Widgets.Add(this.preapplaunchermenuholder);
this.predesktoppanel.Dock = ShiftUI.DockStyle.Top;
this.predesktoppanel.Location = new System.Drawing.Point(0, 0);
this.predesktoppanel.Name = "predesktoppanel";
this.predesktoppanel.Size = new System.Drawing.Size(448, 25);
@ -214,19 +214,19 @@ namespace ShiftOS
// prepnlpanelbuttonholder
//
this.prepnlpanelbuttonholder.BackColor = System.Drawing.Color.Transparent;
this.prepnlpanelbuttonholder.Controls.Add(this.prepnlpanelbutton);
this.prepnlpanelbuttonholder.Dock = System.Windows.Forms.DockStyle.Fill;
this.prepnlpanelbuttonholder.Widgets.Add(this.prepnlpanelbutton);
this.prepnlpanelbuttonholder.Dock = ShiftUI.DockStyle.Fill;
this.prepnlpanelbuttonholder.Location = new System.Drawing.Point(116, 0);
this.prepnlpanelbuttonholder.Name = "prepnlpanelbuttonholder";
this.prepnlpanelbuttonholder.Padding = new System.Windows.Forms.Padding(2, 0, 0, 0);
this.prepnlpanelbuttonholder.Padding = new ShiftUI.Padding(2, 0, 0, 0);
this.prepnlpanelbuttonholder.Size = new System.Drawing.Size(235, 25);
this.prepnlpanelbuttonholder.TabIndex = 7;
//
// prepnlpanelbutton
//
this.prepnlpanelbutton.BackColor = System.Drawing.Color.Black;
this.prepnlpanelbutton.Controls.Add(this.pretbicon);
this.prepnlpanelbutton.Controls.Add(this.pretbctext);
this.prepnlpanelbutton.Widgets.Add(this.pretbicon);
this.prepnlpanelbutton.Widgets.Add(this.pretbctext);
this.prepnlpanelbutton.Location = new System.Drawing.Point(5, 3);
this.prepnlpanelbutton.Name = "prepnlpanelbutton";
this.prepnlpanelbutton.Size = new System.Drawing.Size(126, 20);
@ -236,7 +236,7 @@ namespace ShiftOS
// pretbicon
//
this.pretbicon.BackColor = System.Drawing.Color.Transparent;
this.pretbicon.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pretbicon.BackgroundImageLayout = ShiftUI.ImageLayout.Stretch;
this.pretbicon.Image = global::ShiftOS.Properties.Resources.iconShifter;
this.pretbicon.Location = new System.Drawing.Point(4, 2);
this.pretbicon.Name = "pretbicon";
@ -258,8 +258,8 @@ namespace ShiftOS
//
// pretimepanel
//
this.pretimepanel.Controls.Add(this.prepaneltimetext);
this.pretimepanel.Dock = System.Windows.Forms.DockStyle.Right;
this.pretimepanel.Widgets.Add(this.prepaneltimetext);
this.pretimepanel.Dock = ShiftUI.DockStyle.Right;
this.pretimepanel.Location = new System.Drawing.Point(351, 0);
this.pretimepanel.Name = "pretimepanel";
this.pretimepanel.Size = new System.Drawing.Size(97, 25);
@ -279,8 +279,8 @@ namespace ShiftOS
//
// preapplaunchermenuholder
//
this.preapplaunchermenuholder.Controls.Add(this.predesktopappmenu);
this.preapplaunchermenuholder.Dock = System.Windows.Forms.DockStyle.Left;
this.preapplaunchermenuholder.Widgets.Add(this.predesktopappmenu);
this.preapplaunchermenuholder.Dock = ShiftUI.DockStyle.Left;
this.preapplaunchermenuholder.Location = new System.Drawing.Point(0, 0);
this.preapplaunchermenuholder.Name = "preapplaunchermenuholder";
this.preapplaunchermenuholder.Size = new System.Drawing.Size(116, 25);
@ -289,12 +289,12 @@ namespace ShiftOS
// predesktopappmenu
//
this.predesktopappmenu.AutoSize = false;
this.predesktopappmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.predesktopappmenu.Items.AddRange(new ShiftUI.ToolStripItem[] {
this.ApplicationsToolStripMenuItem});
this.predesktopappmenu.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow;
this.predesktopappmenu.LayoutStyle = ShiftUI.ToolStripLayoutStyle.HorizontalStackWithOverflow;
this.predesktopappmenu.Location = new System.Drawing.Point(0, 0);
this.predesktopappmenu.Name = "predesktopappmenu";
this.predesktopappmenu.Padding = new System.Windows.Forms.Padding(0);
this.predesktopappmenu.Padding = new ShiftUI.Padding(0);
this.predesktopappmenu.Size = new System.Drawing.Size(116, 24);
this.predesktopappmenu.TabIndex = 0;
this.predesktopappmenu.Text = "MenuStrip1";
@ -302,7 +302,7 @@ namespace ShiftOS
// ApplicationsToolStripMenuItem
//
this.ApplicationsToolStripMenuItem.AutoSize = false;
this.ApplicationsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.ApplicationsToolStripMenuItem.DropDownItems.AddRange(new ShiftUI.ToolStripItem[] {
this.KnowledgeInputToolStripMenuItem,
this.ShiftoriumToolStripMenuItem,
this.ClockToolStripMenuItem,
@ -312,12 +312,12 @@ namespace ShiftOS
this.ShutdownToolStripMenuItem});
this.ApplicationsToolStripMenuItem.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.749999F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ApplicationsToolStripMenuItem.Name = "ApplicationsToolStripMenuItem";
this.ApplicationsToolStripMenuItem.Padding = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.ApplicationsToolStripMenuItem.Padding = new ShiftUI.Padding(2, 0, 2, 0);
this.ApplicationsToolStripMenuItem.ShowShortcutKeys = false;
this.ApplicationsToolStripMenuItem.Size = new System.Drawing.Size(102, 24);
this.ApplicationsToolStripMenuItem.Text = "Applications";
this.ApplicationsToolStripMenuItem.TextDirection = System.Windows.Forms.ToolStripTextDirection.Horizontal;
this.ApplicationsToolStripMenuItem.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage;
this.ApplicationsToolStripMenuItem.TextDirection = ShiftUI.ToolStripTextDirection.Horizontal;
this.ApplicationsToolStripMenuItem.TextImageRelation = ShiftUI.TextImageRelation.TextBeforeImage;
//
// KnowledgeInputToolStripMenuItem
//
@ -374,8 +374,8 @@ namespace ShiftOS
//
// 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.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Label1.Location = new System.Drawing.Point(4, 6);
this.Label1.Name = "Label1";
@ -386,13 +386,13 @@ namespace ShiftOS
//
// pnlwindowpreview
//
this.pnlwindowpreview.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pnlwindowpreview.Controls.Add(this.prepgcontent);
this.pnlwindowpreview.Controls.Add(this.prepgbottom);
this.pnlwindowpreview.Controls.Add(this.prepgleft);
this.pnlwindowpreview.Controls.Add(this.prepgright);
this.pnlwindowpreview.Controls.Add(this.pretitlebar);
this.pnlwindowpreview.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.pnlwindowpreview.Widgets.Add(this.prepgcontent);
this.pnlwindowpreview.Widgets.Add(this.prepgbottom);
this.pnlwindowpreview.Widgets.Add(this.prepgleft);
this.pnlwindowpreview.Widgets.Add(this.prepgright);
this.pnlwindowpreview.Widgets.Add(this.pretitlebar);
this.pnlwindowpreview.Location = new System.Drawing.Point(13, 39);
this.pnlwindowpreview.Name = "pnlwindowpreview";
this.pnlwindowpreview.Size = new System.Drawing.Size(448, 148);
@ -400,7 +400,7 @@ namespace ShiftOS
//
// prepgcontent
//
this.prepgcontent.Dock = System.Windows.Forms.DockStyle.Fill;
this.prepgcontent.Dock = ShiftUI.DockStyle.Fill;
this.prepgcontent.Location = new System.Drawing.Point(2, 30);
this.prepgcontent.Name = "prepgcontent";
this.prepgcontent.Size = new System.Drawing.Size(444, 116);
@ -409,7 +409,7 @@ namespace ShiftOS
// prepgbottom
//
this.prepgbottom.BackColor = System.Drawing.Color.Gray;
this.prepgbottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.prepgbottom.Dock = ShiftUI.DockStyle.Bottom;
this.prepgbottom.Location = new System.Drawing.Point(2, 146);
this.prepgbottom.Name = "prepgbottom";
this.prepgbottom.Size = new System.Drawing.Size(444, 2);
@ -418,8 +418,8 @@ namespace ShiftOS
// prepgleft
//
this.prepgleft.BackColor = System.Drawing.Color.Gray;
this.prepgleft.Controls.Add(this.prepgbottomlcorner);
this.prepgleft.Dock = System.Windows.Forms.DockStyle.Left;
this.prepgleft.Widgets.Add(this.prepgbottomlcorner);
this.prepgleft.Dock = ShiftUI.DockStyle.Left;
this.prepgleft.Location = new System.Drawing.Point(0, 30);
this.prepgleft.Name = "prepgleft";
this.prepgleft.Size = new System.Drawing.Size(2, 118);
@ -428,7 +428,7 @@ namespace ShiftOS
// prepgbottomlcorner
//
this.prepgbottomlcorner.BackColor = System.Drawing.Color.Red;
this.prepgbottomlcorner.Dock = System.Windows.Forms.DockStyle.Bottom;
this.prepgbottomlcorner.Dock = ShiftUI.DockStyle.Bottom;
this.prepgbottomlcorner.Location = new System.Drawing.Point(0, 116);
this.prepgbottomlcorner.Name = "prepgbottomlcorner";
this.prepgbottomlcorner.Size = new System.Drawing.Size(2, 2);
@ -437,8 +437,8 @@ namespace ShiftOS
// prepgright
//
this.prepgright.BackColor = System.Drawing.Color.Gray;
this.prepgright.Controls.Add(this.prepgbottomrcorner);
this.prepgright.Dock = System.Windows.Forms.DockStyle.Right;
this.prepgright.Widgets.Add(this.prepgbottomrcorner);
this.prepgright.Dock = ShiftUI.DockStyle.Right;
this.prepgright.Location = new System.Drawing.Point(446, 30);
this.prepgright.Name = "prepgright";
this.prepgright.Size = new System.Drawing.Size(2, 118);
@ -447,7 +447,7 @@ namespace ShiftOS
// prepgbottomrcorner
//
this.prepgbottomrcorner.BackColor = System.Drawing.Color.Red;
this.prepgbottomrcorner.Dock = System.Windows.Forms.DockStyle.Bottom;
this.prepgbottomrcorner.Dock = ShiftUI.DockStyle.Bottom;
this.prepgbottomrcorner.Location = new System.Drawing.Point(0, 116);
this.prepgbottomrcorner.Name = "prepgbottomrcorner";
this.prepgbottomrcorner.Size = new System.Drawing.Size(2, 2);
@ -456,14 +456,14 @@ namespace ShiftOS
// pretitlebar
//
this.pretitlebar.BackColor = System.Drawing.Color.Gray;
this.pretitlebar.Controls.Add(this.preminimizebutton);
this.pretitlebar.Controls.Add(this.prepnlicon);
this.pretitlebar.Controls.Add(this.prerollupbutton);
this.pretitlebar.Controls.Add(this.preclosebutton);
this.pretitlebar.Controls.Add(this.pretitletext);
this.pretitlebar.Controls.Add(this.prepgtoplcorner);
this.pretitlebar.Controls.Add(this.prepgtoprcorner);
this.pretitlebar.Dock = System.Windows.Forms.DockStyle.Top;
this.pretitlebar.Widgets.Add(this.preminimizebutton);
this.pretitlebar.Widgets.Add(this.prepnlicon);
this.pretitlebar.Widgets.Add(this.prerollupbutton);
this.pretitlebar.Widgets.Add(this.preclosebutton);
this.pretitlebar.Widgets.Add(this.pretitletext);
this.pretitlebar.Widgets.Add(this.prepgtoplcorner);
this.pretitlebar.Widgets.Add(this.prepgtoprcorner);
this.pretitlebar.Dock = ShiftUI.DockStyle.Top;
this.pretitlebar.ForeColor = System.Drawing.Color.White;
this.pretitlebar.Location = new System.Drawing.Point(0, 0);
this.pretitlebar.Name = "pretitlebar";
@ -519,7 +519,7 @@ namespace ShiftOS
// prepgtoplcorner
//
this.prepgtoplcorner.BackColor = System.Drawing.Color.Red;
this.prepgtoplcorner.Dock = System.Windows.Forms.DockStyle.Left;
this.prepgtoplcorner.Dock = ShiftUI.DockStyle.Left;
this.prepgtoplcorner.Location = new System.Drawing.Point(0, 0);
this.prepgtoplcorner.Name = "prepgtoplcorner";
this.prepgtoplcorner.Size = new System.Drawing.Size(2, 30);
@ -528,7 +528,7 @@ namespace ShiftOS
// prepgtoprcorner
//
this.prepgtoprcorner.BackColor = System.Drawing.Color.Red;
this.prepgtoprcorner.Dock = System.Windows.Forms.DockStyle.Right;
this.prepgtoprcorner.Dock = ShiftUI.DockStyle.Right;
this.prepgtoprcorner.Location = new System.Drawing.Point(446, 0);
this.prepgtoprcorner.Name = "prepgtoprcorner";
this.prepgtoprcorner.Size = new System.Drawing.Size(2, 30);
@ -537,15 +537,15 @@ namespace ShiftOS
// pnlskinpacks
//
this.pnlskinpacks.BackColor = System.Drawing.Color.White;
this.pnlskinpacks.Controls.Add(this.btnapplypackskin);
this.pnlskinpacks.Controls.Add(this.label6);
this.pnlskinpacks.Controls.Add(this.cbpackfiles);
this.pnlskinpacks.Controls.Add(this.btnbrowse);
this.pnlskinpacks.Controls.Add(this.txtpackpath);
this.pnlskinpacks.Controls.Add(this.btnbacktoskinloader);
this.pnlskinpacks.Controls.Add(this.label5);
this.pnlskinpacks.Controls.Add(this.label4);
this.pnlskinpacks.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlskinpacks.Widgets.Add(this.btnapplypackskin);
this.pnlskinpacks.Widgets.Add(this.label6);
this.pnlskinpacks.Widgets.Add(this.cbpackfiles);
this.pnlskinpacks.Widgets.Add(this.btnbrowse);
this.pnlskinpacks.Widgets.Add(this.txtpackpath);
this.pnlskinpacks.Widgets.Add(this.btnbacktoskinloader);
this.pnlskinpacks.Widgets.Add(this.label5);
this.pnlskinpacks.Widgets.Add(this.label4);
this.pnlskinpacks.Dock = ShiftUI.DockStyle.Fill;
this.pnlskinpacks.Location = new System.Drawing.Point(0, 0);
this.pnlskinpacks.Name = "pnlskinpacks";
this.pnlskinpacks.Size = new System.Drawing.Size(476, 462);
@ -553,8 +553,8 @@ namespace ShiftOS
//
// btnapplypackskin
//
this.btnapplypackskin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnapplypackskin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnapplypackskin.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.btnapplypackskin.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnapplypackskin.Location = new System.Drawing.Point(379, 418);
this.btnapplypackskin.Name = "btnapplypackskin";
this.btnapplypackskin.Size = new System.Drawing.Size(94, 41);
@ -583,8 +583,8 @@ namespace ShiftOS
//
// btnbrowse
//
this.btnbrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnbrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnbrowse.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
this.btnbrowse.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnbrowse.Location = new System.Drawing.Point(389, 138);
this.btnbrowse.Name = "btnbrowse";
this.btnbrowse.Size = new System.Drawing.Size(75, 23);
@ -595,9 +595,9 @@ namespace ShiftOS
//
// txtpackpath
//
this.txtpackpath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtpackpath.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.txtpackpath.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.txtpackpath.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.txtpackpath.Location = new System.Drawing.Point(13, 141);
this.txtpackpath.Name = "txtpackpath";
this.txtpackpath.Size = new System.Drawing.Size(370, 20);
@ -605,8 +605,8 @@ namespace ShiftOS
//
// btnbacktoskinloader
//
this.btnbacktoskinloader.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.btnbacktoskinloader.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnbacktoskinloader.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
this.btnbacktoskinloader.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnbacktoskinloader.Location = new System.Drawing.Point(3, 418);
this.btnbacktoskinloader.Name = "btnbacktoskinloader";
this.btnbacktoskinloader.Size = new System.Drawing.Size(94, 41);
@ -617,8 +617,8 @@ namespace ShiftOS
//
// label5
//
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label5.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label5.Location = new System.Drawing.Point(5, 28);
this.label5.Name = "label5";
@ -629,8 +629,8 @@ namespace ShiftOS
//
// label4
//
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.label4.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
this.label4.Location = new System.Drawing.Point(3, 6);
this.label4.Name = "label4";
@ -641,9 +641,9 @@ namespace ShiftOS
//
// panel1
//
this.panel1.Controls.Add(this.pgcontents);
this.panel1.Controls.Add(this.pnlskinpacks);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Widgets.Add(this.pgcontents);
this.panel1.Widgets.Add(this.pnlskinpacks);
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(476, 462);
@ -652,10 +652,10 @@ namespace ShiftOS
// SkinLoader
//
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(476, 462);
this.Controls.Add(this.panel1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Widgets.Add(this.panel1);
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
this.Name = "SkinLoader";
this.Text = "Skin_Loader";
this.TopMost = true;
@ -684,56 +684,56 @@ namespace ShiftOS
this.ResumeLayout(false);
}
internal System.Windows.Forms.Panel pgcontents;
internal System.Windows.Forms.Label Label1;
internal System.Windows.Forms.Panel pnlwindowpreview;
internal System.Windows.Forms.Panel prepgcontent;
internal System.Windows.Forms.Panel prepgbottom;
internal System.Windows.Forms.Panel prepgleft;
internal System.Windows.Forms.Panel prepgbottomlcorner;
internal System.Windows.Forms.Panel prepgright;
internal System.Windows.Forms.Panel prepgbottomrcorner;
internal System.Windows.Forms.Panel pretitlebar;
internal System.Windows.Forms.PictureBox prepnlicon;
internal System.Windows.Forms.Panel prerollupbutton;
internal System.Windows.Forms.Panel preclosebutton;
internal System.Windows.Forms.Label pretitletext;
internal System.Windows.Forms.Panel prepgtoplcorner;
internal System.Windows.Forms.Panel prepgtoprcorner;
internal System.Windows.Forms.Button btnapplyskin;
internal System.Windows.Forms.Button btnsaveskin;
internal System.Windows.Forms.Button btnloadskin;
internal System.Windows.Forms.Label Label2;
internal System.Windows.Forms.Button btnclose;
internal System.Windows.Forms.Panel pnldesktoppreview;
internal System.Windows.Forms.Panel predesktoppanel;
internal System.Windows.Forms.Panel pretimepanel;
internal System.Windows.Forms.Label prepaneltimetext;
internal System.Windows.Forms.Panel preapplaunchermenuholder;
internal System.Windows.Forms.MenuStrip predesktopappmenu;
internal System.Windows.Forms.ToolStripMenuItem ApplicationsToolStripMenuItem;
internal System.Windows.Forms.ToolStripMenuItem KnowledgeInputToolStripMenuItem;
internal System.Windows.Forms.ToolStripMenuItem ShiftoriumToolStripMenuItem;
internal System.Windows.Forms.ToolStripMenuItem ClockToolStripMenuItem;
internal System.Windows.Forms.ToolStripMenuItem TerminalToolStripMenuItem;
internal System.Windows.Forms.ToolStripMenuItem ShifterToolStripMenuItem;
internal System.Windows.Forms.ToolStripSeparator ToolStripSeparator1;
internal System.Windows.Forms.ToolStripMenuItem ShutdownToolStripMenuItem;
internal System.Windows.Forms.Panel preminimizebutton;
internal System.Windows.Forms.FlowLayoutPanel prepnlpanelbuttonholder;
internal System.Windows.Forms.Panel prepnlpanelbutton;
internal System.Windows.Forms.PictureBox pretbicon;
internal System.Windows.Forms.Label pretbctext;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Panel pnlskinpacks;
private System.Windows.Forms.Button btnbacktoskinloader;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Button btnbrowse;
private System.Windows.Forms.TextBox txtpackpath;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.ComboBox cbpackfiles;
private System.Windows.Forms.Button btnapplypackskin;
private System.Windows.Forms.Panel panel1;
internal ShiftUI.Panel pgcontents;
internal ShiftUI.Label Label1;
internal ShiftUI.Panel pnlwindowpreview;
internal ShiftUI.Panel prepgcontent;
internal ShiftUI.Panel prepgbottom;
internal ShiftUI.Panel prepgleft;
internal ShiftUI.Panel prepgbottomlcorner;
internal ShiftUI.Panel prepgright;
internal ShiftUI.Panel prepgbottomrcorner;
internal ShiftUI.Panel pretitlebar;
internal ShiftUI.PictureBox prepnlicon;
internal ShiftUI.Panel prerollupbutton;
internal ShiftUI.Panel preclosebutton;
internal ShiftUI.Label pretitletext;
internal ShiftUI.Panel prepgtoplcorner;
internal ShiftUI.Panel prepgtoprcorner;
internal ShiftUI.Button btnapplyskin;
internal ShiftUI.Button btnsaveskin;
internal ShiftUI.Button btnloadskin;
internal ShiftUI.Label Label2;
internal ShiftUI.Button btnclose;
internal ShiftUI.Panel pnldesktoppreview;
internal ShiftUI.Panel predesktoppanel;
internal ShiftUI.Panel pretimepanel;
internal ShiftUI.Label prepaneltimetext;
internal ShiftUI.Panel preapplaunchermenuholder;
internal ShiftUI.MenuStrip predesktopappmenu;
internal ShiftUI.ToolStripMenuItem ApplicationsToolStripMenuItem;
internal ShiftUI.ToolStripMenuItem KnowledgeInputToolStripMenuItem;
internal ShiftUI.ToolStripMenuItem ShiftoriumToolStripMenuItem;
internal ShiftUI.ToolStripMenuItem ClockToolStripMenuItem;
internal ShiftUI.ToolStripMenuItem TerminalToolStripMenuItem;
internal ShiftUI.ToolStripMenuItem ShifterToolStripMenuItem;
internal ShiftUI.ToolStripSeparator ToolStripSeparator1;
internal ShiftUI.ToolStripMenuItem ShutdownToolStripMenuItem;
internal ShiftUI.Panel preminimizebutton;
internal ShiftUI.FlowLayoutPanel prepnlpanelbuttonholder;
internal ShiftUI.Panel prepnlpanelbutton;
internal ShiftUI.PictureBox pretbicon;
internal ShiftUI.Label pretbctext;
private ShiftUI.Label label3;
private ShiftUI.Panel pnlskinpacks;
private ShiftUI.Button btnbacktoskinloader;
private ShiftUI.Label label5;
private ShiftUI.Label label4;
private ShiftUI.Button btnbrowse;
private ShiftUI.TextBox txtpackpath;
private ShiftUI.Label label6;
private ShiftUI.ComboBox cbpackfiles;
private ShiftUI.Button btnapplypackskin;
private ShiftUI.Panel panel1;
}
}

View file

@ -8,7 +8,7 @@ using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="predesktopappmenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>

View file

@ -31,24 +31,24 @@ namespace ShiftOS
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.txtterm = new System.Windows.Forms.TextBox();
this.tmrfirstrun = new System.Windows.Forms.Timer(this.components);
this.tmrshutdown = new System.Windows.Forms.Timer(this.components);
this.pullbs = new System.Windows.Forms.Timer(this.components);
this.pullbottom = new System.Windows.Forms.Timer(this.components);
this.pullside = new System.Windows.Forms.Timer(this.components);
this.tmrstorylineupdate = new System.Windows.Forms.Timer(this.components);
this.panel2 = new System.Windows.Forms.Panel();
this.tmrsetfont = new System.Windows.Forms.Timer(this.components);
this.txtterm = new ShiftUI.TextBox();
this.tmrfirstrun = new ShiftUI.Timer(this.components);
this.tmrshutdown = new ShiftUI.Timer(this.components);
this.pullbs = new ShiftUI.Timer(this.components);
this.pullbottom = new ShiftUI.Timer(this.components);
this.pullside = new ShiftUI.Timer(this.components);
this.tmrstorylineupdate = new ShiftUI.Timer(this.components);
this.panel2 = new ShiftUI.Panel();
this.tmrsetfont = new ShiftUI.Timer(this.components);
this.panel2.SuspendLayout();
this.SuspendLayout();
//
// txtterm
//
this.txtterm.BackColor = System.Drawing.Color.Black;
this.txtterm.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtterm.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtterm.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtterm.BorderStyle = ShiftUI.BorderStyle.None;
this.txtterm.Cursor = ShiftUI.Cursors.IBeam;
this.txtterm.Dock = ShiftUI.DockStyle.Fill;
this.txtterm.Font = new System.Drawing.Font("Lucida Console", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtterm.ForeColor = System.Drawing.Color.White;
this.txtterm.Location = new System.Drawing.Point(0, 0);
@ -56,8 +56,8 @@ namespace ShiftOS
this.txtterm.Name = "txtterm";
this.txtterm.Size = new System.Drawing.Size(650, 396);
this.txtterm.TabIndex = 0;
this.txtterm.KeyUp += new System.Windows.Forms.KeyEventHandler(this.ScrollDeactivate);
this.txtterm.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ScrollTerm);
this.txtterm.KeyUp += new ShiftUI.KeyEventHandler(this.ScrollDeactivate);
this.txtterm.MouseMove += new ShiftUI.MouseEventHandler(this.ScrollTerm);
//
// tmrfirstrun
//
@ -81,8 +81,8 @@ namespace ShiftOS
//
// panel2
//
this.panel2.Controls.Add(this.txtterm);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Widgets.Add(this.txtterm);
this.panel2.Dock = ShiftUI.DockStyle.Fill;
this.panel2.Location = new System.Drawing.Point(0, 0);
this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(650, 396);
@ -95,11 +95,11 @@ namespace ShiftOS
// Terminal
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Black;
this.ClientSize = new System.Drawing.Size(650, 396);
this.Controls.Add(this.panel2);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Widgets.Add(this.panel2);
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
this.KeyPreview = true;
this.MinimumSize = new System.Drawing.Size(350, 200);
this.Name = "Terminal";
@ -111,16 +111,16 @@ namespace ShiftOS
this.ResumeLayout(false);
}
internal System.Windows.Forms.TextBox txtterm;
internal System.Windows.Forms.Timer tmrfirstrun;
internal System.Windows.Forms.Timer tmrshutdown;
internal System.Windows.Forms.Timer pullbs;
internal System.Windows.Forms.Timer pullbottom;
internal System.Windows.Forms.Timer pullside;
internal System.Windows.Forms.Timer tmrstorylineupdate;
internal ShiftUI.TextBox txtterm;
internal ShiftUI.Timer tmrfirstrun;
internal ShiftUI.Timer tmrshutdown;
internal ShiftUI.Timer pullbs;
internal ShiftUI.Timer pullbottom;
internal ShiftUI.Timer pullside;
internal ShiftUI.Timer tmrstorylineupdate;
#endregion
private System.Windows.Forms.Panel panel2;
private System.Windows.Forms.Timer tmrsetfont;
private ShiftUI.Panel panel2;
private ShiftUI.Timer tmrsetfont;
}
}

View file

@ -13,7 +13,7 @@ using System.Net;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -37,7 +37,7 @@ namespace ShiftOS
public void StartOtherPlayerStory()
{
var t = new System.Windows.Forms.Timer();
var t = new ShiftUI.Timer();
t.Interval = 4000;
int i = 0;
t.Tick += (object s, EventArgs a) =>
@ -160,7 +160,7 @@ namespace ShiftOS
{
if(ModLogger == true)
{
var tmrlog = new System.Windows.Forms.Timer();
var tmrlog = new ShiftUI.Timer();
tmrlog.Interval = 500;
tmrlog.Tick += (object s, EventArgs a) =>
{
@ -242,16 +242,16 @@ namespace ShiftOS
}
// ERROR: Handles clauses are not supported in C#
private void txtterm_KeyPress(object sender, System.Windows.Forms.KeyEventArgs e)
private void txtterm_KeyPress(object sender, ShiftUI.KeyEventArgs e)
{
if(e.Control) {
if(e.Widget) {
if(API.Upgrades["zoomableterminal"] == true)
{
Zooming = true;
}
}
if (e.KeyCode == Keys.T && e.Control && blockctrlt == false)
if (e.KeyCode == Keys.T && e.Widget && blockctrlt == false)
{
this.Close();
e.SuppressKeyPress = true;
@ -590,7 +590,7 @@ Password: z7fjsd3");
internal void StartBridgeToMidGame()
{
var t2 = new System.Windows.Forms.Timer();
var t2 = new ShiftUI.Timer();
t2.Interval = 4000;
int i2 = 0;
t2.Tick += (object s, EventArgs e) =>
@ -657,7 +657,7 @@ Password: z7fjsd3");
i2 += 1;
};
var t = new System.Windows.Forms.Timer();
var t = new ShiftUI.Timer();
t.Interval = 4000;
int i = 0;
@ -815,7 +815,7 @@ Password: z7fjsd3");
internal void StartAidenNirhStory()
{
var t = new System.Windows.Forms.Timer();
var t = new ShiftUI.Timer();
t.Interval = 4000;
int i = 0;
t.Tick += (object s, EventArgs a) =>
@ -853,7 +853,7 @@ Password: z7fjsd3");
internal void StartHacker101Story()
{
var t = new System.Windows.Forms.Timer();
var t = new ShiftUI.Timer();
t.Interval = 4000;
int i = 0;
@ -943,7 +943,7 @@ Password: z7fjsd3");
internal void StartOtherPlayerSysFix()
{
var t = new System.Windows.Forms.Timer();
var t = new ShiftUI.Timer();
t.Interval = 4000;
int i = 0;
t.Tick += (object s, EventArgs a) =>
@ -1051,7 +1051,7 @@ Password: z7fjsd3");
internal void StartHackerBattleIntro()
{
var t = new System.Windows.Forms.Timer();
var t = new ShiftUI.Timer();
t.Interval = 4000;
int i = 0;
t.Tick += (object s, EventArgs a) =>
@ -1142,7 +1142,7 @@ Password: z7fjsd3");
internal void StartDevXFuriousStory()
{
var t = new System.Windows.Forms.Timer();
var t = new ShiftUI.Timer();
t.Interval = 4000;
int i = 0;
t.Tick += (object s, EventArgs a) =>
@ -1235,7 +1235,7 @@ Password: z7fjsd3");
/// </summary>
public void StartShiftnetStory()
{
System.Windows.Forms.Timer tmrstory = new System.Windows.Forms.Timer();
ShiftUI.Timer tmrstory = new ShiftUI.Timer();
tmrstory.Interval = 10000;
WriteLine("IP <hidden@shiftnet> connecting as 'Maureen Fenn'...");
API.PlaySound(Properties.Resources.dial_up_modem_02);
@ -2273,7 +2273,7 @@ HIJACKER is a utility that allows you to hijack any system and install ShiftOS o
private void StartChoice1EndStory()
{
var t = new System.Windows.Forms.Timer();
var t = new ShiftUI.Timer();
int i = 0;
t.Interval = 4000;
t.Tick += (object s, EventArgs a) =>
@ -2379,7 +2379,7 @@ HIJACKER is a utility that allows you to hijack any system and install ShiftOS o
WriteLine(Environment.NewLine);
WriteLine("PANIC_ID: 750_15_4W3S0M3");
WriteLine("PANIC_DESC: System became too unstable to function properly. In 5 seconds, your session will be resumed.");
var t = new System.Windows.Forms.Timer();
var t = new ShiftUI.Timer();
t.Interval = 1000;
int p = 0;
t.Tick += (object s, EventArgs a) =>
@ -2401,7 +2401,7 @@ HIJACKER is a utility that allows you to hijack any system and install ShiftOS o
bool Hacking = false;
private Control objToWriteTo = null;
private Widget objToWriteTo = null;
private string UpgradeToHack = null;
public void StartHackingSession(string id)

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tmrfirstrun.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>

View file

@ -1,5 +1,5 @@
using System;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
@ -26,25 +26,25 @@ namespace ShiftOS
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.pgcontents = new System.Windows.Forms.Panel();
this.txtuserinput = new System.Windows.Forms.TextBox();
this.pnlbreak = new System.Windows.Forms.Panel();
this.pnloptions = new System.Windows.Forms.Panel();
this.btnsave = new System.Windows.Forms.Button();
this.btnopen = new System.Windows.Forms.Button();
this.btnnew = new System.Windows.Forms.Button();
this.tmrcodepointcooldown = new System.Windows.Forms.Timer(this.components);
this.tmrshowearnedcodepoints = new System.Windows.Forms.Timer(this.components);
this.pgcontents = new ShiftUI.Panel();
this.txtuserinput = new ShiftUI.TextBox();
this.pnlbreak = new ShiftUI.Panel();
this.pnloptions = new ShiftUI.Panel();
this.btnsave = new ShiftUI.Button();
this.btnopen = new ShiftUI.Button();
this.btnnew = new ShiftUI.Button();
this.tmrcodepointcooldown = new ShiftUI.Timer(this.components);
this.tmrshowearnedcodepoints = new ShiftUI.Timer(this.components);
this.pgcontents.SuspendLayout();
this.pnloptions.SuspendLayout();
this.SuspendLayout();
//
// pgcontents
//
this.pgcontents.Controls.Add(this.txtuserinput);
this.pgcontents.Controls.Add(this.pnlbreak);
this.pgcontents.Controls.Add(this.pnloptions);
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
this.pgcontents.Widgets.Add(this.txtuserinput);
this.pgcontents.Widgets.Add(this.pnlbreak);
this.pgcontents.Widgets.Add(this.pnloptions);
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(530, 330);
@ -52,17 +52,17 @@ namespace ShiftOS
//
// txtuserinput
//
this.txtuserinput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.txtuserinput.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.txtuserinput.BackColor = System.Drawing.Color.White;
this.txtuserinput.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.txtuserinput.BorderStyle = ShiftUI.BorderStyle.None;
this.txtuserinput.Font = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.txtuserinput.ForeColor = System.Drawing.Color.Black;
this.txtuserinput.Location = new System.Drawing.Point(4, 2);
this.txtuserinput.Multiline = true;
this.txtuserinput.Name = "txtuserinput";
this.txtuserinput.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.txtuserinput.ScrollBars = ShiftUI.ScrollBars.Vertical;
this.txtuserinput.Size = new System.Drawing.Size(528, 272);
this.txtuserinput.TabIndex = 0;
//
@ -70,8 +70,8 @@ namespace ShiftOS
//
this.pnlbreak.BackColor = System.Drawing.Color.White;
this.pnlbreak.BackgroundImage = global::ShiftOS.Properties.Resources.uparrow;
this.pnlbreak.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pnlbreak.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlbreak.BackgroundImageLayout = ShiftUI.ImageLayout.Center;
this.pnlbreak.Dock = ShiftUI.DockStyle.Bottom;
this.pnlbreak.ForeColor = System.Drawing.Color.Black;
this.pnlbreak.Location = new System.Drawing.Point(0, 277);
this.pnlbreak.Name = "pnlbreak";
@ -81,10 +81,10 @@ namespace ShiftOS
// pnloptions
//
this.pnloptions.BackColor = System.Drawing.Color.White;
this.pnloptions.Controls.Add(this.btnsave);
this.pnloptions.Controls.Add(this.btnopen);
this.pnloptions.Controls.Add(this.btnnew);
this.pnloptions.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnloptions.Widgets.Add(this.btnsave);
this.pnloptions.Widgets.Add(this.btnopen);
this.pnloptions.Widgets.Add(this.btnnew);
this.pnloptions.Dock = ShiftUI.DockStyle.Bottom;
this.pnloptions.Location = new System.Drawing.Point(0, 292);
this.pnloptions.Name = "pnloptions";
this.pnloptions.Size = new System.Drawing.Size(530, 38);
@ -94,7 +94,7 @@ namespace ShiftOS
// btnsave
//
this.btnsave.BackColor = System.Drawing.Color.White;
this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnsave.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnsave.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnsave.Image = global::ShiftOS.Properties.Resources.saveicon;
this.btnsave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
@ -109,7 +109,7 @@ namespace ShiftOS
// btnopen
//
this.btnopen.BackColor = System.Drawing.Color.White;
this.btnopen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnopen.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnopen.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnopen.Image = global::ShiftOS.Properties.Resources.openicon;
this.btnopen.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
@ -124,7 +124,7 @@ namespace ShiftOS
// btnnew
//
this.btnnew.BackColor = System.Drawing.Color.White;
this.btnnew.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnnew.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnnew.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnnew.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.btnnew.Location = new System.Drawing.Point(4, 4);
@ -146,11 +146,11 @@ namespace ShiftOS
// TextPad
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(530, 330);
this.Controls.Add(this.pgcontents);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Widgets.Add(this.pgcontents);
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
this.MinimumSize = new System.Drawing.Size(230, 230);
this.Name = "TextPad";
this.Text = "TextPad";
@ -168,14 +168,14 @@ namespace ShiftOS
this.tmrshowearnedcodepoints.Tick += new EventHandler(tmrshowearnedcodepoints_Tick);
this.pnlbreak.MouseEnter += new EventHandler(this.pnlbreak_MouseEnter);
}
internal System.Windows.Forms.Panel pgcontents;
internal System.Windows.Forms.TextBox txtuserinput;
internal System.Windows.Forms.Panel pnloptions;
internal System.Windows.Forms.Button btnnew;
internal System.Windows.Forms.Button btnsave;
internal System.Windows.Forms.Button btnopen;
internal System.Windows.Forms.Panel pnlbreak;
internal System.Windows.Forms.Timer tmrcodepointcooldown;
internal System.Windows.Forms.Timer tmrshowearnedcodepoints;
internal ShiftUI.Panel pgcontents;
internal ShiftUI.TextBox txtuserinput;
internal ShiftUI.Panel pnloptions;
internal ShiftUI.Button btnnew;
internal ShiftUI.Button btnsave;
internal ShiftUI.Button btnopen;
internal ShiftUI.Panel pnlbreak;
internal ShiftUI.Timer tmrcodepointcooldown;
internal ShiftUI.Timer tmrshowearnedcodepoints;
}
}

View file

@ -7,7 +7,7 @@ using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tmrcodepointcooldown.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>

View file

@ -29,22 +29,22 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.panel1 = new System.Windows.Forms.Panel();
this.pnlbuttons = new System.Windows.Forms.FlowLayoutPanel();
this.btndone = new System.Windows.Forms.Button();
this.btnadd = new System.Windows.Forms.Button();
this.cbpanel = new System.Windows.Forms.ComboBox();
this.txtwidth = new System.Windows.Forms.TextBox();
this.lbwidth = new System.Windows.Forms.Label();
this.txtx = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.lbtitle = new System.Windows.Forms.Label();
this.lvwidgets = new System.Windows.Forms.ListView();
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.listView1 = new System.Windows.Forms.ListView();
this.tmrcheckvalid = new System.Windows.Forms.Timer(this.components);
this.btninstallwidgets = new System.Windows.Forms.Button();
this.panel1 = new ShiftUI.Panel();
this.pnlbuttons = new ShiftUI.FlowLayoutPanel();
this.btndone = new ShiftUI.Button();
this.btnadd = new ShiftUI.Button();
this.cbpanel = new ShiftUI.ComboBox();
this.txtwidth = new ShiftUI.TextBox();
this.lbwidth = new ShiftUI.Label();
this.txtx = new ShiftUI.TextBox();
this.label1 = new ShiftUI.Label();
this.lbtitle = new ShiftUI.Label();
this.lvwidgets = new ShiftUI.ListView();
this.columnHeader1 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
this.columnHeader2 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
this.listView1 = new ShiftUI.ListView();
this.tmrcheckvalid = new ShiftUI.Timer(this.components);
this.btninstallwidgets = new ShiftUI.Button();
this.panel1.SuspendLayout();
this.pnlbuttons.SuspendLayout();
this.SuspendLayout();
@ -52,11 +52,11 @@
// panel1
//
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.Controls.Add(this.pnlbuttons);
this.panel1.Controls.Add(this.lbtitle);
this.panel1.Controls.Add(this.lvwidgets);
this.panel1.Controls.Add(this.listView1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Widgets.Add(this.pnlbuttons);
this.panel1.Widgets.Add(this.lbtitle);
this.panel1.Widgets.Add(this.lvwidgets);
this.panel1.Widgets.Add(this.listView1);
this.panel1.Dock = ShiftUI.DockStyle.Fill;
this.panel1.ForeColor = System.Drawing.Color.Black;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
@ -66,16 +66,16 @@
// pnlbuttons
//
this.pnlbuttons.BackColor = System.Drawing.Color.Gray;
this.pnlbuttons.Controls.Add(this.btndone);
this.pnlbuttons.Controls.Add(this.btnadd);
this.pnlbuttons.Controls.Add(this.cbpanel);
this.pnlbuttons.Controls.Add(this.txtwidth);
this.pnlbuttons.Controls.Add(this.lbwidth);
this.pnlbuttons.Controls.Add(this.txtx);
this.pnlbuttons.Controls.Add(this.label1);
this.pnlbuttons.Controls.Add(this.btninstallwidgets);
this.pnlbuttons.Dock = System.Windows.Forms.DockStyle.Bottom;
this.pnlbuttons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
this.pnlbuttons.Widgets.Add(this.btndone);
this.pnlbuttons.Widgets.Add(this.btnadd);
this.pnlbuttons.Widgets.Add(this.cbpanel);
this.pnlbuttons.Widgets.Add(this.txtwidth);
this.pnlbuttons.Widgets.Add(this.lbwidth);
this.pnlbuttons.Widgets.Add(this.txtx);
this.pnlbuttons.Widgets.Add(this.label1);
this.pnlbuttons.Widgets.Add(this.btninstallwidgets);
this.pnlbuttons.Dock = ShiftUI.DockStyle.Bottom;
this.pnlbuttons.FlowDirection = ShiftUI.FlowDirection.RightToLeft;
this.pnlbuttons.ForeColor = System.Drawing.Color.White;
this.pnlbuttons.Location = new System.Drawing.Point(0, 429);
this.pnlbuttons.Name = "pnlbuttons";
@ -85,8 +85,8 @@
// btndone
//
this.btndone.AutoSize = true;
this.btndone.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btndone.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btndone.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btndone.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btndone.Location = new System.Drawing.Point(649, 3);
this.btndone.Name = "btndone";
this.btndone.Size = new System.Drawing.Size(45, 25);
@ -98,8 +98,8 @@
// btnadd
//
this.btnadd.AutoSize = true;
this.btnadd.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btnadd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnadd.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btnadd.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnadd.Location = new System.Drawing.Point(605, 3);
this.btnadd.Name = "btnadd";
this.btnadd.Size = new System.Drawing.Size(38, 25);
@ -110,8 +110,8 @@
//
// cbpanel
//
this.cbpanel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cbpanel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.cbpanel.DropDownStyle = ShiftUI.ComboBoxStyle.DropDownList;
this.cbpanel.FlatStyle = ShiftUI.FlatStyle.Flat;
this.cbpanel.FormattingEnabled = true;
this.cbpanel.Location = new System.Drawing.Point(478, 3);
this.cbpanel.Name = "cbpanel";
@ -152,8 +152,8 @@
//
// lbtitle
//
this.lbtitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbtitle.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lbtitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
this.lbtitle.Location = new System.Drawing.Point(12, 9);
this.lbtitle.Name = "lbtitle";
@ -164,20 +164,20 @@
//
// lvwidgets
//
this.lvwidgets.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lvwidgets.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.lvwidgets.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lvwidgets.Columns.AddRange(new ShiftUI.ColumnHeader[] {
this.columnHeader1,
this.columnHeader2});
this.lvwidgets.FullRowSelect = true;
this.lvwidgets.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;
this.lvwidgets.HeaderStyle = ShiftUI.ColumnHeaderStyle.Nonclickable;
this.lvwidgets.Location = new System.Drawing.Point(12, 44);
this.lvwidgets.Name = "lvwidgets";
this.lvwidgets.Size = new System.Drawing.Size(673, 381);
this.lvwidgets.TabIndex = 1;
this.lvwidgets.UseCompatibleStateImageBehavior = false;
this.lvwidgets.View = System.Windows.Forms.View.Details;
this.lvwidgets.View = ShiftUI.View.Details;
this.lvwidgets.SelectedIndexChanged += new System.EventHandler(this.lvwidgets_SelectedIndexChanged);
//
// columnHeader1
@ -204,8 +204,8 @@
// btninstallwidgets
//
this.btninstallwidgets.AutoSize = true;
this.btninstallwidgets.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.btninstallwidgets.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btninstallwidgets.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
this.btninstallwidgets.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btninstallwidgets.Location = new System.Drawing.Point(152, 3);
this.btninstallwidgets.Name = "btninstallwidgets";
this.btninstallwidgets.Size = new System.Drawing.Size(88, 25);
@ -217,9 +217,9 @@
// WidgetManager
//
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(697, 459);
this.Controls.Add(this.panel1);
this.Widgets.Add(this.panel1);
this.Name = "WidgetManager";
this.Text = "WidgetManager";
this.Load += new System.EventHandler(this.WidgetManager_Load);
@ -232,21 +232,21 @@
#endregion
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.ListView listView1;
private System.Windows.Forms.FlowLayoutPanel pnlbuttons;
private System.Windows.Forms.Button btndone;
private System.Windows.Forms.Button btnadd;
private System.Windows.Forms.ComboBox cbpanel;
private System.Windows.Forms.Label lbtitle;
private System.Windows.Forms.ListView lvwidgets;
private System.Windows.Forms.ColumnHeader columnHeader1;
private System.Windows.Forms.ColumnHeader columnHeader2;
private System.Windows.Forms.TextBox txtwidth;
private System.Windows.Forms.Label lbwidth;
private System.Windows.Forms.TextBox txtx;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Timer tmrcheckvalid;
private System.Windows.Forms.Button btninstallwidgets;
private ShiftUI.Panel panel1;
private ShiftUI.ListView listView1;
private ShiftUI.FlowLayoutPanel pnlbuttons;
private ShiftUI.Button btndone;
private ShiftUI.Button btnadd;
private ShiftUI.ComboBox cbpanel;
private ShiftUI.Label lbtitle;
private ShiftUI.ListView lvwidgets;
private ShiftUI.ColumnHeader columnHeader1;
private ShiftUI.ColumnHeader columnHeader2;
private ShiftUI.TextBox txtwidth;
private ShiftUI.Label lbwidth;
private ShiftUI.TextBox txtx;
private ShiftUI.Label label1;
private ShiftUI.Timer tmrcheckvalid;
private ShiftUI.Button btninstallwidgets;
}
}

View file

@ -9,7 +9,7 @@ using System.IO.Compression;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,10 +112,10 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="tmrcheckvalid.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>

View file

@ -32,12 +32,12 @@
/// </summary>
private void InitializeComponent()
{
this.lbstats = new System.Windows.Forms.Label();
this.lbstats = new ShiftUI.Label();
this.SuspendLayout();
//
// lbstats
//
this.lbstats.Dock = System.Windows.Forms.DockStyle.Fill;
this.lbstats.Dock = ShiftUI.DockStyle.Fill;
this.lbstats.ForeColor = System.Drawing.Color.Black;
this.lbstats.Location = new System.Drawing.Point(0, 0);
this.lbstats.Name = "lbstats";
@ -49,9 +49,9 @@
//
// Computer
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.AutoScaleMode = ShiftUI.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.Controls.Add(this.lbstats);
this.Widgets.Add(this.lbstats);
this.Name = "Computer";
this.Size = new System.Drawing.Size(64, 64);
this.Load += new System.EventHandler(this.Computer_Load);
@ -61,6 +61,6 @@
#endregion
private System.Windows.Forms.Label lbstats;
private ShiftUI.Label lbstats;
}
}

View file

@ -6,11 +6,11 @@ using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
public partial class Computer : UserControl
public partial class Computer : UserWidget
{
public int TotalHP = 100;

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -33,7 +33,7 @@
// Connection
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.Name = "Connection";
this.Size = new System.Drawing.Size(150, 10);
this.ResumeLayout(false);

View file

@ -6,11 +6,11 @@ using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
public partial class Connection : UserControl
public partial class Connection : UserWidget
{
public Connection()
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -28,8 +28,8 @@
/// </summary>
private void InitializeComponent()
{
this.pbicon = new System.Windows.Forms.PictureBox();
this.lbiconname = new System.Windows.Forms.Label();
this.pbicon = new ShiftUI.PictureBox();
this.lbiconname = new ShiftUI.Label();
((System.ComponentModel.ISupportInitialize)(this.pbicon)).BeginInit();
this.SuspendLayout();
//
@ -38,7 +38,7 @@
this.pbicon.Location = new System.Drawing.Point(4, 4);
this.pbicon.Name = "pbicon";
this.pbicon.Size = new System.Drawing.Size(78, 50);
this.pbicon.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage;
this.pbicon.SizeMode = ShiftUI.PictureBoxSizeMode.CenterImage;
this.pbicon.TabIndex = 0;
this.pbicon.TabStop = false;
this.pbicon.DoubleClick += new System.EventHandler(this.Icon_Click);
@ -57,10 +57,10 @@
// DesktopIcon
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Transparent;
this.Controls.Add(this.lbiconname);
this.Controls.Add(this.pbicon);
this.Widgets.Add(this.lbiconname);
this.Widgets.Add(this.pbicon);
this.Name = "DesktopIcon";
this.Size = new System.Drawing.Size(85, 85);
this.Load += new System.EventHandler(this.DesktopIcon_Load);
@ -72,7 +72,7 @@
#endregion
private System.Windows.Forms.PictureBox pbicon;
private System.Windows.Forms.Label lbiconname;
private ShiftUI.PictureBox pbicon;
private ShiftUI.Label lbiconname;
}
}

View file

@ -6,12 +6,12 @@ using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
using System.IO;
namespace ShiftOS
{
public partial class DesktopIcon : UserControl
public partial class DesktopIcon : UserWidget
{
/// <summary>
/// User control for a desktop icon.

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -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;
}
}

View file

@ -6,21 +6,21 @@ using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
using System.Drawing.Imaging;
using Newtonsoft.Json;
using System.IO;
namespace ShiftOS
{
public partial class IconControl : UserControl
public partial class IconWidget : UserWidget
{
public IconControl()
public IconWidget()
{
InitializeComponent();
}
private void IconControl_Load(object sender, EventArgs e)
private void IconWidget_Load(object sender, EventArgs e)
{
pblarge.Top = (this.Height - pblarge.Height) / 2;
}

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -28,14 +28,14 @@
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.btnselect = new System.Windows.Forms.Button();
this.label1 = new ShiftUI.Label();
this.btnselect = new ShiftUI.Button();
this.SuspendLayout();
//
// label1
//
this.label1.BackColor = System.Drawing.Color.White;
this.label1.Dock = System.Windows.Forms.DockStyle.Left;
this.label1.Dock = ShiftUI.DockStyle.Left;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.label1.ForeColor = System.Drawing.Color.Black;
this.label1.Location = new System.Drawing.Point(0, 0);
@ -47,8 +47,8 @@
//
// btnselect
//
this.btnselect.Dock = System.Windows.Forms.DockStyle.Fill;
this.btnselect.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnselect.Dock = ShiftUI.DockStyle.Fill;
this.btnselect.FlatStyle = ShiftUI.FlatStyle.Flat;
this.btnselect.Location = new System.Drawing.Point(186, 0);
this.btnselect.Name = "btnselect";
this.btnselect.Size = new System.Drawing.Size(40, 33);
@ -59,9 +59,9 @@
// ImageSelector
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.btnselect);
this.Controls.Add(this.label1);
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.Widgets.Add(this.btnselect);
this.Widgets.Add(this.label1);
this.Name = "ImageSelector";
this.Size = new System.Drawing.Size(226, 33);
this.ResumeLayout(false);
@ -70,7 +70,7 @@
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Button btnselect;
private ShiftUI.Label label1;
private ShiftUI.Button btnselect;
}
}

View file

@ -6,12 +6,12 @@ using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
using System.IO;
namespace ShiftOS
{
public partial class ImageSelector : UserControl
public partial class ImageSelector : UserWidget
{
public ImageSelector()
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -28,14 +28,14 @@
/// </summary>
private void InitializeComponent()
{
this.lbinfo = new System.Windows.Forms.Label();
this.lbinfo = new ShiftUI.Label();
this.pghealth = new ShiftOS.ProgressBarEX();
this.SuspendLayout();
//
// lbinfo
//
this.lbinfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.lbinfo.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)));
this.lbinfo.Location = new System.Drawing.Point(4, 4);
this.lbinfo.Name = "lbinfo";
this.lbinfo.Size = new System.Drawing.Size(102, 22);
@ -44,9 +44,9 @@
//
// pghealth
//
this.pghealth.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.pghealth.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.pghealth.BackColor = System.Drawing.Color.Black;
this.pghealth.BlockSeparation = 3;
this.pghealth.BlockWidth = 5;
@ -67,9 +67,9 @@
// NetModuleStatus
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.lbinfo);
this.Controls.Add(this.pghealth);
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.Widgets.Add(this.lbinfo);
this.Widgets.Add(this.pghealth);
this.Name = "NetModuleStatus";
this.Size = new System.Drawing.Size(352, 26);
this.ResumeLayout(false);
@ -79,6 +79,6 @@
#endregion
private ProgressBarEX pghealth;
private System.Windows.Forms.Label lbinfo;
private ShiftUI.Label lbinfo;
}
}

View file

@ -6,11 +6,11 @@ using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
public partial class NetModuleStatus : UserControl
public partial class NetModuleStatus : UserWidget
{
private Module _module = null;

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -28,8 +28,8 @@
/// </summary>
private void InitializeComponent()
{
this.lbtitle = new System.Windows.Forms.Label();
this.lbmessage = new System.Windows.Forms.Label();
this.lbtitle = new ShiftUI.Label();
this.lbmessage = new ShiftUI.Label();
this.SuspendLayout();
//
// lbtitle
@ -44,9 +44,9 @@
//
// lbmessage
//
this.lbmessage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lbmessage.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lbmessage.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
this.lbmessage.Location = new System.Drawing.Point(7, 33);
this.lbmessage.Name = "lbmessage";
@ -57,10 +57,10 @@
// Notification
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Gray;
this.Controls.Add(this.lbmessage);
this.Controls.Add(this.lbtitle);
this.Widgets.Add(this.lbmessage);
this.Widgets.Add(this.lbtitle);
this.ForeColor = System.Drawing.Color.White;
this.Name = "Notification";
this.Size = new System.Drawing.Size(355, 100);
@ -72,7 +72,7 @@
#endregion
private System.Windows.Forms.Label lbtitle;
private System.Windows.Forms.Label lbmessage;
private ShiftUI.Label lbtitle;
private ShiftUI.Label lbmessage;
}
}

View file

@ -6,11 +6,11 @@ using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
public partial class Notification : UserControl
public partial class Notification : UserWidget
{
public Notification(string title, string text)
{

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -27,7 +27,7 @@
// ProgressBarEX
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.Name = "ProgressBarEX";
this.Size = new System.Drawing.Size(340, 32);
this.ResumeLayout(false);

View file

@ -6,11 +6,11 @@ using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShiftUI;
namespace ShiftOS
{
public partial class ProgressBarEX : UserControl
public partial class ProgressBarEX : UserWidget
{
public ProgressBarEX()
{
@ -279,7 +279,7 @@ namespace ShiftOS
#region " Drawing "
protected override void OnPaint(System.Windows.Forms.PaintEventArgs e)
protected override void OnPaint(ShiftUI.PaintEventArgs e)
{
base.OnPaint(e);
DoPaintBackground(e.Graphics);

View file

@ -15,8 +15,8 @@
... 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>
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, ShiftUI, ...</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">
@ -112,9 +112,9 @@
<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>
<value>System.Resources.ResXResourceReader, ShiftUI, 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>
<value>System.Resources.ResXResourceWriter, ShiftUI, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View file

@ -28,15 +28,15 @@
/// </summary>
private void InitializeComponent()
{
this.pnlmainbuttoncolour = new System.Windows.Forms.Panel();
this.lblabel = new System.Windows.Forms.Label();
this.pnlmainbuttoncolour = new ShiftUI.Panel();
this.lblabel = new ShiftUI.Label();
this.SuspendLayout();
//
// pnlmainbuttoncolour
//
this.pnlmainbuttoncolour.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Right)));
this.pnlmainbuttoncolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pnlmainbuttoncolour.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Right)));
this.pnlmainbuttoncolour.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
this.pnlmainbuttoncolour.Location = new System.Drawing.Point(128, 3);
this.pnlmainbuttoncolour.MaximumSize = new System.Drawing.Size(41, 20);
this.pnlmainbuttoncolour.Name = "pnlmainbuttoncolour";
@ -45,9 +45,9 @@
//
// lblabel
//
this.lblabel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lblabel.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
| ShiftUI.AnchorStyles.Left)
| ShiftUI.AnchorStyles.Right)));
this.lblabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lblabel.Location = new System.Drawing.Point(3, 6);
this.lblabel.Name = "lblabel";
@ -59,9 +59,9 @@
// ShifterColorInput
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.pnlmainbuttoncolour);
this.Controls.Add(this.lblabel);
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
this.Widgets.Add(this.pnlmainbuttoncolour);
this.Widgets.Add(this.lblabel);
this.Name = "ShifterColorInput";
this.Size = new System.Drawing.Size(173, 28);
this.ResumeLayout(false);
@ -70,8 +70,8 @@
#endregion
private System.Windows.Forms.Panel pnlmainbuttoncolour;
private System.Windows.Forms.Label lblabel;
private ShiftUI.Panel pnlmainbuttoncolour;
private ShiftUI.Label lblabel;
}
}

Some files were not shown because too many files have changed in this diff Show more