mirror of
https://github.com/seriocomedy/ShiftOS-C-.git
synced 2025-04-26 17:50:24 +00:00
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:
parent
9322701aa1
commit
6b804f03eb
169 changed files with 7257 additions and 7377 deletions
|
@ -5,7 +5,7 @@ using System.Linq;
|
||||||
using System.Media;
|
using System.Media;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
using System.IO.Compression;
|
using System.IO.Compression;
|
||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
@ -83,7 +83,7 @@ namespace ShiftOS
|
||||||
public class API
|
public class API
|
||||||
{
|
{
|
||||||
public static Dictionary<Form, string> OpenGUIDs = new Dictionary<Form, string>();
|
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>
|
/// <summary>
|
||||||
|
@ -119,7 +119,7 @@ namespace ShiftOS
|
||||||
|
|
||||||
public static bool InfoboxesPlaySounds = true;
|
public static bool InfoboxesPlaySounds = true;
|
||||||
|
|
||||||
public static void SkinControl(Control c)
|
public static void SkinWidget(Widget c)
|
||||||
{
|
{
|
||||||
if(c is Button)
|
if(c is Button)
|
||||||
{
|
{
|
||||||
|
@ -128,9 +128,9 @@ namespace ShiftOS
|
||||||
}
|
}
|
||||||
if(c is Panel || c is FlowLayoutPanel)
|
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();
|
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>
|
/// <summary>
|
||||||
|
|
|
@ -30,68 +30,68 @@
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Appscape));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Appscape));
|
||||||
this.panel3 = new System.Windows.Forms.Panel();
|
this.panel3 = new ShiftUI.Panel();
|
||||||
this.pnlchoosenetwork = new System.Windows.Forms.Panel();
|
this.pnlchoosenetwork = new ShiftUI.Panel();
|
||||||
this.btnrequest = new System.Windows.Forms.Button();
|
this.btnrequest = new ShiftUI.Button();
|
||||||
this.label14 = new System.Windows.Forms.Label();
|
this.label14 = new ShiftUI.Label();
|
||||||
this.label13 = new System.Windows.Forms.Label();
|
this.label13 = new ShiftUI.Label();
|
||||||
this.lvnets = new System.Windows.Forms.ListView();
|
this.lvnets = new ShiftUI.ListView();
|
||||||
this.clhostnameheader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.clhostnameheader = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
|
||||||
this.pnlpackageeditor = new System.Windows.Forms.Panel();
|
this.pnlpackageeditor = new ShiftUI.Panel();
|
||||||
this.label12 = new System.Windows.Forms.Label();
|
this.label12 = new ShiftUI.Label();
|
||||||
this.btndonecustomizing = new System.Windows.Forms.Button();
|
this.btndonecustomizing = new ShiftUI.Button();
|
||||||
this.btnsaa = new System.Windows.Forms.Button();
|
this.btnsaa = new ShiftUI.Button();
|
||||||
this.txtprice = new System.Windows.Forms.TextBox();
|
this.txtprice = new ShiftUI.TextBox();
|
||||||
this.lbprice = new System.Windows.Forms.Label();
|
this.lbprice = new ShiftUI.Label();
|
||||||
this.lbaddress = new System.Windows.Forms.Label();
|
this.lbaddress = new ShiftUI.Label();
|
||||||
this.cbsell = new System.Windows.Forms.CheckBox();
|
this.cbsell = new ShiftUI.CheckBox();
|
||||||
this.txtpackagedescription = new System.Windows.Forms.TextBox();
|
this.txtpackagedescription = new ShiftUI.TextBox();
|
||||||
this.label10 = new System.Windows.Forms.Label();
|
this.label10 = new ShiftUI.Label();
|
||||||
this.txtpackagename = new System.Windows.Forms.TextBox();
|
this.txtpackagename = new ShiftUI.TextBox();
|
||||||
this.label11 = new System.Windows.Forms.Label();
|
this.label11 = new ShiftUI.Label();
|
||||||
this.label9 = new System.Windows.Forms.Label();
|
this.label9 = new ShiftUI.Label();
|
||||||
this.pnllounge = new System.Windows.Forms.Panel();
|
this.pnllounge = new ShiftUI.Panel();
|
||||||
this.btnedit = new System.Windows.Forms.Button();
|
this.btnedit = new ShiftUI.Button();
|
||||||
this.btnupload = new System.Windows.Forms.Button();
|
this.btnupload = new ShiftUI.Button();
|
||||||
this.btnsave = new System.Windows.Forms.Button();
|
this.btnsave = new ShiftUI.Button();
|
||||||
this.txtbitnoteaddress = new System.Windows.Forms.TextBox();
|
this.txtbitnoteaddress = new ShiftUI.TextBox();
|
||||||
this.label8 = new System.Windows.Forms.Label();
|
this.label8 = new ShiftUI.Label();
|
||||||
this.txtbio = new System.Windows.Forms.TextBox();
|
this.txtbio = new ShiftUI.TextBox();
|
||||||
this.label7 = new System.Windows.Forms.Label();
|
this.label7 = new ShiftUI.Label();
|
||||||
this.txtmoddername = new System.Windows.Forms.TextBox();
|
this.txtmoddername = new ShiftUI.TextBox();
|
||||||
this.label6 = new System.Windows.Forms.Label();
|
this.label6 = new ShiftUI.Label();
|
||||||
this.label5 = new System.Windows.Forms.Label();
|
this.label5 = new ShiftUI.Label();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new ShiftUI.Label();
|
||||||
this.lbmybio = new System.Windows.Forms.Label();
|
this.lbmybio = new ShiftUI.Label();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new ShiftUI.Label();
|
||||||
this.lbmyname = new System.Windows.Forms.Label();
|
this.lbmyname = new ShiftUI.Label();
|
||||||
this.lvmypackages = new System.Windows.Forms.ListView();
|
this.lvmypackages = new ShiftUI.ListView();
|
||||||
this.columnHeader4 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.columnHeader4 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
|
||||||
this.pnlpackageinfo = new System.Windows.Forms.Panel();
|
this.pnlpackageinfo = new ShiftUI.Panel();
|
||||||
this.pnlauthordetails = new System.Windows.Forms.Panel();
|
this.pnlauthordetails = new ShiftUI.Panel();
|
||||||
this.lbauthordescription = new System.Windows.Forms.Label();
|
this.lbauthordescription = new ShiftUI.Label();
|
||||||
this.lbauthorname = new System.Windows.Forms.Label();
|
this.lbauthorname = new ShiftUI.Label();
|
||||||
this.pbappicon = new System.Windows.Forms.PictureBox();
|
this.pbappicon = new ShiftUI.PictureBox();
|
||||||
this.pbappscreenshot = new System.Windows.Forms.PictureBox();
|
this.pbappscreenshot = new ShiftUI.PictureBox();
|
||||||
this.pnldownload = new System.Windows.Forms.Panel();
|
this.pnldownload = new ShiftUI.Panel();
|
||||||
this.lbdownloadpath = new System.Windows.Forms.Label();
|
this.lbdownloadpath = new ShiftUI.Label();
|
||||||
this.btndownload = new System.Windows.Forms.Button();
|
this.btndownload = new ShiftUI.Button();
|
||||||
this.lbpkgdescription = new System.Windows.Forms.Label();
|
this.lbpkgdescription = new ShiftUI.Label();
|
||||||
this.lbpkgname = new System.Windows.Forms.Label();
|
this.lbpkgname = new ShiftUI.Label();
|
||||||
this.pnllist = new System.Windows.Forms.Panel();
|
this.pnllist = new ShiftUI.Panel();
|
||||||
this.lvpackages = new System.Windows.Forms.ListView();
|
this.lvpackages = new ShiftUI.ListView();
|
||||||
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.columnHeader1 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
|
||||||
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.columnHeader2 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
|
||||||
this.columnHeader3 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.columnHeader3 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
|
||||||
this.pnlsearch = new System.Windows.Forms.Panel();
|
this.pnlsearch = new ShiftUI.Panel();
|
||||||
this.btnlounge = new System.Windows.Forms.Button();
|
this.btnlounge = new ShiftUI.Button();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new ShiftUI.Label();
|
||||||
this.btngetkey = new System.Windows.Forms.Button();
|
this.btngetkey = new ShiftUI.Button();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new ShiftUI.Label();
|
||||||
this.txtsearch = new System.Windows.Forms.TextBox();
|
this.txtsearch = new ShiftUI.TextBox();
|
||||||
this.btnskins = new System.Windows.Forms.Button();
|
this.btnskins = new ShiftUI.Button();
|
||||||
this.btnapps = new System.Windows.Forms.Button();
|
this.btnapps = new ShiftUI.Button();
|
||||||
this.imgpackageicons = new System.Windows.Forms.ImageList(this.components);
|
this.imgpackageicons = new ShiftUI.ImageList(this.components);
|
||||||
this.panel3.SuspendLayout();
|
this.panel3.SuspendLayout();
|
||||||
this.pnlchoosenetwork.SuspendLayout();
|
this.pnlchoosenetwork.SuspendLayout();
|
||||||
this.pnlpackageeditor.SuspendLayout();
|
this.pnlpackageeditor.SuspendLayout();
|
||||||
|
@ -107,13 +107,13 @@
|
||||||
//
|
//
|
||||||
// panel3
|
// panel3
|
||||||
//
|
//
|
||||||
this.panel3.Controls.Add(this.pnlchoosenetwork);
|
this.panel3.Widgets.Add(this.pnlchoosenetwork);
|
||||||
this.panel3.Controls.Add(this.pnlpackageeditor);
|
this.panel3.Widgets.Add(this.pnlpackageeditor);
|
||||||
this.panel3.Controls.Add(this.pnllounge);
|
this.panel3.Widgets.Add(this.pnllounge);
|
||||||
this.panel3.Controls.Add(this.pnlpackageinfo);
|
this.panel3.Widgets.Add(this.pnlpackageinfo);
|
||||||
this.panel3.Controls.Add(this.pnllist);
|
this.panel3.Widgets.Add(this.pnllist);
|
||||||
this.panel3.Controls.Add(this.pnlsearch);
|
this.panel3.Widgets.Add(this.pnlsearch);
|
||||||
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel3.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel3.Location = new System.Drawing.Point(0, 0);
|
this.panel3.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel3.Name = "panel3";
|
this.panel3.Name = "panel3";
|
||||||
this.panel3.Size = new System.Drawing.Size(886, 469);
|
this.panel3.Size = new System.Drawing.Size(886, 469);
|
||||||
|
@ -121,11 +121,11 @@
|
||||||
//
|
//
|
||||||
// pnlchoosenetwork
|
// pnlchoosenetwork
|
||||||
//
|
//
|
||||||
this.pnlchoosenetwork.Controls.Add(this.lvnets);
|
this.pnlchoosenetwork.Widgets.Add(this.lvnets);
|
||||||
this.pnlchoosenetwork.Controls.Add(this.btnrequest);
|
this.pnlchoosenetwork.Widgets.Add(this.btnrequest);
|
||||||
this.pnlchoosenetwork.Controls.Add(this.label14);
|
this.pnlchoosenetwork.Widgets.Add(this.label14);
|
||||||
this.pnlchoosenetwork.Controls.Add(this.label13);
|
this.pnlchoosenetwork.Widgets.Add(this.label13);
|
||||||
this.pnlchoosenetwork.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlchoosenetwork.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnlchoosenetwork.Location = new System.Drawing.Point(0, 47);
|
this.pnlchoosenetwork.Location = new System.Drawing.Point(0, 47);
|
||||||
this.pnlchoosenetwork.Name = "pnlchoosenetwork";
|
this.pnlchoosenetwork.Name = "pnlchoosenetwork";
|
||||||
this.pnlchoosenetwork.Size = new System.Drawing.Size(886, 422);
|
this.pnlchoosenetwork.Size = new System.Drawing.Size(886, 422);
|
||||||
|
@ -133,8 +133,8 @@
|
||||||
//
|
//
|
||||||
// btnrequest
|
// btnrequest
|
||||||
//
|
//
|
||||||
this.btnrequest.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.btnrequest.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
|
||||||
this.btnrequest.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnrequest.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnrequest.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btnrequest.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btnrequest.Location = new System.Drawing.Point(799, 385);
|
this.btnrequest.Location = new System.Drawing.Point(799, 385);
|
||||||
this.btnrequest.Name = "btnrequest";
|
this.btnrequest.Name = "btnrequest";
|
||||||
|
@ -146,8 +146,8 @@
|
||||||
//
|
//
|
||||||
// label14
|
// label14
|
||||||
//
|
//
|
||||||
this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.label14.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.label14.Location = new System.Drawing.Point(17, 31);
|
this.label14.Location = new System.Drawing.Point(17, 31);
|
||||||
this.label14.Name = "label14";
|
this.label14.Name = "label14";
|
||||||
this.label14.Size = new System.Drawing.Size(857, 30);
|
this.label14.Size = new System.Drawing.Size(857, 30);
|
||||||
|
@ -166,19 +166,19 @@
|
||||||
//
|
//
|
||||||
// lvnets
|
// lvnets
|
||||||
//
|
//
|
||||||
this.lvnets.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lvnets.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.lvnets.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
this.lvnets.Columns.AddRange(new ShiftUI.ColumnHeader[] {
|
||||||
this.clhostnameheader});
|
this.clhostnameheader});
|
||||||
this.lvnets.FullRowSelect = true;
|
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.Location = new System.Drawing.Point(12, 64);
|
||||||
this.lvnets.Name = "lvnets";
|
this.lvnets.Name = "lvnets";
|
||||||
this.lvnets.Size = new System.Drawing.Size(868, 307);
|
this.lvnets.Size = new System.Drawing.Size(868, 307);
|
||||||
this.lvnets.TabIndex = 0;
|
this.lvnets.TabIndex = 0;
|
||||||
this.lvnets.UseCompatibleStateImageBehavior = false;
|
this.lvnets.UseCompatibleStateImageBehavior = false;
|
||||||
this.lvnets.View = System.Windows.Forms.View.Details;
|
this.lvnets.View = ShiftUI.View.Details;
|
||||||
//
|
//
|
||||||
// clhostnameheader
|
// clhostnameheader
|
||||||
//
|
//
|
||||||
|
@ -186,19 +186,19 @@
|
||||||
//
|
//
|
||||||
// pnlpackageeditor
|
// pnlpackageeditor
|
||||||
//
|
//
|
||||||
this.pnlpackageeditor.Controls.Add(this.label12);
|
this.pnlpackageeditor.Widgets.Add(this.label12);
|
||||||
this.pnlpackageeditor.Controls.Add(this.btndonecustomizing);
|
this.pnlpackageeditor.Widgets.Add(this.btndonecustomizing);
|
||||||
this.pnlpackageeditor.Controls.Add(this.btnsaa);
|
this.pnlpackageeditor.Widgets.Add(this.btnsaa);
|
||||||
this.pnlpackageeditor.Controls.Add(this.txtprice);
|
this.pnlpackageeditor.Widgets.Add(this.txtprice);
|
||||||
this.pnlpackageeditor.Controls.Add(this.lbprice);
|
this.pnlpackageeditor.Widgets.Add(this.lbprice);
|
||||||
this.pnlpackageeditor.Controls.Add(this.lbaddress);
|
this.pnlpackageeditor.Widgets.Add(this.lbaddress);
|
||||||
this.pnlpackageeditor.Controls.Add(this.cbsell);
|
this.pnlpackageeditor.Widgets.Add(this.cbsell);
|
||||||
this.pnlpackageeditor.Controls.Add(this.txtpackagedescription);
|
this.pnlpackageeditor.Widgets.Add(this.txtpackagedescription);
|
||||||
this.pnlpackageeditor.Controls.Add(this.label10);
|
this.pnlpackageeditor.Widgets.Add(this.label10);
|
||||||
this.pnlpackageeditor.Controls.Add(this.txtpackagename);
|
this.pnlpackageeditor.Widgets.Add(this.txtpackagename);
|
||||||
this.pnlpackageeditor.Controls.Add(this.label11);
|
this.pnlpackageeditor.Widgets.Add(this.label11);
|
||||||
this.pnlpackageeditor.Controls.Add(this.label9);
|
this.pnlpackageeditor.Widgets.Add(this.label9);
|
||||||
this.pnlpackageeditor.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlpackageeditor.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnlpackageeditor.Location = new System.Drawing.Point(0, 47);
|
this.pnlpackageeditor.Location = new System.Drawing.Point(0, 47);
|
||||||
this.pnlpackageeditor.Name = "pnlpackageeditor";
|
this.pnlpackageeditor.Name = "pnlpackageeditor";
|
||||||
this.pnlpackageeditor.Size = new System.Drawing.Size(886, 422);
|
this.pnlpackageeditor.Size = new System.Drawing.Size(886, 422);
|
||||||
|
@ -215,10 +215,10 @@
|
||||||
//
|
//
|
||||||
// btndonecustomizing
|
// 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.AutoSize = true;
|
||||||
this.btndonecustomizing.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btndonecustomizing.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btndonecustomizing.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btndonecustomizing.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btndonecustomizing.Font = new System.Drawing.Font("Times New Roman", 10F);
|
this.btndonecustomizing.Font = new System.Drawing.Font("Times New Roman", 10F);
|
||||||
this.btndonecustomizing.Location = new System.Drawing.Point(824, 385);
|
this.btndonecustomizing.Location = new System.Drawing.Point(824, 385);
|
||||||
this.btndonecustomizing.Name = "btndonecustomizing";
|
this.btndonecustomizing.Name = "btndonecustomizing";
|
||||||
|
@ -231,8 +231,8 @@
|
||||||
// btnsaa
|
// btnsaa
|
||||||
//
|
//
|
||||||
this.btnsaa.AutoSize = true;
|
this.btnsaa.AutoSize = true;
|
||||||
this.btnsaa.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnsaa.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnsaa.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnsaa.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnsaa.Font = new System.Drawing.Font("Times New Roman", 10F);
|
this.btnsaa.Font = new System.Drawing.Font("Times New Roman", 10F);
|
||||||
this.btnsaa.Location = new System.Drawing.Point(99, 318);
|
this.btnsaa.Location = new System.Drawing.Point(99, 318);
|
||||||
this.btnsaa.Name = "btnsaa";
|
this.btnsaa.Name = "btnsaa";
|
||||||
|
@ -272,9 +272,9 @@
|
||||||
//
|
//
|
||||||
// cbsell
|
// cbsell
|
||||||
//
|
//
|
||||||
this.cbsell.Appearance = System.Windows.Forms.Appearance.Button;
|
this.cbsell.Appearance = ShiftUI.Appearance.Button;
|
||||||
this.cbsell.AutoSize = true;
|
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.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.cbsell.Location = new System.Drawing.Point(97, 263);
|
this.cbsell.Location = new System.Drawing.Point(97, 263);
|
||||||
this.cbsell.Name = "cbsell";
|
this.cbsell.Name = "cbsell";
|
||||||
|
@ -286,8 +286,8 @@
|
||||||
//
|
//
|
||||||
// txtpackagedescription
|
// txtpackagedescription
|
||||||
//
|
//
|
||||||
this.txtpackagedescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtpackagedescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.txtpackagedescription.Location = new System.Drawing.Point(99, 72);
|
this.txtpackagedescription.Location = new System.Drawing.Point(99, 72);
|
||||||
this.txtpackagedescription.Multiline = true;
|
this.txtpackagedescription.Multiline = true;
|
||||||
this.txtpackagedescription.Name = "txtpackagedescription";
|
this.txtpackagedescription.Name = "txtpackagedescription";
|
||||||
|
@ -331,22 +331,22 @@
|
||||||
//
|
//
|
||||||
// pnllounge
|
// pnllounge
|
||||||
//
|
//
|
||||||
this.pnllounge.Controls.Add(this.btnedit);
|
this.pnllounge.Widgets.Add(this.btnedit);
|
||||||
this.pnllounge.Controls.Add(this.btnupload);
|
this.pnllounge.Widgets.Add(this.btnupload);
|
||||||
this.pnllounge.Controls.Add(this.btnsave);
|
this.pnllounge.Widgets.Add(this.btnsave);
|
||||||
this.pnllounge.Controls.Add(this.txtbitnoteaddress);
|
this.pnllounge.Widgets.Add(this.txtbitnoteaddress);
|
||||||
this.pnllounge.Controls.Add(this.label8);
|
this.pnllounge.Widgets.Add(this.label8);
|
||||||
this.pnllounge.Controls.Add(this.txtbio);
|
this.pnllounge.Widgets.Add(this.txtbio);
|
||||||
this.pnllounge.Controls.Add(this.label7);
|
this.pnllounge.Widgets.Add(this.label7);
|
||||||
this.pnllounge.Controls.Add(this.txtmoddername);
|
this.pnllounge.Widgets.Add(this.txtmoddername);
|
||||||
this.pnllounge.Controls.Add(this.label6);
|
this.pnllounge.Widgets.Add(this.label6);
|
||||||
this.pnllounge.Controls.Add(this.label5);
|
this.pnllounge.Widgets.Add(this.label5);
|
||||||
this.pnllounge.Controls.Add(this.label4);
|
this.pnllounge.Widgets.Add(this.label4);
|
||||||
this.pnllounge.Controls.Add(this.lbmybio);
|
this.pnllounge.Widgets.Add(this.lbmybio);
|
||||||
this.pnllounge.Controls.Add(this.label3);
|
this.pnllounge.Widgets.Add(this.label3);
|
||||||
this.pnllounge.Controls.Add(this.lbmyname);
|
this.pnllounge.Widgets.Add(this.lbmyname);
|
||||||
this.pnllounge.Controls.Add(this.lvmypackages);
|
this.pnllounge.Widgets.Add(this.lvmypackages);
|
||||||
this.pnllounge.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnllounge.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnllounge.Location = new System.Drawing.Point(0, 47);
|
this.pnllounge.Location = new System.Drawing.Point(0, 47);
|
||||||
this.pnllounge.Name = "pnllounge";
|
this.pnllounge.Name = "pnllounge";
|
||||||
this.pnllounge.Size = new System.Drawing.Size(886, 422);
|
this.pnllounge.Size = new System.Drawing.Size(886, 422);
|
||||||
|
@ -354,8 +354,8 @@
|
||||||
//
|
//
|
||||||
// btnedit
|
// btnedit
|
||||||
//
|
//
|
||||||
this.btnedit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.btnedit.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.btnedit.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnedit.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnedit.Location = new System.Drawing.Point(239, 377);
|
this.btnedit.Location = new System.Drawing.Point(239, 377);
|
||||||
this.btnedit.Name = "btnedit";
|
this.btnedit.Name = "btnedit";
|
||||||
this.btnedit.Size = new System.Drawing.Size(75, 23);
|
this.btnedit.Size = new System.Drawing.Size(75, 23);
|
||||||
|
@ -366,8 +366,8 @@
|
||||||
//
|
//
|
||||||
// btnupload
|
// btnupload
|
||||||
//
|
//
|
||||||
this.btnupload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.btnupload.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.btnupload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnupload.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnupload.Location = new System.Drawing.Point(320, 377);
|
this.btnupload.Location = new System.Drawing.Point(320, 377);
|
||||||
this.btnupload.Name = "btnupload";
|
this.btnupload.Name = "btnupload";
|
||||||
this.btnupload.Size = new System.Drawing.Size(75, 23);
|
this.btnupload.Size = new System.Drawing.Size(75, 23);
|
||||||
|
@ -378,8 +378,8 @@
|
||||||
//
|
//
|
||||||
// btnsave
|
// btnsave
|
||||||
//
|
//
|
||||||
this.btnsave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.btnsave.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
|
||||||
this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnsave.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnsave.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btnsave.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btnsave.Location = new System.Drawing.Point(799, 390);
|
this.btnsave.Location = new System.Drawing.Point(799, 390);
|
||||||
this.btnsave.Name = "btnsave";
|
this.btnsave.Name = "btnsave";
|
||||||
|
@ -391,7 +391,7 @@
|
||||||
//
|
//
|
||||||
// txtbitnoteaddress
|
// 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.Location = new System.Drawing.Point(490, 333);
|
||||||
this.txtbitnoteaddress.Name = "txtbitnoteaddress";
|
this.txtbitnoteaddress.Name = "txtbitnoteaddress";
|
||||||
this.txtbitnoteaddress.Size = new System.Drawing.Size(384, 20);
|
this.txtbitnoteaddress.Size = new System.Drawing.Size(384, 20);
|
||||||
|
@ -400,7 +400,7 @@
|
||||||
//
|
//
|
||||||
// label8
|
// 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.AutoSize = true;
|
||||||
this.label8.Location = new System.Drawing.Point(407, 339);
|
this.label8.Location = new System.Drawing.Point(407, 339);
|
||||||
this.label8.Name = "label8";
|
this.label8.Name = "label8";
|
||||||
|
@ -410,7 +410,7 @@
|
||||||
//
|
//
|
||||||
// txtbio
|
// 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.Location = new System.Drawing.Point(490, 110);
|
||||||
this.txtbio.Multiline = true;
|
this.txtbio.Multiline = true;
|
||||||
this.txtbio.Name = "txtbio";
|
this.txtbio.Name = "txtbio";
|
||||||
|
@ -429,7 +429,7 @@
|
||||||
//
|
//
|
||||||
// txtmoddername
|
// 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.Location = new System.Drawing.Point(490, 84);
|
||||||
this.txtmoddername.Name = "txtmoddername";
|
this.txtmoddername.Name = "txtmoddername";
|
||||||
this.txtmoddername.Size = new System.Drawing.Size(384, 20);
|
this.txtmoddername.Size = new System.Drawing.Size(384, 20);
|
||||||
|
@ -438,7 +438,7 @@
|
||||||
//
|
//
|
||||||
// label6
|
// 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.AutoSize = true;
|
||||||
this.label6.Location = new System.Drawing.Point(407, 90);
|
this.label6.Location = new System.Drawing.Point(407, 90);
|
||||||
this.label6.Name = "label6";
|
this.label6.Name = "label6";
|
||||||
|
@ -448,7 +448,7 @@
|
||||||
//
|
//
|
||||||
// label5
|
// 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.Location = new System.Drawing.Point(404, 31);
|
||||||
this.label5.Name = "label5";
|
this.label5.Name = "label5";
|
||||||
this.label5.Size = new System.Drawing.Size(378, 32);
|
this.label5.Size = new System.Drawing.Size(378, 32);
|
||||||
|
@ -458,7 +458,7 @@
|
||||||
//
|
//
|
||||||
// label4
|
// 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.AutoSize = true;
|
||||||
this.label4.Font = new System.Drawing.Font("Times New Roman", 13F);
|
this.label4.Font = new System.Drawing.Font("Times New Roman", 13F);
|
||||||
this.label4.Location = new System.Drawing.Point(403, 11);
|
this.label4.Location = new System.Drawing.Point(403, 11);
|
||||||
|
@ -469,8 +469,8 @@
|
||||||
//
|
//
|
||||||
// lbmybio
|
// lbmybio
|
||||||
//
|
//
|
||||||
this.lbmybio.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lbmybio.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)));
|
| ShiftUI.AnchorStyles.Left)));
|
||||||
this.lbmybio.Location = new System.Drawing.Point(17, 46);
|
this.lbmybio.Location = new System.Drawing.Point(17, 46);
|
||||||
this.lbmybio.Name = "lbmybio";
|
this.lbmybio.Name = "lbmybio";
|
||||||
this.lbmybio.Size = new System.Drawing.Size(378, 110);
|
this.lbmybio.Size = new System.Drawing.Size(378, 110);
|
||||||
|
@ -479,7 +479,7 @@
|
||||||
//
|
//
|
||||||
// label3
|
// 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.AutoSize = true;
|
||||||
this.label3.Location = new System.Drawing.Point(17, 156);
|
this.label3.Location = new System.Drawing.Point(17, 156);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
|
@ -499,16 +499,16 @@
|
||||||
//
|
//
|
||||||
// lvmypackages
|
// lvmypackages
|
||||||
//
|
//
|
||||||
this.lvmypackages.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.lvmypackages.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.lvmypackages.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
this.lvmypackages.Columns.AddRange(new ShiftUI.ColumnHeader[] {
|
||||||
this.columnHeader4});
|
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.Location = new System.Drawing.Point(20, 172);
|
||||||
this.lvmypackages.Name = "lvmypackages";
|
this.lvmypackages.Name = "lvmypackages";
|
||||||
this.lvmypackages.Size = new System.Drawing.Size(375, 199);
|
this.lvmypackages.Size = new System.Drawing.Size(375, 199);
|
||||||
this.lvmypackages.TabIndex = 0;
|
this.lvmypackages.TabIndex = 0;
|
||||||
this.lvmypackages.UseCompatibleStateImageBehavior = false;
|
this.lvmypackages.UseCompatibleStateImageBehavior = false;
|
||||||
this.lvmypackages.View = System.Windows.Forms.View.Details;
|
this.lvmypackages.View = ShiftUI.View.Details;
|
||||||
//
|
//
|
||||||
// columnHeader4
|
// columnHeader4
|
||||||
//
|
//
|
||||||
|
@ -516,13 +516,13 @@
|
||||||
//
|
//
|
||||||
// pnlpackageinfo
|
// pnlpackageinfo
|
||||||
//
|
//
|
||||||
this.pnlpackageinfo.Controls.Add(this.pnlauthordetails);
|
this.pnlpackageinfo.Widgets.Add(this.pnlauthordetails);
|
||||||
this.pnlpackageinfo.Controls.Add(this.pbappicon);
|
this.pnlpackageinfo.Widgets.Add(this.pbappicon);
|
||||||
this.pnlpackageinfo.Controls.Add(this.pbappscreenshot);
|
this.pnlpackageinfo.Widgets.Add(this.pbappscreenshot);
|
||||||
this.pnlpackageinfo.Controls.Add(this.pnldownload);
|
this.pnlpackageinfo.Widgets.Add(this.pnldownload);
|
||||||
this.pnlpackageinfo.Controls.Add(this.lbpkgdescription);
|
this.pnlpackageinfo.Widgets.Add(this.lbpkgdescription);
|
||||||
this.pnlpackageinfo.Controls.Add(this.lbpkgname);
|
this.pnlpackageinfo.Widgets.Add(this.lbpkgname);
|
||||||
this.pnlpackageinfo.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlpackageinfo.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnlpackageinfo.Location = new System.Drawing.Point(0, 47);
|
this.pnlpackageinfo.Location = new System.Drawing.Point(0, 47);
|
||||||
this.pnlpackageinfo.Name = "pnlpackageinfo";
|
this.pnlpackageinfo.Name = "pnlpackageinfo";
|
||||||
this.pnlpackageinfo.Size = new System.Drawing.Size(886, 422);
|
this.pnlpackageinfo.Size = new System.Drawing.Size(886, 422);
|
||||||
|
@ -530,9 +530,9 @@
|
||||||
//
|
//
|
||||||
// pnlauthordetails
|
// pnlauthordetails
|
||||||
//
|
//
|
||||||
this.pnlauthordetails.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.pnlauthordetails.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.pnlauthordetails.Controls.Add(this.lbauthordescription);
|
this.pnlauthordetails.Widgets.Add(this.lbauthordescription);
|
||||||
this.pnlauthordetails.Controls.Add(this.lbauthorname);
|
this.pnlauthordetails.Widgets.Add(this.lbauthorname);
|
||||||
this.pnlauthordetails.Location = new System.Drawing.Point(12, 213);
|
this.pnlauthordetails.Location = new System.Drawing.Point(12, 213);
|
||||||
this.pnlauthordetails.Name = "pnlauthordetails";
|
this.pnlauthordetails.Name = "pnlauthordetails";
|
||||||
this.pnlauthordetails.Size = new System.Drawing.Size(468, 197);
|
this.pnlauthordetails.Size = new System.Drawing.Size(468, 197);
|
||||||
|
@ -561,25 +561,25 @@
|
||||||
this.pbappicon.Location = new System.Drawing.Point(12, 11);
|
this.pbappicon.Location = new System.Drawing.Point(12, 11);
|
||||||
this.pbappicon.Name = "pbappicon";
|
this.pbappicon.Name = "pbappicon";
|
||||||
this.pbappicon.Size = new System.Drawing.Size(32, 32);
|
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.TabIndex = 4;
|
||||||
this.pbappicon.TabStop = false;
|
this.pbappicon.TabStop = false;
|
||||||
//
|
//
|
||||||
// pbappscreenshot
|
// 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.Location = new System.Drawing.Point(500, 213);
|
||||||
this.pbappscreenshot.Name = "pbappscreenshot";
|
this.pbappscreenshot.Name = "pbappscreenshot";
|
||||||
this.pbappscreenshot.Size = new System.Drawing.Size(374, 197);
|
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.TabIndex = 3;
|
||||||
this.pbappscreenshot.TabStop = false;
|
this.pbappscreenshot.TabStop = false;
|
||||||
//
|
//
|
||||||
// pnldownload
|
// pnldownload
|
||||||
//
|
//
|
||||||
this.pnldownload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
this.pnldownload.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
|
||||||
this.pnldownload.Controls.Add(this.lbdownloadpath);
|
this.pnldownload.Widgets.Add(this.lbdownloadpath);
|
||||||
this.pnldownload.Controls.Add(this.btndownload);
|
this.pnldownload.Widgets.Add(this.btndownload);
|
||||||
this.pnldownload.Location = new System.Drawing.Point(646, 7);
|
this.pnldownload.Location = new System.Drawing.Point(646, 7);
|
||||||
this.pnldownload.Name = "pnldownload";
|
this.pnldownload.Name = "pnldownload";
|
||||||
this.pnldownload.Size = new System.Drawing.Size(237, 97);
|
this.pnldownload.Size = new System.Drawing.Size(237, 97);
|
||||||
|
@ -596,7 +596,7 @@
|
||||||
//
|
//
|
||||||
// btndownload
|
// 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.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btndownload.Location = new System.Drawing.Point(112, 13);
|
this.btndownload.Location = new System.Drawing.Point(112, 13);
|
||||||
this.btndownload.Name = "btndownload";
|
this.btndownload.Name = "btndownload";
|
||||||
|
@ -608,8 +608,8 @@
|
||||||
//
|
//
|
||||||
// lbpkgdescription
|
// lbpkgdescription
|
||||||
//
|
//
|
||||||
this.lbpkgdescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lbpkgdescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)));
|
| ShiftUI.AnchorStyles.Left)));
|
||||||
this.lbpkgdescription.Location = new System.Drawing.Point(17, 47);
|
this.lbpkgdescription.Location = new System.Drawing.Point(17, 47);
|
||||||
this.lbpkgdescription.Name = "lbpkgdescription";
|
this.lbpkgdescription.Name = "lbpkgdescription";
|
||||||
this.lbpkgdescription.Size = new System.Drawing.Size(347, 156);
|
this.lbpkgdescription.Size = new System.Drawing.Size(347, 156);
|
||||||
|
@ -628,8 +628,8 @@
|
||||||
//
|
//
|
||||||
// pnllist
|
// pnllist
|
||||||
//
|
//
|
||||||
this.pnllist.Controls.Add(this.lvpackages);
|
this.pnllist.Widgets.Add(this.lvpackages);
|
||||||
this.pnllist.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnllist.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnllist.Location = new System.Drawing.Point(0, 47);
|
this.pnllist.Location = new System.Drawing.Point(0, 47);
|
||||||
this.pnllist.Name = "pnllist";
|
this.pnllist.Name = "pnllist";
|
||||||
this.pnllist.Size = new System.Drawing.Size(886, 422);
|
this.pnllist.Size = new System.Drawing.Size(886, 422);
|
||||||
|
@ -637,19 +637,19 @@
|
||||||
//
|
//
|
||||||
// lvpackages
|
// lvpackages
|
||||||
//
|
//
|
||||||
this.lvpackages.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
this.lvpackages.Columns.AddRange(new ShiftUI.ColumnHeader[] {
|
||||||
this.columnHeader1,
|
this.columnHeader1,
|
||||||
this.columnHeader2,
|
this.columnHeader2,
|
||||||
this.columnHeader3});
|
this.columnHeader3});
|
||||||
this.lvpackages.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.lvpackages.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.lvpackages.FullRowSelect = true;
|
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.Location = new System.Drawing.Point(0, 0);
|
||||||
this.lvpackages.Name = "lvpackages";
|
this.lvpackages.Name = "lvpackages";
|
||||||
this.lvpackages.Size = new System.Drawing.Size(886, 422);
|
this.lvpackages.Size = new System.Drawing.Size(886, 422);
|
||||||
this.lvpackages.TabIndex = 0;
|
this.lvpackages.TabIndex = 0;
|
||||||
this.lvpackages.UseCompatibleStateImageBehavior = false;
|
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.SelectedIndexChanged += new System.EventHandler(this.lvpackages_SelectedIndexChanged);
|
||||||
this.lvpackages.DoubleClick += new System.EventHandler(this.lvpackages_DoubleClick);
|
this.lvpackages.DoubleClick += new System.EventHandler(this.lvpackages_DoubleClick);
|
||||||
//
|
//
|
||||||
|
@ -668,14 +668,14 @@
|
||||||
// pnlsearch
|
// pnlsearch
|
||||||
//
|
//
|
||||||
this.pnlsearch.BackColor = System.Drawing.Color.Gray;
|
this.pnlsearch.BackColor = System.Drawing.Color.Gray;
|
||||||
this.pnlsearch.Controls.Add(this.btnlounge);
|
this.pnlsearch.Widgets.Add(this.btnlounge);
|
||||||
this.pnlsearch.Controls.Add(this.label2);
|
this.pnlsearch.Widgets.Add(this.label2);
|
||||||
this.pnlsearch.Controls.Add(this.btngetkey);
|
this.pnlsearch.Widgets.Add(this.btngetkey);
|
||||||
this.pnlsearch.Controls.Add(this.label1);
|
this.pnlsearch.Widgets.Add(this.label1);
|
||||||
this.pnlsearch.Controls.Add(this.txtsearch);
|
this.pnlsearch.Widgets.Add(this.txtsearch);
|
||||||
this.pnlsearch.Controls.Add(this.btnskins);
|
this.pnlsearch.Widgets.Add(this.btnskins);
|
||||||
this.pnlsearch.Controls.Add(this.btnapps);
|
this.pnlsearch.Widgets.Add(this.btnapps);
|
||||||
this.pnlsearch.Dock = System.Windows.Forms.DockStyle.Top;
|
this.pnlsearch.Dock = ShiftUI.DockStyle.Top;
|
||||||
this.pnlsearch.ForeColor = System.Drawing.Color.White;
|
this.pnlsearch.ForeColor = System.Drawing.Color.White;
|
||||||
this.pnlsearch.Location = new System.Drawing.Point(0, 0);
|
this.pnlsearch.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pnlsearch.Name = "pnlsearch";
|
this.pnlsearch.Name = "pnlsearch";
|
||||||
|
@ -684,7 +684,7 @@
|
||||||
//
|
//
|
||||||
// btnlounge
|
// 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.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btnlounge.Location = new System.Drawing.Point(377, 14);
|
this.btnlounge.Location = new System.Drawing.Point(377, 14);
|
||||||
this.btnlounge.Name = "btnlounge";
|
this.btnlounge.Name = "btnlounge";
|
||||||
|
@ -696,7 +696,7 @@
|
||||||
//
|
//
|
||||||
// label2
|
// 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.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(643, 16);
|
this.label2.Location = new System.Drawing.Point(643, 16);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
|
@ -706,7 +706,7 @@
|
||||||
//
|
//
|
||||||
// btngetkey
|
// 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.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btngetkey.Location = new System.Drawing.Point(296, 14);
|
this.btngetkey.Location = new System.Drawing.Point(296, 14);
|
||||||
this.btngetkey.Name = "btngetkey";
|
this.btngetkey.Name = "btngetkey";
|
||||||
|
@ -727,7 +727,7 @@
|
||||||
//
|
//
|
||||||
// txtsearch
|
// 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.Location = new System.Drawing.Point(721, 13);
|
||||||
this.txtsearch.Name = "txtsearch";
|
this.txtsearch.Name = "txtsearch";
|
||||||
this.txtsearch.Size = new System.Drawing.Size(153, 20);
|
this.txtsearch.Size = new System.Drawing.Size(153, 20);
|
||||||
|
@ -736,7 +736,7 @@
|
||||||
//
|
//
|
||||||
// btnskins
|
// 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.Font = new System.Drawing.Font("Times New Roman", 10F);
|
||||||
this.btnskins.Location = new System.Drawing.Point(86, 4);
|
this.btnskins.Location = new System.Drawing.Point(86, 4);
|
||||||
this.btnskins.Name = "btnskins";
|
this.btnskins.Name = "btnskins";
|
||||||
|
@ -748,7 +748,7 @@
|
||||||
//
|
//
|
||||||
// btnapps
|
// 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.Font = new System.Drawing.Font("Times New Roman", 10F);
|
||||||
this.btnapps.Location = new System.Drawing.Point(4, 4);
|
this.btnapps.Location = new System.Drawing.Point(4, 4);
|
||||||
this.btnapps.Name = "btnapps";
|
this.btnapps.Name = "btnapps";
|
||||||
|
@ -760,17 +760,17 @@
|
||||||
//
|
//
|
||||||
// imgpackageicons
|
// 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.ImageSize = new System.Drawing.Size(16, 16);
|
||||||
this.imgpackageicons.TransparentColor = System.Drawing.Color.Transparent;
|
this.imgpackageicons.TransparentColor = System.Drawing.Color.Transparent;
|
||||||
//
|
//
|
||||||
// Appscape
|
// Appscape
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.BackColor = System.Drawing.SystemColors.Control;
|
||||||
this.ClientSize = new System.Drawing.Size(886, 469);
|
this.ClientSize = new System.Drawing.Size(886, 469);
|
||||||
this.Controls.Add(this.panel3);
|
this.Widgets.Add(this.panel3);
|
||||||
this.Name = "Appscape";
|
this.Name = "Appscape";
|
||||||
this.Text = "Form1";
|
this.Text = "Form1";
|
||||||
this.Load += new System.EventHandler(this.Form1_Load);
|
this.Load += new System.EventHandler(this.Form1_Load);
|
||||||
|
@ -796,67 +796,67 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private System.Windows.Forms.Panel panel3;
|
private ShiftUI.Panel panel3;
|
||||||
private System.Windows.Forms.ImageList imgpackageicons;
|
private ShiftUI.ImageList imgpackageicons;
|
||||||
private System.Windows.Forms.Panel pnlsearch;
|
private ShiftUI.Panel pnlsearch;
|
||||||
private System.Windows.Forms.Button btnskins;
|
private ShiftUI.Button btnskins;
|
||||||
private System.Windows.Forms.Button btnapps;
|
private ShiftUI.Button btnapps;
|
||||||
private System.Windows.Forms.Panel pnlpackageinfo;
|
private ShiftUI.Panel pnlpackageinfo;
|
||||||
private System.Windows.Forms.Label lbpkgname;
|
private ShiftUI.Label lbpkgname;
|
||||||
private System.Windows.Forms.Label lbpkgdescription;
|
private ShiftUI.Label lbpkgdescription;
|
||||||
private System.Windows.Forms.Panel pnldownload;
|
private ShiftUI.Panel pnldownload;
|
||||||
private System.Windows.Forms.Label lbdownloadpath;
|
private ShiftUI.Label lbdownloadpath;
|
||||||
private System.Windows.Forms.Button btndownload;
|
private ShiftUI.Button btndownload;
|
||||||
private System.Windows.Forms.Panel pnllist;
|
private ShiftUI.Panel pnllist;
|
||||||
private System.Windows.Forms.ListView lvpackages;
|
private ShiftUI.ListView lvpackages;
|
||||||
private System.Windows.Forms.ColumnHeader columnHeader1;
|
private ShiftUI.ColumnHeader columnHeader1;
|
||||||
private System.Windows.Forms.ColumnHeader columnHeader2;
|
private ShiftUI.ColumnHeader columnHeader2;
|
||||||
private System.Windows.Forms.ColumnHeader columnHeader3;
|
private ShiftUI.ColumnHeader columnHeader3;
|
||||||
private System.Windows.Forms.PictureBox pbappscreenshot;
|
private ShiftUI.PictureBox pbappscreenshot;
|
||||||
private System.Windows.Forms.PictureBox pbappicon;
|
private ShiftUI.PictureBox pbappicon;
|
||||||
private System.Windows.Forms.TextBox txtsearch;
|
private ShiftUI.TextBox txtsearch;
|
||||||
private System.Windows.Forms.Button btnlounge;
|
private ShiftUI.Button btnlounge;
|
||||||
private System.Windows.Forms.Label label2;
|
private ShiftUI.Label label2;
|
||||||
private System.Windows.Forms.Button btngetkey;
|
private ShiftUI.Button btngetkey;
|
||||||
private System.Windows.Forms.Label label1;
|
private ShiftUI.Label label1;
|
||||||
private System.Windows.Forms.Panel pnllounge;
|
private ShiftUI.Panel pnllounge;
|
||||||
private System.Windows.Forms.ListView lvmypackages;
|
private ShiftUI.ListView lvmypackages;
|
||||||
private System.Windows.Forms.ColumnHeader columnHeader4;
|
private ShiftUI.ColumnHeader columnHeader4;
|
||||||
private System.Windows.Forms.Label lbmyname;
|
private ShiftUI.Label lbmyname;
|
||||||
private System.Windows.Forms.Label lbmybio;
|
private ShiftUI.Label lbmybio;
|
||||||
private System.Windows.Forms.Label label3;
|
private ShiftUI.Label label3;
|
||||||
private System.Windows.Forms.TextBox txtbitnoteaddress;
|
private ShiftUI.TextBox txtbitnoteaddress;
|
||||||
private System.Windows.Forms.Label label8;
|
private ShiftUI.Label label8;
|
||||||
private System.Windows.Forms.TextBox txtbio;
|
private ShiftUI.TextBox txtbio;
|
||||||
private System.Windows.Forms.Label label7;
|
private ShiftUI.Label label7;
|
||||||
private System.Windows.Forms.TextBox txtmoddername;
|
private ShiftUI.TextBox txtmoddername;
|
||||||
private System.Windows.Forms.Label label6;
|
private ShiftUI.Label label6;
|
||||||
private System.Windows.Forms.Label label5;
|
private ShiftUI.Label label5;
|
||||||
private System.Windows.Forms.Label label4;
|
private ShiftUI.Label label4;
|
||||||
private System.Windows.Forms.Button btnsave;
|
private ShiftUI.Button btnsave;
|
||||||
private System.Windows.Forms.Button btnupload;
|
private ShiftUI.Button btnupload;
|
||||||
private System.Windows.Forms.Button btnedit;
|
private ShiftUI.Button btnedit;
|
||||||
private System.Windows.Forms.Panel pnlpackageeditor;
|
private ShiftUI.Panel pnlpackageeditor;
|
||||||
private System.Windows.Forms.Label label9;
|
private ShiftUI.Label label9;
|
||||||
private System.Windows.Forms.TextBox txtprice;
|
private ShiftUI.TextBox txtprice;
|
||||||
private System.Windows.Forms.Label lbprice;
|
private ShiftUI.Label lbprice;
|
||||||
private System.Windows.Forms.Label lbaddress;
|
private ShiftUI.Label lbaddress;
|
||||||
private System.Windows.Forms.CheckBox cbsell;
|
private ShiftUI.CheckBox cbsell;
|
||||||
private System.Windows.Forms.TextBox txtpackagedescription;
|
private ShiftUI.TextBox txtpackagedescription;
|
||||||
private System.Windows.Forms.Label label10;
|
private ShiftUI.Label label10;
|
||||||
private System.Windows.Forms.TextBox txtpackagename;
|
private ShiftUI.TextBox txtpackagename;
|
||||||
private System.Windows.Forms.Label label11;
|
private ShiftUI.Label label11;
|
||||||
private System.Windows.Forms.Label label12;
|
private ShiftUI.Label label12;
|
||||||
private System.Windows.Forms.Button btndonecustomizing;
|
private ShiftUI.Button btndonecustomizing;
|
||||||
private System.Windows.Forms.Button btnsaa;
|
private ShiftUI.Button btnsaa;
|
||||||
private System.Windows.Forms.Panel pnlauthordetails;
|
private ShiftUI.Panel pnlauthordetails;
|
||||||
private System.Windows.Forms.Label lbauthordescription;
|
private ShiftUI.Label lbauthordescription;
|
||||||
private System.Windows.Forms.Label lbauthorname;
|
private ShiftUI.Label lbauthorname;
|
||||||
private System.Windows.Forms.Panel pnlchoosenetwork;
|
private ShiftUI.Panel pnlchoosenetwork;
|
||||||
private System.Windows.Forms.Button btnrequest;
|
private ShiftUI.Button btnrequest;
|
||||||
private System.Windows.Forms.Label label14;
|
private ShiftUI.Label label14;
|
||||||
private System.Windows.Forms.Label label13;
|
private ShiftUI.Label label13;
|
||||||
private System.Windows.Forms.ListView lvnets;
|
private ShiftUI.ListView lvnets;
|
||||||
private System.Windows.Forms.ColumnHeader clhostnameheader;
|
private ShiftUI.ColumnHeader clhostnameheader;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -11,7 +11,7 @@ using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<data name="label14.Text" xml:space="preserve">
|
<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>
|
<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>
|
||||||
|
|
|
@ -28,31 +28,31 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.lbtitle = new System.Windows.Forms.Label();
|
this.lbtitle = new ShiftUI.Label();
|
||||||
this.pnlmain = new System.Windows.Forms.Panel();
|
this.pnlmain = new ShiftUI.Panel();
|
||||||
this.Page0 = new System.Windows.Forms.Panel();
|
this.Page0 = new ShiftUI.Panel();
|
||||||
this.txtprice = new System.Windows.Forms.TextBox();
|
this.txtprice = new ShiftUI.TextBox();
|
||||||
this.lbprice = new System.Windows.Forms.Label();
|
this.lbprice = new ShiftUI.Label();
|
||||||
this.lbaddress = new System.Windows.Forms.Label();
|
this.lbaddress = new ShiftUI.Label();
|
||||||
this.cbsell = new System.Windows.Forms.CheckBox();
|
this.cbsell = new ShiftUI.CheckBox();
|
||||||
this.txtpackagedescription = new System.Windows.Forms.TextBox();
|
this.txtpackagedescription = new ShiftUI.TextBox();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new ShiftUI.Label();
|
||||||
this.txtpackagename = new System.Windows.Forms.TextBox();
|
this.txtpackagename = new ShiftUI.TextBox();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new ShiftUI.Label();
|
||||||
this.Page1 = new System.Windows.Forms.Panel();
|
this.Page1 = new ShiftUI.Panel();
|
||||||
this.btncompilesaa = new System.Windows.Forms.Button();
|
this.btncompilesaa = new ShiftUI.Button();
|
||||||
this.btnscreenshot = new System.Windows.Forms.Button();
|
this.btnscreenshot = new ShiftUI.Button();
|
||||||
this.btnicon = new System.Windows.Forms.Button();
|
this.btnicon = new ShiftUI.Button();
|
||||||
this.btnsaa = new System.Windows.Forms.Button();
|
this.btnsaa = new ShiftUI.Button();
|
||||||
this.Page2 = new System.Windows.Forms.Panel();
|
this.Page2 = new ShiftUI.Panel();
|
||||||
this.txtconfirm = new System.Windows.Forms.TextBox();
|
this.txtconfirm = new ShiftUI.TextBox();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new ShiftUI.Label();
|
||||||
this.lbldescription = new System.Windows.Forms.Label();
|
this.lbldescription = new ShiftUI.Label();
|
||||||
this.pnlactions = new System.Windows.Forms.FlowLayoutPanel();
|
this.pnlactions = new ShiftUI.FlowLayoutPanel();
|
||||||
this.btndone = new System.Windows.Forms.Button();
|
this.btndone = new ShiftUI.Button();
|
||||||
this.btnnext = new System.Windows.Forms.Button();
|
this.btnnext = new ShiftUI.Button();
|
||||||
this.btnback = new System.Windows.Forms.Button();
|
this.btnback = new ShiftUI.Button();
|
||||||
this.btncancel = new System.Windows.Forms.Button();
|
this.btncancel = new ShiftUI.Button();
|
||||||
this.pnlmain.SuspendLayout();
|
this.pnlmain.SuspendLayout();
|
||||||
this.Page0.SuspendLayout();
|
this.Page0.SuspendLayout();
|
||||||
this.Page1.SuspendLayout();
|
this.Page1.SuspendLayout();
|
||||||
|
@ -63,12 +63,12 @@
|
||||||
// lbtitle
|
// lbtitle
|
||||||
//
|
//
|
||||||
this.lbtitle.BackColor = System.Drawing.Color.Gray;
|
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.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
||||||
this.lbtitle.ForeColor = System.Drawing.Color.White;
|
this.lbtitle.ForeColor = System.Drawing.Color.White;
|
||||||
this.lbtitle.Location = new System.Drawing.Point(0, 0);
|
this.lbtitle.Location = new System.Drawing.Point(0, 0);
|
||||||
this.lbtitle.Name = "lbtitle";
|
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.Size = new System.Drawing.Size(711, 49);
|
||||||
this.lbtitle.TabIndex = 0;
|
this.lbtitle.TabIndex = 0;
|
||||||
this.lbtitle.Text = "Welcome!";
|
this.lbtitle.Text = "Welcome!";
|
||||||
|
@ -77,13 +77,13 @@
|
||||||
// pnlmain
|
// pnlmain
|
||||||
//
|
//
|
||||||
this.pnlmain.BackColor = System.Drawing.Color.Gray;
|
this.pnlmain.BackColor = System.Drawing.Color.Gray;
|
||||||
this.pnlmain.Controls.Add(this.Page0);
|
this.pnlmain.Widgets.Add(this.Page0);
|
||||||
this.pnlmain.Controls.Add(this.Page1);
|
this.pnlmain.Widgets.Add(this.Page1);
|
||||||
this.pnlmain.Controls.Add(this.Page2);
|
this.pnlmain.Widgets.Add(this.Page2);
|
||||||
this.pnlmain.Controls.Add(this.lbldescription);
|
this.pnlmain.Widgets.Add(this.lbldescription);
|
||||||
this.pnlmain.Controls.Add(this.pnlactions);
|
this.pnlmain.Widgets.Add(this.pnlactions);
|
||||||
this.pnlmain.Controls.Add(this.lbtitle);
|
this.pnlmain.Widgets.Add(this.lbtitle);
|
||||||
this.pnlmain.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlmain.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnlmain.Location = new System.Drawing.Point(0, 0);
|
this.pnlmain.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pnlmain.Name = "pnlmain";
|
this.pnlmain.Name = "pnlmain";
|
||||||
this.pnlmain.Size = new System.Drawing.Size(711, 485);
|
this.pnlmain.Size = new System.Drawing.Size(711, 485);
|
||||||
|
@ -91,15 +91,15 @@
|
||||||
//
|
//
|
||||||
// Page0
|
// Page0
|
||||||
//
|
//
|
||||||
this.Page0.Controls.Add(this.txtprice);
|
this.Page0.Widgets.Add(this.txtprice);
|
||||||
this.Page0.Controls.Add(this.lbprice);
|
this.Page0.Widgets.Add(this.lbprice);
|
||||||
this.Page0.Controls.Add(this.lbaddress);
|
this.Page0.Widgets.Add(this.lbaddress);
|
||||||
this.Page0.Controls.Add(this.cbsell);
|
this.Page0.Widgets.Add(this.cbsell);
|
||||||
this.Page0.Controls.Add(this.txtpackagedescription);
|
this.Page0.Widgets.Add(this.txtpackagedescription);
|
||||||
this.Page0.Controls.Add(this.label2);
|
this.Page0.Widgets.Add(this.label2);
|
||||||
this.Page0.Controls.Add(this.txtpackagename);
|
this.Page0.Widgets.Add(this.txtpackagename);
|
||||||
this.Page0.Controls.Add(this.label1);
|
this.Page0.Widgets.Add(this.label1);
|
||||||
this.Page0.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.Page0.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.Page0.Location = new System.Drawing.Point(0, 135);
|
this.Page0.Location = new System.Drawing.Point(0, 135);
|
||||||
this.Page0.Name = "Page0";
|
this.Page0.Name = "Page0";
|
||||||
this.Page0.Size = new System.Drawing.Size(711, 314);
|
this.Page0.Size = new System.Drawing.Size(711, 314);
|
||||||
|
@ -138,9 +138,9 @@
|
||||||
//
|
//
|
||||||
// cbsell
|
// cbsell
|
||||||
//
|
//
|
||||||
this.cbsell.Appearance = System.Windows.Forms.Appearance.Button;
|
this.cbsell.Appearance = ShiftUI.Appearance.Button;
|
||||||
this.cbsell.AutoSize = true;
|
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.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.cbsell.Location = new System.Drawing.Point(98, 235);
|
this.cbsell.Location = new System.Drawing.Point(98, 235);
|
||||||
this.cbsell.Name = "cbsell";
|
this.cbsell.Name = "cbsell";
|
||||||
|
@ -152,8 +152,8 @@
|
||||||
//
|
//
|
||||||
// txtpackagedescription
|
// txtpackagedescription
|
||||||
//
|
//
|
||||||
this.txtpackagedescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtpackagedescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.txtpackagedescription.Location = new System.Drawing.Point(100, 44);
|
this.txtpackagedescription.Location = new System.Drawing.Point(100, 44);
|
||||||
this.txtpackagedescription.Multiline = true;
|
this.txtpackagedescription.Multiline = true;
|
||||||
this.txtpackagedescription.Name = "txtpackagedescription";
|
this.txtpackagedescription.Name = "txtpackagedescription";
|
||||||
|
@ -191,11 +191,11 @@
|
||||||
//
|
//
|
||||||
// Page1
|
// Page1
|
||||||
//
|
//
|
||||||
this.Page1.Controls.Add(this.btncompilesaa);
|
this.Page1.Widgets.Add(this.btncompilesaa);
|
||||||
this.Page1.Controls.Add(this.btnscreenshot);
|
this.Page1.Widgets.Add(this.btnscreenshot);
|
||||||
this.Page1.Controls.Add(this.btnicon);
|
this.Page1.Widgets.Add(this.btnicon);
|
||||||
this.Page1.Controls.Add(this.btnsaa);
|
this.Page1.Widgets.Add(this.btnsaa);
|
||||||
this.Page1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.Page1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.Page1.Location = new System.Drawing.Point(0, 135);
|
this.Page1.Location = new System.Drawing.Point(0, 135);
|
||||||
this.Page1.Name = "Page1";
|
this.Page1.Name = "Page1";
|
||||||
this.Page1.Size = new System.Drawing.Size(711, 314);
|
this.Page1.Size = new System.Drawing.Size(711, 314);
|
||||||
|
@ -203,10 +203,10 @@
|
||||||
//
|
//
|
||||||
// btncompilesaa
|
// 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.AutoSize = true;
|
||||||
this.btncompilesaa.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btncompilesaa.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btncompilesaa.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btncompilesaa.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btncompilesaa.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btncompilesaa.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btncompilesaa.Location = new System.Drawing.Point(4, 282);
|
this.btncompilesaa.Location = new System.Drawing.Point(4, 282);
|
||||||
this.btncompilesaa.Name = "btncompilesaa";
|
this.btncompilesaa.Name = "btncompilesaa";
|
||||||
|
@ -219,8 +219,8 @@
|
||||||
// btnscreenshot
|
// btnscreenshot
|
||||||
//
|
//
|
||||||
this.btnscreenshot.AutoSize = true;
|
this.btnscreenshot.AutoSize = true;
|
||||||
this.btnscreenshot.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnscreenshot.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnscreenshot.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnscreenshot.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnscreenshot.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btnscreenshot.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btnscreenshot.Location = new System.Drawing.Point(12, 76);
|
this.btnscreenshot.Location = new System.Drawing.Point(12, 76);
|
||||||
this.btnscreenshot.Name = "btnscreenshot";
|
this.btnscreenshot.Name = "btnscreenshot";
|
||||||
|
@ -233,8 +233,8 @@
|
||||||
// btnicon
|
// btnicon
|
||||||
//
|
//
|
||||||
this.btnicon.AutoSize = true;
|
this.btnicon.AutoSize = true;
|
||||||
this.btnicon.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnicon.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnicon.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnicon.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnicon.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btnicon.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btnicon.Location = new System.Drawing.Point(12, 44);
|
this.btnicon.Location = new System.Drawing.Point(12, 44);
|
||||||
this.btnicon.Name = "btnicon";
|
this.btnicon.Name = "btnicon";
|
||||||
|
@ -247,8 +247,8 @@
|
||||||
// btnsaa
|
// btnsaa
|
||||||
//
|
//
|
||||||
this.btnsaa.AutoSize = true;
|
this.btnsaa.AutoSize = true;
|
||||||
this.btnsaa.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnsaa.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnsaa.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnsaa.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnsaa.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btnsaa.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btnsaa.Location = new System.Drawing.Point(12, 9);
|
this.btnsaa.Location = new System.Drawing.Point(12, 9);
|
||||||
this.btnsaa.Name = "btnsaa";
|
this.btnsaa.Name = "btnsaa";
|
||||||
|
@ -260,9 +260,9 @@
|
||||||
//
|
//
|
||||||
// Page2
|
// Page2
|
||||||
//
|
//
|
||||||
this.Page2.Controls.Add(this.txtconfirm);
|
this.Page2.Widgets.Add(this.txtconfirm);
|
||||||
this.Page2.Controls.Add(this.label3);
|
this.Page2.Widgets.Add(this.label3);
|
||||||
this.Page2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.Page2.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.Page2.Location = new System.Drawing.Point(0, 135);
|
this.Page2.Location = new System.Drawing.Point(0, 135);
|
||||||
this.Page2.Name = "Page2";
|
this.Page2.Name = "Page2";
|
||||||
this.Page2.Size = new System.Drawing.Size(711, 314);
|
this.Page2.Size = new System.Drawing.Size(711, 314);
|
||||||
|
@ -270,9 +270,9 @@
|
||||||
//
|
//
|
||||||
// txtconfirm
|
// txtconfirm
|
||||||
//
|
//
|
||||||
this.txtconfirm.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.txtconfirm.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.txtconfirm.Location = new System.Drawing.Point(19, 49);
|
this.txtconfirm.Location = new System.Drawing.Point(19, 49);
|
||||||
this.txtconfirm.Multiline = true;
|
this.txtconfirm.Multiline = true;
|
||||||
this.txtconfirm.Name = "txtconfirm";
|
this.txtconfirm.Name = "txtconfirm";
|
||||||
|
@ -290,24 +290,24 @@
|
||||||
//
|
//
|
||||||
// lbldescription
|
// 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||||
this.lbldescription.ForeColor = System.Drawing.Color.White;
|
this.lbldescription.ForeColor = System.Drawing.Color.White;
|
||||||
this.lbldescription.Location = new System.Drawing.Point(0, 49);
|
this.lbldescription.Location = new System.Drawing.Point(0, 49);
|
||||||
this.lbldescription.Name = "lbldescription";
|
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.Size = new System.Drawing.Size(711, 86);
|
||||||
this.lbldescription.TabIndex = 2;
|
this.lbldescription.TabIndex = 2;
|
||||||
this.lbldescription.Text = "label1";
|
this.lbldescription.Text = "label1";
|
||||||
//
|
//
|
||||||
// pnlactions
|
// pnlactions
|
||||||
//
|
//
|
||||||
this.pnlactions.Controls.Add(this.btndone);
|
this.pnlactions.Widgets.Add(this.btndone);
|
||||||
this.pnlactions.Controls.Add(this.btnnext);
|
this.pnlactions.Widgets.Add(this.btnnext);
|
||||||
this.pnlactions.Controls.Add(this.btnback);
|
this.pnlactions.Widgets.Add(this.btnback);
|
||||||
this.pnlactions.Controls.Add(this.btncancel);
|
this.pnlactions.Widgets.Add(this.btncancel);
|
||||||
this.pnlactions.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.pnlactions.Dock = ShiftUI.DockStyle.Bottom;
|
||||||
this.pnlactions.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
this.pnlactions.FlowDirection = ShiftUI.FlowDirection.RightToLeft;
|
||||||
this.pnlactions.ForeColor = System.Drawing.Color.White;
|
this.pnlactions.ForeColor = System.Drawing.Color.White;
|
||||||
this.pnlactions.Location = new System.Drawing.Point(0, 449);
|
this.pnlactions.Location = new System.Drawing.Point(0, 449);
|
||||||
this.pnlactions.Name = "pnlactions";
|
this.pnlactions.Name = "pnlactions";
|
||||||
|
@ -317,8 +317,8 @@
|
||||||
// btndone
|
// btndone
|
||||||
//
|
//
|
||||||
this.btndone.AutoSize = true;
|
this.btndone.AutoSize = true;
|
||||||
this.btndone.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btndone.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btndone.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btndone.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btndone.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btndone.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btndone.Location = new System.Drawing.Point(660, 3);
|
this.btndone.Location = new System.Drawing.Point(660, 3);
|
||||||
this.btndone.Name = "btndone";
|
this.btndone.Name = "btndone";
|
||||||
|
@ -331,8 +331,8 @@
|
||||||
// btnnext
|
// btnnext
|
||||||
//
|
//
|
||||||
this.btnnext.AutoSize = true;
|
this.btnnext.AutoSize = true;
|
||||||
this.btnnext.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnnext.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnnext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnnext.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnnext.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btnnext.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btnnext.Location = new System.Drawing.Point(612, 3);
|
this.btnnext.Location = new System.Drawing.Point(612, 3);
|
||||||
this.btnnext.Name = "btnnext";
|
this.btnnext.Name = "btnnext";
|
||||||
|
@ -345,8 +345,8 @@
|
||||||
// btnback
|
// btnback
|
||||||
//
|
//
|
||||||
this.btnback.AutoSize = true;
|
this.btnback.AutoSize = true;
|
||||||
this.btnback.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnback.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnback.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnback.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnback.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btnback.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btnback.Location = new System.Drawing.Point(564, 3);
|
this.btnback.Location = new System.Drawing.Point(564, 3);
|
||||||
this.btnback.Name = "btnback";
|
this.btnback.Name = "btnback";
|
||||||
|
@ -359,8 +359,8 @@
|
||||||
// btncancel
|
// btncancel
|
||||||
//
|
//
|
||||||
this.btncancel.AutoSize = true;
|
this.btncancel.AutoSize = true;
|
||||||
this.btncancel.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btncancel.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btncancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btncancel.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btncancel.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btncancel.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btncancel.Location = new System.Drawing.Point(508, 3);
|
this.btncancel.Location = new System.Drawing.Point(508, 3);
|
||||||
this.btncancel.Name = "btncancel";
|
this.btncancel.Name = "btncancel";
|
||||||
|
@ -373,9 +373,9 @@
|
||||||
// AppscapeUploader
|
// AppscapeUploader
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(711, 485);
|
||||||
this.Controls.Add(this.pnlmain);
|
this.Widgets.Add(this.pnlmain);
|
||||||
this.Name = "AppscapeUploader";
|
this.Name = "AppscapeUploader";
|
||||||
this.Text = "AppscapeUploader";
|
this.Text = "AppscapeUploader";
|
||||||
this.Load += new System.EventHandler(this.AppscapeUploader_Load);
|
this.Load += new System.EventHandler(this.AppscapeUploader_Load);
|
||||||
|
@ -394,30 +394,30 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Label lbtitle;
|
private ShiftUI.Label lbtitle;
|
||||||
private System.Windows.Forms.Panel pnlmain;
|
private ShiftUI.Panel pnlmain;
|
||||||
private System.Windows.Forms.FlowLayoutPanel pnlactions;
|
private ShiftUI.FlowLayoutPanel pnlactions;
|
||||||
private System.Windows.Forms.Button btndone;
|
private ShiftUI.Button btndone;
|
||||||
private System.Windows.Forms.Button btnnext;
|
private ShiftUI.Button btnnext;
|
||||||
private System.Windows.Forms.Button btnback;
|
private ShiftUI.Button btnback;
|
||||||
private System.Windows.Forms.Button btncancel;
|
private ShiftUI.Button btncancel;
|
||||||
private System.Windows.Forms.Label lbldescription;
|
private ShiftUI.Label lbldescription;
|
||||||
private System.Windows.Forms.Panel Page0;
|
private ShiftUI.Panel Page0;
|
||||||
private System.Windows.Forms.Label label1;
|
private ShiftUI.Label label1;
|
||||||
private System.Windows.Forms.TextBox txtpackagedescription;
|
private ShiftUI.TextBox txtpackagedescription;
|
||||||
private System.Windows.Forms.Label label2;
|
private ShiftUI.Label label2;
|
||||||
private System.Windows.Forms.TextBox txtpackagename;
|
private ShiftUI.TextBox txtpackagename;
|
||||||
private System.Windows.Forms.Panel Page1;
|
private ShiftUI.Panel Page1;
|
||||||
private System.Windows.Forms.Button btnsaa;
|
private ShiftUI.Button btnsaa;
|
||||||
private System.Windows.Forms.Button btnscreenshot;
|
private ShiftUI.Button btnscreenshot;
|
||||||
private System.Windows.Forms.Button btnicon;
|
private ShiftUI.Button btnicon;
|
||||||
private System.Windows.Forms.Panel Page2;
|
private ShiftUI.Panel Page2;
|
||||||
private System.Windows.Forms.TextBox txtconfirm;
|
private ShiftUI.TextBox txtconfirm;
|
||||||
private System.Windows.Forms.Label label3;
|
private ShiftUI.Label label3;
|
||||||
private System.Windows.Forms.Button btncompilesaa;
|
private ShiftUI.Button btncompilesaa;
|
||||||
private System.Windows.Forms.TextBox txtprice;
|
private ShiftUI.TextBox txtprice;
|
||||||
private System.Windows.Forms.Label lbprice;
|
private ShiftUI.Label lbprice;
|
||||||
private System.Windows.Forms.Label lbaddress;
|
private ShiftUI.Label lbaddress;
|
||||||
private System.Windows.Forms.CheckBox cbsell;
|
private ShiftUI.CheckBox cbsell;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -10,7 +10,7 @@ using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
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".
|
/// Makes the specified control and ALL of it's children, grand children, great grand children, and so on, appear "dark".
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="ctrl">The top of the hierarchy; the start of it all.</param>
|
/// <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.BackColor = API.CurrentSkin.titlebarcolour;
|
||||||
ctrl.ForeColor = API.CurrentSkin.titletextcolour;
|
ctrl.ForeColor = API.CurrentSkin.titletextcolour;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var pnl = (Panel)ctrl;
|
var pnl = (Panel)ctrl;
|
||||||
foreach(Control c in pnl.Controls)
|
foreach(Widget c in pnl.Widgets)
|
||||||
{
|
{
|
||||||
RecursiveControlSetup(c);
|
RecursiveWidgetSetup(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
|
@ -143,7 +143,7 @@ namespace ShiftOS
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void SetupUI()
|
private void SetupUI()
|
||||||
{
|
{
|
||||||
RecursiveControlSetup(pnlmain);
|
RecursiveWidgetSetup(pnlmain);
|
||||||
switch (page)
|
switch (page)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
2022
source/WindowsFormsApplication1/Apps/Artpad.Designer.cs
generated
2022
source/WindowsFormsApplication1/Apps/Artpad.Designer.cs
generated
File diff suppressed because it is too large
Load diff
|
@ -6,7 +6,7 @@ using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
using System.Drawing.Text;
|
using System.Drawing.Text;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
using System.Drawing.Drawing2D;
|
using System.Drawing.Drawing2D;
|
||||||
|
@ -247,7 +247,7 @@ namespace ShiftOS
|
||||||
#region Drawing Display
|
#region Drawing Display
|
||||||
|
|
||||||
// ERROR: Handles clauses are not supported in C#
|
// 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.FillRectangle(Brushes.White, 0, 0, canvaswidth * magnificationlevel, canvasheight * magnificationlevel);
|
||||||
e.Graphics.InterpolationMode = InterpolationMode.NearestNeighbor;
|
e.Graphics.InterpolationMode = InterpolationMode.NearestNeighbor;
|
||||||
|
@ -353,7 +353,7 @@ namespace ShiftOS
|
||||||
|
|
||||||
|
|
||||||
// ERROR: Handles clauses are not supported in C#
|
// 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.undoStack.Push((Image)canvasbitmap.Clone());
|
||||||
undo.redoStack.Clear();
|
undo.redoStack.Clear();
|
||||||
|
@ -478,7 +478,7 @@ namespace ShiftOS
|
||||||
}
|
}
|
||||||
|
|
||||||
// ERROR: Handles clauses are not supported in C#
|
// 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;
|
Point lastpoint;
|
||||||
|
|
||||||
|
@ -621,7 +621,7 @@ namespace ShiftOS
|
||||||
// ERROR: Handles clauses are not supported in C#
|
// ERROR: Handles clauses are not supported in C#
|
||||||
private void colourpallet1_MouseClick(object sender, MouseEventArgs e)
|
private void colourpallet1_MouseClick(object sender, MouseEventArgs e)
|
||||||
{
|
{
|
||||||
var s = (Control)sender;
|
var s = (Widget)sender;
|
||||||
if (e.Button == MouseButtons.Left)
|
if (e.Button == MouseButtons.Left)
|
||||||
{
|
{
|
||||||
drawingcolour = s.BackColor;
|
drawingcolour = s.BackColor;
|
||||||
|
@ -1265,7 +1265,7 @@ namespace ShiftOS
|
||||||
// ERROR: Handles clauses are not supported in C#
|
// ERROR: Handles clauses are not supported in C#
|
||||||
private void ChangePencilSize(object sender, EventArgs e)
|
private void ChangePencilSize(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
var s = (Control)sender;
|
var s = (Widget)sender;
|
||||||
switch (s.Name.ToString())
|
switch (s.Name.ToString())
|
||||||
{
|
{
|
||||||
case "btnpencilsize1":
|
case "btnpencilsize1":
|
||||||
|
@ -1735,13 +1735,13 @@ namespace ShiftOS
|
||||||
{
|
{
|
||||||
panelstoadd = 128;
|
panelstoadd = 128;
|
||||||
}
|
}
|
||||||
flowcolours.Controls.Clear();
|
flowcolours.Widgets.Clear();
|
||||||
for(int i = 0; i < panelstoadd; i++)
|
for(int i = 0; i < panelstoadd; i++)
|
||||||
{
|
{
|
||||||
Panel pnl = new Panel();
|
Panel pnl = new Panel();
|
||||||
pnl.BackColor = Color.Black;
|
pnl.BackColor = Color.Black;
|
||||||
pnl.Size = new Size(12, 8);
|
pnl.Size = new Size(12, 8);
|
||||||
flowcolours.Controls.Add(pnl);
|
flowcolours.Widgets.Add(pnl);
|
||||||
pnl.Margin = new Padding(1, 0, 0, 1);
|
pnl.Margin = new Padding(1, 0, 0, 1);
|
||||||
pnl.MouseClick += new MouseEventHandler(this.colourpallet1_MouseClick);
|
pnl.MouseClick += new MouseEventHandler(this.colourpallet1_MouseClick);
|
||||||
pnl.Show();
|
pnl.Show();
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<metadata name="tmrcodepointcooldown.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="tmrcodepointcooldown.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
|
|
|
@ -28,16 +28,16 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.txtcodepoints = new System.Windows.Forms.TextBox();
|
this.txtcodepoints = new ShiftUI.TextBox();
|
||||||
this.lbstatus = new System.Windows.Forms.Label();
|
this.lbstatus = new ShiftUI.Label();
|
||||||
this.btnconvert = new System.Windows.Forms.Button();
|
this.btnconvert = new ShiftUI.Button();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// txtcodepoints
|
// 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
||||||
this.txtcodepoints.Location = new System.Drawing.Point(28, 12);
|
this.txtcodepoints.Location = new System.Drawing.Point(28, 12);
|
||||||
this.txtcodepoints.Name = "txtcodepoints";
|
this.txtcodepoints.Name = "txtcodepoints";
|
||||||
|
@ -47,8 +47,8 @@
|
||||||
//
|
//
|
||||||
// lbstatus
|
// lbstatus
|
||||||
//
|
//
|
||||||
this.lbstatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.lbstatus.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.lbstatus.AutoSize = true;
|
this.lbstatus.AutoSize = true;
|
||||||
this.lbstatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
this.lbstatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
||||||
this.lbstatus.Location = new System.Drawing.Point(78, 16);
|
this.lbstatus.Location = new System.Drawing.Point(78, 16);
|
||||||
|
@ -59,8 +59,8 @@
|
||||||
//
|
//
|
||||||
// btnconvert
|
// btnconvert
|
||||||
//
|
//
|
||||||
this.btnconvert.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.btnconvert.Dock = ShiftUI.DockStyle.Bottom;
|
||||||
this.btnconvert.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnconvert.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnconvert.Location = new System.Drawing.Point(0, 76);
|
this.btnconvert.Location = new System.Drawing.Point(0, 76);
|
||||||
this.btnconvert.Name = "btnconvert";
|
this.btnconvert.Name = "btnconvert";
|
||||||
this.btnconvert.Size = new System.Drawing.Size(229, 23);
|
this.btnconvert.Size = new System.Drawing.Size(229, 23);
|
||||||
|
@ -72,10 +72,10 @@
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.BackColor = System.Drawing.Color.White;
|
this.panel1.BackColor = System.Drawing.Color.White;
|
||||||
this.panel1.Controls.Add(this.btnconvert);
|
this.panel1.Widgets.Add(this.btnconvert);
|
||||||
this.panel1.Controls.Add(this.lbstatus);
|
this.panel1.Widgets.Add(this.lbstatus);
|
||||||
this.panel1.Controls.Add(this.txtcodepoints);
|
this.panel1.Widgets.Add(this.txtcodepoints);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(229, 99);
|
this.panel1.Size = new System.Drawing.Size(229, 99);
|
||||||
|
@ -84,9 +84,9 @@
|
||||||
// BitnoteConverter
|
// BitnoteConverter
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(229, 99);
|
||||||
this.Controls.Add(this.panel1);
|
this.Widgets.Add(this.panel1);
|
||||||
this.Name = "BitnoteConverter";
|
this.Name = "BitnoteConverter";
|
||||||
this.Text = "BitnoteConverter";
|
this.Text = "BitnoteConverter";
|
||||||
this.Load += new System.EventHandler(this.BitnoteConverter_Load);
|
this.Load += new System.EventHandler(this.BitnoteConverter_Load);
|
||||||
|
@ -98,9 +98,9 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.TextBox txtcodepoints;
|
private ShiftUI.TextBox txtcodepoints;
|
||||||
private System.Windows.Forms.Label lbstatus;
|
private ShiftUI.Label lbstatus;
|
||||||
private System.Windows.Forms.Button btnconvert;
|
private ShiftUI.Button btnconvert;
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -6,7 +6,7 @@ using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -25,28 +25,28 @@ namespace ShiftOS
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
this.pgcontents = new System.Windows.Forms.Panel();
|
this.pgcontents = new ShiftUI.Panel();
|
||||||
this.Label10 = new System.Windows.Forms.Label();
|
this.Label10 = new ShiftUI.Label();
|
||||||
this.btnsend = new System.Windows.Forms.Button();
|
this.btnsend = new ShiftUI.Button();
|
||||||
this.txtsendaddress = new System.Windows.Forms.TextBox();
|
this.txtsendaddress = new ShiftUI.TextBox();
|
||||||
this.Label7 = new System.Windows.Forms.Label();
|
this.Label7 = new ShiftUI.Label();
|
||||||
this.lbltotalbitcoinsmined = new System.Windows.Forms.Label();
|
this.lbltotalbitcoinsmined = new ShiftUI.Label();
|
||||||
this.Panel1 = new System.Windows.Forms.Panel();
|
this.Panel1 = new ShiftUI.Panel();
|
||||||
this.Label6 = new System.Windows.Forms.Label();
|
this.Label6 = new ShiftUI.Label();
|
||||||
this.Label8 = new System.Windows.Forms.Label();
|
this.Label8 = new ShiftUI.Label();
|
||||||
this.turbomodespeed = new System.Windows.Forms.Label();
|
this.turbomodespeed = new ShiftUI.Label();
|
||||||
this.Label5 = new System.Windows.Forms.Label();
|
this.Label5 = new ShiftUI.Label();
|
||||||
this.lbldiggerstatsspeed = new System.Windows.Forms.Label();
|
this.lbldiggerstatsspeed = new ShiftUI.Label();
|
||||||
this.lbldiggerstatsgrade = new System.Windows.Forms.Label();
|
this.lbldiggerstatsgrade = new ShiftUI.Label();
|
||||||
this.lbldiggerstatsname = new System.Windows.Forms.Label();
|
this.lbldiggerstatsname = new ShiftUI.Label();
|
||||||
this.btnturbomode = new System.Windows.Forms.Button();
|
this.btnturbomode = new ShiftUI.Button();
|
||||||
this.btnstop = new System.Windows.Forms.Button();
|
this.btnstop = new ShiftUI.Button();
|
||||||
this.btnstart = new System.Windows.Forms.Button();
|
this.btnstart = new ShiftUI.Button();
|
||||||
this.PictureBox1 = new System.Windows.Forms.PictureBox();
|
this.PictureBox1 = new ShiftUI.PictureBox();
|
||||||
this.Label1 = new System.Windows.Forms.Label();
|
this.Label1 = new ShiftUI.Label();
|
||||||
this.tmrcalcbitnotesmined = new System.Windows.Forms.Timer(this.components);
|
this.tmrcalcbitnotesmined = new ShiftUI.Timer(this.components);
|
||||||
this.tmrturbomode = new System.Windows.Forms.Timer(this.components);
|
this.tmrturbomode = new ShiftUI.Timer(this.components);
|
||||||
this.btnupgrade = new System.Windows.Forms.Button();
|
this.btnupgrade = new ShiftUI.Button();
|
||||||
this.pgcontents.SuspendLayout();
|
this.pgcontents.SuspendLayout();
|
||||||
this.Panel1.SuspendLayout();
|
this.Panel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
|
||||||
|
@ -55,14 +55,14 @@ namespace ShiftOS
|
||||||
// pgcontents
|
// pgcontents
|
||||||
//
|
//
|
||||||
this.pgcontents.BackColor = System.Drawing.Color.White;
|
this.pgcontents.BackColor = System.Drawing.Color.White;
|
||||||
this.pgcontents.Controls.Add(this.Label10);
|
this.pgcontents.Widgets.Add(this.Label10);
|
||||||
this.pgcontents.Controls.Add(this.btnsend);
|
this.pgcontents.Widgets.Add(this.btnsend);
|
||||||
this.pgcontents.Controls.Add(this.txtsendaddress);
|
this.pgcontents.Widgets.Add(this.txtsendaddress);
|
||||||
this.pgcontents.Controls.Add(this.Label7);
|
this.pgcontents.Widgets.Add(this.Label7);
|
||||||
this.pgcontents.Controls.Add(this.lbltotalbitcoinsmined);
|
this.pgcontents.Widgets.Add(this.lbltotalbitcoinsmined);
|
||||||
this.pgcontents.Controls.Add(this.Panel1);
|
this.pgcontents.Widgets.Add(this.Panel1);
|
||||||
this.pgcontents.Controls.Add(this.Label1);
|
this.pgcontents.Widgets.Add(this.Label1);
|
||||||
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pgcontents.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pgcontents.Name = "pgcontents";
|
this.pgcontents.Name = "pgcontents";
|
||||||
this.pgcontents.Size = new System.Drawing.Size(560, 297);
|
this.pgcontents.Size = new System.Drawing.Size(560, 297);
|
||||||
|
@ -82,7 +82,7 @@ namespace ShiftOS
|
||||||
// btnsend
|
// btnsend
|
||||||
//
|
//
|
||||||
this.btnsend.FlatAppearance.BorderColor = System.Drawing.Color.Black;
|
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.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.Location = new System.Drawing.Point(472, 181);
|
||||||
this.btnsend.Name = "btnsend";
|
this.btnsend.Name = "btnsend";
|
||||||
|
@ -95,14 +95,14 @@ namespace ShiftOS
|
||||||
// txtsendaddress
|
// txtsendaddress
|
||||||
//
|
//
|
||||||
this.txtsendaddress.BackColor = System.Drawing.Color.White;
|
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.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.Location = new System.Drawing.Point(205, 155);
|
||||||
this.txtsendaddress.Multiline = true;
|
this.txtsendaddress.Multiline = true;
|
||||||
this.txtsendaddress.Name = "txtsendaddress";
|
this.txtsendaddress.Name = "txtsendaddress";
|
||||||
this.txtsendaddress.Size = new System.Drawing.Size(340, 21);
|
this.txtsendaddress.Size = new System.Drawing.Size(340, 21);
|
||||||
this.txtsendaddress.TabIndex = 4;
|
this.txtsendaddress.TabIndex = 4;
|
||||||
this.txtsendaddress.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
this.txtsendaddress.TextAlign = ShiftUI.HorizontalAlignment.Center;
|
||||||
//
|
//
|
||||||
// Label7
|
// Label7
|
||||||
//
|
//
|
||||||
|
@ -126,19 +126,19 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// Panel1
|
// Panel1
|
||||||
//
|
//
|
||||||
this.Panel1.Controls.Add(this.btnupgrade);
|
this.Panel1.Widgets.Add(this.btnupgrade);
|
||||||
this.Panel1.Controls.Add(this.Label6);
|
this.Panel1.Widgets.Add(this.Label6);
|
||||||
this.Panel1.Controls.Add(this.Label8);
|
this.Panel1.Widgets.Add(this.Label8);
|
||||||
this.Panel1.Controls.Add(this.turbomodespeed);
|
this.Panel1.Widgets.Add(this.turbomodespeed);
|
||||||
this.Panel1.Controls.Add(this.Label5);
|
this.Panel1.Widgets.Add(this.Label5);
|
||||||
this.Panel1.Controls.Add(this.lbldiggerstatsspeed);
|
this.Panel1.Widgets.Add(this.lbldiggerstatsspeed);
|
||||||
this.Panel1.Controls.Add(this.lbldiggerstatsgrade);
|
this.Panel1.Widgets.Add(this.lbldiggerstatsgrade);
|
||||||
this.Panel1.Controls.Add(this.lbldiggerstatsname);
|
this.Panel1.Widgets.Add(this.lbldiggerstatsname);
|
||||||
this.Panel1.Controls.Add(this.btnturbomode);
|
this.Panel1.Widgets.Add(this.btnturbomode);
|
||||||
this.Panel1.Controls.Add(this.btnstop);
|
this.Panel1.Widgets.Add(this.btnstop);
|
||||||
this.Panel1.Controls.Add(this.btnstart);
|
this.Panel1.Widgets.Add(this.btnstart);
|
||||||
this.Panel1.Controls.Add(this.PictureBox1);
|
this.Panel1.Widgets.Add(this.PictureBox1);
|
||||||
this.Panel1.Dock = System.Windows.Forms.DockStyle.Left;
|
this.Panel1.Dock = ShiftUI.DockStyle.Left;
|
||||||
this.Panel1.Location = new System.Drawing.Point(0, 0);
|
this.Panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.Panel1.Name = "Panel1";
|
this.Panel1.Name = "Panel1";
|
||||||
this.Panel1.Size = new System.Drawing.Size(199, 297);
|
this.Panel1.Size = new System.Drawing.Size(199, 297);
|
||||||
|
@ -216,7 +216,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnturbomode
|
// 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.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.Location = new System.Drawing.Point(6, 188);
|
||||||
this.btnturbomode.Name = "btnturbomode";
|
this.btnturbomode.Name = "btnturbomode";
|
||||||
|
@ -228,7 +228,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnstop
|
// 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.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.Location = new System.Drawing.Point(101, 156);
|
||||||
this.btnstop.Name = "btnstop";
|
this.btnstop.Name = "btnstop";
|
||||||
|
@ -240,7 +240,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnstart
|
// 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.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.Location = new System.Drawing.Point(6, 156);
|
||||||
this.btnstart.Name = "btnstart";
|
this.btnstart.Name = "btnstart";
|
||||||
|
@ -253,7 +253,7 @@ namespace ShiftOS
|
||||||
// PictureBox1
|
// PictureBox1
|
||||||
//
|
//
|
||||||
this.PictureBox1.BackColor = System.Drawing.Color.Black;
|
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.Location = new System.Drawing.Point(198, 0);
|
||||||
this.PictureBox1.Name = "PictureBox1";
|
this.PictureBox1.Name = "PictureBox1";
|
||||||
this.PictureBox1.Size = new System.Drawing.Size(1, 297);
|
this.PictureBox1.Size = new System.Drawing.Size(1, 297);
|
||||||
|
@ -282,7 +282,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnupgrade
|
// 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.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.Location = new System.Drawing.Point(6, 223);
|
||||||
this.btnupgrade.Name = "btnupgrade";
|
this.btnupgrade.Name = "btnupgrade";
|
||||||
|
@ -295,10 +295,10 @@ namespace ShiftOS
|
||||||
// BitnoteDigger
|
// BitnoteDigger
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(560, 297);
|
||||||
this.Controls.Add(this.pgcontents);
|
this.Widgets.Add(this.pgcontents);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
|
||||||
this.Name = "BitnoteDigger";
|
this.Name = "BitnoteDigger";
|
||||||
this.Text = "Bitnote_Digger";
|
this.Text = "Bitnote_Digger";
|
||||||
this.TopMost = true;
|
this.TopMost = true;
|
||||||
|
@ -311,27 +311,27 @@ namespace ShiftOS
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
internal System.Windows.Forms.Panel pgcontents;
|
internal ShiftUI.Panel pgcontents;
|
||||||
internal System.Windows.Forms.Panel Panel1;
|
internal ShiftUI.Panel Panel1;
|
||||||
internal System.Windows.Forms.PictureBox PictureBox1;
|
internal ShiftUI.PictureBox PictureBox1;
|
||||||
internal System.Windows.Forms.Label Label1;
|
internal ShiftUI.Label Label1;
|
||||||
internal System.Windows.Forms.Label lbltotalbitcoinsmined;
|
internal ShiftUI.Label lbltotalbitcoinsmined;
|
||||||
internal System.Windows.Forms.Button btnturbomode;
|
internal ShiftUI.Button btnturbomode;
|
||||||
internal System.Windows.Forms.Button btnstop;
|
internal ShiftUI.Button btnstop;
|
||||||
internal System.Windows.Forms.Button btnstart;
|
internal ShiftUI.Button btnstart;
|
||||||
internal System.Windows.Forms.Label Label6;
|
internal ShiftUI.Label Label6;
|
||||||
internal System.Windows.Forms.Label Label8;
|
internal ShiftUI.Label Label8;
|
||||||
internal System.Windows.Forms.Label turbomodespeed;
|
internal ShiftUI.Label turbomodespeed;
|
||||||
internal System.Windows.Forms.Label Label5;
|
internal ShiftUI.Label Label5;
|
||||||
internal System.Windows.Forms.Label lbldiggerstatsspeed;
|
internal ShiftUI.Label lbldiggerstatsspeed;
|
||||||
internal System.Windows.Forms.Label lbldiggerstatsgrade;
|
internal ShiftUI.Label lbldiggerstatsgrade;
|
||||||
internal System.Windows.Forms.Label lbldiggerstatsname;
|
internal ShiftUI.Label lbldiggerstatsname;
|
||||||
internal System.Windows.Forms.Label Label10;
|
internal ShiftUI.Label Label10;
|
||||||
internal System.Windows.Forms.Button btnsend;
|
internal ShiftUI.Button btnsend;
|
||||||
internal System.Windows.Forms.TextBox txtsendaddress;
|
internal ShiftUI.TextBox txtsendaddress;
|
||||||
internal System.Windows.Forms.Label Label7;
|
internal ShiftUI.Label Label7;
|
||||||
internal System.Windows.Forms.Timer tmrcalcbitnotesmined;
|
internal ShiftUI.Timer tmrcalcbitnotesmined;
|
||||||
internal System.Windows.Forms.Timer tmrturbomode;
|
internal ShiftUI.Timer tmrturbomode;
|
||||||
internal System.Windows.Forms.Button btnupgrade;
|
internal ShiftUI.Button btnupgrade;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -6,7 +6,7 @@ using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<metadata name="tmrcalcbitnotesmined.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="tmrcalcbitnotesmined.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
|
|
|
@ -29,21 +29,21 @@
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
this.fltopbar = new System.Windows.Forms.FlowLayoutPanel();
|
this.fltopbar = new ShiftUI.FlowLayoutPanel();
|
||||||
this.btnsend = new System.Windows.Forms.Button();
|
this.btnsend = new ShiftUI.Button();
|
||||||
this.btnsync = new System.Windows.Forms.Button();
|
this.btnsync = new ShiftUI.Button();
|
||||||
this.sendpanel = new System.Windows.Forms.Panel();
|
this.sendpanel = new ShiftUI.Panel();
|
||||||
this.txtamount = new System.Windows.Forms.TextBox();
|
this.txtamount = new ShiftUI.TextBox();
|
||||||
this.txtrecipient = new System.Windows.Forms.TextBox();
|
this.txtrecipient = new ShiftUI.TextBox();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new ShiftUI.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new ShiftUI.Label();
|
||||||
this.btnconfirmsend = new System.Windows.Forms.PictureBox();
|
this.btnconfirmsend = new ShiftUI.PictureBox();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.lbmybitnotes = new System.Windows.Forms.Label();
|
this.lbmybitnotes = new ShiftUI.Label();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new ShiftUI.Label();
|
||||||
this.txtmyaddress = new System.Windows.Forms.TextBox();
|
this.txtmyaddress = new ShiftUI.TextBox();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new ShiftUI.Label();
|
||||||
this.tmrrefresh = new System.Windows.Forms.Timer(this.components);
|
this.tmrrefresh = new ShiftUI.Timer(this.components);
|
||||||
this.fltopbar.SuspendLayout();
|
this.fltopbar.SuspendLayout();
|
||||||
this.sendpanel.SuspendLayout();
|
this.sendpanel.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.btnconfirmsend)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.btnconfirmsend)).BeginInit();
|
||||||
|
@ -53,9 +53,9 @@
|
||||||
// fltopbar
|
// fltopbar
|
||||||
//
|
//
|
||||||
this.fltopbar.BackColor = System.Drawing.Color.Gray;
|
this.fltopbar.BackColor = System.Drawing.Color.Gray;
|
||||||
this.fltopbar.Controls.Add(this.btnsend);
|
this.fltopbar.Widgets.Add(this.btnsend);
|
||||||
this.fltopbar.Controls.Add(this.btnsync);
|
this.fltopbar.Widgets.Add(this.btnsync);
|
||||||
this.fltopbar.Dock = System.Windows.Forms.DockStyle.Top;
|
this.fltopbar.Dock = ShiftUI.DockStyle.Top;
|
||||||
this.fltopbar.ForeColor = System.Drawing.Color.White;
|
this.fltopbar.ForeColor = System.Drawing.Color.White;
|
||||||
this.fltopbar.Location = new System.Drawing.Point(0, 0);
|
this.fltopbar.Location = new System.Drawing.Point(0, 0);
|
||||||
this.fltopbar.Name = "fltopbar";
|
this.fltopbar.Name = "fltopbar";
|
||||||
|
@ -64,8 +64,8 @@
|
||||||
//
|
//
|
||||||
// btnsend
|
// btnsend
|
||||||
//
|
//
|
||||||
this.btnsend.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
this.btnsend.BackgroundImageLayout = ShiftUI.ImageLayout.None;
|
||||||
this.btnsend.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnsend.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnsend.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btnsend.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btnsend.Location = new System.Drawing.Point(3, 3);
|
this.btnsend.Location = new System.Drawing.Point(3, 3);
|
||||||
this.btnsend.Name = "btnsend";
|
this.btnsend.Name = "btnsend";
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
//
|
//
|
||||||
// btnsync
|
// 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.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btnsync.Location = new System.Drawing.Point(84, 3);
|
this.btnsync.Location = new System.Drawing.Point(84, 3);
|
||||||
this.btnsync.Name = "btnsync";
|
this.btnsync.Name = "btnsync";
|
||||||
|
@ -89,12 +89,12 @@
|
||||||
//
|
//
|
||||||
// sendpanel
|
// sendpanel
|
||||||
//
|
//
|
||||||
this.sendpanel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.sendpanel.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
|
||||||
this.sendpanel.Controls.Add(this.txtamount);
|
this.sendpanel.Widgets.Add(this.txtamount);
|
||||||
this.sendpanel.Controls.Add(this.txtrecipient);
|
this.sendpanel.Widgets.Add(this.txtrecipient);
|
||||||
this.sendpanel.Controls.Add(this.label2);
|
this.sendpanel.Widgets.Add(this.label2);
|
||||||
this.sendpanel.Controls.Add(this.label1);
|
this.sendpanel.Widgets.Add(this.label1);
|
||||||
this.sendpanel.Controls.Add(this.btnconfirmsend);
|
this.sendpanel.Widgets.Add(this.btnconfirmsend);
|
||||||
this.sendpanel.Location = new System.Drawing.Point(306, 143);
|
this.sendpanel.Location = new System.Drawing.Point(306, 143);
|
||||||
this.sendpanel.Name = "sendpanel";
|
this.sendpanel.Name = "sendpanel";
|
||||||
this.sendpanel.Size = new System.Drawing.Size(233, 105);
|
this.sendpanel.Size = new System.Drawing.Size(233, 105);
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
this.btnconfirmsend.Location = new System.Drawing.Point(129, 75);
|
this.btnconfirmsend.Location = new System.Drawing.Point(129, 75);
|
||||||
this.btnconfirmsend.Name = "btnconfirmsend";
|
this.btnconfirmsend.Name = "btnconfirmsend";
|
||||||
this.btnconfirmsend.Size = new System.Drawing.Size(101, 27);
|
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.TabIndex = 0;
|
||||||
this.btnconfirmsend.TabStop = false;
|
this.btnconfirmsend.TabStop = false;
|
||||||
this.btnconfirmsend.Click += new System.EventHandler(this.btnconfirmsend_Click);
|
this.btnconfirmsend.Click += new System.EventHandler(this.btnconfirmsend_Click);
|
||||||
|
@ -149,13 +149,13 @@
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.BackColor = System.Drawing.Color.White;
|
this.panel1.BackColor = System.Drawing.Color.White;
|
||||||
this.panel1.Controls.Add(this.lbmybitnotes);
|
this.panel1.Widgets.Add(this.lbmybitnotes);
|
||||||
this.panel1.Controls.Add(this.label4);
|
this.panel1.Widgets.Add(this.label4);
|
||||||
this.panel1.Controls.Add(this.txtmyaddress);
|
this.panel1.Widgets.Add(this.txtmyaddress);
|
||||||
this.panel1.Controls.Add(this.label3);
|
this.panel1.Widgets.Add(this.label3);
|
||||||
this.panel1.Controls.Add(this.fltopbar);
|
this.panel1.Widgets.Add(this.fltopbar);
|
||||||
this.panel1.Controls.Add(this.sendpanel);
|
this.panel1.Widgets.Add(this.sendpanel);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(551, 260);
|
this.panel1.Size = new System.Drawing.Size(551, 260);
|
||||||
|
@ -206,9 +206,9 @@
|
||||||
// BitnoteWallet
|
// BitnoteWallet
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(551, 260);
|
||||||
this.Controls.Add(this.panel1);
|
this.Widgets.Add(this.panel1);
|
||||||
this.Name = "BitnoteWallet";
|
this.Name = "BitnoteWallet";
|
||||||
this.Text = "BitnoteWallet";
|
this.Text = "BitnoteWallet";
|
||||||
this.Load += new System.EventHandler(this.BitnoteWallet_Load);
|
this.Load += new System.EventHandler(this.BitnoteWallet_Load);
|
||||||
|
@ -224,20 +224,20 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.FlowLayoutPanel fltopbar;
|
private ShiftUI.FlowLayoutPanel fltopbar;
|
||||||
private System.Windows.Forms.Button btnsend;
|
private ShiftUI.Button btnsend;
|
||||||
private System.Windows.Forms.Button btnsync;
|
private ShiftUI.Button btnsync;
|
||||||
private System.Windows.Forms.Panel sendpanel;
|
private ShiftUI.Panel sendpanel;
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
private System.Windows.Forms.PictureBox btnconfirmsend;
|
private ShiftUI.PictureBox btnconfirmsend;
|
||||||
private System.Windows.Forms.TextBox txtamount;
|
private ShiftUI.TextBox txtamount;
|
||||||
private System.Windows.Forms.TextBox txtrecipient;
|
private ShiftUI.TextBox txtrecipient;
|
||||||
private System.Windows.Forms.Label label2;
|
private ShiftUI.Label label2;
|
||||||
private System.Windows.Forms.Label label1;
|
private ShiftUI.Label label1;
|
||||||
private System.Windows.Forms.Label lbmybitnotes;
|
private ShiftUI.Label lbmybitnotes;
|
||||||
private System.Windows.Forms.Label label4;
|
private ShiftUI.Label label4;
|
||||||
private System.Windows.Forms.TextBox txtmyaddress;
|
private ShiftUI.TextBox txtmyaddress;
|
||||||
private System.Windows.Forms.Label label3;
|
private ShiftUI.Label label3;
|
||||||
private System.Windows.Forms.Timer tmrrefresh;
|
private ShiftUI.Timer tmrrefresh;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -10,7 +10,7 @@ using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<metadata name="tmrrefresh.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="tmrrefresh.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
|
|
|
@ -25,19 +25,19 @@ namespace ShiftOS
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
this.pgcontents = new System.Windows.Forms.Panel();
|
this.pgcontents = new ShiftUI.Panel();
|
||||||
this.player = new System.Windows.Forms.PictureBox();
|
this.player = new ShiftUI.PictureBox();
|
||||||
this.QuitButton = new System.Windows.Forms.PictureBox();
|
this.QuitButton = new ShiftUI.PictureBox();
|
||||||
this.BeginButton = new System.Windows.Forms.PictureBox();
|
this.BeginButton = new ShiftUI.PictureBox();
|
||||||
this.DescriptionLabel = new System.Windows.Forms.Label();
|
this.DescriptionLabel = new ShiftUI.Label();
|
||||||
this.object_small2 = new System.Windows.Forms.PictureBox();
|
this.object_small2 = new ShiftUI.PictureBox();
|
||||||
this.object_mid2 = new System.Windows.Forms.PictureBox();
|
this.object_mid2 = new ShiftUI.PictureBox();
|
||||||
this.object_large = new System.Windows.Forms.PictureBox();
|
this.object_large = new ShiftUI.PictureBox();
|
||||||
this.object_small = new System.Windows.Forms.PictureBox();
|
this.object_small = new ShiftUI.PictureBox();
|
||||||
this.object_mid = new System.Windows.Forms.PictureBox();
|
this.object_mid = new ShiftUI.PictureBox();
|
||||||
this.scorelabel = new System.Windows.Forms.Label();
|
this.scorelabel = new ShiftUI.Label();
|
||||||
this.PicBonus = new System.Windows.Forms.PictureBox();
|
this.PicBonus = new ShiftUI.PictureBox();
|
||||||
this.clock = new System.Windows.Forms.Timer(this.components);
|
this.clock = new ShiftUI.Timer(this.components);
|
||||||
this.pgcontents.SuspendLayout();
|
this.pgcontents.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.player)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.player)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.QuitButton)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.QuitButton)).BeginInit();
|
||||||
|
@ -53,18 +53,18 @@ namespace ShiftOS
|
||||||
// pgcontents
|
// pgcontents
|
||||||
//
|
//
|
||||||
this.pgcontents.BackColor = System.Drawing.Color.White;
|
this.pgcontents.BackColor = System.Drawing.Color.White;
|
||||||
this.pgcontents.Controls.Add(this.player);
|
this.pgcontents.Widgets.Add(this.player);
|
||||||
this.pgcontents.Controls.Add(this.QuitButton);
|
this.pgcontents.Widgets.Add(this.QuitButton);
|
||||||
this.pgcontents.Controls.Add(this.BeginButton);
|
this.pgcontents.Widgets.Add(this.BeginButton);
|
||||||
this.pgcontents.Controls.Add(this.DescriptionLabel);
|
this.pgcontents.Widgets.Add(this.DescriptionLabel);
|
||||||
this.pgcontents.Controls.Add(this.object_small2);
|
this.pgcontents.Widgets.Add(this.object_small2);
|
||||||
this.pgcontents.Controls.Add(this.object_mid2);
|
this.pgcontents.Widgets.Add(this.object_mid2);
|
||||||
this.pgcontents.Controls.Add(this.object_large);
|
this.pgcontents.Widgets.Add(this.object_large);
|
||||||
this.pgcontents.Controls.Add(this.object_small);
|
this.pgcontents.Widgets.Add(this.object_small);
|
||||||
this.pgcontents.Controls.Add(this.object_mid);
|
this.pgcontents.Widgets.Add(this.object_mid);
|
||||||
this.pgcontents.Controls.Add(this.scorelabel);
|
this.pgcontents.Widgets.Add(this.scorelabel);
|
||||||
this.pgcontents.Controls.Add(this.PicBonus);
|
this.pgcontents.Widgets.Add(this.PicBonus);
|
||||||
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pgcontents.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pgcontents.Name = "pgcontents";
|
this.pgcontents.Name = "pgcontents";
|
||||||
this.pgcontents.Size = new System.Drawing.Size(418, 478);
|
this.pgcontents.Size = new System.Drawing.Size(418, 478);
|
||||||
|
@ -72,7 +72,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// player
|
// player
|
||||||
//
|
//
|
||||||
this.player.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
|
this.player.Anchor = ShiftUI.AnchorStyles.Bottom;
|
||||||
this.player.BackColor = System.Drawing.Color.Transparent;
|
this.player.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.player.Image = global::ShiftOS.Properties.Resources.player_Image;
|
this.player.Image = global::ShiftOS.Properties.Resources.player_Image;
|
||||||
this.player.Location = new System.Drawing.Point(192, 445);
|
this.player.Location = new System.Drawing.Point(192, 445);
|
||||||
|
@ -83,7 +83,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// QuitButton
|
// 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.Image = global::ShiftOS.Properties.Resources.QuitButton_Image;
|
||||||
this.QuitButton.InitialImage = global::ShiftOS.Properties.Resources.QuitButton_Image;
|
this.QuitButton.InitialImage = global::ShiftOS.Properties.Resources.QuitButton_Image;
|
||||||
this.QuitButton.Location = new System.Drawing.Point(216, 424);
|
this.QuitButton.Location = new System.Drawing.Point(216, 424);
|
||||||
|
@ -95,7 +95,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// BeginButton
|
// 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.Image = global::ShiftOS.Properties.Resources.BeginButton1;
|
||||||
this.BeginButton.InitialImage = global::ShiftOS.Properties.Resources.BeginButton_Image;
|
this.BeginButton.InitialImage = global::ShiftOS.Properties.Resources.BeginButton_Image;
|
||||||
this.BeginButton.Location = new System.Drawing.Point(3, 424);
|
this.BeginButton.Location = new System.Drawing.Point(3, 424);
|
||||||
|
@ -188,17 +188,17 @@ namespace ShiftOS
|
||||||
// Dodge
|
// Dodge
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(418, 478);
|
||||||
this.Controls.Add(this.pgcontents);
|
this.Widgets.Add(this.pgcontents);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
|
||||||
this.MaximizeBox = false;
|
this.MaximizeBox = false;
|
||||||
this.Name = "Dodge";
|
this.Name = "Dodge";
|
||||||
this.Text = "Dodge";
|
this.Text = "Dodge";
|
||||||
this.TopMost = true;
|
this.TopMost = true;
|
||||||
this.Load += new System.EventHandler(this.Form1_Load);
|
this.Load += new System.EventHandler(this.Form1_Load);
|
||||||
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_keydown);
|
this.KeyDown += new ShiftUI.KeyEventHandler(this.Form1_keydown);
|
||||||
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyUp);
|
this.KeyUp += new ShiftUI.KeyEventHandler(this.Form1_KeyUp);
|
||||||
this.pgcontents.ResumeLayout(false);
|
this.pgcontents.ResumeLayout(false);
|
||||||
this.pgcontents.PerformLayout();
|
this.pgcontents.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.player)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.player)).EndInit();
|
||||||
|
@ -213,18 +213,18 @@ namespace ShiftOS
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
internal System.Windows.Forms.Panel pgcontents;
|
internal ShiftUI.Panel pgcontents;
|
||||||
internal System.Windows.Forms.PictureBox player;
|
internal ShiftUI.PictureBox player;
|
||||||
internal System.Windows.Forms.PictureBox QuitButton;
|
internal ShiftUI.PictureBox QuitButton;
|
||||||
internal System.Windows.Forms.PictureBox BeginButton;
|
internal ShiftUI.PictureBox BeginButton;
|
||||||
internal System.Windows.Forms.Label DescriptionLabel;
|
internal ShiftUI.Label DescriptionLabel;
|
||||||
internal System.Windows.Forms.PictureBox object_small2;
|
internal ShiftUI.PictureBox object_small2;
|
||||||
internal System.Windows.Forms.PictureBox object_mid2;
|
internal ShiftUI.PictureBox object_mid2;
|
||||||
internal System.Windows.Forms.PictureBox object_large;
|
internal ShiftUI.PictureBox object_large;
|
||||||
internal System.Windows.Forms.PictureBox object_small;
|
internal ShiftUI.PictureBox object_small;
|
||||||
internal System.Windows.Forms.PictureBox object_mid;
|
internal ShiftUI.PictureBox object_mid;
|
||||||
internal System.Windows.Forms.Label scorelabel;
|
internal ShiftUI.Label scorelabel;
|
||||||
internal System.Windows.Forms.Timer clock;
|
internal ShiftUI.Timer clock;
|
||||||
internal System.Windows.Forms.PictureBox PicBonus;
|
internal ShiftUI.PictureBox PicBonus;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -6,7 +6,7 @@ using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
@ -105,7 +105,7 @@ namespace ShiftOS
|
||||||
return new Random().Next(0, pgcontents.Width);
|
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)
|
switch (e.KeyCode)
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<metadata name="clock.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="clock.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
|
|
|
@ -30,20 +30,20 @@
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(File_Skimmer));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(File_Skimmer));
|
||||||
this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
|
this.toolStripContainer1 = new ShiftUI.ToolStripContainer();
|
||||||
this.toolStrip2 = new System.Windows.Forms.ToolStrip();
|
this.toolStrip2 = new ShiftUI.ToolStrip();
|
||||||
this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
|
this.toolStripLabel1 = new ShiftUI.ToolStripLabel();
|
||||||
this.txtfilename = new System.Windows.Forms.ToolStripTextBox();
|
this.txtfilename = new ShiftUI.ToolStripTextBox();
|
||||||
this.cbfiletypes = new System.Windows.Forms.ToolStripComboBox();
|
this.cbfiletypes = new ShiftUI.ToolStripComboBox();
|
||||||
this.btnperformaction = new System.Windows.Forms.ToolStripButton();
|
this.btnperformaction = new ShiftUI.ToolStripButton();
|
||||||
this.btncancel = new System.Windows.Forms.ToolStripButton();
|
this.btncancel = new ShiftUI.ToolStripButton();
|
||||||
this.lvfiles = new System.Windows.Forms.ListView();
|
this.lvfiles = new ShiftUI.ListView();
|
||||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
this.menuStrip1 = new ShiftUI.MenuStrip();
|
||||||
this.newFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.newFolderToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
|
||||||
this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.deleteToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
|
||||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
this.toolStrip1 = new ShiftUI.ToolStrip();
|
||||||
this.lbcurrentfolder = new System.Windows.Forms.ToolStripLabel();
|
this.lbcurrentfolder = new ShiftUI.ToolStripLabel();
|
||||||
this.imgtypes = new System.Windows.Forms.ImageList(this.components);
|
this.imgtypes = new ShiftUI.ImageList(this.components);
|
||||||
this.toolStripContainer1.BottomToolStripPanel.SuspendLayout();
|
this.toolStripContainer1.BottomToolStripPanel.SuspendLayout();
|
||||||
this.toolStripContainer1.ContentPanel.SuspendLayout();
|
this.toolStripContainer1.ContentPanel.SuspendLayout();
|
||||||
this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
|
this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
|
||||||
|
@ -58,13 +58,13 @@
|
||||||
//
|
//
|
||||||
// toolStripContainer1.BottomToolStripPanel
|
// toolStripContainer1.BottomToolStripPanel
|
||||||
//
|
//
|
||||||
this.toolStripContainer1.BottomToolStripPanel.Controls.Add(this.toolStrip2);
|
this.toolStripContainer1.BottomToolStripPanel.Widgets.Add(this.toolStrip2);
|
||||||
//
|
//
|
||||||
// toolStripContainer1.ContentPanel
|
// 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.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.Location = new System.Drawing.Point(0, 0);
|
||||||
this.toolStripContainer1.Name = "toolStripContainer1";
|
this.toolStripContainer1.Name = "toolStripContainer1";
|
||||||
this.toolStripContainer1.Size = new System.Drawing.Size(763, 413);
|
this.toolStripContainer1.Size = new System.Drawing.Size(763, 413);
|
||||||
|
@ -73,21 +73,21 @@
|
||||||
//
|
//
|
||||||
// toolStripContainer1.TopToolStripPanel
|
// toolStripContainer1.TopToolStripPanel
|
||||||
//
|
//
|
||||||
this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.menuStrip1);
|
this.toolStripContainer1.TopToolStripPanel.Widgets.Add(this.menuStrip1);
|
||||||
this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1);
|
this.toolStripContainer1.TopToolStripPanel.Widgets.Add(this.toolStrip1);
|
||||||
//
|
//
|
||||||
// toolStrip2
|
// toolStrip2
|
||||||
//
|
//
|
||||||
this.toolStrip2.AutoSize = false;
|
this.toolStrip2.AutoSize = false;
|
||||||
this.toolStrip2.Dock = System.Windows.Forms.DockStyle.None;
|
this.toolStrip2.Dock = ShiftUI.DockStyle.None;
|
||||||
this.toolStrip2.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
this.toolStrip2.GripStyle = ShiftUI.ToolStripGripStyle.Hidden;
|
||||||
this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.toolStrip2.Items.AddRange(new ShiftUI.ToolStripItem[] {
|
||||||
this.toolStripLabel1,
|
this.toolStripLabel1,
|
||||||
this.txtfilename,
|
this.txtfilename,
|
||||||
this.cbfiletypes,
|
this.cbfiletypes,
|
||||||
this.btnperformaction,
|
this.btnperformaction,
|
||||||
this.btncancel});
|
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.Location = new System.Drawing.Point(0, 0);
|
||||||
this.toolStrip2.Name = "toolStrip2";
|
this.toolStrip2.Name = "toolStrip2";
|
||||||
this.toolStrip2.Size = new System.Drawing.Size(763, 23);
|
this.toolStrip2.Size = new System.Drawing.Size(763, 23);
|
||||||
|
@ -114,7 +114,7 @@
|
||||||
//
|
//
|
||||||
// btnperformaction
|
// 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.Image = ((System.Drawing.Image)(resources.GetObject("btnperformaction.Image")));
|
||||||
this.btnperformaction.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.btnperformaction.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.btnperformaction.Name = "btnperformaction";
|
this.btnperformaction.Name = "btnperformaction";
|
||||||
|
@ -124,7 +124,7 @@
|
||||||
//
|
//
|
||||||
// btncancel
|
// 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.Image = ((System.Drawing.Image)(resources.GetObject("btncancel.Image")));
|
||||||
this.btncancel.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this.btncancel.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.btncancel.Name = "btncancel";
|
this.btncancel.Name = "btncancel";
|
||||||
|
@ -134,7 +134,7 @@
|
||||||
//
|
//
|
||||||
// lvfiles
|
// 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.Location = new System.Drawing.Point(0, 0);
|
||||||
this.lvfiles.Name = "lvfiles";
|
this.lvfiles.Name = "lvfiles";
|
||||||
this.lvfiles.Size = new System.Drawing.Size(763, 348);
|
this.lvfiles.Size = new System.Drawing.Size(763, 348);
|
||||||
|
@ -144,8 +144,8 @@
|
||||||
//
|
//
|
||||||
// menuStrip1
|
// menuStrip1
|
||||||
//
|
//
|
||||||
this.menuStrip1.Dock = System.Windows.Forms.DockStyle.None;
|
this.menuStrip1.Dock = ShiftUI.DockStyle.None;
|
||||||
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.menuStrip1.Items.AddRange(new ShiftUI.ToolStripItem[] {
|
||||||
this.newFolderToolStripMenuItem,
|
this.newFolderToolStripMenuItem,
|
||||||
this.deleteToolStripMenuItem});
|
this.deleteToolStripMenuItem});
|
||||||
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
@ -171,11 +171,11 @@
|
||||||
// toolStrip1
|
// toolStrip1
|
||||||
//
|
//
|
||||||
this.toolStrip1.AutoSize = false;
|
this.toolStrip1.AutoSize = false;
|
||||||
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
|
this.toolStrip1.Dock = ShiftUI.DockStyle.None;
|
||||||
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
|
this.toolStrip1.GripStyle = ShiftUI.ToolStripGripStyle.Hidden;
|
||||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.toolStrip1.Items.AddRange(new ShiftUI.ToolStripItem[] {
|
||||||
this.lbcurrentfolder});
|
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.Location = new System.Drawing.Point(0, 24);
|
||||||
this.toolStrip1.Name = "toolStrip1";
|
this.toolStrip1.Name = "toolStrip1";
|
||||||
this.toolStrip1.ShowItemToolTips = false;
|
this.toolStrip1.ShowItemToolTips = false;
|
||||||
|
@ -191,21 +191,20 @@
|
||||||
//
|
//
|
||||||
// imgtypes
|
// imgtypes
|
||||||
//
|
//
|
||||||
this.imgtypes.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgtypes.ImageStream")));
|
|
||||||
this.imgtypes.TransparentColor = System.Drawing.Color.Transparent;
|
this.imgtypes.TransparentColor = System.Drawing.Color.Transparent;
|
||||||
this.imgtypes.Images.SetKeyName(0, "application");
|
//this.imgtypes.Images.SetKeyName(0, "application");
|
||||||
this.imgtypes.Images.SetKeyName(1, "package");
|
//this.imgtypes.Images.SetKeyName(1, "package");
|
||||||
this.imgtypes.Images.SetKeyName(2, "none");
|
//this.imgtypes.Images.SetKeyName(2, "none");
|
||||||
this.imgtypes.Images.SetKeyName(3, "doc");
|
//this.imgtypes.Images.SetKeyName(3, "doc");
|
||||||
this.imgtypes.Images.SetKeyName(4, "dir");
|
//this.imgtypes.Images.SetKeyName(4, "dir");
|
||||||
this.imgtypes.Images.SetKeyName(5, "skin");
|
//this.imgtypes.Images.SetKeyName(5, "skin");
|
||||||
//
|
//
|
||||||
// File_Skimmer
|
// File_Skimmer
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(763, 413);
|
||||||
this.Controls.Add(this.toolStripContainer1);
|
this.Widgets.Add(this.toolStripContainer1);
|
||||||
this.Name = "File_Skimmer";
|
this.Name = "File_Skimmer";
|
||||||
this.Text = "File_Skimmer";
|
this.Text = "File_Skimmer";
|
||||||
this.Load += new System.EventHandler(this.File_Skimmer_Load);
|
this.Load += new System.EventHandler(this.File_Skimmer_Load);
|
||||||
|
@ -227,19 +226,19 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.ToolStripContainer toolStripContainer1;
|
private ShiftUI.ToolStripContainer toolStripContainer1;
|
||||||
private System.Windows.Forms.MenuStrip menuStrip1;
|
private ShiftUI.MenuStrip menuStrip1;
|
||||||
private System.Windows.Forms.ToolStripMenuItem newFolderToolStripMenuItem;
|
private ShiftUI.ToolStripMenuItem newFolderToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem deleteToolStripMenuItem;
|
private ShiftUI.ToolStripMenuItem deleteToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
private ShiftUI.ToolStrip toolStrip1;
|
||||||
private System.Windows.Forms.ListView lvfiles;
|
private ShiftUI.ListView lvfiles;
|
||||||
private System.Windows.Forms.ToolStripLabel lbcurrentfolder;
|
private ShiftUI.ToolStripLabel lbcurrentfolder;
|
||||||
private System.Windows.Forms.ImageList imgtypes;
|
private ShiftUI.ImageList imgtypes;
|
||||||
private System.Windows.Forms.ToolStrip toolStrip2;
|
private ShiftUI.ToolStrip toolStrip2;
|
||||||
private System.Windows.Forms.ToolStripLabel toolStripLabel1;
|
private ShiftUI.ToolStripLabel toolStripLabel1;
|
||||||
private System.Windows.Forms.ToolStripTextBox txtfilename;
|
private ShiftUI.ToolStripTextBox txtfilename;
|
||||||
private System.Windows.Forms.ToolStripComboBox cbfiletypes;
|
private ShiftUI.ToolStripComboBox cbfiletypes;
|
||||||
private System.Windows.Forms.ToolStripButton btnperformaction;
|
private ShiftUI.ToolStripButton btnperformaction;
|
||||||
private System.Windows.Forms.ToolStripButton btncancel;
|
private ShiftUI.ToolStripButton btncancel;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7,7 +7,7 @@ using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<metadata name="toolStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="toolStrip2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>339, 17</value>
|
<value>339, 17</value>
|
||||||
|
|
|
@ -30,21 +30,21 @@
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HoloChat));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HoloChat));
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.pnlintro = new System.Windows.Forms.Panel();
|
this.pnlintro = new ShiftUI.Panel();
|
||||||
this.flintrobuttons = new System.Windows.Forms.FlowLayoutPanel();
|
this.flintrobuttons = new ShiftUI.FlowLayoutPanel();
|
||||||
this.btnconnect = new System.Windows.Forms.Button();
|
this.btnconnect = new ShiftUI.Button();
|
||||||
this.btnrefresh = new System.Windows.Forms.Button();
|
this.btnrefresh = new ShiftUI.Button();
|
||||||
this.lbrooms = new System.Windows.Forms.ListBox();
|
this.lbrooms = new ShiftUI.ListBox();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new ShiftUI.Label();
|
||||||
this.lblintro = new System.Windows.Forms.Label();
|
this.lblintro = new ShiftUI.Label();
|
||||||
this.lblheader = new System.Windows.Forms.Label();
|
this.lblheader = new ShiftUI.Label();
|
||||||
this.txtchat = new System.Windows.Forms.RichTextBox();
|
this.txtchat = new ShiftUI.RichTextBox();
|
||||||
this.txtsend = new System.Windows.Forms.TextBox();
|
this.txtsend = new ShiftUI.TextBox();
|
||||||
this.pnlusers = new System.Windows.Forms.Panel();
|
this.pnlusers = new ShiftUI.Panel();
|
||||||
this.lbusers = new System.Windows.Forms.ListBox();
|
this.lbusers = new ShiftUI.ListBox();
|
||||||
this.lbtopic = new System.Windows.Forms.Label();
|
this.lbtopic = new ShiftUI.Label();
|
||||||
this.tmrui = new System.Windows.Forms.Timer(this.components);
|
this.tmrui = new ShiftUI.Timer(this.components);
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.pnlintro.SuspendLayout();
|
this.pnlintro.SuspendLayout();
|
||||||
this.flintrobuttons.SuspendLayout();
|
this.flintrobuttons.SuspendLayout();
|
||||||
|
@ -54,12 +54,12 @@
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.BackColor = System.Drawing.Color.White;
|
this.panel1.BackColor = System.Drawing.Color.White;
|
||||||
this.panel1.Controls.Add(this.pnlintro);
|
this.panel1.Widgets.Add(this.pnlintro);
|
||||||
this.panel1.Controls.Add(this.txtchat);
|
this.panel1.Widgets.Add(this.txtchat);
|
||||||
this.panel1.Controls.Add(this.txtsend);
|
this.panel1.Widgets.Add(this.txtsend);
|
||||||
this.panel1.Controls.Add(this.pnlusers);
|
this.panel1.Widgets.Add(this.pnlusers);
|
||||||
this.panel1.Controls.Add(this.lbtopic);
|
this.panel1.Widgets.Add(this.lbtopic);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.ForeColor = System.Drawing.Color.Black;
|
this.panel1.ForeColor = System.Drawing.Color.Black;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
|
@ -68,14 +68,14 @@
|
||||||
//
|
//
|
||||||
// pnlintro
|
// pnlintro
|
||||||
//
|
//
|
||||||
this.pnlintro.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.pnlintro.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.pnlintro.Controls.Add(this.flintrobuttons);
|
this.pnlintro.Widgets.Add(this.flintrobuttons);
|
||||||
this.pnlintro.Controls.Add(this.lbrooms);
|
this.pnlintro.Widgets.Add(this.lbrooms);
|
||||||
this.pnlintro.Controls.Add(this.label1);
|
this.pnlintro.Widgets.Add(this.label1);
|
||||||
this.pnlintro.Controls.Add(this.lblintro);
|
this.pnlintro.Widgets.Add(this.lblintro);
|
||||||
this.pnlintro.Controls.Add(this.lblheader);
|
this.pnlintro.Widgets.Add(this.lblheader);
|
||||||
this.pnlintro.Location = new System.Drawing.Point(36, 35);
|
this.pnlintro.Location = new System.Drawing.Point(36, 35);
|
||||||
this.pnlintro.Name = "pnlintro";
|
this.pnlintro.Name = "pnlintro";
|
||||||
this.pnlintro.Size = new System.Drawing.Size(706, 341);
|
this.pnlintro.Size = new System.Drawing.Size(706, 341);
|
||||||
|
@ -83,11 +83,11 @@
|
||||||
//
|
//
|
||||||
// flintrobuttons
|
// flintrobuttons
|
||||||
//
|
//
|
||||||
this.flintrobuttons.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
this.flintrobuttons.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.flintrobuttons.Controls.Add(this.btnconnect);
|
this.flintrobuttons.Widgets.Add(this.btnconnect);
|
||||||
this.flintrobuttons.Controls.Add(this.btnrefresh);
|
this.flintrobuttons.Widgets.Add(this.btnrefresh);
|
||||||
this.flintrobuttons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
this.flintrobuttons.FlowDirection = ShiftUI.FlowDirection.RightToLeft;
|
||||||
this.flintrobuttons.Location = new System.Drawing.Point(337, 284);
|
this.flintrobuttons.Location = new System.Drawing.Point(337, 284);
|
||||||
this.flintrobuttons.Name = "flintrobuttons";
|
this.flintrobuttons.Name = "flintrobuttons";
|
||||||
this.flintrobuttons.Size = new System.Drawing.Size(350, 42);
|
this.flintrobuttons.Size = new System.Drawing.Size(350, 42);
|
||||||
|
@ -95,7 +95,7 @@
|
||||||
//
|
//
|
||||||
// btnconnect
|
// 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.Location = new System.Drawing.Point(272, 3);
|
||||||
this.btnconnect.Name = "btnconnect";
|
this.btnconnect.Name = "btnconnect";
|
||||||
this.btnconnect.Size = new System.Drawing.Size(75, 33);
|
this.btnconnect.Size = new System.Drawing.Size(75, 33);
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
//
|
//
|
||||||
// btnrefresh
|
// 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.Location = new System.Drawing.Point(191, 3);
|
||||||
this.btnrefresh.Name = "btnrefresh";
|
this.btnrefresh.Name = "btnrefresh";
|
||||||
this.btnrefresh.Size = new System.Drawing.Size(75, 33);
|
this.btnrefresh.Size = new System.Drawing.Size(75, 33);
|
||||||
|
@ -117,8 +117,8 @@
|
||||||
//
|
//
|
||||||
// lbrooms
|
// lbrooms
|
||||||
//
|
//
|
||||||
this.lbrooms.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lbrooms.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.lbrooms.FormattingEnabled = true;
|
this.lbrooms.FormattingEnabled = true;
|
||||||
this.lbrooms.Location = new System.Drawing.Point(337, 75);
|
this.lbrooms.Location = new System.Drawing.Point(337, 75);
|
||||||
this.lbrooms.Name = "lbrooms";
|
this.lbrooms.Name = "lbrooms";
|
||||||
|
@ -127,8 +127,8 @@
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.label1.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
||||||
this.label1.Location = new System.Drawing.Point(342, 38);
|
this.label1.Location = new System.Drawing.Point(342, 38);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
|
@ -139,8 +139,8 @@
|
||||||
//
|
//
|
||||||
// lblintro
|
// lblintro
|
||||||
//
|
//
|
||||||
this.lblintro.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lblintro.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)));
|
| ShiftUI.AnchorStyles.Left)));
|
||||||
this.lblintro.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
this.lblintro.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
||||||
this.lblintro.Location = new System.Drawing.Point(4, 38);
|
this.lblintro.Location = new System.Drawing.Point(4, 38);
|
||||||
this.lblintro.Name = "lblintro";
|
this.lblintro.Name = "lblintro";
|
||||||
|
@ -151,8 +151,8 @@
|
||||||
//
|
//
|
||||||
// lblheader
|
// lblheader
|
||||||
//
|
//
|
||||||
this.lblheader.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.lblheader.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.lblheader.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F);
|
this.lblheader.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F);
|
||||||
this.lblheader.Location = new System.Drawing.Point(4, 4);
|
this.lblheader.Location = new System.Drawing.Point(4, 4);
|
||||||
this.lblheader.Name = "lblheader";
|
this.lblheader.Name = "lblheader";
|
||||||
|
@ -163,7 +163,7 @@
|
||||||
//
|
//
|
||||||
// txtchat
|
// 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.Location = new System.Drawing.Point(0, 23);
|
||||||
this.txtchat.Name = "txtchat";
|
this.txtchat.Name = "txtchat";
|
||||||
this.txtchat.ReadOnly = true;
|
this.txtchat.ReadOnly = true;
|
||||||
|
@ -174,17 +174,17 @@
|
||||||
//
|
//
|
||||||
// txtsend
|
// 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.Location = new System.Drawing.Point(0, 411);
|
||||||
this.txtsend.Name = "txtsend";
|
this.txtsend.Name = "txtsend";
|
||||||
this.txtsend.Size = new System.Drawing.Size(641, 20);
|
this.txtsend.Size = new System.Drawing.Size(641, 20);
|
||||||
this.txtsend.TabIndex = 1;
|
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
|
// pnlusers
|
||||||
//
|
//
|
||||||
this.pnlusers.Controls.Add(this.lbusers);
|
this.pnlusers.Widgets.Add(this.lbusers);
|
||||||
this.pnlusers.Dock = System.Windows.Forms.DockStyle.Right;
|
this.pnlusers.Dock = ShiftUI.DockStyle.Right;
|
||||||
this.pnlusers.Location = new System.Drawing.Point(641, 23);
|
this.pnlusers.Location = new System.Drawing.Point(641, 23);
|
||||||
this.pnlusers.Name = "pnlusers";
|
this.pnlusers.Name = "pnlusers";
|
||||||
this.pnlusers.Size = new System.Drawing.Size(131, 408);
|
this.pnlusers.Size = new System.Drawing.Size(131, 408);
|
||||||
|
@ -192,7 +192,7 @@
|
||||||
//
|
//
|
||||||
// lbusers
|
// lbusers
|
||||||
//
|
//
|
||||||
this.lbusers.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.lbusers.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.lbusers.FormattingEnabled = true;
|
this.lbusers.FormattingEnabled = true;
|
||||||
this.lbusers.Location = new System.Drawing.Point(0, 0);
|
this.lbusers.Location = new System.Drawing.Point(0, 0);
|
||||||
this.lbusers.Name = "lbusers";
|
this.lbusers.Name = "lbusers";
|
||||||
|
@ -201,7 +201,7 @@
|
||||||
//
|
//
|
||||||
// lbtopic
|
// 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
||||||
this.lbtopic.Location = new System.Drawing.Point(0, 0);
|
this.lbtopic.Location = new System.Drawing.Point(0, 0);
|
||||||
this.lbtopic.Name = "lbtopic";
|
this.lbtopic.Name = "lbtopic";
|
||||||
|
@ -217,12 +217,12 @@
|
||||||
// HoloChat
|
// HoloChat
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(772, 431);
|
||||||
this.Controls.Add(this.panel1);
|
this.Widgets.Add(this.panel1);
|
||||||
this.Name = "HoloChat";
|
this.Name = "HoloChat";
|
||||||
this.Text = "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.Load += new System.EventHandler(this.HoloChat_Load);
|
||||||
this.panel1.ResumeLayout(false);
|
this.panel1.ResumeLayout(false);
|
||||||
this.panel1.PerformLayout();
|
this.panel1.PerformLayout();
|
||||||
|
@ -235,20 +235,20 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
private System.Windows.Forms.RichTextBox txtchat;
|
private ShiftUI.RichTextBox txtchat;
|
||||||
private System.Windows.Forms.TextBox txtsend;
|
private ShiftUI.TextBox txtsend;
|
||||||
private System.Windows.Forms.Panel pnlusers;
|
private ShiftUI.Panel pnlusers;
|
||||||
private System.Windows.Forms.ListBox lbusers;
|
private ShiftUI.ListBox lbusers;
|
||||||
private System.Windows.Forms.Panel pnlintro;
|
private ShiftUI.Panel pnlintro;
|
||||||
private System.Windows.Forms.FlowLayoutPanel flintrobuttons;
|
private ShiftUI.FlowLayoutPanel flintrobuttons;
|
||||||
private System.Windows.Forms.Button btnconnect;
|
private ShiftUI.Button btnconnect;
|
||||||
private System.Windows.Forms.Button btnrefresh;
|
private ShiftUI.Button btnrefresh;
|
||||||
private System.Windows.Forms.ListBox lbrooms;
|
private ShiftUI.ListBox lbrooms;
|
||||||
private System.Windows.Forms.Label label1;
|
private ShiftUI.Label label1;
|
||||||
private System.Windows.Forms.Label lblintro;
|
private ShiftUI.Label lblintro;
|
||||||
private System.Windows.Forms.Label lblheader;
|
private ShiftUI.Label lblheader;
|
||||||
private System.Windows.Forms.Timer tmrui;
|
private ShiftUI.Timer tmrui;
|
||||||
private System.Windows.Forms.Label lbtopic;
|
private ShiftUI.Label lbtopic;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -9,7 +9,7 @@ using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
@ -240,7 +240,7 @@ namespace ShiftOS
|
||||||
public void SetupFakeClient(FakeChatClient fClient)
|
public void SetupFakeClient(FakeChatClient fClient)
|
||||||
{
|
{
|
||||||
lbtopic.Text = fClient.Topic;
|
lbtopic.Text = fClient.Topic;
|
||||||
var t = new System.Windows.Forms.Timer();
|
var t = new ShiftUI.Timer();
|
||||||
t.Interval = 500;
|
t.Interval = 500;
|
||||||
t.Tick += (object s, EventArgs a) =>
|
t.Tick += (object s, EventArgs a) =>
|
||||||
{
|
{
|
||||||
|
@ -255,7 +255,7 @@ namespace ShiftOS
|
||||||
|
|
||||||
int m = 0;
|
int m = 0;
|
||||||
//message buffer
|
//message buffer
|
||||||
var mb = new System.Windows.Forms.Timer();
|
var mb = new ShiftUI.Timer();
|
||||||
mb.Tick += (object s, EventArgs a) =>
|
mb.Tick += (object s, EventArgs a) =>
|
||||||
{
|
{
|
||||||
string message = fClient.Messages.Keys.ElementAt(m);
|
string message = fClient.Messages.Keys.ElementAt(m);
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<data name="lblintro.Text" xml:space="preserve">
|
<data name="lblintro.Text" xml:space="preserve">
|
||||||
<value>HoloChat is a revolutionary new program made only for ShiftOS.
|
<value>HoloChat is a revolutionary new program made only for ShiftOS.
|
||||||
|
|
|
@ -28,12 +28,12 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.pnlactions = new System.Windows.Forms.Panel();
|
this.pnlactions = new ShiftUI.Panel();
|
||||||
this.pnlicons = new System.Windows.Forms.FlowLayoutPanel();
|
this.pnlicons = new ShiftUI.FlowLayoutPanel();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.btnsave = new System.Windows.Forms.Button();
|
this.btnsave = new ShiftUI.Button();
|
||||||
this.button1 = new System.Windows.Forms.Button();
|
this.button1 = new ShiftUI.Button();
|
||||||
this.button2 = new System.Windows.Forms.Button();
|
this.button2 = new ShiftUI.Button();
|
||||||
this.pnlactions.SuspendLayout();
|
this.pnlactions.SuspendLayout();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
|
@ -41,10 +41,10 @@
|
||||||
// pnlactions
|
// pnlactions
|
||||||
//
|
//
|
||||||
this.pnlactions.BackColor = System.Drawing.Color.Gray;
|
this.pnlactions.BackColor = System.Drawing.Color.Gray;
|
||||||
this.pnlactions.Controls.Add(this.button2);
|
this.pnlactions.Widgets.Add(this.button2);
|
||||||
this.pnlactions.Controls.Add(this.button1);
|
this.pnlactions.Widgets.Add(this.button1);
|
||||||
this.pnlactions.Controls.Add(this.btnsave);
|
this.pnlactions.Widgets.Add(this.btnsave);
|
||||||
this.pnlactions.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.pnlactions.Dock = ShiftUI.DockStyle.Bottom;
|
||||||
this.pnlactions.ForeColor = System.Drawing.Color.White;
|
this.pnlactions.ForeColor = System.Drawing.Color.White;
|
||||||
this.pnlactions.Location = new System.Drawing.Point(0, 511);
|
this.pnlactions.Location = new System.Drawing.Point(0, 511);
|
||||||
this.pnlactions.Name = "pnlactions";
|
this.pnlactions.Name = "pnlactions";
|
||||||
|
@ -54,8 +54,8 @@
|
||||||
// pnlicons
|
// pnlicons
|
||||||
//
|
//
|
||||||
this.pnlicons.BackColor = System.Drawing.Color.White;
|
this.pnlicons.BackColor = System.Drawing.Color.White;
|
||||||
this.pnlicons.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlicons.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnlicons.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.pnlicons.FlowDirection = ShiftUI.FlowDirection.TopDown;
|
||||||
this.pnlicons.ForeColor = System.Drawing.Color.Black;
|
this.pnlicons.ForeColor = System.Drawing.Color.Black;
|
||||||
this.pnlicons.Location = new System.Drawing.Point(0, 0);
|
this.pnlicons.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pnlicons.Name = "pnlicons";
|
this.pnlicons.Name = "pnlicons";
|
||||||
|
@ -64,9 +64,9 @@
|
||||||
//
|
//
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.Controls.Add(this.pnlicons);
|
this.panel1.Widgets.Add(this.pnlicons);
|
||||||
this.panel1.Controls.Add(this.pnlactions);
|
this.panel1.Widgets.Add(this.pnlactions);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(720, 552);
|
this.panel1.Size = new System.Drawing.Size(720, 552);
|
||||||
|
@ -74,8 +74,8 @@
|
||||||
//
|
//
|
||||||
// btnsave
|
// btnsave
|
||||||
//
|
//
|
||||||
this.btnsave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
|
this.btnsave.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)));
|
||||||
this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnsave.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnsave.Location = new System.Drawing.Point(3, 3);
|
this.btnsave.Location = new System.Drawing.Point(3, 3);
|
||||||
this.btnsave.Name = "btnsave";
|
this.btnsave.Name = "btnsave";
|
||||||
this.btnsave.Size = new System.Drawing.Size(75, 35);
|
this.btnsave.Size = new System.Drawing.Size(75, 35);
|
||||||
|
@ -86,8 +86,8 @@
|
||||||
//
|
//
|
||||||
// button1
|
// button1
|
||||||
//
|
//
|
||||||
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
|
this.button1.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)));
|
||||||
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.button1.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.button1.Location = new System.Drawing.Point(84, 3);
|
this.button1.Location = new System.Drawing.Point(84, 3);
|
||||||
this.button1.Name = "button1";
|
this.button1.Name = "button1";
|
||||||
this.button1.Size = new System.Drawing.Size(75, 35);
|
this.button1.Size = new System.Drawing.Size(75, 35);
|
||||||
|
@ -98,8 +98,8 @@
|
||||||
//
|
//
|
||||||
// button2
|
// button2
|
||||||
//
|
//
|
||||||
this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)));
|
this.button2.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)));
|
||||||
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.button2.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.button2.Location = new System.Drawing.Point(165, 3);
|
this.button2.Location = new System.Drawing.Point(165, 3);
|
||||||
this.button2.Name = "button2";
|
this.button2.Name = "button2";
|
||||||
this.button2.Size = new System.Drawing.Size(75, 35);
|
this.button2.Size = new System.Drawing.Size(75, 35);
|
||||||
|
@ -111,9 +111,9 @@
|
||||||
// IconManager
|
// IconManager
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(720, 552);
|
||||||
this.Controls.Add(this.panel1);
|
this.Widgets.Add(this.panel1);
|
||||||
this.Name = "IconManager";
|
this.Name = "IconManager";
|
||||||
this.Text = "IconManager";
|
this.Text = "IconManager";
|
||||||
this.Load += new System.EventHandler(this.IconManager_Load);
|
this.Load += new System.EventHandler(this.IconManager_Load);
|
||||||
|
@ -125,11 +125,11 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Panel pnlactions;
|
private ShiftUI.Panel pnlactions;
|
||||||
private System.Windows.Forms.FlowLayoutPanel pnlicons;
|
private ShiftUI.FlowLayoutPanel pnlicons;
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
private System.Windows.Forms.Button button2;
|
private ShiftUI.Button button2;
|
||||||
private System.Windows.Forms.Button button1;
|
private ShiftUI.Button button1;
|
||||||
private System.Windows.Forms.Button btnsave;
|
private ShiftUI.Button btnsave;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -8,7 +8,7 @@ using System.IO.Compression;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
@ -26,31 +26,31 @@ namespace ShiftOS
|
||||||
|
|
||||||
public void GetAllIcons()
|
public void GetAllIcons()
|
||||||
{
|
{
|
||||||
pnlicons.Controls.Clear();
|
pnlicons.Widgets.Clear();
|
||||||
pnlicons.Margin = new Padding(0);
|
pnlicons.Margin = new Padding(0);
|
||||||
foreach(var kv in API.IconRegistry)
|
foreach(var kv in API.IconRegistry)
|
||||||
{
|
{
|
||||||
var ctrl = new IconControl();
|
var ctrl = new IconWidget();
|
||||||
ctrl.Margin = new Padding(0);
|
ctrl.Margin = new Padding(0);
|
||||||
ctrl.IconName = kv.Key;
|
ctrl.IconName = kv.Key;
|
||||||
ctrl.LargeImage = kv.Value;
|
ctrl.LargeImage = kv.Value;
|
||||||
pnlicons.Controls.Add(ctrl);
|
pnlicons.Widgets.Add(ctrl);
|
||||||
ctrl.Show();
|
ctrl.Show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnsave_Click(object sender, EventArgs e)
|
private void btnsave_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
foreach (Control ctrl in pnlicons.Controls)
|
foreach (Widget ctrl in pnlicons.Widgets)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
IconControl ic = (IconControl)ctrl;
|
IconWidget ic = (IconWidget)ctrl;
|
||||||
Skinning.Utilities.IconRegistry[ic.IconName] = ic.LargeImage;
|
Skinning.Utilities.IconRegistry[ic.IconName] = ic.LargeImage;
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
IconControl ic = (IconControl)ctrl;
|
IconWidget ic = (IconWidget)ctrl;
|
||||||
Skinning.Utilities.IconRegistry.Add(ic.IconName, ic.LargeImage);
|
Skinning.Utilities.IconRegistry.Add(ic.IconName, ic.LargeImage);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -31,27 +31,27 @@ namespace ShiftOS
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KnowledgeInput));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(KnowledgeInput));
|
||||||
this.ListBox1 = new System.Windows.Forms.ListBox();
|
this.ListBox1 = new ShiftUI.ListBox();
|
||||||
this.pnlintro = new System.Windows.Forms.Panel();
|
this.pnlintro = new ShiftUI.Panel();
|
||||||
this.pnlcategorydisplay = new System.Windows.Forms.Panel();
|
this.pnlcategorydisplay = new ShiftUI.Panel();
|
||||||
this.lblnextreward = new System.Windows.Forms.Label();
|
this.lblnextreward = new ShiftUI.Label();
|
||||||
this.guessbox = new System.Windows.Forms.TextBox();
|
this.guessbox = new ShiftUI.TextBox();
|
||||||
this.lblcurrentlevel = new System.Windows.Forms.Label();
|
this.lblcurrentlevel = new ShiftUI.Label();
|
||||||
this.Label5 = new System.Windows.Forms.Label();
|
this.Label5 = new ShiftUI.Label();
|
||||||
this.listblistedstuff = new System.Windows.Forms.ListBox();
|
this.listblistedstuff = new ShiftUI.ListBox();
|
||||||
this.lbltillnextlevel = new System.Windows.Forms.Label();
|
this.lbltillnextlevel = new ShiftUI.Label();
|
||||||
this.lbltotal = new System.Windows.Forms.Label();
|
this.lbltotal = new ShiftUI.Label();
|
||||||
this.btnstart = new System.Windows.Forms.Button();
|
this.btnstart = new ShiftUI.Button();
|
||||||
this.lblcatedescription = new System.Windows.Forms.Label();
|
this.lblcatedescription = new ShiftUI.Label();
|
||||||
this.lblcategory = new System.Windows.Forms.Label();
|
this.lblcategory = new ShiftUI.Label();
|
||||||
this.Label4 = new System.Windows.Forms.Label();
|
this.Label4 = new ShiftUI.Label();
|
||||||
this.Label3 = new System.Windows.Forms.Label();
|
this.Label3 = new ShiftUI.Label();
|
||||||
this.Label2 = new System.Windows.Forms.Label();
|
this.Label2 = new ShiftUI.Label();
|
||||||
this.Label1 = new System.Windows.Forms.Label();
|
this.Label1 = new ShiftUI.Label();
|
||||||
this.decider = new System.Windows.Forms.Timer(this.components);
|
this.decider = new ShiftUI.Timer(this.components);
|
||||||
this.Label6 = new System.Windows.Forms.Label();
|
this.Label6 = new ShiftUI.Label();
|
||||||
this.pgcontents = new System.Windows.Forms.Panel();
|
this.pgcontents = new ShiftUI.Panel();
|
||||||
this.tmrstoryline = new System.Windows.Forms.Timer(this.components);
|
this.tmrstoryline = new ShiftUI.Timer(this.components);
|
||||||
this.pnlintro.SuspendLayout();
|
this.pnlintro.SuspendLayout();
|
||||||
this.pnlcategorydisplay.SuspendLayout();
|
this.pnlcategorydisplay.SuspendLayout();
|
||||||
this.pgcontents.SuspendLayout();
|
this.pgcontents.SuspendLayout();
|
||||||
|
@ -59,12 +59,12 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// ListBox1
|
// ListBox1
|
||||||
//
|
//
|
||||||
this.ListBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.ListBox1.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.ListBox1.BackColor = System.Drawing.Color.White;
|
this.ListBox1.BackColor = System.Drawing.Color.White;
|
||||||
this.ListBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.ListBox1.BorderStyle = ShiftUI.BorderStyle.None;
|
||||||
this.ListBox1.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
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.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.ForeColor = System.Drawing.Color.Black;
|
||||||
this.ListBox1.FormattingEnabled = true;
|
this.ListBox1.FormattingEnabled = true;
|
||||||
|
@ -77,16 +77,16 @@ namespace ShiftOS
|
||||||
this.ListBox1.Name = "ListBox1";
|
this.ListBox1.Name = "ListBox1";
|
||||||
this.ListBox1.Size = new System.Drawing.Size(179, 240);
|
this.ListBox1.Size = new System.Drawing.Size(179, 240);
|
||||||
this.ListBox1.TabIndex = 0;
|
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);
|
this.ListBox1.SelectedIndexChanged += new System.EventHandler(this.ListBox1_SelectedIndexChanged);
|
||||||
//
|
//
|
||||||
// pnlintro
|
// pnlintro
|
||||||
//
|
//
|
||||||
this.pnlintro.Controls.Add(this.pnlcategorydisplay);
|
this.pnlintro.Widgets.Add(this.pnlcategorydisplay);
|
||||||
this.pnlintro.Controls.Add(this.Label4);
|
this.pnlintro.Widgets.Add(this.Label4);
|
||||||
this.pnlintro.Controls.Add(this.Label3);
|
this.pnlintro.Widgets.Add(this.Label3);
|
||||||
this.pnlintro.Controls.Add(this.Label2);
|
this.pnlintro.Widgets.Add(this.Label2);
|
||||||
this.pnlintro.Controls.Add(this.Label1);
|
this.pnlintro.Widgets.Add(this.Label1);
|
||||||
this.pnlintro.Location = new System.Drawing.Point(190, 0);
|
this.pnlintro.Location = new System.Drawing.Point(190, 0);
|
||||||
this.pnlintro.Name = "pnlintro";
|
this.pnlintro.Name = "pnlintro";
|
||||||
this.pnlintro.Size = new System.Drawing.Size(479, 272);
|
this.pnlintro.Size = new System.Drawing.Size(479, 272);
|
||||||
|
@ -94,17 +94,17 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// pnlcategorydisplay
|
// pnlcategorydisplay
|
||||||
//
|
//
|
||||||
this.pnlcategorydisplay.Controls.Add(this.lblnextreward);
|
this.pnlcategorydisplay.Widgets.Add(this.lblnextreward);
|
||||||
this.pnlcategorydisplay.Controls.Add(this.guessbox);
|
this.pnlcategorydisplay.Widgets.Add(this.guessbox);
|
||||||
this.pnlcategorydisplay.Controls.Add(this.lblcurrentlevel);
|
this.pnlcategorydisplay.Widgets.Add(this.lblcurrentlevel);
|
||||||
this.pnlcategorydisplay.Controls.Add(this.Label5);
|
this.pnlcategorydisplay.Widgets.Add(this.Label5);
|
||||||
this.pnlcategorydisplay.Controls.Add(this.listblistedstuff);
|
this.pnlcategorydisplay.Widgets.Add(this.listblistedstuff);
|
||||||
this.pnlcategorydisplay.Controls.Add(this.lbltillnextlevel);
|
this.pnlcategorydisplay.Widgets.Add(this.lbltillnextlevel);
|
||||||
this.pnlcategorydisplay.Controls.Add(this.lbltotal);
|
this.pnlcategorydisplay.Widgets.Add(this.lbltotal);
|
||||||
this.pnlcategorydisplay.Controls.Add(this.btnstart);
|
this.pnlcategorydisplay.Widgets.Add(this.btnstart);
|
||||||
this.pnlcategorydisplay.Controls.Add(this.lblcatedescription);
|
this.pnlcategorydisplay.Widgets.Add(this.lblcatedescription);
|
||||||
this.pnlcategorydisplay.Controls.Add(this.lblcategory);
|
this.pnlcategorydisplay.Widgets.Add(this.lblcategory);
|
||||||
this.pnlcategorydisplay.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlcategorydisplay.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnlcategorydisplay.ForeColor = System.Drawing.Color.Black;
|
this.pnlcategorydisplay.ForeColor = System.Drawing.Color.Black;
|
||||||
this.pnlcategorydisplay.Location = new System.Drawing.Point(0, 0);
|
this.pnlcategorydisplay.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pnlcategorydisplay.Name = "pnlcategorydisplay";
|
this.pnlcategorydisplay.Name = "pnlcategorydisplay";
|
||||||
|
@ -125,7 +125,7 @@ namespace ShiftOS
|
||||||
// guessbox
|
// guessbox
|
||||||
//
|
//
|
||||||
this.guessbox.BackColor = System.Drawing.Color.White;
|
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.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.ForeColor = System.Drawing.Color.Black;
|
||||||
this.guessbox.Location = new System.Drawing.Point(11, 147);
|
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.Size = new System.Drawing.Size(297, 45);
|
||||||
this.guessbox.TabIndex = 9;
|
this.guessbox.TabIndex = 9;
|
||||||
this.guessbox.Text = "Enter Guess Here";
|
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.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
|
// lblcurrentlevel
|
||||||
//
|
//
|
||||||
|
@ -161,8 +161,8 @@ namespace ShiftOS
|
||||||
// listblistedstuff
|
// listblistedstuff
|
||||||
//
|
//
|
||||||
this.listblistedstuff.BackColor = System.Drawing.Color.Black;
|
this.listblistedstuff.BackColor = System.Drawing.Color.Black;
|
||||||
this.listblistedstuff.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.listblistedstuff.BorderStyle = ShiftUI.BorderStyle.None;
|
||||||
this.listblistedstuff.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
this.listblistedstuff.DrawMode = ShiftUI.DrawMode.OwnerDrawFixed;
|
||||||
this.listblistedstuff.ForeColor = System.Drawing.Color.White;
|
this.listblistedstuff.ForeColor = System.Drawing.Color.White;
|
||||||
this.listblistedstuff.FormattingEnabled = true;
|
this.listblistedstuff.FormattingEnabled = true;
|
||||||
this.listblistedstuff.Location = new System.Drawing.Point(340, 41);
|
this.listblistedstuff.Location = new System.Drawing.Point(340, 41);
|
||||||
|
@ -170,7 +170,7 @@ namespace ShiftOS
|
||||||
this.listblistedstuff.ScrollAlwaysVisible = true;
|
this.listblistedstuff.ScrollAlwaysVisible = true;
|
||||||
this.listblistedstuff.Size = new System.Drawing.Size(129, 221);
|
this.listblistedstuff.Size = new System.Drawing.Size(129, 221);
|
||||||
this.listblistedstuff.TabIndex = 6;
|
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
|
// lbltillnextlevel
|
||||||
//
|
//
|
||||||
|
@ -194,7 +194,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnstart
|
// 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.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.Location = new System.Drawing.Point(11, 198);
|
||||||
this.btnstart.Name = "btnstart";
|
this.btnstart.Name = "btnstart";
|
||||||
|
@ -284,10 +284,10 @@ namespace ShiftOS
|
||||||
// pgcontents
|
// pgcontents
|
||||||
//
|
//
|
||||||
this.pgcontents.BackColor = System.Drawing.Color.White;
|
this.pgcontents.BackColor = System.Drawing.Color.White;
|
||||||
this.pgcontents.Controls.Add(this.pnlintro);
|
this.pgcontents.Widgets.Add(this.pnlintro);
|
||||||
this.pgcontents.Controls.Add(this.Label6);
|
this.pgcontents.Widgets.Add(this.Label6);
|
||||||
this.pgcontents.Controls.Add(this.ListBox1);
|
this.pgcontents.Widgets.Add(this.ListBox1);
|
||||||
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pgcontents.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pgcontents.Name = "pgcontents";
|
this.pgcontents.Name = "pgcontents";
|
||||||
this.pgcontents.Size = new System.Drawing.Size(673, 304);
|
this.pgcontents.Size = new System.Drawing.Size(673, 304);
|
||||||
|
@ -301,11 +301,11 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
this.AcceptButton = this.btnstart;
|
this.AcceptButton = this.btnstart;
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.BackColor = System.Drawing.SystemColors.Control;
|
||||||
this.ClientSize = new System.Drawing.Size(673, 304);
|
this.ClientSize = new System.Drawing.Size(673, 304);
|
||||||
this.Controls.Add(this.pgcontents);
|
this.Widgets.Add(this.pgcontents);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
|
||||||
this.KeyPreview = true;
|
this.KeyPreview = true;
|
||||||
this.Name = "KnowledgeInput";
|
this.Name = "KnowledgeInput";
|
||||||
this.Text = "Knowledge_Input";
|
this.Text = "Knowledge_Input";
|
||||||
|
@ -320,26 +320,26 @@ namespace ShiftOS
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
internal System.Windows.Forms.ListBox ListBox1;
|
internal ShiftUI.ListBox ListBox1;
|
||||||
internal System.Windows.Forms.Panel pnlintro;
|
internal ShiftUI.Panel pnlintro;
|
||||||
internal System.Windows.Forms.Label Label4;
|
internal ShiftUI.Label Label4;
|
||||||
internal System.Windows.Forms.Label Label3;
|
internal ShiftUI.Label Label3;
|
||||||
internal System.Windows.Forms.Label Label2;
|
internal ShiftUI.Label Label2;
|
||||||
internal System.Windows.Forms.Label Label1;
|
internal ShiftUI.Label Label1;
|
||||||
internal System.Windows.Forms.Panel pnlcategorydisplay;
|
internal ShiftUI.Panel pnlcategorydisplay;
|
||||||
internal System.Windows.Forms.Label lblcategory;
|
internal ShiftUI.Label lblcategory;
|
||||||
internal System.Windows.Forms.Button btnstart;
|
internal ShiftUI.Button btnstart;
|
||||||
internal System.Windows.Forms.Label lblcatedescription;
|
internal ShiftUI.Label lblcatedescription;
|
||||||
internal System.Windows.Forms.Label lbltillnextlevel;
|
internal ShiftUI.Label lbltillnextlevel;
|
||||||
internal System.Windows.Forms.Label lbltotal;
|
internal ShiftUI.Label lbltotal;
|
||||||
internal System.Windows.Forms.ListBox listblistedstuff;
|
internal ShiftUI.ListBox listblistedstuff;
|
||||||
internal System.Windows.Forms.Label Label5;
|
internal ShiftUI.Label Label5;
|
||||||
internal System.Windows.Forms.TextBox guessbox;
|
internal ShiftUI.TextBox guessbox;
|
||||||
internal System.Windows.Forms.Label lblcurrentlevel;
|
internal ShiftUI.Label lblcurrentlevel;
|
||||||
internal System.Windows.Forms.Timer decider;
|
internal ShiftUI.Timer decider;
|
||||||
internal System.Windows.Forms.Label lblnextreward;
|
internal ShiftUI.Label lblnextreward;
|
||||||
internal System.Windows.Forms.Label Label6;
|
internal ShiftUI.Label Label6;
|
||||||
internal System.Windows.Forms.Panel pgcontents;
|
internal ShiftUI.Panel pgcontents;
|
||||||
internal System.Windows.Forms.Timer tmrstoryline;
|
internal ShiftUI.Timer tmrstoryline;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7,7 +7,7 @@ using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
@ -67,7 +67,7 @@ namespace ShiftOS
|
||||||
}
|
}
|
||||||
|
|
||||||
// ERROR: Handles clauses are not supported in C#
|
// 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();
|
e.DrawBackground();
|
||||||
if ((e.State & DrawItemState.Selected) == DrawItemState.Selected)
|
if ((e.State & DrawItemState.Selected) == DrawItemState.Selected)
|
||||||
|
@ -84,7 +84,7 @@ namespace ShiftOS
|
||||||
}
|
}
|
||||||
|
|
||||||
// ERROR: Handles clauses are not supported in C#
|
// 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();
|
e.DrawBackground();
|
||||||
if ((e.State & DrawItemState.Selected) == DrawItemState.Selected)
|
if ((e.State & DrawItemState.Selected) == DrawItemState.Selected)
|
||||||
|
@ -203,7 +203,7 @@ namespace ShiftOS
|
||||||
}
|
}
|
||||||
|
|
||||||
// ERROR: Handles clauses are not supported in C#
|
// 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)
|
if (e.KeyCode == Keys.Enter)
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<data name="Label2.Text" xml:space="preserve">
|
<data name="Label2.Text" xml:space="preserve">
|
||||||
<value> - Select a category on the left to begin playing.
|
<value> - Select a category on the left to begin playing.
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
|
||||||
this.Text = "Labyrinth";
|
this.Text = "Labyrinth";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,13 +28,13 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.propertyGrid1 = new System.Windows.Forms.PropertyGrid();
|
this.propertyGrid1 = new ShiftUI.PropertyGrid();
|
||||||
this.pnlactions = new System.Windows.Forms.FlowLayoutPanel();
|
this.pnlactions = new ShiftUI.FlowLayoutPanel();
|
||||||
this.btnapply = new System.Windows.Forms.Button();
|
this.btnapply = new ShiftUI.Button();
|
||||||
this.btnload = new System.Windows.Forms.Button();
|
this.btnload = new ShiftUI.Button();
|
||||||
this.btnsave = new System.Windows.Forms.Button();
|
this.btnsave = new ShiftUI.Button();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new ShiftUI.Label();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.pnlactions.SuspendLayout();
|
this.pnlactions.SuspendLayout();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
|
@ -43,37 +43,31 @@
|
||||||
//
|
//
|
||||||
this.propertyGrid1.BackColor = System.Drawing.Color.White;
|
this.propertyGrid1.BackColor = System.Drawing.Color.White;
|
||||||
this.propertyGrid1.CategoryForeColor = System.Drawing.Color.Black;
|
this.propertyGrid1.CategoryForeColor = System.Drawing.Color.Black;
|
||||||
this.propertyGrid1.CategorySplitterColor = System.Drawing.Color.Gray;
|
|
||||||
this.propertyGrid1.CommandsActiveLinkColor = System.Drawing.Color.Black;
|
this.propertyGrid1.CommandsActiveLinkColor = System.Drawing.Color.Black;
|
||||||
this.propertyGrid1.CommandsBackColor = System.Drawing.Color.White;
|
this.propertyGrid1.CommandsBackColor = System.Drawing.Color.White;
|
||||||
this.propertyGrid1.CommandsBorderColor = System.Drawing.Color.White;
|
|
||||||
this.propertyGrid1.CommandsDisabledLinkColor = System.Drawing.Color.Gray;
|
this.propertyGrid1.CommandsDisabledLinkColor = System.Drawing.Color.Gray;
|
||||||
this.propertyGrid1.CommandsForeColor = System.Drawing.Color.Black;
|
this.propertyGrid1.CommandsForeColor = System.Drawing.Color.Black;
|
||||||
this.propertyGrid1.CommandsLinkColor = System.Drawing.Color.Gray;
|
this.propertyGrid1.CommandsLinkColor = System.Drawing.Color.Gray;
|
||||||
this.propertyGrid1.DisabledItemForeColor = System.Drawing.Color.Gray;
|
this.propertyGrid1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.propertyGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
||||||
this.propertyGrid1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
this.propertyGrid1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||||
this.propertyGrid1.HelpVisible = false;
|
this.propertyGrid1.HelpVisible = false;
|
||||||
this.propertyGrid1.LineColor = System.Drawing.Color.White;
|
this.propertyGrid1.LineColor = System.Drawing.Color.White;
|
||||||
this.propertyGrid1.Location = new System.Drawing.Point(0, 28);
|
this.propertyGrid1.Location = new System.Drawing.Point(0, 28);
|
||||||
this.propertyGrid1.Name = "propertyGrid1";
|
this.propertyGrid1.Name = "propertyGrid1";
|
||||||
this.propertyGrid1.PropertySort = System.Windows.Forms.PropertySort.Alphabetical;
|
this.propertyGrid1.PropertySort = ShiftUI.PropertySort.Alphabetical;
|
||||||
this.propertyGrid1.SelectedItemWithFocusBackColor = System.Drawing.Color.Gray;
|
|
||||||
this.propertyGrid1.SelectedItemWithFocusForeColor = System.Drawing.Color.White;
|
|
||||||
this.propertyGrid1.Size = new System.Drawing.Size(403, 400);
|
this.propertyGrid1.Size = new System.Drawing.Size(403, 400);
|
||||||
this.propertyGrid1.TabIndex = 0;
|
this.propertyGrid1.TabIndex = 0;
|
||||||
this.propertyGrid1.ToolbarVisible = false;
|
this.propertyGrid1.ToolbarVisible = false;
|
||||||
this.propertyGrid1.ViewBackColor = System.Drawing.Color.White;
|
this.propertyGrid1.ViewBackColor = System.Drawing.Color.White;
|
||||||
this.propertyGrid1.ViewBorderColor = System.Drawing.Color.White;
|
|
||||||
this.propertyGrid1.ViewForeColor = System.Drawing.Color.Black;
|
this.propertyGrid1.ViewForeColor = System.Drawing.Color.Black;
|
||||||
//
|
//
|
||||||
// pnlactions
|
// pnlactions
|
||||||
//
|
//
|
||||||
this.pnlactions.BackColor = System.Drawing.Color.Gray;
|
this.pnlactions.BackColor = System.Drawing.Color.Gray;
|
||||||
this.pnlactions.Controls.Add(this.btnapply);
|
this.pnlactions.Widgets.Add(this.btnapply);
|
||||||
this.pnlactions.Controls.Add(this.btnload);
|
this.pnlactions.Widgets.Add(this.btnload);
|
||||||
this.pnlactions.Controls.Add(this.btnsave);
|
this.pnlactions.Widgets.Add(this.btnsave);
|
||||||
this.pnlactions.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.pnlactions.Dock = ShiftUI.DockStyle.Bottom;
|
||||||
this.pnlactions.Location = new System.Drawing.Point(0, 428);
|
this.pnlactions.Location = new System.Drawing.Point(0, 428);
|
||||||
this.pnlactions.Name = "pnlactions";
|
this.pnlactions.Name = "pnlactions";
|
||||||
this.pnlactions.Size = new System.Drawing.Size(403, 39);
|
this.pnlactions.Size = new System.Drawing.Size(403, 39);
|
||||||
|
@ -81,7 +75,7 @@
|
||||||
//
|
//
|
||||||
// btnapply
|
// btnapply
|
||||||
//
|
//
|
||||||
this.btnapply.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnapply.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnapply.ForeColor = System.Drawing.Color.White;
|
this.btnapply.ForeColor = System.Drawing.Color.White;
|
||||||
this.btnapply.Location = new System.Drawing.Point(3, 3);
|
this.btnapply.Location = new System.Drawing.Point(3, 3);
|
||||||
this.btnapply.Name = "btnapply";
|
this.btnapply.Name = "btnapply";
|
||||||
|
@ -93,7 +87,7 @@
|
||||||
//
|
//
|
||||||
// btnload
|
// btnload
|
||||||
//
|
//
|
||||||
this.btnload.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnload.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnload.ForeColor = System.Drawing.Color.White;
|
this.btnload.ForeColor = System.Drawing.Color.White;
|
||||||
this.btnload.Location = new System.Drawing.Point(84, 3);
|
this.btnload.Location = new System.Drawing.Point(84, 3);
|
||||||
this.btnload.Name = "btnload";
|
this.btnload.Name = "btnload";
|
||||||
|
@ -105,7 +99,7 @@
|
||||||
//
|
//
|
||||||
// btnsave
|
// btnsave
|
||||||
//
|
//
|
||||||
this.btnsave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnsave.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnsave.ForeColor = System.Drawing.Color.White;
|
this.btnsave.ForeColor = System.Drawing.Color.White;
|
||||||
this.btnsave.Location = new System.Drawing.Point(165, 3);
|
this.btnsave.Location = new System.Drawing.Point(165, 3);
|
||||||
this.btnsave.Name = "btnsave";
|
this.btnsave.Name = "btnsave";
|
||||||
|
@ -117,7 +111,7 @@
|
||||||
//
|
//
|
||||||
// label1
|
// 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
||||||
this.label1.Location = new System.Drawing.Point(0, 0);
|
this.label1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
|
@ -129,10 +123,10 @@
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.BackColor = System.Drawing.Color.White;
|
this.panel1.BackColor = System.Drawing.Color.White;
|
||||||
this.panel1.Controls.Add(this.propertyGrid1);
|
this.panel1.Widgets.Add(this.propertyGrid1);
|
||||||
this.panel1.Controls.Add(this.label1);
|
this.panel1.Widgets.Add(this.label1);
|
||||||
this.panel1.Controls.Add(this.pnlactions);
|
this.panel1.Widgets.Add(this.pnlactions);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(403, 467);
|
this.panel1.Size = new System.Drawing.Size(403, 467);
|
||||||
|
@ -141,9 +135,9 @@
|
||||||
// NameChanger
|
// NameChanger
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(403, 467);
|
||||||
this.Controls.Add(this.panel1);
|
this.Widgets.Add(this.panel1);
|
||||||
this.Name = "NameChanger";
|
this.Name = "NameChanger";
|
||||||
this.Text = "NameChanger";
|
this.Text = "NameChanger";
|
||||||
this.Load += new System.EventHandler(this.NameChanger_Load);
|
this.Load += new System.EventHandler(this.NameChanger_Load);
|
||||||
|
@ -154,12 +148,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private System.Windows.Forms.FlowLayoutPanel pnlactions;
|
private ShiftUI.FlowLayoutPanel pnlactions;
|
||||||
private System.Windows.Forms.Label label1;
|
private ShiftUI.Label label1;
|
||||||
private System.Windows.Forms.Button btnapply;
|
private ShiftUI.Button btnapply;
|
||||||
private System.Windows.Forms.Button btnload;
|
private ShiftUI.Button btnload;
|
||||||
private System.Windows.Forms.Button btnsave;
|
private ShiftUI.Button btnsave;
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
public System.Windows.Forms.PropertyGrid propertyGrid1;
|
public ShiftUI.PropertyGrid propertyGrid1;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -8,7 +8,7 @@ using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
344
source/WindowsFormsApplication1/Apps/NetGen.Designer.cs
generated
344
source/WindowsFormsApplication1/Apps/NetGen.Designer.cs
generated
|
@ -29,47 +29,47 @@
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NetGen));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NetGen));
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.pnlnetdesign = new System.Windows.Forms.Panel();
|
this.pnlnetdesign = new ShiftUI.Panel();
|
||||||
this.pnlpcinfo = new System.Windows.Forms.Panel();
|
this.pnlpcinfo = new ShiftUI.Panel();
|
||||||
this.btndelete = new System.Windows.Forms.Button();
|
this.btndelete = new ShiftUI.Button();
|
||||||
this.lbpcinfo = new System.Windows.Forms.Label();
|
this.lbpcinfo = new ShiftUI.Label();
|
||||||
this.lbmoduletitle = new System.Windows.Forms.Label();
|
this.lbmoduletitle = new ShiftUI.Label();
|
||||||
this.btncloseinfo = new System.Windows.Forms.Button();
|
this.btncloseinfo = new ShiftUI.Button();
|
||||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
this.flowLayoutPanel1 = new ShiftUI.FlowLayoutPanel();
|
||||||
this.btnaddmodule = new System.Windows.Forms.Button();
|
this.btnaddmodule = new ShiftUI.Button();
|
||||||
this.pnlbuy = new System.Windows.Forms.Panel();
|
this.pnlbuy = new ShiftUI.Panel();
|
||||||
this.txthostname = new System.Windows.Forms.TextBox();
|
this.txthostname = new ShiftUI.TextBox();
|
||||||
this.lbhostname = new System.Windows.Forms.Label();
|
this.lbhostname = new ShiftUI.Label();
|
||||||
this.txtgrade = new System.Windows.Forms.TextBox();
|
this.txtgrade = new ShiftUI.TextBox();
|
||||||
this.lbgrade = new System.Windows.Forms.Label();
|
this.lbgrade = new ShiftUI.Label();
|
||||||
this.lbmoduleinfo = new System.Windows.Forms.Label();
|
this.lbmoduleinfo = new ShiftUI.Label();
|
||||||
this.cmbbuyable = new System.Windows.Forms.ComboBox();
|
this.cmbbuyable = new ShiftUI.ComboBox();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new ShiftUI.Label();
|
||||||
this.btndonebuying = new System.Windows.Forms.Button();
|
this.btndonebuying = new ShiftUI.Button();
|
||||||
this.pnlnetinf = new System.Windows.Forms.Panel();
|
this.pnlnetinf = new ShiftUI.Panel();
|
||||||
this.label6 = new System.Windows.Forms.Label();
|
this.label6 = new ShiftUI.Label();
|
||||||
this.cbdifficulty = new System.Windows.Forms.ComboBox();
|
this.cbdifficulty = new ShiftUI.ComboBox();
|
||||||
this.txtfspeed = new System.Windows.Forms.TextBox();
|
this.txtfspeed = new ShiftUI.TextBox();
|
||||||
this.label5 = new System.Windows.Forms.Label();
|
this.label5 = new ShiftUI.Label();
|
||||||
this.txtfskill = new System.Windows.Forms.TextBox();
|
this.txtfskill = new ShiftUI.TextBox();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new ShiftUI.Label();
|
||||||
this.txtnetdesc = new System.Windows.Forms.TextBox();
|
this.txtnetdesc = new ShiftUI.TextBox();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new ShiftUI.Label();
|
||||||
this.txtnetname = new System.Windows.Forms.TextBox();
|
this.txtnetname = new ShiftUI.TextBox();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new ShiftUI.Label();
|
||||||
this.flbuttons = new System.Windows.Forms.FlowLayoutPanel();
|
this.flbuttons = new ShiftUI.FlowLayoutPanel();
|
||||||
this.btnnext = new System.Windows.Forms.Button();
|
this.btnnext = new ShiftUI.Button();
|
||||||
this.btnback = new System.Windows.Forms.Button();
|
this.btnback = new ShiftUI.Button();
|
||||||
this.pnlnetinfo = new System.Windows.Forms.Panel();
|
this.pnlnetinfo = new ShiftUI.Panel();
|
||||||
this.lbdescription = new System.Windows.Forms.Label();
|
this.lbdescription = new ShiftUI.Label();
|
||||||
this.lbtitle = new System.Windows.Forms.Label();
|
this.lbtitle = new ShiftUI.Label();
|
||||||
this.btnloadfromtemplate = new System.Windows.Forms.Button();
|
this.btnloadfromtemplate = new ShiftUI.Button();
|
||||||
this.pnltemplates = new System.Windows.Forms.Panel();
|
this.pnltemplates = new ShiftUI.Panel();
|
||||||
this.label9 = new System.Windows.Forms.Label();
|
this.label9 = new ShiftUI.Label();
|
||||||
this.cbnets = new System.Windows.Forms.ComboBox();
|
this.cbnets = new ShiftUI.ComboBox();
|
||||||
this.label10 = new System.Windows.Forms.Label();
|
this.label10 = new ShiftUI.Label();
|
||||||
this.btnrecreate = new System.Windows.Forms.Button();
|
this.btnrecreate = new ShiftUI.Button();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.pnlnetdesign.SuspendLayout();
|
this.pnlnetdesign.SuspendLayout();
|
||||||
this.pnlpcinfo.SuspendLayout();
|
this.pnlpcinfo.SuspendLayout();
|
||||||
|
@ -83,37 +83,37 @@
|
||||||
//
|
//
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.Controls.Add(this.pnltemplates);
|
this.panel1.Widgets.Add(this.pnltemplates);
|
||||||
this.panel1.Controls.Add(this.pnlnetdesign);
|
this.panel1.Widgets.Add(this.pnlnetdesign);
|
||||||
this.panel1.Controls.Add(this.pnlnetinf);
|
this.panel1.Widgets.Add(this.pnlnetinf);
|
||||||
this.panel1.Controls.Add(this.flbuttons);
|
this.panel1.Widgets.Add(this.flbuttons);
|
||||||
this.panel1.Controls.Add(this.pnlnetinfo);
|
this.panel1.Widgets.Add(this.pnlnetinfo);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(894, 591);
|
this.panel1.Size = new System.Drawing.Size(894, 591);
|
||||||
this.panel1.TabIndex = 0;
|
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
|
// pnlnetdesign
|
||||||
//
|
//
|
||||||
this.pnlnetdesign.Controls.Add(this.pnlpcinfo);
|
this.pnlnetdesign.Widgets.Add(this.pnlpcinfo);
|
||||||
this.pnlnetdesign.Controls.Add(this.flowLayoutPanel1);
|
this.pnlnetdesign.Widgets.Add(this.flowLayoutPanel1);
|
||||||
this.pnlnetdesign.Controls.Add(this.pnlbuy);
|
this.pnlnetdesign.Widgets.Add(this.pnlbuy);
|
||||||
this.pnlnetdesign.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlnetdesign.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnlnetdesign.Location = new System.Drawing.Point(0, 76);
|
this.pnlnetdesign.Location = new System.Drawing.Point(0, 76);
|
||||||
this.pnlnetdesign.Name = "pnlnetdesign";
|
this.pnlnetdesign.Name = "pnlnetdesign";
|
||||||
this.pnlnetdesign.Size = new System.Drawing.Size(894, 484);
|
this.pnlnetdesign.Size = new System.Drawing.Size(894, 484);
|
||||||
this.pnlnetdesign.TabIndex = 6;
|
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
|
// pnlpcinfo
|
||||||
//
|
//
|
||||||
this.pnlpcinfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.pnlpcinfo.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
|
||||||
this.pnlpcinfo.Controls.Add(this.btndelete);
|
this.pnlpcinfo.Widgets.Add(this.btndelete);
|
||||||
this.pnlpcinfo.Controls.Add(this.lbpcinfo);
|
this.pnlpcinfo.Widgets.Add(this.lbpcinfo);
|
||||||
this.pnlpcinfo.Controls.Add(this.lbmoduletitle);
|
this.pnlpcinfo.Widgets.Add(this.lbmoduletitle);
|
||||||
this.pnlpcinfo.Controls.Add(this.btncloseinfo);
|
this.pnlpcinfo.Widgets.Add(this.btncloseinfo);
|
||||||
this.pnlpcinfo.Location = new System.Drawing.Point(43, 167);
|
this.pnlpcinfo.Location = new System.Drawing.Point(43, 167);
|
||||||
this.pnlpcinfo.Name = "pnlpcinfo";
|
this.pnlpcinfo.Name = "pnlpcinfo";
|
||||||
this.pnlpcinfo.Size = new System.Drawing.Size(382, 280);
|
this.pnlpcinfo.Size = new System.Drawing.Size(382, 280);
|
||||||
|
@ -122,10 +122,10 @@
|
||||||
//
|
//
|
||||||
// btndelete
|
// 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.AutoSize = true;
|
||||||
this.btndelete.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btndelete.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btndelete.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btndelete.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btndelete.Location = new System.Drawing.Point(106, 254);
|
this.btndelete.Location = new System.Drawing.Point(106, 254);
|
||||||
this.btndelete.Name = "btndelete";
|
this.btndelete.Name = "btndelete";
|
||||||
this.btndelete.Size = new System.Drawing.Size(59, 23);
|
this.btndelete.Size = new System.Drawing.Size(59, 23);
|
||||||
|
@ -153,10 +153,10 @@
|
||||||
//
|
//
|
||||||
// btncloseinfo
|
// 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.AutoSize = true;
|
||||||
this.btncloseinfo.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btncloseinfo.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btncloseinfo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btncloseinfo.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btncloseinfo.Location = new System.Drawing.Point(327, 254);
|
this.btncloseinfo.Location = new System.Drawing.Point(327, 254);
|
||||||
this.btncloseinfo.Name = "btncloseinfo";
|
this.btncloseinfo.Name = "btncloseinfo";
|
||||||
this.btncloseinfo.Size = new System.Drawing.Size(52, 23);
|
this.btncloseinfo.Size = new System.Drawing.Size(52, 23);
|
||||||
|
@ -167,8 +167,8 @@
|
||||||
//
|
//
|
||||||
// flowLayoutPanel1
|
// flowLayoutPanel1
|
||||||
//
|
//
|
||||||
this.flowLayoutPanel1.Controls.Add(this.btnaddmodule);
|
this.flowLayoutPanel1.Widgets.Add(this.btnaddmodule);
|
||||||
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.flowLayoutPanel1.Dock = ShiftUI.DockStyle.Bottom;
|
||||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 453);
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 453);
|
||||||
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(894, 31);
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(894, 31);
|
||||||
|
@ -177,8 +177,8 @@
|
||||||
// btnaddmodule
|
// btnaddmodule
|
||||||
//
|
//
|
||||||
this.btnaddmodule.AutoSize = true;
|
this.btnaddmodule.AutoSize = true;
|
||||||
this.btnaddmodule.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnaddmodule.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnaddmodule.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnaddmodule.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnaddmodule.Location = new System.Drawing.Point(3, 3);
|
this.btnaddmodule.Location = new System.Drawing.Point(3, 3);
|
||||||
this.btnaddmodule.Name = "btnaddmodule";
|
this.btnaddmodule.Name = "btnaddmodule";
|
||||||
this.btnaddmodule.Size = new System.Drawing.Size(87, 23);
|
this.btnaddmodule.Size = new System.Drawing.Size(87, 23);
|
||||||
|
@ -189,15 +189,15 @@
|
||||||
//
|
//
|
||||||
// pnlbuy
|
// pnlbuy
|
||||||
//
|
//
|
||||||
this.pnlbuy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.pnlbuy.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.pnlbuy.Controls.Add(this.txthostname);
|
this.pnlbuy.Widgets.Add(this.txthostname);
|
||||||
this.pnlbuy.Controls.Add(this.lbhostname);
|
this.pnlbuy.Widgets.Add(this.lbhostname);
|
||||||
this.pnlbuy.Controls.Add(this.txtgrade);
|
this.pnlbuy.Widgets.Add(this.txtgrade);
|
||||||
this.pnlbuy.Controls.Add(this.lbgrade);
|
this.pnlbuy.Widgets.Add(this.lbgrade);
|
||||||
this.pnlbuy.Controls.Add(this.lbmoduleinfo);
|
this.pnlbuy.Widgets.Add(this.lbmoduleinfo);
|
||||||
this.pnlbuy.Controls.Add(this.cmbbuyable);
|
this.pnlbuy.Widgets.Add(this.cmbbuyable);
|
||||||
this.pnlbuy.Controls.Add(this.label4);
|
this.pnlbuy.Widgets.Add(this.label4);
|
||||||
this.pnlbuy.Controls.Add(this.btndonebuying);
|
this.pnlbuy.Widgets.Add(this.btndonebuying);
|
||||||
this.pnlbuy.Location = new System.Drawing.Point(3, 148);
|
this.pnlbuy.Location = new System.Drawing.Point(3, 148);
|
||||||
this.pnlbuy.Name = "pnlbuy";
|
this.pnlbuy.Name = "pnlbuy";
|
||||||
this.pnlbuy.Size = new System.Drawing.Size(382, 299);
|
this.pnlbuy.Size = new System.Drawing.Size(382, 299);
|
||||||
|
@ -207,7 +207,7 @@
|
||||||
// txthostname
|
// txthostname
|
||||||
//
|
//
|
||||||
this.txthostname.BackColor = System.Drawing.Color.Black;
|
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.ForeColor = System.Drawing.Color.White;
|
||||||
this.txthostname.Location = new System.Drawing.Point(186, 236);
|
this.txthostname.Location = new System.Drawing.Point(186, 236);
|
||||||
this.txthostname.Name = "txthostname";
|
this.txthostname.Name = "txthostname";
|
||||||
|
@ -226,7 +226,7 @@
|
||||||
// txtgrade
|
// txtgrade
|
||||||
//
|
//
|
||||||
this.txtgrade.BackColor = System.Drawing.Color.Black;
|
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.ForeColor = System.Drawing.Color.White;
|
||||||
this.txtgrade.Location = new System.Drawing.Point(65, 236);
|
this.txtgrade.Location = new System.Drawing.Point(65, 236);
|
||||||
this.txtgrade.Name = "txtgrade";
|
this.txtgrade.Name = "txtgrade";
|
||||||
|
@ -254,8 +254,8 @@
|
||||||
// cmbbuyable
|
// cmbbuyable
|
||||||
//
|
//
|
||||||
this.cmbbuyable.BackColor = System.Drawing.Color.Black;
|
this.cmbbuyable.BackColor = System.Drawing.Color.Black;
|
||||||
this.cmbbuyable.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.cmbbuyable.DropDownStyle = ShiftUI.ComboBoxStyle.DropDownList;
|
||||||
this.cmbbuyable.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.cmbbuyable.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.cmbbuyable.ForeColor = System.Drawing.Color.White;
|
this.cmbbuyable.ForeColor = System.Drawing.Color.White;
|
||||||
this.cmbbuyable.FormattingEnabled = true;
|
this.cmbbuyable.FormattingEnabled = true;
|
||||||
this.cmbbuyable.Location = new System.Drawing.Point(12, 38);
|
this.cmbbuyable.Location = new System.Drawing.Point(12, 38);
|
||||||
|
@ -275,10 +275,10 @@
|
||||||
//
|
//
|
||||||
// btndonebuying
|
// 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.AutoSize = true;
|
||||||
this.btndonebuying.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btndonebuying.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btndonebuying.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btndonebuying.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btndonebuying.Location = new System.Drawing.Point(341, 273);
|
this.btndonebuying.Location = new System.Drawing.Point(341, 273);
|
||||||
this.btndonebuying.Name = "btndonebuying";
|
this.btndonebuying.Name = "btndonebuying";
|
||||||
this.btndonebuying.Size = new System.Drawing.Size(38, 23);
|
this.btndonebuying.Size = new System.Drawing.Size(38, 23);
|
||||||
|
@ -289,17 +289,17 @@
|
||||||
//
|
//
|
||||||
// pnlnetinf
|
// pnlnetinf
|
||||||
//
|
//
|
||||||
this.pnlnetinf.Controls.Add(this.label6);
|
this.pnlnetinf.Widgets.Add(this.label6);
|
||||||
this.pnlnetinf.Controls.Add(this.cbdifficulty);
|
this.pnlnetinf.Widgets.Add(this.cbdifficulty);
|
||||||
this.pnlnetinf.Controls.Add(this.txtfspeed);
|
this.pnlnetinf.Widgets.Add(this.txtfspeed);
|
||||||
this.pnlnetinf.Controls.Add(this.label5);
|
this.pnlnetinf.Widgets.Add(this.label5);
|
||||||
this.pnlnetinf.Controls.Add(this.txtfskill);
|
this.pnlnetinf.Widgets.Add(this.txtfskill);
|
||||||
this.pnlnetinf.Controls.Add(this.label3);
|
this.pnlnetinf.Widgets.Add(this.label3);
|
||||||
this.pnlnetinf.Controls.Add(this.txtnetdesc);
|
this.pnlnetinf.Widgets.Add(this.txtnetdesc);
|
||||||
this.pnlnetinf.Controls.Add(this.label2);
|
this.pnlnetinf.Widgets.Add(this.label2);
|
||||||
this.pnlnetinf.Controls.Add(this.txtnetname);
|
this.pnlnetinf.Widgets.Add(this.txtnetname);
|
||||||
this.pnlnetinf.Controls.Add(this.label1);
|
this.pnlnetinf.Widgets.Add(this.label1);
|
||||||
this.pnlnetinf.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlnetinf.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnlnetinf.Location = new System.Drawing.Point(0, 76);
|
this.pnlnetinf.Location = new System.Drawing.Point(0, 76);
|
||||||
this.pnlnetinf.Name = "pnlnetinf";
|
this.pnlnetinf.Name = "pnlnetinf";
|
||||||
this.pnlnetinf.Size = new System.Drawing.Size(894, 484);
|
this.pnlnetinf.Size = new System.Drawing.Size(894, 484);
|
||||||
|
@ -317,8 +317,8 @@
|
||||||
// cbdifficulty
|
// cbdifficulty
|
||||||
//
|
//
|
||||||
this.cbdifficulty.BackColor = System.Drawing.Color.Black;
|
this.cbdifficulty.BackColor = System.Drawing.Color.Black;
|
||||||
this.cbdifficulty.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.cbdifficulty.DropDownStyle = ShiftUI.ComboBoxStyle.DropDownList;
|
||||||
this.cbdifficulty.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.cbdifficulty.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.cbdifficulty.ForeColor = System.Drawing.Color.Green;
|
this.cbdifficulty.ForeColor = System.Drawing.Color.Green;
|
||||||
this.cbdifficulty.FormattingEnabled = true;
|
this.cbdifficulty.FormattingEnabled = true;
|
||||||
this.cbdifficulty.Items.AddRange(new object[] {
|
this.cbdifficulty.Items.AddRange(new object[] {
|
||||||
|
@ -333,7 +333,7 @@
|
||||||
// txtfspeed
|
// txtfspeed
|
||||||
//
|
//
|
||||||
this.txtfspeed.BackColor = System.Drawing.Color.Black;
|
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.ForeColor = System.Drawing.Color.Green;
|
||||||
this.txtfspeed.Location = new System.Drawing.Point(142, 172);
|
this.txtfspeed.Location = new System.Drawing.Point(142, 172);
|
||||||
this.txtfspeed.Name = "txtfspeed";
|
this.txtfspeed.Name = "txtfspeed";
|
||||||
|
@ -353,7 +353,7 @@
|
||||||
// txtfskill
|
// txtfskill
|
||||||
//
|
//
|
||||||
this.txtfskill.BackColor = System.Drawing.Color.Black;
|
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.ForeColor = System.Drawing.Color.Green;
|
||||||
this.txtfskill.Location = new System.Drawing.Point(142, 146);
|
this.txtfskill.Location = new System.Drawing.Point(142, 146);
|
||||||
this.txtfskill.Name = "txtfskill";
|
this.txtfskill.Name = "txtfskill";
|
||||||
|
@ -373,7 +373,7 @@
|
||||||
// txtnetdesc
|
// txtnetdesc
|
||||||
//
|
//
|
||||||
this.txtnetdesc.BackColor = System.Drawing.Color.Black;
|
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.ForeColor = System.Drawing.Color.Green;
|
||||||
this.txtnetdesc.Location = new System.Drawing.Point(142, 80);
|
this.txtnetdesc.Location = new System.Drawing.Point(142, 80);
|
||||||
this.txtnetdesc.Name = "txtnetdesc";
|
this.txtnetdesc.Name = "txtnetdesc";
|
||||||
|
@ -392,7 +392,7 @@
|
||||||
// txtnetname
|
// txtnetname
|
||||||
//
|
//
|
||||||
this.txtnetname.BackColor = System.Drawing.Color.Black;
|
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.ForeColor = System.Drawing.Color.Green;
|
||||||
this.txtnetname.Location = new System.Drawing.Point(142, 56);
|
this.txtnetname.Location = new System.Drawing.Point(142, 56);
|
||||||
this.txtnetname.Name = "txtnetname";
|
this.txtnetname.Name = "txtnetname";
|
||||||
|
@ -410,10 +410,10 @@
|
||||||
//
|
//
|
||||||
// flbuttons
|
// flbuttons
|
||||||
//
|
//
|
||||||
this.flbuttons.Controls.Add(this.btnnext);
|
this.flbuttons.Widgets.Add(this.btnnext);
|
||||||
this.flbuttons.Controls.Add(this.btnback);
|
this.flbuttons.Widgets.Add(this.btnback);
|
||||||
this.flbuttons.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.flbuttons.Dock = ShiftUI.DockStyle.Bottom;
|
||||||
this.flbuttons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
this.flbuttons.FlowDirection = ShiftUI.FlowDirection.RightToLeft;
|
||||||
this.flbuttons.Location = new System.Drawing.Point(0, 560);
|
this.flbuttons.Location = new System.Drawing.Point(0, 560);
|
||||||
this.flbuttons.Name = "flbuttons";
|
this.flbuttons.Name = "flbuttons";
|
||||||
this.flbuttons.Size = new System.Drawing.Size(894, 31);
|
this.flbuttons.Size = new System.Drawing.Size(894, 31);
|
||||||
|
@ -422,8 +422,8 @@
|
||||||
// btnnext
|
// btnnext
|
||||||
//
|
//
|
||||||
this.btnnext.AutoSize = true;
|
this.btnnext.AutoSize = true;
|
||||||
this.btnnext.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnnext.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnnext.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnnext.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnnext.Location = new System.Drawing.Point(846, 3);
|
this.btnnext.Location = new System.Drawing.Point(846, 3);
|
||||||
this.btnnext.Name = "btnnext";
|
this.btnnext.Name = "btnnext";
|
||||||
this.btnnext.Size = new System.Drawing.Size(45, 23);
|
this.btnnext.Size = new System.Drawing.Size(45, 23);
|
||||||
|
@ -435,8 +435,8 @@
|
||||||
// btnback
|
// btnback
|
||||||
//
|
//
|
||||||
this.btnback.AutoSize = true;
|
this.btnback.AutoSize = true;
|
||||||
this.btnback.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnback.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnback.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnback.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnback.Location = new System.Drawing.Point(795, 3);
|
this.btnback.Location = new System.Drawing.Point(795, 3);
|
||||||
this.btnback.Name = "btnback";
|
this.btnback.Name = "btnback";
|
||||||
this.btnback.Size = new System.Drawing.Size(45, 23);
|
this.btnback.Size = new System.Drawing.Size(45, 23);
|
||||||
|
@ -447,10 +447,10 @@
|
||||||
//
|
//
|
||||||
// pnlnetinfo
|
// pnlnetinfo
|
||||||
//
|
//
|
||||||
this.pnlnetinfo.Controls.Add(this.btnloadfromtemplate);
|
this.pnlnetinfo.Widgets.Add(this.btnloadfromtemplate);
|
||||||
this.pnlnetinfo.Controls.Add(this.lbdescription);
|
this.pnlnetinfo.Widgets.Add(this.lbdescription);
|
||||||
this.pnlnetinfo.Controls.Add(this.lbtitle);
|
this.pnlnetinfo.Widgets.Add(this.lbtitle);
|
||||||
this.pnlnetinfo.Dock = System.Windows.Forms.DockStyle.Top;
|
this.pnlnetinfo.Dock = ShiftUI.DockStyle.Top;
|
||||||
this.pnlnetinfo.Location = new System.Drawing.Point(0, 0);
|
this.pnlnetinfo.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pnlnetinfo.Name = "pnlnetinfo";
|
this.pnlnetinfo.Name = "pnlnetinfo";
|
||||||
this.pnlnetinfo.Size = new System.Drawing.Size(894, 76);
|
this.pnlnetinfo.Size = new System.Drawing.Size(894, 76);
|
||||||
|
@ -458,8 +458,8 @@
|
||||||
//
|
//
|
||||||
// lbdescription
|
// lbdescription
|
||||||
//
|
//
|
||||||
this.lbdescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.lbdescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.lbdescription.Location = new System.Drawing.Point(15, 31);
|
this.lbdescription.Location = new System.Drawing.Point(15, 31);
|
||||||
this.lbdescription.Name = "lbdescription";
|
this.lbdescription.Name = "lbdescription";
|
||||||
this.lbdescription.Size = new System.Drawing.Size(867, 36);
|
this.lbdescription.Size = new System.Drawing.Size(867, 36);
|
||||||
|
@ -478,10 +478,10 @@
|
||||||
//
|
//
|
||||||
// btnloadfromtemplate
|
// 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.AutoSize = true;
|
||||||
this.btnloadfromtemplate.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnloadfromtemplate.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnloadfromtemplate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnloadfromtemplate.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnloadfromtemplate.Location = new System.Drawing.Point(683, 47);
|
this.btnloadfromtemplate.Location = new System.Drawing.Point(683, 47);
|
||||||
this.btnloadfromtemplate.Name = "btnloadfromtemplate";
|
this.btnloadfromtemplate.Name = "btnloadfromtemplate";
|
||||||
this.btnloadfromtemplate.Size = new System.Drawing.Size(199, 23);
|
this.btnloadfromtemplate.Size = new System.Drawing.Size(199, 23);
|
||||||
|
@ -493,11 +493,11 @@
|
||||||
//
|
//
|
||||||
// pnltemplates
|
// pnltemplates
|
||||||
//
|
//
|
||||||
this.pnltemplates.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.pnltemplates.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.pnltemplates.Controls.Add(this.label9);
|
this.pnltemplates.Widgets.Add(this.label9);
|
||||||
this.pnltemplates.Controls.Add(this.cbnets);
|
this.pnltemplates.Widgets.Add(this.cbnets);
|
||||||
this.pnltemplates.Controls.Add(this.label10);
|
this.pnltemplates.Widgets.Add(this.label10);
|
||||||
this.pnltemplates.Controls.Add(this.btnrecreate);
|
this.pnltemplates.Widgets.Add(this.btnrecreate);
|
||||||
this.pnltemplates.Location = new System.Drawing.Point(256, 146);
|
this.pnltemplates.Location = new System.Drawing.Point(256, 146);
|
||||||
this.pnltemplates.Name = "pnltemplates";
|
this.pnltemplates.Name = "pnltemplates";
|
||||||
this.pnltemplates.Size = new System.Drawing.Size(382, 299);
|
this.pnltemplates.Size = new System.Drawing.Size(382, 299);
|
||||||
|
@ -516,8 +516,8 @@
|
||||||
// cbnets
|
// cbnets
|
||||||
//
|
//
|
||||||
this.cbnets.BackColor = System.Drawing.Color.Black;
|
this.cbnets.BackColor = System.Drawing.Color.Black;
|
||||||
this.cbnets.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.cbnets.DropDownStyle = ShiftUI.ComboBoxStyle.DropDownList;
|
||||||
this.cbnets.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.cbnets.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.cbnets.ForeColor = System.Drawing.Color.White;
|
this.cbnets.ForeColor = System.Drawing.Color.White;
|
||||||
this.cbnets.FormattingEnabled = true;
|
this.cbnets.FormattingEnabled = true;
|
||||||
this.cbnets.Location = new System.Drawing.Point(12, 38);
|
this.cbnets.Location = new System.Drawing.Point(12, 38);
|
||||||
|
@ -536,10 +536,10 @@
|
||||||
//
|
//
|
||||||
// btnrecreate
|
// 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.AutoSize = true;
|
||||||
this.btnrecreate.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnrecreate.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnrecreate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnrecreate.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnrecreate.Location = new System.Drawing.Point(334, 273);
|
this.btnrecreate.Location = new System.Drawing.Point(334, 273);
|
||||||
this.btnrecreate.Name = "btnrecreate";
|
this.btnrecreate.Name = "btnrecreate";
|
||||||
this.btnrecreate.Size = new System.Drawing.Size(45, 23);
|
this.btnrecreate.Size = new System.Drawing.Size(45, 23);
|
||||||
|
@ -551,13 +551,13 @@
|
||||||
// NetGen
|
// NetGen
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 11F);
|
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.BackColor = System.Drawing.Color.Black;
|
||||||
this.ClientSize = new System.Drawing.Size(894, 591);
|
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.Font = new System.Drawing.Font("Lucida Console", 8.25F);
|
||||||
this.ForeColor = System.Drawing.Color.LightGreen;
|
this.ForeColor = System.Drawing.Color.LightGreen;
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
|
||||||
this.Name = "NetGen";
|
this.Name = "NetGen";
|
||||||
this.Text = "NetGen";
|
this.Text = "NetGen";
|
||||||
this.Load += new System.EventHandler(this.NetGen_Load);
|
this.Load += new System.EventHandler(this.NetGen_Load);
|
||||||
|
@ -583,46 +583,46 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
private System.Windows.Forms.FlowLayoutPanel flbuttons;
|
private ShiftUI.FlowLayoutPanel flbuttons;
|
||||||
private System.Windows.Forms.TextBox txtnetname;
|
private ShiftUI.TextBox txtnetname;
|
||||||
private System.Windows.Forms.Label label1;
|
private ShiftUI.Label label1;
|
||||||
private System.Windows.Forms.Panel pnlnetinfo;
|
private ShiftUI.Panel pnlnetinfo;
|
||||||
private System.Windows.Forms.Label lbdescription;
|
private ShiftUI.Label lbdescription;
|
||||||
private System.Windows.Forms.Label lbtitle;
|
private ShiftUI.Label lbtitle;
|
||||||
private System.Windows.Forms.TextBox txtnetdesc;
|
private ShiftUI.TextBox txtnetdesc;
|
||||||
private System.Windows.Forms.Label label2;
|
private ShiftUI.Label label2;
|
||||||
private System.Windows.Forms.Button btnnext;
|
private ShiftUI.Button btnnext;
|
||||||
private System.Windows.Forms.Button btnback;
|
private ShiftUI.Button btnback;
|
||||||
private System.Windows.Forms.Panel pnlnetdesign;
|
private ShiftUI.Panel pnlnetdesign;
|
||||||
private System.Windows.Forms.Panel pnlnetinf;
|
private ShiftUI.Panel pnlnetinf;
|
||||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
private ShiftUI.FlowLayoutPanel flowLayoutPanel1;
|
||||||
private System.Windows.Forms.Button btnaddmodule;
|
private ShiftUI.Button btnaddmodule;
|
||||||
private System.Windows.Forms.Panel pnlbuy;
|
private ShiftUI.Panel pnlbuy;
|
||||||
private System.Windows.Forms.TextBox txthostname;
|
private ShiftUI.TextBox txthostname;
|
||||||
private System.Windows.Forms.Label lbhostname;
|
private ShiftUI.Label lbhostname;
|
||||||
private System.Windows.Forms.TextBox txtgrade;
|
private ShiftUI.TextBox txtgrade;
|
||||||
private System.Windows.Forms.Label lbgrade;
|
private ShiftUI.Label lbgrade;
|
||||||
private System.Windows.Forms.Label lbmoduleinfo;
|
private ShiftUI.Label lbmoduleinfo;
|
||||||
private System.Windows.Forms.ComboBox cmbbuyable;
|
private ShiftUI.ComboBox cmbbuyable;
|
||||||
private System.Windows.Forms.Label label4;
|
private ShiftUI.Label label4;
|
||||||
private System.Windows.Forms.Button btndonebuying;
|
private ShiftUI.Button btndonebuying;
|
||||||
private System.Windows.Forms.Panel pnlpcinfo;
|
private ShiftUI.Panel pnlpcinfo;
|
||||||
private System.Windows.Forms.Button btndelete;
|
private ShiftUI.Button btndelete;
|
||||||
private System.Windows.Forms.Label lbpcinfo;
|
private ShiftUI.Label lbpcinfo;
|
||||||
private System.Windows.Forms.Label lbmoduletitle;
|
private ShiftUI.Label lbmoduletitle;
|
||||||
private System.Windows.Forms.Button btncloseinfo;
|
private ShiftUI.Button btncloseinfo;
|
||||||
private System.Windows.Forms.Label label6;
|
private ShiftUI.Label label6;
|
||||||
private System.Windows.Forms.ComboBox cbdifficulty;
|
private ShiftUI.ComboBox cbdifficulty;
|
||||||
private System.Windows.Forms.TextBox txtfspeed;
|
private ShiftUI.TextBox txtfspeed;
|
||||||
private System.Windows.Forms.Label label5;
|
private ShiftUI.Label label5;
|
||||||
private System.Windows.Forms.TextBox txtfskill;
|
private ShiftUI.TextBox txtfskill;
|
||||||
private System.Windows.Forms.Label label3;
|
private ShiftUI.Label label3;
|
||||||
private System.Windows.Forms.Button btnloadfromtemplate;
|
private ShiftUI.Button btnloadfromtemplate;
|
||||||
private System.Windows.Forms.Panel pnltemplates;
|
private ShiftUI.Panel pnltemplates;
|
||||||
private System.Windows.Forms.Label label9;
|
private ShiftUI.Label label9;
|
||||||
private System.Windows.Forms.ComboBox cbnets;
|
private ShiftUI.ComboBox cbnets;
|
||||||
private System.Windows.Forms.Label label10;
|
private ShiftUI.Label label10;
|
||||||
private System.Windows.Forms.Button btnrecreate;
|
private ShiftUI.Button btnrecreate;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7,7 +7,7 @@ using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
@ -51,7 +51,7 @@ namespace ShiftOS
|
||||||
{
|
{
|
||||||
foreach(var p in potentialModules)
|
foreach(var p in potentialModules)
|
||||||
{
|
{
|
||||||
pnlnetdesign.Controls.Remove(p);
|
pnlnetdesign.Widgets.Remove(p);
|
||||||
p.Hide();
|
p.Hide();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ namespace ShiftOS
|
||||||
var c = network.Network[0].Deploy();
|
var c = network.Network[0].Deploy();
|
||||||
c.Left = (pnlnetdesign.Width - 64) / 2;
|
c.Left = (pnlnetdesign.Width - 64) / 2;
|
||||||
c.Top = (pnlnetdesign.Height - 64) / 2;
|
c.Top = (pnlnetdesign.Height - 64) / 2;
|
||||||
pnlnetdesign.Controls.Add(c);
|
pnlnetdesign.Widgets.Add(c);
|
||||||
c.Select += (s, a) =>
|
c.Select += (s, a) =>
|
||||||
{
|
{
|
||||||
ShowSysInf(c);
|
ShowSysInf(c);
|
||||||
|
@ -236,7 +236,7 @@ namespace ShiftOS
|
||||||
fmod.HP = fmod.GetTotalHP();
|
fmod.HP = fmod.GetTotalHP();
|
||||||
var computerToPlace = fmod.Deploy();
|
var computerToPlace = fmod.Deploy();
|
||||||
computerToPlace.Location = new Point(x, y);
|
computerToPlace.Location = new Point(x, y);
|
||||||
pnlnetdesign.Controls.Add(computerToPlace);
|
pnlnetdesign.Widgets.Add(computerToPlace);
|
||||||
potentialModules.Add(computerToPlace);
|
potentialModules.Add(computerToPlace);
|
||||||
computerToPlace.Select += (s, a) =>
|
computerToPlace.Select += (s, a) =>
|
||||||
{
|
{
|
||||||
|
@ -270,7 +270,7 @@ namespace ShiftOS
|
||||||
if(SelectedSystem != null)
|
if(SelectedSystem != null)
|
||||||
{
|
{
|
||||||
potentialModules.Remove(SelectedSystem);
|
potentialModules.Remove(SelectedSystem);
|
||||||
pnlnetdesign.Controls.Remove(SelectedSystem);
|
pnlnetdesign.Widgets.Remove(SelectedSystem);
|
||||||
SelectedSystem.Dispose();
|
SelectedSystem.Dispose();
|
||||||
}
|
}
|
||||||
SelectedSystem = null;
|
SelectedSystem = null;
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<data name="lbpcinfo.Text" xml:space="preserve">
|
<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.
|
<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.
|
||||||
|
|
|
@ -30,33 +30,33 @@
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NetworkBrowser));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NetworkBrowser));
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.pnlonline = new System.Windows.Forms.Panel();
|
this.pnlonline = new ShiftUI.Panel();
|
||||||
this.btnjoinlobby = new System.Windows.Forms.Button();
|
this.btnjoinlobby = new ShiftUI.Button();
|
||||||
this.lbonlineservers = new System.Windows.Forms.ListBox();
|
this.lbonlineservers = new ShiftUI.ListBox();
|
||||||
this.lbonlinedesc = new System.Windows.Forms.Label();
|
this.lbonlinedesc = new ShiftUI.Label();
|
||||||
this.lbonlineheader = new System.Windows.Forms.Label();
|
this.lbonlineheader = new ShiftUI.Label();
|
||||||
this.button1 = new System.Windows.Forms.Button();
|
this.button1 = new ShiftUI.Button();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new ShiftUI.Label();
|
||||||
this.btnscreen = new System.Windows.Forms.Button();
|
this.btnscreen = new ShiftUI.Button();
|
||||||
this.pnlmynet = new System.Windows.Forms.Panel();
|
this.pnlmynet = new ShiftUI.Panel();
|
||||||
this.flmodules = new System.Windows.Forms.FlowLayoutPanel();
|
this.flmodules = new ShiftUI.FlowLayoutPanel();
|
||||||
this.label5 = new System.Windows.Forms.Label();
|
this.label5 = new ShiftUI.Label();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new ShiftUI.Label();
|
||||||
this.btntier = new System.Windows.Forms.Button();
|
this.btntier = new ShiftUI.Button();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new ShiftUI.Label();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new ShiftUI.Label();
|
||||||
this.btnstartbattle = new System.Windows.Forms.Button();
|
this.btnstartbattle = new ShiftUI.Button();
|
||||||
this.lbnets = new System.Windows.Forms.ListBox();
|
this.lbnets = new ShiftUI.ListBox();
|
||||||
this.panel2 = new System.Windows.Forms.Panel();
|
this.panel2 = new ShiftUI.Panel();
|
||||||
this.lbnetdesc = new System.Windows.Forms.Label();
|
this.lbnetdesc = new ShiftUI.Label();
|
||||||
this.lbtitle = new System.Windows.Forms.Label();
|
this.lbtitle = new ShiftUI.Label();
|
||||||
this.tmrcalctotal = new System.Windows.Forms.Timer(this.components);
|
this.tmrcalctotal = new ShiftUI.Timer(this.components);
|
||||||
this.pgtotalhealth = new ShiftOS.ProgressBarEX();
|
this.pgtotalhealth = new ShiftOS.ProgressBarEX();
|
||||||
this.label6 = new System.Windows.Forms.Label();
|
this.label6 = new ShiftUI.Label();
|
||||||
this.label7 = new System.Windows.Forms.Label();
|
this.label7 = new ShiftUI.Label();
|
||||||
this.txtmyname = new System.Windows.Forms.TextBox();
|
this.txtmyname = new ShiftUI.TextBox();
|
||||||
this.txtmydescription = new System.Windows.Forms.TextBox();
|
this.txtmydescription = new ShiftUI.TextBox();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.pnlonline.SuspendLayout();
|
this.pnlonline.SuspendLayout();
|
||||||
this.pnlmynet.SuspendLayout();
|
this.pnlmynet.SuspendLayout();
|
||||||
|
@ -65,18 +65,18 @@
|
||||||
//
|
//
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.Controls.Add(this.pnlmynet);
|
this.panel1.Widgets.Add(this.pnlmynet);
|
||||||
this.panel1.Controls.Add(this.pnlonline);
|
this.panel1.Widgets.Add(this.pnlonline);
|
||||||
this.panel1.Controls.Add(this.button1);
|
this.panel1.Widgets.Add(this.button1);
|
||||||
this.panel1.Controls.Add(this.label3);
|
this.panel1.Widgets.Add(this.label3);
|
||||||
this.panel1.Controls.Add(this.btnscreen);
|
this.panel1.Widgets.Add(this.btnscreen);
|
||||||
this.panel1.Controls.Add(this.btntier);
|
this.panel1.Widgets.Add(this.btntier);
|
||||||
this.panel1.Controls.Add(this.label2);
|
this.panel1.Widgets.Add(this.label2);
|
||||||
this.panel1.Controls.Add(this.label1);
|
this.panel1.Widgets.Add(this.label1);
|
||||||
this.panel1.Controls.Add(this.btnstartbattle);
|
this.panel1.Widgets.Add(this.btnstartbattle);
|
||||||
this.panel1.Controls.Add(this.lbnets);
|
this.panel1.Widgets.Add(this.lbnets);
|
||||||
this.panel1.Controls.Add(this.panel2);
|
this.panel1.Widgets.Add(this.panel2);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(725, 495);
|
this.panel1.Size = new System.Drawing.Size(725, 495);
|
||||||
|
@ -84,10 +84,10 @@
|
||||||
//
|
//
|
||||||
// pnlonline
|
// pnlonline
|
||||||
//
|
//
|
||||||
this.pnlonline.Controls.Add(this.btnjoinlobby);
|
this.pnlonline.Widgets.Add(this.btnjoinlobby);
|
||||||
this.pnlonline.Controls.Add(this.lbonlineservers);
|
this.pnlonline.Widgets.Add(this.lbonlineservers);
|
||||||
this.pnlonline.Controls.Add(this.lbonlinedesc);
|
this.pnlonline.Widgets.Add(this.lbonlinedesc);
|
||||||
this.pnlonline.Controls.Add(this.lbonlineheader);
|
this.pnlonline.Widgets.Add(this.lbonlineheader);
|
||||||
this.pnlonline.Location = new System.Drawing.Point(12, 12);
|
this.pnlonline.Location = new System.Drawing.Point(12, 12);
|
||||||
this.pnlonline.Name = "pnlonline";
|
this.pnlonline.Name = "pnlonline";
|
||||||
this.pnlonline.Size = new System.Drawing.Size(404, 447);
|
this.pnlonline.Size = new System.Drawing.Size(404, 447);
|
||||||
|
@ -95,9 +95,9 @@
|
||||||
//
|
//
|
||||||
// btnjoinlobby
|
// 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.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.Location = new System.Drawing.Point(306, 415);
|
||||||
this.btnjoinlobby.Name = "btnjoinlobby";
|
this.btnjoinlobby.Name = "btnjoinlobby";
|
||||||
this.btnjoinlobby.Size = new System.Drawing.Size(84, 23);
|
this.btnjoinlobby.Size = new System.Drawing.Size(84, 23);
|
||||||
|
@ -108,9 +108,9 @@
|
||||||
//
|
//
|
||||||
// lbonlineservers
|
// lbonlineservers
|
||||||
//
|
//
|
||||||
this.lbonlineservers.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lbonlineservers.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.lbonlineservers.BackColor = System.Drawing.Color.Black;
|
this.lbonlineservers.BackColor = System.Drawing.Color.Black;
|
||||||
this.lbonlineservers.ForeColor = System.Drawing.Color.White;
|
this.lbonlineservers.ForeColor = System.Drawing.Color.White;
|
||||||
this.lbonlineservers.FormattingEnabled = true;
|
this.lbonlineservers.FormattingEnabled = true;
|
||||||
|
@ -141,8 +141,8 @@
|
||||||
//
|
//
|
||||||
// button1
|
// button1
|
||||||
//
|
//
|
||||||
this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.button1.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
|
||||||
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.button1.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.button1.Location = new System.Drawing.Point(549, 465);
|
this.button1.Location = new System.Drawing.Point(549, 465);
|
||||||
this.button1.Name = "button1";
|
this.button1.Name = "button1";
|
||||||
this.button1.Size = new System.Drawing.Size(83, 23);
|
this.button1.Size = new System.Drawing.Size(83, 23);
|
||||||
|
@ -153,7 +153,7 @@
|
||||||
//
|
//
|
||||||
// label3
|
// 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.AutoSize = true;
|
||||||
this.label3.Location = new System.Drawing.Point(282, 470);
|
this.label3.Location = new System.Drawing.Point(282, 470);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
|
@ -163,8 +163,8 @@
|
||||||
//
|
//
|
||||||
// btnscreen
|
// btnscreen
|
||||||
//
|
//
|
||||||
this.btnscreen.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.btnscreen.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.btnscreen.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnscreen.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnscreen.Location = new System.Drawing.Point(332, 465);
|
this.btnscreen.Location = new System.Drawing.Point(332, 465);
|
||||||
this.btnscreen.Name = "btnscreen";
|
this.btnscreen.Name = "btnscreen";
|
||||||
this.btnscreen.Size = new System.Drawing.Size(84, 23);
|
this.btnscreen.Size = new System.Drawing.Size(84, 23);
|
||||||
|
@ -175,17 +175,17 @@
|
||||||
//
|
//
|
||||||
// pnlmynet
|
// pnlmynet
|
||||||
//
|
//
|
||||||
this.pnlmynet.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.pnlmynet.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.pnlmynet.Controls.Add(this.txtmydescription);
|
this.pnlmynet.Widgets.Add(this.txtmydescription);
|
||||||
this.pnlmynet.Controls.Add(this.txtmyname);
|
this.pnlmynet.Widgets.Add(this.txtmyname);
|
||||||
this.pnlmynet.Controls.Add(this.label7);
|
this.pnlmynet.Widgets.Add(this.label7);
|
||||||
this.pnlmynet.Controls.Add(this.label6);
|
this.pnlmynet.Widgets.Add(this.label6);
|
||||||
this.pnlmynet.Controls.Add(this.pgtotalhealth);
|
this.pnlmynet.Widgets.Add(this.pgtotalhealth);
|
||||||
this.pnlmynet.Controls.Add(this.flmodules);
|
this.pnlmynet.Widgets.Add(this.flmodules);
|
||||||
this.pnlmynet.Controls.Add(this.label5);
|
this.pnlmynet.Widgets.Add(this.label5);
|
||||||
this.pnlmynet.Controls.Add(this.label4);
|
this.pnlmynet.Widgets.Add(this.label4);
|
||||||
this.pnlmynet.Location = new System.Drawing.Point(12, 12);
|
this.pnlmynet.Location = new System.Drawing.Point(12, 12);
|
||||||
this.pnlmynet.Name = "pnlmynet";
|
this.pnlmynet.Name = "pnlmynet";
|
||||||
this.pnlmynet.Size = new System.Drawing.Size(404, 447);
|
this.pnlmynet.Size = new System.Drawing.Size(404, 447);
|
||||||
|
@ -193,10 +193,10 @@
|
||||||
//
|
//
|
||||||
// flmodules
|
// flmodules
|
||||||
//
|
//
|
||||||
this.flmodules.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.flmodules.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.flmodules.FlowDirection = System.Windows.Forms.FlowDirection.TopDown;
|
this.flmodules.FlowDirection = ShiftUI.FlowDirection.TopDown;
|
||||||
this.flmodules.Location = new System.Drawing.Point(7, 140);
|
this.flmodules.Location = new System.Drawing.Point(7, 140);
|
||||||
this.flmodules.Name = "flmodules";
|
this.flmodules.Name = "flmodules";
|
||||||
this.flmodules.Size = new System.Drawing.Size(394, 219);
|
this.flmodules.Size = new System.Drawing.Size(394, 219);
|
||||||
|
@ -225,8 +225,8 @@
|
||||||
//
|
//
|
||||||
// btntier
|
// btntier
|
||||||
//
|
//
|
||||||
this.btntier.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.btntier.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.btntier.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btntier.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btntier.Location = new System.Drawing.Point(47, 465);
|
this.btntier.Location = new System.Drawing.Point(47, 465);
|
||||||
this.btntier.Name = "btntier";
|
this.btntier.Name = "btntier";
|
||||||
this.btntier.Size = new System.Drawing.Size(75, 23);
|
this.btntier.Size = new System.Drawing.Size(75, 23);
|
||||||
|
@ -237,7 +237,7 @@
|
||||||
//
|
//
|
||||||
// label2
|
// 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.AutoSize = true;
|
||||||
this.label2.Location = new System.Drawing.Point(13, 470);
|
this.label2.Location = new System.Drawing.Point(13, 470);
|
||||||
this.label2.Name = "label2";
|
this.label2.Name = "label2";
|
||||||
|
@ -247,7 +247,7 @@
|
||||||
//
|
//
|
||||||
// label1
|
// 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.Location = new System.Drawing.Point(419, 354);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(294, 71);
|
this.label1.Size = new System.Drawing.Size(294, 71);
|
||||||
|
@ -256,8 +256,8 @@
|
||||||
//
|
//
|
||||||
// btnstartbattle
|
// btnstartbattle
|
||||||
//
|
//
|
||||||
this.btnstartbattle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.btnstartbattle.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
|
||||||
this.btnstartbattle.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnstartbattle.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnstartbattle.Location = new System.Drawing.Point(638, 465);
|
this.btnstartbattle.Location = new System.Drawing.Point(638, 465);
|
||||||
this.btnstartbattle.Name = "btnstartbattle";
|
this.btnstartbattle.Name = "btnstartbattle";
|
||||||
this.btnstartbattle.Size = new System.Drawing.Size(75, 23);
|
this.btnstartbattle.Size = new System.Drawing.Size(75, 23);
|
||||||
|
@ -268,9 +268,9 @@
|
||||||
//
|
//
|
||||||
// lbnets
|
// lbnets
|
||||||
//
|
//
|
||||||
this.lbnets.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lbnets.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.lbnets.BackColor = System.Drawing.Color.Black;
|
this.lbnets.BackColor = System.Drawing.Color.Black;
|
||||||
this.lbnets.ForeColor = System.Drawing.Color.White;
|
this.lbnets.ForeColor = System.Drawing.Color.White;
|
||||||
this.lbnets.FormattingEnabled = true;
|
this.lbnets.FormattingEnabled = true;
|
||||||
|
@ -282,9 +282,9 @@
|
||||||
//
|
//
|
||||||
// panel2
|
// panel2
|
||||||
//
|
//
|
||||||
this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
this.panel2.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
|
||||||
this.panel2.Controls.Add(this.lbnetdesc);
|
this.panel2.Widgets.Add(this.lbnetdesc);
|
||||||
this.panel2.Controls.Add(this.lbtitle);
|
this.panel2.Widgets.Add(this.lbtitle);
|
||||||
this.panel2.Location = new System.Drawing.Point(422, 13);
|
this.panel2.Location = new System.Drawing.Point(422, 13);
|
||||||
this.panel2.Name = "panel2";
|
this.panel2.Name = "panel2";
|
||||||
this.panel2.Size = new System.Drawing.Size(291, 326);
|
this.panel2.Size = new System.Drawing.Size(291, 326);
|
||||||
|
@ -315,8 +315,8 @@
|
||||||
//
|
//
|
||||||
// pgtotalhealth
|
// pgtotalhealth
|
||||||
//
|
//
|
||||||
this.pgtotalhealth.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.pgtotalhealth.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.pgtotalhealth.BackColor = System.Drawing.Color.Black;
|
this.pgtotalhealth.BackColor = System.Drawing.Color.Black;
|
||||||
this.pgtotalhealth.BlockSeparation = 3;
|
this.pgtotalhealth.BlockSeparation = 3;
|
||||||
this.pgtotalhealth.BlockWidth = 5;
|
this.pgtotalhealth.BlockWidth = 5;
|
||||||
|
@ -364,8 +364,8 @@
|
||||||
//
|
//
|
||||||
// txtmydescription
|
// txtmydescription
|
||||||
//
|
//
|
||||||
this.txtmydescription.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtmydescription.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.txtmydescription.Location = new System.Drawing.Point(74, 397);
|
this.txtmydescription.Location = new System.Drawing.Point(74, 397);
|
||||||
this.txtmydescription.Name = "txtmydescription";
|
this.txtmydescription.Name = "txtmydescription";
|
||||||
this.txtmydescription.Size = new System.Drawing.Size(316, 20);
|
this.txtmydescription.Size = new System.Drawing.Size(316, 20);
|
||||||
|
@ -375,14 +375,14 @@
|
||||||
// NetworkBrowser
|
// NetworkBrowser
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.BackColor = System.Drawing.Color.White;
|
||||||
this.ClientSize = new System.Drawing.Size(725, 495);
|
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.ForeColor = System.Drawing.Color.Black;
|
||||||
this.Name = "NetworkBrowser";
|
this.Name = "NetworkBrowser";
|
||||||
this.Text = "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.Load += new System.EventHandler(this.NetworkBrowser_Load);
|
||||||
this.panel1.ResumeLayout(false);
|
this.panel1.ResumeLayout(false);
|
||||||
this.panel1.PerformLayout();
|
this.panel1.PerformLayout();
|
||||||
|
@ -398,32 +398,32 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
private System.Windows.Forms.Label label1;
|
private ShiftUI.Label label1;
|
||||||
private System.Windows.Forms.Button btnstartbattle;
|
private ShiftUI.Button btnstartbattle;
|
||||||
private System.Windows.Forms.ListBox lbnets;
|
private ShiftUI.ListBox lbnets;
|
||||||
private System.Windows.Forms.Panel panel2;
|
private ShiftUI.Panel panel2;
|
||||||
private System.Windows.Forms.Label lbnetdesc;
|
private ShiftUI.Label lbnetdesc;
|
||||||
private System.Windows.Forms.Label lbtitle;
|
private ShiftUI.Label lbtitle;
|
||||||
private System.Windows.Forms.Button btntier;
|
private ShiftUI.Button btntier;
|
||||||
private System.Windows.Forms.Label label2;
|
private ShiftUI.Label label2;
|
||||||
private System.Windows.Forms.Label label3;
|
private ShiftUI.Label label3;
|
||||||
private System.Windows.Forms.Button btnscreen;
|
private ShiftUI.Button btnscreen;
|
||||||
private System.Windows.Forms.Panel pnlmynet;
|
private ShiftUI.Panel pnlmynet;
|
||||||
private System.Windows.Forms.FlowLayoutPanel flmodules;
|
private ShiftUI.FlowLayoutPanel flmodules;
|
||||||
private System.Windows.Forms.Label label5;
|
private ShiftUI.Label label5;
|
||||||
private System.Windows.Forms.Label label4;
|
private ShiftUI.Label label4;
|
||||||
private ProgressBarEX pgtotalhealth;
|
private ProgressBarEX pgtotalhealth;
|
||||||
private System.Windows.Forms.Timer tmrcalctotal;
|
private ShiftUI.Timer tmrcalctotal;
|
||||||
private System.Windows.Forms.Panel pnlonline;
|
private ShiftUI.Panel pnlonline;
|
||||||
private System.Windows.Forms.Label lbonlinedesc;
|
private ShiftUI.Label lbonlinedesc;
|
||||||
private System.Windows.Forms.Label lbonlineheader;
|
private ShiftUI.Label lbonlineheader;
|
||||||
private System.Windows.Forms.Button button1;
|
private ShiftUI.Button button1;
|
||||||
private System.Windows.Forms.ListBox lbonlineservers;
|
private ShiftUI.ListBox lbonlineservers;
|
||||||
private System.Windows.Forms.Button btnjoinlobby;
|
private ShiftUI.Button btnjoinlobby;
|
||||||
private System.Windows.Forms.TextBox txtmydescription;
|
private ShiftUI.TextBox txtmydescription;
|
||||||
private System.Windows.Forms.TextBox txtmyname;
|
private ShiftUI.TextBox txtmyname;
|
||||||
private System.Windows.Forms.Label label7;
|
private ShiftUI.Label label7;
|
||||||
private System.Windows.Forms.Label label6;
|
private ShiftUI.Label label6;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -8,7 +8,7 @@ using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
using ShiftOS.Online.Hacking;
|
using ShiftOS.Online.Hacking;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
|
@ -308,11 +308,11 @@ Those above values only matter if the leader decides to become a friend. If they
|
||||||
|
|
||||||
public void SetupMyNet()
|
public void SetupMyNet()
|
||||||
{
|
{
|
||||||
flmodules.Controls.Clear();
|
flmodules.Widgets.Clear();
|
||||||
foreach(var m in Hacking.MyNetwork)
|
foreach(var m in Hacking.MyNetwork)
|
||||||
{
|
{
|
||||||
var mStatus = new NetModuleStatus(m);
|
var mStatus = new NetModuleStatus(m);
|
||||||
flmodules.Controls.Add(mStatus);
|
flmodules.Widgets.Add(mStatus);
|
||||||
mStatus.Show();
|
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;
|
API.CurrentSave.MyOnlineNetwork.Codepoints = API.Codepoints;
|
||||||
Package_Grabber.SendMessage(selected_server.IPAddress, $"join_lobby {JsonConvert.SerializeObject(API.CurrentSave.MyOnlineNetwork)}");
|
Package_Grabber.SendMessage(selected_server.IPAddress, $"join_lobby {JsonConvert.SerializeObject(API.CurrentSave.MyOnlineNetwork)}");
|
||||||
Online.Hacking.Matchmaker.Matchmake(selected_server);
|
Online.Hacking.Matchmaker.Matchmake(selected_server);
|
||||||
var t = new System.Windows.Forms.Timer();
|
var t = new ShiftUI.Timer();
|
||||||
t.Interval = 5000;
|
t.Interval = 5000;
|
||||||
int sindex = 0;
|
int sindex = 0;
|
||||||
t.Tick += (o, a) =>
|
t.Tick += (o, a) =>
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<data name="lbnetdesc.Text" xml:space="preserve">
|
<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.
|
<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.
|
||||||
|
|
|
@ -28,24 +28,24 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.pnlmain = new System.Windows.Forms.Panel();
|
this.pnlmain = new ShiftUI.Panel();
|
||||||
this.btndone = new System.Windows.Forms.Button();
|
this.btndone = new ShiftUI.Button();
|
||||||
this.pnlbgcolor = new System.Windows.Forms.Panel();
|
this.pnlbgcolor = new ShiftUI.Panel();
|
||||||
this.Label40 = new System.Windows.Forms.Label();
|
this.Label40 = new ShiftUI.Label();
|
||||||
this.Label36 = new System.Windows.Forms.Label();
|
this.Label36 = new ShiftUI.Label();
|
||||||
this.txtheight = new System.Windows.Forms.TextBox();
|
this.txtheight = new ShiftUI.TextBox();
|
||||||
this.pnlmain.SuspendLayout();
|
this.pnlmain.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// pnlmain
|
// pnlmain
|
||||||
//
|
//
|
||||||
this.pnlmain.BackColor = System.Drawing.Color.White;
|
this.pnlmain.BackColor = System.Drawing.Color.White;
|
||||||
this.pnlmain.Controls.Add(this.txtheight);
|
this.pnlmain.Widgets.Add(this.txtheight);
|
||||||
this.pnlmain.Controls.Add(this.Label36);
|
this.pnlmain.Widgets.Add(this.Label36);
|
||||||
this.pnlmain.Controls.Add(this.pnlbgcolor);
|
this.pnlmain.Widgets.Add(this.pnlbgcolor);
|
||||||
this.pnlmain.Controls.Add(this.Label40);
|
this.pnlmain.Widgets.Add(this.Label40);
|
||||||
this.pnlmain.Controls.Add(this.btndone);
|
this.pnlmain.Widgets.Add(this.btndone);
|
||||||
this.pnlmain.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlmain.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnlmain.ForeColor = System.Drawing.Color.Black;
|
this.pnlmain.ForeColor = System.Drawing.Color.Black;
|
||||||
this.pnlmain.Location = new System.Drawing.Point(0, 0);
|
this.pnlmain.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pnlmain.Name = "pnlmain";
|
this.pnlmain.Name = "pnlmain";
|
||||||
|
@ -54,8 +54,8 @@
|
||||||
//
|
//
|
||||||
// btndone
|
// btndone
|
||||||
//
|
//
|
||||||
this.btndone.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.btndone.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
|
||||||
this.btndone.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btndone.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btndone.Location = new System.Drawing.Point(273, 343);
|
this.btndone.Location = new System.Drawing.Point(273, 343);
|
||||||
this.btndone.Name = "btndone";
|
this.btndone.Name = "btndone";
|
||||||
this.btndone.Size = new System.Drawing.Size(75, 23);
|
this.btndone.Size = new System.Drawing.Size(75, 23);
|
||||||
|
@ -66,12 +66,12 @@
|
||||||
//
|
//
|
||||||
// pnlbgcolor
|
// 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.Location = new System.Drawing.Point(307, 101);
|
||||||
this.pnlbgcolor.Name = "pnlbgcolor";
|
this.pnlbgcolor.Name = "pnlbgcolor";
|
||||||
this.pnlbgcolor.Size = new System.Drawing.Size(41, 20);
|
this.pnlbgcolor.Size = new System.Drawing.Size(41, 20);
|
||||||
this.pnlbgcolor.TabIndex = 22;
|
this.pnlbgcolor.TabIndex = 22;
|
||||||
this.pnlbgcolor.MouseDown += new System.Windows.Forms.MouseEventHandler(this.setbgcolor);
|
this.pnlbgcolor.MouseDown += new ShiftUI.MouseEventHandler(this.setbgcolor);
|
||||||
//
|
//
|
||||||
// Label40
|
// Label40
|
||||||
//
|
//
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
// txtheight
|
// txtheight
|
||||||
//
|
//
|
||||||
this.txtheight.BackColor = System.Drawing.Color.White;
|
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.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.ForeColor = System.Drawing.Color.Black;
|
||||||
this.txtheight.Location = new System.Drawing.Point(325, 134);
|
this.txtheight.Location = new System.Drawing.Point(325, 134);
|
||||||
|
@ -108,9 +108,9 @@
|
||||||
// PanelManager
|
// PanelManager
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(360, 378);
|
||||||
this.Controls.Add(this.pnlmain);
|
this.Widgets.Add(this.pnlmain);
|
||||||
this.Name = "PanelManager";
|
this.Name = "PanelManager";
|
||||||
this.Text = "PanelManager";
|
this.Text = "PanelManager";
|
||||||
this.Load += new System.EventHandler(this.PanelManager_Load);
|
this.Load += new System.EventHandler(this.PanelManager_Load);
|
||||||
|
@ -122,11 +122,11 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Panel pnlmain;
|
private ShiftUI.Panel pnlmain;
|
||||||
private System.Windows.Forms.Button btndone;
|
private ShiftUI.Button btndone;
|
||||||
private System.Windows.Forms.Panel pnlbgcolor;
|
private ShiftUI.Panel pnlbgcolor;
|
||||||
private System.Windows.Forms.Label Label40;
|
private ShiftUI.Label Label40;
|
||||||
private System.Windows.Forms.Label Label36;
|
private ShiftUI.Label Label36;
|
||||||
private System.Windows.Forms.TextBox txtheight;
|
private ShiftUI.TextBox txtheight;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -6,7 +6,7 @@ using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
284
source/WindowsFormsApplication1/Apps/Pong.Designer.cs
generated
284
source/WindowsFormsApplication1/Apps/Pong.Designer.cs
generated
|
@ -1,5 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
@ -27,48 +27,48 @@ namespace ShiftOS
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Pong));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Pong));
|
||||||
this.pgcontents = new System.Windows.Forms.Panel();
|
this.pgcontents = new ShiftUI.Panel();
|
||||||
this.pnlgamestats = new System.Windows.Forms.Panel();
|
this.pnlgamestats = new ShiftUI.Panel();
|
||||||
this.lblnextstats = new System.Windows.Forms.Label();
|
this.lblnextstats = new ShiftUI.Label();
|
||||||
this.Label7 = new System.Windows.Forms.Label();
|
this.Label7 = new ShiftUI.Label();
|
||||||
this.lblpreviousstats = new System.Windows.Forms.Label();
|
this.lblpreviousstats = new ShiftUI.Label();
|
||||||
this.Label4 = new System.Windows.Forms.Label();
|
this.Label4 = new ShiftUI.Label();
|
||||||
this.btnplayon = new System.Windows.Forms.Button();
|
this.btnplayon = new ShiftUI.Button();
|
||||||
this.Label3 = new System.Windows.Forms.Label();
|
this.Label3 = new ShiftUI.Label();
|
||||||
this.btncashout = new System.Windows.Forms.Button();
|
this.btncashout = new ShiftUI.Button();
|
||||||
this.Label2 = new System.Windows.Forms.Label();
|
this.Label2 = new ShiftUI.Label();
|
||||||
this.lbllevelreached = new System.Windows.Forms.Label();
|
this.lbllevelreached = new ShiftUI.Label();
|
||||||
this.pnllose = new System.Windows.Forms.Panel();
|
this.pnllose = new ShiftUI.Panel();
|
||||||
this.lblmissedout = new System.Windows.Forms.Label();
|
this.lblmissedout = new ShiftUI.Label();
|
||||||
this.btnlosetryagain = new System.Windows.Forms.Button();
|
this.btnlosetryagain = new ShiftUI.Button();
|
||||||
this.Label5 = new System.Windows.Forms.Label();
|
this.Label5 = new ShiftUI.Label();
|
||||||
this.Label1 = new System.Windows.Forms.Label();
|
this.Label1 = new ShiftUI.Label();
|
||||||
this.pnlintro = new System.Windows.Forms.Panel();
|
this.pnlintro = new ShiftUI.Panel();
|
||||||
this.Label6 = new System.Windows.Forms.Label();
|
this.Label6 = new ShiftUI.Label();
|
||||||
this.btnstartgame = new System.Windows.Forms.Button();
|
this.btnstartgame = new ShiftUI.Button();
|
||||||
this.Label8 = new System.Windows.Forms.Label();
|
this.Label8 = new ShiftUI.Label();
|
||||||
this.pnlfinalstats = new System.Windows.Forms.Panel();
|
this.pnlfinalstats = new ShiftUI.Panel();
|
||||||
this.btnplayagain = new System.Windows.Forms.Button();
|
this.btnplayagain = new ShiftUI.Button();
|
||||||
this.lblfinalcodepoints = new System.Windows.Forms.Label();
|
this.lblfinalcodepoints = new ShiftUI.Label();
|
||||||
this.Label11 = new System.Windows.Forms.Label();
|
this.Label11 = new ShiftUI.Label();
|
||||||
this.lblfinalcomputerreward = new System.Windows.Forms.Label();
|
this.lblfinalcomputerreward = new ShiftUI.Label();
|
||||||
this.Label9 = new System.Windows.Forms.Label();
|
this.Label9 = new ShiftUI.Label();
|
||||||
this.lblfinallevelreward = new System.Windows.Forms.Label();
|
this.lblfinallevelreward = new ShiftUI.Label();
|
||||||
this.lblfinallevelreached = new System.Windows.Forms.Label();
|
this.lblfinallevelreached = new ShiftUI.Label();
|
||||||
this.lblfinalcodepointswithtext = new System.Windows.Forms.Label();
|
this.lblfinalcodepointswithtext = new ShiftUI.Label();
|
||||||
this.lblbeatai = new System.Windows.Forms.Label();
|
this.lblbeatai = new ShiftUI.Label();
|
||||||
this.lblcountdown = new System.Windows.Forms.Label();
|
this.lblcountdown = new ShiftUI.Label();
|
||||||
this.ball = new System.Windows.Forms.Panel();
|
this.ball = new ShiftUI.Panel();
|
||||||
this.paddleHuman = new System.Windows.Forms.PictureBox();
|
this.paddleHuman = new ShiftUI.PictureBox();
|
||||||
this.paddleComputer = new System.Windows.Forms.Panel();
|
this.paddleComputer = new ShiftUI.Panel();
|
||||||
this.lbllevelandtime = new System.Windows.Forms.Label();
|
this.lbllevelandtime = new ShiftUI.Label();
|
||||||
this.lblstatscodepoints = new System.Windows.Forms.Label();
|
this.lblstatscodepoints = new ShiftUI.Label();
|
||||||
this.lblstatsY = new System.Windows.Forms.Label();
|
this.lblstatsY = new ShiftUI.Label();
|
||||||
this.lblstatsX = new System.Windows.Forms.Label();
|
this.lblstatsX = new ShiftUI.Label();
|
||||||
this.gameTimer = new System.Windows.Forms.Timer(this.components);
|
this.gameTimer = new ShiftUI.Timer(this.components);
|
||||||
this.counter = new System.Windows.Forms.Timer(this.components);
|
this.counter = new ShiftUI.Timer(this.components);
|
||||||
this.tmrcountdown = new System.Windows.Forms.Timer(this.components);
|
this.tmrcountdown = new ShiftUI.Timer(this.components);
|
||||||
this.tmrstoryline = new System.Windows.Forms.Timer(this.components);
|
this.tmrstoryline = new ShiftUI.Timer(this.components);
|
||||||
this.pgcontents.SuspendLayout();
|
this.pgcontents.SuspendLayout();
|
||||||
this.pnlgamestats.SuspendLayout();
|
this.pnlgamestats.SuspendLayout();
|
||||||
this.pnllose.SuspendLayout();
|
this.pnllose.SuspendLayout();
|
||||||
|
@ -80,37 +80,37 @@ namespace ShiftOS
|
||||||
// pgcontents
|
// pgcontents
|
||||||
//
|
//
|
||||||
this.pgcontents.BackColor = System.Drawing.Color.White;
|
this.pgcontents.BackColor = System.Drawing.Color.White;
|
||||||
this.pgcontents.Controls.Add(this.pnlgamestats);
|
this.pgcontents.Widgets.Add(this.pnlgamestats);
|
||||||
this.pgcontents.Controls.Add(this.pnllose);
|
this.pgcontents.Widgets.Add(this.pnllose);
|
||||||
this.pgcontents.Controls.Add(this.pnlintro);
|
this.pgcontents.Widgets.Add(this.pnlintro);
|
||||||
this.pgcontents.Controls.Add(this.pnlfinalstats);
|
this.pgcontents.Widgets.Add(this.pnlfinalstats);
|
||||||
this.pgcontents.Controls.Add(this.lblbeatai);
|
this.pgcontents.Widgets.Add(this.lblbeatai);
|
||||||
this.pgcontents.Controls.Add(this.lblcountdown);
|
this.pgcontents.Widgets.Add(this.lblcountdown);
|
||||||
this.pgcontents.Controls.Add(this.ball);
|
this.pgcontents.Widgets.Add(this.ball);
|
||||||
this.pgcontents.Controls.Add(this.paddleHuman);
|
this.pgcontents.Widgets.Add(this.paddleHuman);
|
||||||
this.pgcontents.Controls.Add(this.paddleComputer);
|
this.pgcontents.Widgets.Add(this.paddleComputer);
|
||||||
this.pgcontents.Controls.Add(this.lbllevelandtime);
|
this.pgcontents.Widgets.Add(this.lbllevelandtime);
|
||||||
this.pgcontents.Controls.Add(this.lblstatscodepoints);
|
this.pgcontents.Widgets.Add(this.lblstatscodepoints);
|
||||||
this.pgcontents.Controls.Add(this.lblstatsY);
|
this.pgcontents.Widgets.Add(this.lblstatsY);
|
||||||
this.pgcontents.Controls.Add(this.lblstatsX);
|
this.pgcontents.Widgets.Add(this.lblstatsX);
|
||||||
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pgcontents.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pgcontents.Name = "pgcontents";
|
this.pgcontents.Name = "pgcontents";
|
||||||
this.pgcontents.Size = new System.Drawing.Size(700, 400);
|
this.pgcontents.Size = new System.Drawing.Size(700, 400);
|
||||||
this.pgcontents.TabIndex = 20;
|
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
|
// pnlgamestats
|
||||||
//
|
//
|
||||||
this.pnlgamestats.Controls.Add(this.lblnextstats);
|
this.pnlgamestats.Widgets.Add(this.lblnextstats);
|
||||||
this.pnlgamestats.Controls.Add(this.Label7);
|
this.pnlgamestats.Widgets.Add(this.Label7);
|
||||||
this.pnlgamestats.Controls.Add(this.lblpreviousstats);
|
this.pnlgamestats.Widgets.Add(this.lblpreviousstats);
|
||||||
this.pnlgamestats.Controls.Add(this.Label4);
|
this.pnlgamestats.Widgets.Add(this.Label4);
|
||||||
this.pnlgamestats.Controls.Add(this.btnplayon);
|
this.pnlgamestats.Widgets.Add(this.btnplayon);
|
||||||
this.pnlgamestats.Controls.Add(this.Label3);
|
this.pnlgamestats.Widgets.Add(this.Label3);
|
||||||
this.pnlgamestats.Controls.Add(this.btncashout);
|
this.pnlgamestats.Widgets.Add(this.btncashout);
|
||||||
this.pnlgamestats.Controls.Add(this.Label2);
|
this.pnlgamestats.Widgets.Add(this.Label2);
|
||||||
this.pnlgamestats.Controls.Add(this.lbllevelreached);
|
this.pnlgamestats.Widgets.Add(this.lbllevelreached);
|
||||||
this.pnlgamestats.Location = new System.Drawing.Point(56, 76);
|
this.pnlgamestats.Location = new System.Drawing.Point(56, 76);
|
||||||
this.pnlgamestats.Name = "pnlgamestats";
|
this.pnlgamestats.Name = "pnlgamestats";
|
||||||
this.pnlgamestats.Size = new System.Drawing.Size(466, 206);
|
this.pnlgamestats.Size = new System.Drawing.Size(466, 206);
|
||||||
|
@ -155,7 +155,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnplayon
|
// 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.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.Location = new System.Drawing.Point(32, 162);
|
||||||
this.btnplayon.Name = "btnplayon";
|
this.btnplayon.Name = "btnplayon";
|
||||||
|
@ -177,7 +177,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btncashout
|
// 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.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.Location = new System.Drawing.Point(32, 73);
|
||||||
this.btncashout.Name = "btncashout";
|
this.btncashout.Name = "btncashout";
|
||||||
|
@ -209,10 +209,10 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// pnllose
|
// pnllose
|
||||||
//
|
//
|
||||||
this.pnllose.Controls.Add(this.lblmissedout);
|
this.pnllose.Widgets.Add(this.lblmissedout);
|
||||||
this.pnllose.Controls.Add(this.btnlosetryagain);
|
this.pnllose.Widgets.Add(this.btnlosetryagain);
|
||||||
this.pnllose.Controls.Add(this.Label5);
|
this.pnllose.Widgets.Add(this.Label5);
|
||||||
this.pnllose.Controls.Add(this.Label1);
|
this.pnllose.Widgets.Add(this.Label1);
|
||||||
this.pnllose.Location = new System.Drawing.Point(209, 71);
|
this.pnllose.Location = new System.Drawing.Point(209, 71);
|
||||||
this.pnllose.Name = "pnllose";
|
this.pnllose.Name = "pnllose";
|
||||||
this.pnllose.Size = new System.Drawing.Size(266, 214);
|
this.pnllose.Size = new System.Drawing.Size(266, 214);
|
||||||
|
@ -231,7 +231,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnlosetryagain
|
// 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.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.Location = new System.Drawing.Point(155, 176);
|
||||||
this.btnlosetryagain.Name = "btnlosetryagain";
|
this.btnlosetryagain.Name = "btnlosetryagain";
|
||||||
|
@ -250,7 +250,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// Label1
|
// 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.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.Location = new System.Drawing.Point(0, 0);
|
||||||
this.Label1.Name = "Label1";
|
this.Label1.Name = "Label1";
|
||||||
|
@ -261,9 +261,9 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// pnlintro
|
// pnlintro
|
||||||
//
|
//
|
||||||
this.pnlintro.Controls.Add(this.Label6);
|
this.pnlintro.Widgets.Add(this.Label6);
|
||||||
this.pnlintro.Controls.Add(this.btnstartgame);
|
this.pnlintro.Widgets.Add(this.btnstartgame);
|
||||||
this.pnlintro.Controls.Add(this.Label8);
|
this.pnlintro.Widgets.Add(this.Label8);
|
||||||
this.pnlintro.Location = new System.Drawing.Point(52, 29);
|
this.pnlintro.Location = new System.Drawing.Point(52, 29);
|
||||||
this.pnlintro.Name = "pnlintro";
|
this.pnlintro.Name = "pnlintro";
|
||||||
this.pnlintro.Size = new System.Drawing.Size(595, 303);
|
this.pnlintro.Size = new System.Drawing.Size(595, 303);
|
||||||
|
@ -281,7 +281,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnstartgame
|
// 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.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.Location = new System.Drawing.Point(186, 273);
|
||||||
this.btnstartgame.Name = "btnstartgame";
|
this.btnstartgame.Name = "btnstartgame";
|
||||||
|
@ -304,14 +304,14 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// pnlfinalstats
|
// pnlfinalstats
|
||||||
//
|
//
|
||||||
this.pnlfinalstats.Controls.Add(this.btnplayagain);
|
this.pnlfinalstats.Widgets.Add(this.btnplayagain);
|
||||||
this.pnlfinalstats.Controls.Add(this.lblfinalcodepoints);
|
this.pnlfinalstats.Widgets.Add(this.lblfinalcodepoints);
|
||||||
this.pnlfinalstats.Controls.Add(this.Label11);
|
this.pnlfinalstats.Widgets.Add(this.Label11);
|
||||||
this.pnlfinalstats.Controls.Add(this.lblfinalcomputerreward);
|
this.pnlfinalstats.Widgets.Add(this.lblfinalcomputerreward);
|
||||||
this.pnlfinalstats.Controls.Add(this.Label9);
|
this.pnlfinalstats.Widgets.Add(this.Label9);
|
||||||
this.pnlfinalstats.Controls.Add(this.lblfinallevelreward);
|
this.pnlfinalstats.Widgets.Add(this.lblfinallevelreward);
|
||||||
this.pnlfinalstats.Controls.Add(this.lblfinallevelreached);
|
this.pnlfinalstats.Widgets.Add(this.lblfinallevelreached);
|
||||||
this.pnlfinalstats.Controls.Add(this.lblfinalcodepointswithtext);
|
this.pnlfinalstats.Widgets.Add(this.lblfinalcodepointswithtext);
|
||||||
this.pnlfinalstats.Location = new System.Drawing.Point(172, 74);
|
this.pnlfinalstats.Location = new System.Drawing.Point(172, 74);
|
||||||
this.pnlfinalstats.Name = "pnlfinalstats";
|
this.pnlfinalstats.Name = "pnlfinalstats";
|
||||||
this.pnlfinalstats.Size = new System.Drawing.Size(362, 226);
|
this.pnlfinalstats.Size = new System.Drawing.Size(362, 226);
|
||||||
|
@ -320,7 +320,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnplayagain
|
// 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.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.Location = new System.Drawing.Point(5, 194);
|
||||||
this.btnplayagain.Name = "btnplayagain";
|
this.btnplayagain.Name = "btnplayagain";
|
||||||
|
@ -440,8 +440,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// paddleComputer
|
// paddleComputer
|
||||||
//
|
//
|
||||||
this.paddleComputer.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.paddleComputer.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.paddleComputer.BackColor = System.Drawing.Color.Black;
|
this.paddleComputer.BackColor = System.Drawing.Color.Black;
|
||||||
this.paddleComputer.Location = new System.Drawing.Point(666, 134);
|
this.paddleComputer.Location = new System.Drawing.Point(666, 134);
|
||||||
this.paddleComputer.MaximumSize = new System.Drawing.Size(20, 100);
|
this.paddleComputer.MaximumSize = new System.Drawing.Size(20, 100);
|
||||||
|
@ -451,7 +451,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// lbllevelandtime
|
// 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.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.Location = new System.Drawing.Point(0, 0);
|
||||||
this.lbllevelandtime.Name = "lbllevelandtime";
|
this.lbllevelandtime.Name = "lbllevelandtime";
|
||||||
|
@ -462,8 +462,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// lblstatscodepoints
|
// lblstatscodepoints
|
||||||
//
|
//
|
||||||
this.lblstatscodepoints.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
|
this.lblstatscodepoints.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| 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.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.Location = new System.Drawing.Point(239, 356);
|
||||||
this.lblstatscodepoints.Name = "lblstatscodepoints";
|
this.lblstatscodepoints.Name = "lblstatscodepoints";
|
||||||
|
@ -474,7 +474,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// lblstatsY
|
// 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.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.Location = new System.Drawing.Point(542, 356);
|
||||||
this.lblstatsY.Name = "lblstatsY";
|
this.lblstatsY.Name = "lblstatsY";
|
||||||
|
@ -485,7 +485,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// lblstatsX
|
// 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.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.Location = new System.Drawing.Point(3, 356);
|
||||||
this.lblstatsX.Name = "lblstatsX";
|
this.lblstatsX.Name = "lblstatsX";
|
||||||
|
@ -517,18 +517,18 @@ namespace ShiftOS
|
||||||
// Pong
|
// Pong
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.BackColor = System.Drawing.Color.White;
|
||||||
this.ClientSize = new System.Drawing.Size(700, 400);
|
this.ClientSize = new System.Drawing.Size(700, 400);
|
||||||
this.Controls.Add(this.pgcontents);
|
this.Widgets.Add(this.pgcontents);
|
||||||
this.DoubleBuffered = true;
|
this.DoubleBuffered = true;
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
|
||||||
this.Name = "Pong";
|
this.Name = "Pong";
|
||||||
this.Text = "Pong";
|
this.Text = "Pong";
|
||||||
this.TopMost = true;
|
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.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.pgcontents.ResumeLayout(false);
|
||||||
this.pnlgamestats.ResumeLayout(false);
|
this.pnlgamestats.ResumeLayout(false);
|
||||||
this.pnlgamestats.PerformLayout();
|
this.pnlgamestats.PerformLayout();
|
||||||
|
@ -541,48 +541,48 @@ namespace ShiftOS
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
internal System.Windows.Forms.Panel pgcontents;
|
internal ShiftUI.Panel pgcontents;
|
||||||
internal System.Windows.Forms.Panel ball;
|
internal ShiftUI.Panel ball;
|
||||||
internal System.Windows.Forms.Panel paddleComputer;
|
internal ShiftUI.Panel paddleComputer;
|
||||||
internal System.Windows.Forms.Timer gameTimer;
|
internal ShiftUI.Timer gameTimer;
|
||||||
internal System.Windows.Forms.PictureBox paddleHuman;
|
internal ShiftUI.PictureBox paddleHuman;
|
||||||
internal System.Windows.Forms.Label lbllevelandtime;
|
internal ShiftUI.Label lbllevelandtime;
|
||||||
internal System.Windows.Forms.Label lblstatsX;
|
internal ShiftUI.Label lblstatsX;
|
||||||
internal System.Windows.Forms.Timer counter;
|
internal ShiftUI.Timer counter;
|
||||||
internal System.Windows.Forms.Panel pnlgamestats;
|
internal ShiftUI.Panel pnlgamestats;
|
||||||
internal System.Windows.Forms.Label lblnextstats;
|
internal ShiftUI.Label lblnextstats;
|
||||||
internal System.Windows.Forms.Label Label7;
|
internal ShiftUI.Label Label7;
|
||||||
internal System.Windows.Forms.Label lblpreviousstats;
|
internal ShiftUI.Label lblpreviousstats;
|
||||||
internal System.Windows.Forms.Label Label4;
|
internal ShiftUI.Label Label4;
|
||||||
internal System.Windows.Forms.Button btnplayon;
|
internal ShiftUI.Button btnplayon;
|
||||||
internal System.Windows.Forms.Label Label3;
|
internal ShiftUI.Label Label3;
|
||||||
internal System.Windows.Forms.Button btncashout;
|
internal ShiftUI.Button btncashout;
|
||||||
internal System.Windows.Forms.Label Label2;
|
internal ShiftUI.Label Label2;
|
||||||
internal System.Windows.Forms.Label lbllevelreached;
|
internal ShiftUI.Label lbllevelreached;
|
||||||
internal System.Windows.Forms.Label lblcountdown;
|
internal ShiftUI.Label lblcountdown;
|
||||||
internal System.Windows.Forms.Timer tmrcountdown;
|
internal ShiftUI.Timer tmrcountdown;
|
||||||
internal System.Windows.Forms.Label lblbeatai;
|
internal ShiftUI.Label lblbeatai;
|
||||||
internal System.Windows.Forms.Panel pnlfinalstats;
|
internal ShiftUI.Panel pnlfinalstats;
|
||||||
internal System.Windows.Forms.Button btnplayagain;
|
internal ShiftUI.Button btnplayagain;
|
||||||
internal System.Windows.Forms.Label lblfinalcodepoints;
|
internal ShiftUI.Label lblfinalcodepoints;
|
||||||
internal System.Windows.Forms.Label Label11;
|
internal ShiftUI.Label Label11;
|
||||||
internal System.Windows.Forms.Label lblfinalcomputerreward;
|
internal ShiftUI.Label lblfinalcomputerreward;
|
||||||
internal System.Windows.Forms.Label Label9;
|
internal ShiftUI.Label Label9;
|
||||||
internal System.Windows.Forms.Label lblfinallevelreward;
|
internal ShiftUI.Label lblfinallevelreward;
|
||||||
internal System.Windows.Forms.Label lblfinallevelreached;
|
internal ShiftUI.Label lblfinallevelreached;
|
||||||
internal System.Windows.Forms.Label lblfinalcodepointswithtext;
|
internal ShiftUI.Label lblfinalcodepointswithtext;
|
||||||
internal System.Windows.Forms.Panel pnllose;
|
internal ShiftUI.Panel pnllose;
|
||||||
internal System.Windows.Forms.Label lblmissedout;
|
internal ShiftUI.Label lblmissedout;
|
||||||
internal System.Windows.Forms.Button btnlosetryagain;
|
internal ShiftUI.Button btnlosetryagain;
|
||||||
internal System.Windows.Forms.Label Label5;
|
internal ShiftUI.Label Label5;
|
||||||
internal System.Windows.Forms.Label Label1;
|
internal ShiftUI.Label Label1;
|
||||||
internal System.Windows.Forms.Label lblstatscodepoints;
|
internal ShiftUI.Label lblstatscodepoints;
|
||||||
internal System.Windows.Forms.Label lblstatsY;
|
internal ShiftUI.Label lblstatsY;
|
||||||
internal System.Windows.Forms.Panel pnlintro;
|
internal ShiftUI.Panel pnlintro;
|
||||||
internal System.Windows.Forms.Label Label6;
|
internal ShiftUI.Label Label6;
|
||||||
internal System.Windows.Forms.Button btnstartgame;
|
internal ShiftUI.Button btnstartgame;
|
||||||
internal System.Windows.Forms.Label Label8;
|
internal ShiftUI.Label Label8;
|
||||||
internal System.Windows.Forms.Timer tmrstoryline;
|
internal ShiftUI.Timer tmrstoryline;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7,7 +7,7 @@ using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
@ -50,7 +50,7 @@ namespace ShiftOS
|
||||||
}
|
}
|
||||||
|
|
||||||
// Move the paddle according to the mouse position.
|
// 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));
|
paddleHuman.Location = new Point(paddleHuman.Location.X, (MousePosition.Y - this.Location.Y) - (paddleHuman.Height / 2));
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<data name="Label6.Text" xml:space="preserve">
|
<data name="Label6.Text" xml:space="preserve">
|
||||||
<value>Pong is a classic arcade game from the late 20th century, ported over to ShiftOS.
|
<value>Pong is a classic arcade game from the late 20th century, ported over to ShiftOS.
|
||||||
|
|
2805
source/WindowsFormsApplication1/Apps/Shifter.Designer.cs
generated
2805
source/WindowsFormsApplication1/Apps/Shifter.Designer.cs
generated
File diff suppressed because it is too large
Load diff
|
@ -8,7 +8,7 @@ using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
@ -2999,8 +2999,8 @@ namespace ShiftOS
|
||||||
|
|
||||||
public void SetupLuaUI()
|
public void SetupLuaUI()
|
||||||
{
|
{
|
||||||
pnlluafield.Controls.Clear();
|
pnlluafield.Widgets.Clear();
|
||||||
flmorebuttons.Controls.Clear();
|
flmorebuttons.Widgets.Clear();
|
||||||
if (API.LuaShifterRegistry == null)
|
if (API.LuaShifterRegistry == null)
|
||||||
{
|
{
|
||||||
var l = new Label();
|
var l = new Label();
|
||||||
|
@ -3012,7 +3012,7 @@ namespace ShiftOS
|
||||||
There are no options to show here yet.
|
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.";
|
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();
|
l.Show();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -3024,7 +3024,7 @@ You can add options in the Lua interpreter using the shifter_add_category(string
|
||||||
b.FlatStyle = FlatStyle.Flat;
|
b.FlatStyle = FlatStyle.Flat;
|
||||||
b.AutoSize = true;
|
b.AutoSize = true;
|
||||||
b.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
b.AutoSizeMode = AutoSizeMode.GrowAndShrink;
|
||||||
flmorebuttons.Controls.Add(b);
|
flmorebuttons.Widgets.Add(b);
|
||||||
b.Show();
|
b.Show();
|
||||||
b.Click += (object s, EventArgs a) =>
|
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)
|
public void SetupLuaForm(Dictionary<string, object> d)
|
||||||
{
|
{
|
||||||
pnlluafield.Controls.Clear();
|
pnlluafield.Widgets.Clear();
|
||||||
foreach(var kv in d)
|
foreach(var kv in d)
|
||||||
{
|
{
|
||||||
IShifterSetting l = new ShifterTextInput();
|
IShifterSetting l = new ShifterTextInput();
|
||||||
|
@ -3056,9 +3056,9 @@ You can add options in the Lua interpreter using the shifter_add_category(string
|
||||||
else
|
else
|
||||||
i.NoDecimal = false;
|
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);
|
l.Location = new Point(ctrl.Left + ctrl.Width + 5, ctrl.Top);
|
||||||
if(l.Left + l.Width > pnlluafield.Width)
|
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);
|
l.Location = new Point(2, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
pnlluafield.Controls.Add(l);
|
pnlluafield.Widgets.Add(l);
|
||||||
l.Show();
|
l.Show();
|
||||||
l.Font = new Font("Microsoft Sans Serif", 9);
|
l.Font = new Font("Microsoft Sans Serif", 9);
|
||||||
l.Text = kv.Key;
|
l.Text = kv.Key;
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<metadata name="ColorDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="ColorDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
namespace ShiftOS
|
using System;
|
||||||
|
|
||||||
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
partial class Shiftnet
|
partial class Shiftnet
|
||||||
{
|
{
|
||||||
|
@ -28,12 +30,12 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.pnlcontrols = new System.Windows.Forms.Panel();
|
this.pnlcontrols = new ShiftUI.Panel();
|
||||||
this.btngo = new System.Windows.Forms.Button();
|
this.btngo = new ShiftUI.Button();
|
||||||
this.btnhome = new System.Windows.Forms.Button();
|
this.btnhome = new ShiftUI.Button();
|
||||||
this.txtaddress = new System.Windows.Forms.TextBox();
|
this.txtaddress = new ShiftUI.TextBox();
|
||||||
this.wbshiftnet = new System.Windows.Forms.WebBrowser();
|
this.wbshiftnet = new Gecko.GeckoWebBrowser();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.pnlcontrols.SuspendLayout();
|
this.pnlcontrols.SuspendLayout();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
|
@ -41,10 +43,10 @@
|
||||||
// pnlcontrols
|
// pnlcontrols
|
||||||
//
|
//
|
||||||
this.pnlcontrols.BackColor = System.Drawing.Color.Gray;
|
this.pnlcontrols.BackColor = System.Drawing.Color.Gray;
|
||||||
this.pnlcontrols.Controls.Add(this.btngo);
|
this.pnlcontrols.Widgets.Add(this.btngo);
|
||||||
this.pnlcontrols.Controls.Add(this.btnhome);
|
this.pnlcontrols.Widgets.Add(this.btnhome);
|
||||||
this.pnlcontrols.Controls.Add(this.txtaddress);
|
this.pnlcontrols.Widgets.Add(this.txtaddress);
|
||||||
this.pnlcontrols.Dock = System.Windows.Forms.DockStyle.Top;
|
this.pnlcontrols.Dock = ShiftUI.DockStyle.Top;
|
||||||
this.pnlcontrols.Location = new System.Drawing.Point(0, 0);
|
this.pnlcontrols.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pnlcontrols.Name = "pnlcontrols";
|
this.pnlcontrols.Name = "pnlcontrols";
|
||||||
this.pnlcontrols.Size = new System.Drawing.Size(792, 42);
|
this.pnlcontrols.Size = new System.Drawing.Size(792, 42);
|
||||||
|
@ -52,9 +54,9 @@
|
||||||
//
|
//
|
||||||
// btngo
|
// btngo
|
||||||
//
|
//
|
||||||
this.btngo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
this.btngo.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
|
||||||
this.btngo.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
this.btngo.DialogResult = ShiftUI.DialogResult.Cancel;
|
||||||
this.btngo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btngo.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btngo.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btngo.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btngo.ForeColor = System.Drawing.Color.White;
|
this.btngo.ForeColor = System.Drawing.Color.White;
|
||||||
this.btngo.Location = new System.Drawing.Point(731, 9);
|
this.btngo.Location = new System.Drawing.Point(731, 9);
|
||||||
|
@ -67,8 +69,8 @@
|
||||||
//
|
//
|
||||||
// btnhome
|
// btnhome
|
||||||
//
|
//
|
||||||
this.btnhome.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
this.btnhome.DialogResult = ShiftUI.DialogResult.Cancel;
|
||||||
this.btnhome.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnhome.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnhome.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
this.btnhome.Font = new System.Drawing.Font("Times New Roman", 8.25F);
|
||||||
this.btnhome.ForeColor = System.Drawing.Color.White;
|
this.btnhome.ForeColor = System.Drawing.Color.White;
|
||||||
this.btnhome.Location = new System.Drawing.Point(4, 12);
|
this.btnhome.Location = new System.Drawing.Point(4, 12);
|
||||||
|
@ -81,9 +83,9 @@
|
||||||
//
|
//
|
||||||
// txtaddress
|
// txtaddress
|
||||||
//
|
//
|
||||||
this.txtaddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtaddress.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.txtaddress.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.txtaddress.BorderStyle = ShiftUI.BorderStyle.None;
|
||||||
this.txtaddress.Font = new System.Drawing.Font("Times New Roman", 13F);
|
this.txtaddress.Font = new System.Drawing.Font("Times New Roman", 13F);
|
||||||
this.txtaddress.Location = new System.Drawing.Point(85, 12);
|
this.txtaddress.Location = new System.Drawing.Point(85, 12);
|
||||||
this.txtaddress.Name = "txtaddress";
|
this.txtaddress.Name = "txtaddress";
|
||||||
|
@ -93,21 +95,19 @@
|
||||||
//
|
//
|
||||||
// wbshiftnet
|
// wbshiftnet
|
||||||
//
|
//
|
||||||
this.wbshiftnet.AllowWebBrowserDrop = false;
|
this.wbshiftnet.Dock = (System.Windows.Forms.DockStyle)ShiftUI.DockStyle.Fill;
|
||||||
this.wbshiftnet.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
||||||
this.wbshiftnet.IsWebBrowserContextMenuEnabled = false;
|
|
||||||
this.wbshiftnet.Location = new System.Drawing.Point(0, 42);
|
this.wbshiftnet.Location = new System.Drawing.Point(0, 42);
|
||||||
this.wbshiftnet.MinimumSize = new System.Drawing.Size(20, 20);
|
this.wbshiftnet.MinimumSize = new System.Drawing.Size(20, 20);
|
||||||
this.wbshiftnet.Name = "wbshiftnet";
|
this.wbshiftnet.Name = "wbshiftnet";
|
||||||
this.wbshiftnet.Size = new System.Drawing.Size(792, 463);
|
this.wbshiftnet.Size = new System.Drawing.Size(792, 463);
|
||||||
this.wbshiftnet.TabIndex = 1;
|
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
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.Controls.Add(this.wbshiftnet);
|
this.panel1.Widgets.Add(this.wbshiftnet.ToWidget());
|
||||||
this.panel1.Controls.Add(this.pnlcontrols);
|
this.panel1.Widgets.Add(this.pnlcontrols);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(792, 505);
|
this.panel1.Size = new System.Drawing.Size(792, 505);
|
||||||
|
@ -117,10 +117,10 @@
|
||||||
//
|
//
|
||||||
this.AcceptButton = this.btngo;
|
this.AcceptButton = this.btngo;
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.CancelButton = this.btnhome;
|
||||||
this.ClientSize = new System.Drawing.Size(792, 505);
|
this.ClientSize = new System.Drawing.Size(792, 505);
|
||||||
this.Controls.Add(this.panel1);
|
this.Widgets.Add(this.panel1);
|
||||||
this.Name = "Shiftnet";
|
this.Name = "Shiftnet";
|
||||||
this.Text = "MainForm";
|
this.Text = "MainForm";
|
||||||
this.Load += new System.EventHandler(this.MainForm_Load);
|
this.Load += new System.EventHandler(this.MainForm_Load);
|
||||||
|
@ -133,12 +133,12 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Panel pnlcontrols;
|
private ShiftUI.Panel pnlcontrols;
|
||||||
private System.Windows.Forms.WebBrowser wbshiftnet;
|
private Gecko.GeckoWebBrowser wbshiftnet;
|
||||||
private System.Windows.Forms.Button btngo;
|
private ShiftUI.Button btngo;
|
||||||
private System.Windows.Forms.Button btnhome;
|
private ShiftUI.Button btnhome;
|
||||||
private System.Windows.Forms.TextBox txtaddress;
|
private ShiftUI.TextBox txtaddress;
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -6,7 +6,7 @@ using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
|
@ -26,17 +26,18 @@ namespace ShiftOS
|
||||||
public void InitialSetup()
|
public void InitialSetup()
|
||||||
{
|
{
|
||||||
pnlcontrols.BackColor = API.CurrentSkin.titlebarcolour;
|
pnlcontrols.BackColor = API.CurrentSkin.titlebarcolour;
|
||||||
wbshiftnet.DocumentText = WebLayer.VisitSite("shiftnet://main");
|
wbshiftnet.Document.TextContent = WebLayer.VisitSite("shiftnet://main");
|
||||||
txtaddress.Text = WebLayer.LastUrl;
|
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")
|
if (url != "about:blank")
|
||||||
{
|
{
|
||||||
var surl = url.Replace("http://", "shiftnet://");
|
var surl = url.Replace("http://", "shiftnet://");
|
||||||
wbshiftnet.DocumentText = WebLayer.VisitSite(surl);
|
wbshiftnet.Document.TextContent = WebLayer.VisitSite(surl);
|
||||||
txtaddress.Text = WebLayer.LastUrl;
|
txtaddress.Text = WebLayer.LastUrl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -45,19 +46,19 @@ namespace ShiftOS
|
||||||
{
|
{
|
||||||
if (txtaddress.Text.ToLower().StartsWith("shiftnet://"))
|
if (txtaddress.Text.ToLower().StartsWith("shiftnet://"))
|
||||||
{
|
{
|
||||||
wbshiftnet.DocumentText = WebLayer.VisitSite(txtaddress.Text);
|
wbshiftnet.Document.TextContent = WebLayer.VisitSite(txtaddress.Text);
|
||||||
txtaddress.Text = WebLayer.LastUrl;
|
txtaddress.Text = WebLayer.LastUrl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
wbshiftnet.DocumentText = WebLayer.VisitSite("shiftnet://not_found");
|
wbshiftnet.Document.TextContent = WebLayer.VisitSite("shiftnet://not_found");
|
||||||
txtaddress.Text = WebLayer.LastUrl;
|
txtaddress.Text = WebLayer.LastUrl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void btnhome_Click(object sender, EventArgs e)
|
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;
|
txtaddress.Text = WebLayer.LastUrl;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -29,21 +29,21 @@
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new ShiftUI.Label();
|
||||||
this.txtstatus = new System.Windows.Forms.RichTextBox();
|
this.txtstatus = new ShiftUI.RichTextBox();
|
||||||
this.txtaddress = new System.Windows.Forms.TextBox();
|
this.txtaddress = new ShiftUI.TextBox();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new ShiftUI.Label();
|
||||||
this.btnstart = new System.Windows.Forms.Button();
|
this.btnstart = new ShiftUI.Button();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.tmrdecrypt = new System.Windows.Forms.Timer(this.components);
|
this.tmrdecrypt = new ShiftUI.Timer(this.components);
|
||||||
this.pgstatus = new ShiftOS.ProgressBarEX();
|
this.pgstatus = new ShiftOS.ProgressBarEX();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.label1.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
||||||
this.label1.Location = new System.Drawing.Point(13, 13);
|
this.label1.Location = new System.Drawing.Point(13, 13);
|
||||||
this.label1.Name = "label1";
|
this.label1.Name = "label1";
|
||||||
|
@ -54,11 +54,11 @@
|
||||||
//
|
//
|
||||||
// txtstatus
|
// txtstatus
|
||||||
//
|
//
|
||||||
this.txtstatus.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.txtstatus.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.txtstatus.BackColor = System.Drawing.Color.Black;
|
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.ForeColor = System.Drawing.Color.White;
|
||||||
this.txtstatus.Location = new System.Drawing.Point(17, 151);
|
this.txtstatus.Location = new System.Drawing.Point(17, 151);
|
||||||
this.txtstatus.Name = "txtstatus";
|
this.txtstatus.Name = "txtstatus";
|
||||||
|
@ -69,10 +69,10 @@
|
||||||
//
|
//
|
||||||
// txtaddress
|
// txtaddress
|
||||||
//
|
//
|
||||||
this.txtaddress.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtaddress.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.txtaddress.BackColor = System.Drawing.Color.Gray;
|
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.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||||
this.txtaddress.Location = new System.Drawing.Point(100, 121);
|
this.txtaddress.Location = new System.Drawing.Point(100, 121);
|
||||||
this.txtaddress.Name = "txtaddress";
|
this.txtaddress.Name = "txtaddress";
|
||||||
|
@ -90,8 +90,8 @@
|
||||||
//
|
//
|
||||||
// btnstart
|
// btnstart
|
||||||
//
|
//
|
||||||
this.btnstart.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
this.btnstart.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
|
||||||
this.btnstart.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnstart.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnstart.Location = new System.Drawing.Point(697, 119);
|
this.btnstart.Location = new System.Drawing.Point(697, 119);
|
||||||
this.btnstart.Name = "btnstart";
|
this.btnstart.Name = "btnstart";
|
||||||
this.btnstart.Size = new System.Drawing.Size(60, 23);
|
this.btnstart.Size = new System.Drawing.Size(60, 23);
|
||||||
|
@ -103,13 +103,13 @@
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.BackColor = System.Drawing.Color.White;
|
this.panel1.BackColor = System.Drawing.Color.White;
|
||||||
this.panel1.Controls.Add(this.btnstart);
|
this.panel1.Widgets.Add(this.btnstart);
|
||||||
this.panel1.Controls.Add(this.label2);
|
this.panel1.Widgets.Add(this.label2);
|
||||||
this.panel1.Controls.Add(this.txtaddress);
|
this.panel1.Widgets.Add(this.txtaddress);
|
||||||
this.panel1.Controls.Add(this.txtstatus);
|
this.panel1.Widgets.Add(this.txtstatus);
|
||||||
this.panel1.Controls.Add(this.label1);
|
this.panel1.Widgets.Add(this.label1);
|
||||||
this.panel1.Controls.Add(this.pgstatus);
|
this.panel1.Widgets.Add(this.pgstatus);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(769, 443);
|
this.panel1.Size = new System.Drawing.Size(769, 443);
|
||||||
|
@ -121,8 +121,8 @@
|
||||||
//
|
//
|
||||||
// pgstatus
|
// pgstatus
|
||||||
//
|
//
|
||||||
this.pgstatus.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.pgstatus.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.pgstatus.BackColor = System.Drawing.Color.Black;
|
this.pgstatus.BackColor = System.Drawing.Color.Black;
|
||||||
this.pgstatus.BlockSeparation = 3;
|
this.pgstatus.BlockSeparation = 3;
|
||||||
this.pgstatus.BlockWidth = 5;
|
this.pgstatus.BlockWidth = 5;
|
||||||
|
@ -144,9 +144,9 @@
|
||||||
//
|
//
|
||||||
this.AcceptButton = this.btnstart;
|
this.AcceptButton = this.btnstart;
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(769, 443);
|
||||||
this.Controls.Add(this.panel1);
|
this.Widgets.Add(this.panel1);
|
||||||
this.Name = "ShiftnetDecryptor";
|
this.Name = "ShiftnetDecryptor";
|
||||||
this.Text = "ShiftnetDecryptor";
|
this.Text = "ShiftnetDecryptor";
|
||||||
this.Load += new System.EventHandler(this.ShiftnetDecryptor_Load);
|
this.Load += new System.EventHandler(this.ShiftnetDecryptor_Load);
|
||||||
|
@ -159,12 +159,12 @@
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private ProgressBarEX pgstatus;
|
private ProgressBarEX pgstatus;
|
||||||
private System.Windows.Forms.Label label1;
|
private ShiftUI.Label label1;
|
||||||
private System.Windows.Forms.RichTextBox txtstatus;
|
private ShiftUI.RichTextBox txtstatus;
|
||||||
private System.Windows.Forms.TextBox txtaddress;
|
private ShiftUI.TextBox txtaddress;
|
||||||
private System.Windows.Forms.Label label2;
|
private ShiftUI.Label label2;
|
||||||
private System.Windows.Forms.Button btnstart;
|
private ShiftUI.Button btnstart;
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
private System.Windows.Forms.Timer tmrdecrypt;
|
private ShiftUI.Timer tmrdecrypt;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -8,7 +8,7 @@ using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
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);
|
ctrl.Font = new Font(OSInfo.GetMonospaceFont(), ctrl.Font.Size);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var pnl = (Panel)ctrl;
|
var pnl = (Panel)ctrl;
|
||||||
foreach (Control c in pnl.Controls)
|
foreach (Widget c in pnl.Widgets)
|
||||||
{
|
{
|
||||||
RecursiveControlSetup(c);
|
RecursiveWidgetSetup(c);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
|
@ -150,7 +150,7 @@ namespace ShiftOS
|
||||||
|
|
||||||
private void ShiftnetDecryptor_Load(object sender, EventArgs e)
|
private void ShiftnetDecryptor_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
RecursiveControlSetup(panel1);
|
RecursiveWidgetSetup(panel1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<metadata name="tmrdecrypt.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="tmrdecrypt.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
|
|
|
@ -26,25 +26,25 @@ namespace Shiftorium
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frontend));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Frontend));
|
||||||
this.pgcontents = new System.Windows.Forms.Panel();
|
this.pgcontents = new ShiftUI.Panel();
|
||||||
this.lbcodepoints = new System.Windows.Forms.Label();
|
this.lbcodepoints = new ShiftUI.Label();
|
||||||
this.lbupgrades = new System.Windows.Forms.ListView();
|
this.lbupgrades = new ShiftUI.ListView();
|
||||||
this.Label1 = new System.Windows.Forms.Label();
|
this.Label1 = new ShiftUI.Label();
|
||||||
this.pnlinfo = new System.Windows.Forms.Panel();
|
this.pnlinfo = new ShiftUI.Panel();
|
||||||
this.pnlintro = new System.Windows.Forms.Panel();
|
this.pnlintro = new ShiftUI.Panel();
|
||||||
this.Label4 = new System.Windows.Forms.Label();
|
this.Label4 = new ShiftUI.Label();
|
||||||
this.Label2 = new System.Windows.Forms.Label();
|
this.Label2 = new ShiftUI.Label();
|
||||||
this.Label5 = new System.Windows.Forms.Label();
|
this.Label5 = new ShiftUI.Label();
|
||||||
this.btnbuy = new System.Windows.Forms.Button();
|
this.btnbuy = new ShiftUI.Button();
|
||||||
this.lbprice = new System.Windows.Forms.Label();
|
this.lbprice = new ShiftUI.Label();
|
||||||
this.picpreview = new System.Windows.Forms.PictureBox();
|
this.picpreview = new ShiftUI.PictureBox();
|
||||||
this.lbudescription = new System.Windows.Forms.Label();
|
this.lbudescription = new ShiftUI.Label();
|
||||||
this.lbupgradename = new System.Windows.Forms.Label();
|
this.lbupgradename = new ShiftUI.Label();
|
||||||
this.tmrcodepointsupdate = new System.Windows.Forms.Timer(this.components);
|
this.tmrcodepointsupdate = new ShiftUI.Timer(this.components);
|
||||||
this.btnback = new System.Windows.Forms.Button();
|
this.btnback = new ShiftUI.Button();
|
||||||
this.btnforward = new System.Windows.Forms.Button();
|
this.btnforward = new ShiftUI.Button();
|
||||||
this.lbcategory = new System.Windows.Forms.Label();
|
this.lbcategory = new ShiftUI.Label();
|
||||||
this.btnhack = new System.Windows.Forms.Button();
|
this.btnhack = new ShiftUI.Button();
|
||||||
this.pgcontents.SuspendLayout();
|
this.pgcontents.SuspendLayout();
|
||||||
this.pnlinfo.SuspendLayout();
|
this.pnlinfo.SuspendLayout();
|
||||||
this.pnlintro.SuspendLayout();
|
this.pnlintro.SuspendLayout();
|
||||||
|
@ -54,15 +54,15 @@ namespace Shiftorium
|
||||||
// pgcontents
|
// pgcontents
|
||||||
//
|
//
|
||||||
this.pgcontents.BackColor = System.Drawing.Color.White;
|
this.pgcontents.BackColor = System.Drawing.Color.White;
|
||||||
this.pgcontents.Controls.Add(this.btnhack);
|
this.pgcontents.Widgets.Add(this.btnhack);
|
||||||
this.pgcontents.Controls.Add(this.lbcategory);
|
this.pgcontents.Widgets.Add(this.lbcategory);
|
||||||
this.pgcontents.Controls.Add(this.btnforward);
|
this.pgcontents.Widgets.Add(this.btnforward);
|
||||||
this.pgcontents.Controls.Add(this.btnback);
|
this.pgcontents.Widgets.Add(this.btnback);
|
||||||
this.pgcontents.Controls.Add(this.lbcodepoints);
|
this.pgcontents.Widgets.Add(this.lbcodepoints);
|
||||||
this.pgcontents.Controls.Add(this.lbupgrades);
|
this.pgcontents.Widgets.Add(this.lbupgrades);
|
||||||
this.pgcontents.Controls.Add(this.Label1);
|
this.pgcontents.Widgets.Add(this.Label1);
|
||||||
this.pgcontents.Controls.Add(this.pnlinfo);
|
this.pgcontents.Widgets.Add(this.pnlinfo);
|
||||||
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pgcontents.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pgcontents.Name = "pgcontents";
|
this.pgcontents.Name = "pgcontents";
|
||||||
this.pgcontents.Size = new System.Drawing.Size(701, 462);
|
this.pgcontents.Size = new System.Drawing.Size(701, 462);
|
||||||
|
@ -83,7 +83,7 @@ namespace Shiftorium
|
||||||
// lbupgrades
|
// lbupgrades
|
||||||
//
|
//
|
||||||
this.lbupgrades.BackColor = System.Drawing.Color.White;
|
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.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.ForeColor = System.Drawing.Color.Black;
|
||||||
this.lbupgrades.Location = new System.Drawing.Point(21, 101);
|
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.Size = new System.Drawing.Size(304, 254);
|
||||||
this.lbupgrades.TabIndex = 0;
|
this.lbupgrades.TabIndex = 0;
|
||||||
this.lbupgrades.UseCompatibleStateImageBehavior = false;
|
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);
|
this.lbupgrades.SelectedIndexChanged += new System.EventHandler(this.lbupgrades_SelectedIndexChanged);
|
||||||
//
|
//
|
||||||
// Label1
|
// Label1
|
||||||
|
@ -108,13 +108,13 @@ namespace Shiftorium
|
||||||
//
|
//
|
||||||
// pnlinfo
|
// pnlinfo
|
||||||
//
|
//
|
||||||
this.pnlinfo.Controls.Add(this.pnlintro);
|
this.pnlinfo.Widgets.Add(this.pnlintro);
|
||||||
this.pnlinfo.Controls.Add(this.btnbuy);
|
this.pnlinfo.Widgets.Add(this.btnbuy);
|
||||||
this.pnlinfo.Controls.Add(this.lbprice);
|
this.pnlinfo.Widgets.Add(this.lbprice);
|
||||||
this.pnlinfo.Controls.Add(this.picpreview);
|
this.pnlinfo.Widgets.Add(this.picpreview);
|
||||||
this.pnlinfo.Controls.Add(this.lbudescription);
|
this.pnlinfo.Widgets.Add(this.lbudescription);
|
||||||
this.pnlinfo.Controls.Add(this.lbupgradename);
|
this.pnlinfo.Widgets.Add(this.lbupgradename);
|
||||||
this.pnlinfo.Dock = System.Windows.Forms.DockStyle.Right;
|
this.pnlinfo.Dock = ShiftUI.DockStyle.Right;
|
||||||
this.pnlinfo.Location = new System.Drawing.Point(332, 0);
|
this.pnlinfo.Location = new System.Drawing.Point(332, 0);
|
||||||
this.pnlinfo.Name = "pnlinfo";
|
this.pnlinfo.Name = "pnlinfo";
|
||||||
this.pnlinfo.Size = new System.Drawing.Size(369, 462);
|
this.pnlinfo.Size = new System.Drawing.Size(369, 462);
|
||||||
|
@ -122,10 +122,10 @@ namespace Shiftorium
|
||||||
//
|
//
|
||||||
// pnlintro
|
// pnlintro
|
||||||
//
|
//
|
||||||
this.pnlintro.Controls.Add(this.Label4);
|
this.pnlintro.Widgets.Add(this.Label4);
|
||||||
this.pnlintro.Controls.Add(this.Label2);
|
this.pnlintro.Widgets.Add(this.Label2);
|
||||||
this.pnlintro.Controls.Add(this.Label5);
|
this.pnlintro.Widgets.Add(this.Label5);
|
||||||
this.pnlintro.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlintro.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnlintro.Location = new System.Drawing.Point(0, 0);
|
this.pnlintro.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pnlintro.Name = "pnlintro";
|
this.pnlintro.Name = "pnlintro";
|
||||||
this.pnlintro.Size = new System.Drawing.Size(369, 462);
|
this.pnlintro.Size = new System.Drawing.Size(369, 462);
|
||||||
|
@ -165,8 +165,8 @@ namespace Shiftorium
|
||||||
//
|
//
|
||||||
// btnbuy
|
// btnbuy
|
||||||
//
|
//
|
||||||
this.btnbuy.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.btnbuy.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
|
||||||
this.btnbuy.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
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.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.ForeColor = System.Drawing.Color.Black;
|
||||||
this.btnbuy.Location = new System.Drawing.Point(160, 362);
|
this.btnbuy.Location = new System.Drawing.Point(160, 362);
|
||||||
|
@ -179,7 +179,7 @@ namespace Shiftorium
|
||||||
//
|
//
|
||||||
// lbprice
|
// 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 14F, System.Drawing.FontStyle.Bold);
|
||||||
this.lbprice.ForeColor = System.Drawing.Color.Black;
|
this.lbprice.ForeColor = System.Drawing.Color.Black;
|
||||||
this.lbprice.Location = new System.Drawing.Point(15, 362);
|
this.lbprice.Location = new System.Drawing.Point(15, 362);
|
||||||
|
@ -227,7 +227,7 @@ namespace Shiftorium
|
||||||
//
|
//
|
||||||
// btnback
|
// 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.Location = new System.Drawing.Point(22, 72);
|
||||||
this.btnback.Name = "btnback";
|
this.btnback.Name = "btnback";
|
||||||
this.btnback.Size = new System.Drawing.Size(36, 23);
|
this.btnback.Size = new System.Drawing.Size(36, 23);
|
||||||
|
@ -238,8 +238,8 @@ namespace Shiftorium
|
||||||
//
|
//
|
||||||
// btnforward
|
// btnforward
|
||||||
//
|
//
|
||||||
this.btnforward.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
this.btnforward.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
|
||||||
this.btnforward.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnforward.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnforward.Location = new System.Drawing.Point(289, 72);
|
this.btnforward.Location = new System.Drawing.Point(289, 72);
|
||||||
this.btnforward.Name = "btnforward";
|
this.btnforward.Name = "btnforward";
|
||||||
this.btnforward.Size = new System.Drawing.Size(36, 23);
|
this.btnforward.Size = new System.Drawing.Size(36, 23);
|
||||||
|
@ -250,8 +250,8 @@ namespace Shiftorium
|
||||||
//
|
//
|
||||||
// lbcategory
|
// lbcategory
|
||||||
//
|
//
|
||||||
this.lbcategory.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.lbcategory.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.lbcategory.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Bold);
|
this.lbcategory.Font = new System.Drawing.Font("Microsoft Sans Serif", 16F, System.Drawing.FontStyle.Bold);
|
||||||
this.lbcategory.ForeColor = System.Drawing.Color.Black;
|
this.lbcategory.ForeColor = System.Drawing.Color.Black;
|
||||||
this.lbcategory.Location = new System.Drawing.Point(64, 72);
|
this.lbcategory.Location = new System.Drawing.Point(64, 72);
|
||||||
|
@ -263,11 +263,11 @@ namespace Shiftorium
|
||||||
//
|
//
|
||||||
// btnhack
|
// btnhack
|
||||||
//
|
//
|
||||||
this.btnhack.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.btnhack.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.btnhack.AutoSize = true;
|
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.Location = new System.Drawing.Point(143, 218);
|
||||||
this.btnhack.Name = "btnhack";
|
this.btnhack.Name = "btnhack";
|
||||||
this.btnhack.Size = new System.Drawing.Size(68, 25);
|
this.btnhack.Size = new System.Drawing.Size(68, 25);
|
||||||
|
@ -280,11 +280,11 @@ namespace Shiftorium
|
||||||
// Frontend
|
// Frontend
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.BackColor = System.Drawing.Color.White;
|
||||||
this.ClientSize = new System.Drawing.Size(701, 462);
|
this.ClientSize = new System.Drawing.Size(701, 462);
|
||||||
this.Controls.Add(this.pgcontents);
|
this.Widgets.Add(this.pgcontents);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
|
||||||
this.KeyPreview = true;
|
this.KeyPreview = true;
|
||||||
this.Name = "Frontend";
|
this.Name = "Frontend";
|
||||||
this.Text = "Shiftorium";
|
this.Text = "Shiftorium";
|
||||||
|
@ -299,24 +299,24 @@ namespace Shiftorium
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
internal System.Windows.Forms.Panel pgcontents;
|
internal ShiftUI.Panel pgcontents;
|
||||||
internal System.Windows.Forms.ListView lbupgrades;
|
internal ShiftUI.ListView lbupgrades;
|
||||||
internal System.Windows.Forms.Label Label1;
|
internal ShiftUI.Label Label1;
|
||||||
internal System.Windows.Forms.Panel pnlinfo;
|
internal ShiftUI.Panel pnlinfo;
|
||||||
internal System.Windows.Forms.Label lbcodepoints;
|
internal ShiftUI.Label lbcodepoints;
|
||||||
internal System.Windows.Forms.Button btnbuy;
|
internal ShiftUI.Button btnbuy;
|
||||||
internal System.Windows.Forms.Label lbprice;
|
internal ShiftUI.Label lbprice;
|
||||||
internal System.Windows.Forms.PictureBox picpreview;
|
internal ShiftUI.PictureBox picpreview;
|
||||||
internal System.Windows.Forms.Label lbudescription;
|
internal ShiftUI.Label lbudescription;
|
||||||
internal System.Windows.Forms.Label lbupgradename;
|
internal ShiftUI.Label lbupgradename;
|
||||||
internal System.Windows.Forms.Panel pnlintro;
|
internal ShiftUI.Panel pnlintro;
|
||||||
internal System.Windows.Forms.Label Label4;
|
internal ShiftUI.Label Label4;
|
||||||
internal System.Windows.Forms.Label Label2;
|
internal ShiftUI.Label Label2;
|
||||||
internal System.Windows.Forms.Label Label5;
|
internal ShiftUI.Label Label5;
|
||||||
internal System.Windows.Forms.Timer tmrcodepointsupdate;
|
internal ShiftUI.Timer tmrcodepointsupdate;
|
||||||
internal System.Windows.Forms.Label lbcategory;
|
internal ShiftUI.Label lbcategory;
|
||||||
private System.Windows.Forms.Button btnforward;
|
private ShiftUI.Button btnforward;
|
||||||
private System.Windows.Forms.Button btnback;
|
private ShiftUI.Button btnback;
|
||||||
private System.Windows.Forms.Button btnhack;
|
private ShiftUI.Button btnhack;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -6,7 +6,7 @@ using System.Drawing;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
using ShiftOS;
|
using ShiftOS;
|
||||||
using SaveSystem;
|
using SaveSystem;
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<data name="Label2.Text" xml:space="preserve">
|
<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.
|
<value>Welcome to the Shiftorium. The Shiftorium is a place where you can spend Codepoints to upgrade the operating system and buy new applications.
|
||||||
|
|
|
@ -25,57 +25,57 @@ namespace ShiftOS
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SkinLoader));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SkinLoader));
|
||||||
this.pgcontents = new System.Windows.Forms.Panel();
|
this.pgcontents = new ShiftUI.Panel();
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new ShiftUI.Label();
|
||||||
this.btnapplyskin = new System.Windows.Forms.Button();
|
this.btnapplyskin = new ShiftUI.Button();
|
||||||
this.btnsaveskin = new System.Windows.Forms.Button();
|
this.btnsaveskin = new ShiftUI.Button();
|
||||||
this.btnloadskin = new System.Windows.Forms.Button();
|
this.btnloadskin = new ShiftUI.Button();
|
||||||
this.Label2 = new System.Windows.Forms.Label();
|
this.Label2 = new ShiftUI.Label();
|
||||||
this.btnclose = new System.Windows.Forms.Button();
|
this.btnclose = new ShiftUI.Button();
|
||||||
this.pnldesktoppreview = new System.Windows.Forms.Panel();
|
this.pnldesktoppreview = new ShiftUI.Panel();
|
||||||
this.predesktoppanel = new System.Windows.Forms.Panel();
|
this.predesktoppanel = new ShiftUI.Panel();
|
||||||
this.prepnlpanelbuttonholder = new System.Windows.Forms.FlowLayoutPanel();
|
this.prepnlpanelbuttonholder = new ShiftUI.FlowLayoutPanel();
|
||||||
this.prepnlpanelbutton = new System.Windows.Forms.Panel();
|
this.prepnlpanelbutton = new ShiftUI.Panel();
|
||||||
this.pretbicon = new System.Windows.Forms.PictureBox();
|
this.pretbicon = new ShiftUI.PictureBox();
|
||||||
this.pretbctext = new System.Windows.Forms.Label();
|
this.pretbctext = new ShiftUI.Label();
|
||||||
this.pretimepanel = new System.Windows.Forms.Panel();
|
this.pretimepanel = new ShiftUI.Panel();
|
||||||
this.prepaneltimetext = new System.Windows.Forms.Label();
|
this.prepaneltimetext = new ShiftUI.Label();
|
||||||
this.preapplaunchermenuholder = new System.Windows.Forms.Panel();
|
this.preapplaunchermenuholder = new ShiftUI.Panel();
|
||||||
this.predesktopappmenu = new System.Windows.Forms.MenuStrip();
|
this.predesktopappmenu = new ShiftUI.MenuStrip();
|
||||||
this.ApplicationsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.ApplicationsToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
|
||||||
this.KnowledgeInputToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.KnowledgeInputToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
|
||||||
this.ShiftoriumToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.ShiftoriumToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
|
||||||
this.ClockToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.ClockToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
|
||||||
this.TerminalToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.TerminalToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
|
||||||
this.ShifterToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.ShifterToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
|
||||||
this.ToolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
this.ToolStripSeparator1 = new ShiftUI.ToolStripSeparator();
|
||||||
this.ShutdownToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.ShutdownToolStripMenuItem = new ShiftUI.ToolStripMenuItem();
|
||||||
this.Label1 = new System.Windows.Forms.Label();
|
this.Label1 = new ShiftUI.Label();
|
||||||
this.pnlwindowpreview = new System.Windows.Forms.Panel();
|
this.pnlwindowpreview = new ShiftUI.Panel();
|
||||||
this.prepgcontent = new System.Windows.Forms.Panel();
|
this.prepgcontent = new ShiftUI.Panel();
|
||||||
this.prepgbottom = new System.Windows.Forms.Panel();
|
this.prepgbottom = new ShiftUI.Panel();
|
||||||
this.prepgleft = new System.Windows.Forms.Panel();
|
this.prepgleft = new ShiftUI.Panel();
|
||||||
this.prepgbottomlcorner = new System.Windows.Forms.Panel();
|
this.prepgbottomlcorner = new ShiftUI.Panel();
|
||||||
this.prepgright = new System.Windows.Forms.Panel();
|
this.prepgright = new ShiftUI.Panel();
|
||||||
this.prepgbottomrcorner = new System.Windows.Forms.Panel();
|
this.prepgbottomrcorner = new ShiftUI.Panel();
|
||||||
this.pretitlebar = new System.Windows.Forms.Panel();
|
this.pretitlebar = new ShiftUI.Panel();
|
||||||
this.preminimizebutton = new System.Windows.Forms.Panel();
|
this.preminimizebutton = new ShiftUI.Panel();
|
||||||
this.prepnlicon = new System.Windows.Forms.PictureBox();
|
this.prepnlicon = new ShiftUI.PictureBox();
|
||||||
this.prerollupbutton = new System.Windows.Forms.Panel();
|
this.prerollupbutton = new ShiftUI.Panel();
|
||||||
this.preclosebutton = new System.Windows.Forms.Panel();
|
this.preclosebutton = new ShiftUI.Panel();
|
||||||
this.pretitletext = new System.Windows.Forms.Label();
|
this.pretitletext = new ShiftUI.Label();
|
||||||
this.prepgtoplcorner = new System.Windows.Forms.Panel();
|
this.prepgtoplcorner = new ShiftUI.Panel();
|
||||||
this.prepgtoprcorner = new System.Windows.Forms.Panel();
|
this.prepgtoprcorner = new ShiftUI.Panel();
|
||||||
this.pnlskinpacks = new System.Windows.Forms.Panel();
|
this.pnlskinpacks = new ShiftUI.Panel();
|
||||||
this.btnapplypackskin = new System.Windows.Forms.Button();
|
this.btnapplypackskin = new ShiftUI.Button();
|
||||||
this.label6 = new System.Windows.Forms.Label();
|
this.label6 = new ShiftUI.Label();
|
||||||
this.cbpackfiles = new System.Windows.Forms.ComboBox();
|
this.cbpackfiles = new ShiftUI.ComboBox();
|
||||||
this.btnbrowse = new System.Windows.Forms.Button();
|
this.btnbrowse = new ShiftUI.Button();
|
||||||
this.txtpackpath = new System.Windows.Forms.TextBox();
|
this.txtpackpath = new ShiftUI.TextBox();
|
||||||
this.btnbacktoskinloader = new System.Windows.Forms.Button();
|
this.btnbacktoskinloader = new ShiftUI.Button();
|
||||||
this.label5 = new System.Windows.Forms.Label();
|
this.label5 = new ShiftUI.Label();
|
||||||
this.label4 = new System.Windows.Forms.Label();
|
this.label4 = new ShiftUI.Label();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.pgcontents.SuspendLayout();
|
this.pgcontents.SuspendLayout();
|
||||||
this.pnldesktoppreview.SuspendLayout();
|
this.pnldesktoppreview.SuspendLayout();
|
||||||
this.predesktoppanel.SuspendLayout();
|
this.predesktoppanel.SuspendLayout();
|
||||||
|
@ -97,16 +97,16 @@ namespace ShiftOS
|
||||||
// pgcontents
|
// pgcontents
|
||||||
//
|
//
|
||||||
this.pgcontents.BackColor = System.Drawing.Color.White;
|
this.pgcontents.BackColor = System.Drawing.Color.White;
|
||||||
this.pgcontents.Controls.Add(this.label3);
|
this.pgcontents.Widgets.Add(this.label3);
|
||||||
this.pgcontents.Controls.Add(this.btnapplyskin);
|
this.pgcontents.Widgets.Add(this.btnapplyskin);
|
||||||
this.pgcontents.Controls.Add(this.btnsaveskin);
|
this.pgcontents.Widgets.Add(this.btnsaveskin);
|
||||||
this.pgcontents.Controls.Add(this.btnloadskin);
|
this.pgcontents.Widgets.Add(this.btnloadskin);
|
||||||
this.pgcontents.Controls.Add(this.Label2);
|
this.pgcontents.Widgets.Add(this.Label2);
|
||||||
this.pgcontents.Controls.Add(this.btnclose);
|
this.pgcontents.Widgets.Add(this.btnclose);
|
||||||
this.pgcontents.Controls.Add(this.pnldesktoppreview);
|
this.pgcontents.Widgets.Add(this.pnldesktoppreview);
|
||||||
this.pgcontents.Controls.Add(this.Label1);
|
this.pgcontents.Widgets.Add(this.Label1);
|
||||||
this.pgcontents.Controls.Add(this.pnlwindowpreview);
|
this.pgcontents.Widgets.Add(this.pnlwindowpreview);
|
||||||
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pgcontents.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pgcontents.Name = "pgcontents";
|
this.pgcontents.Name = "pgcontents";
|
||||||
this.pgcontents.Size = new System.Drawing.Size(476, 462);
|
this.pgcontents.Size = new System.Drawing.Size(476, 462);
|
||||||
|
@ -114,8 +114,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// label3
|
// 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)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.label3.Location = new System.Drawing.Point(10, 384);
|
this.label3.Location = new System.Drawing.Point(10, 384);
|
||||||
this.label3.Name = "label3";
|
this.label3.Name = "label3";
|
||||||
this.label3.Size = new System.Drawing.Size(454, 31);
|
this.label3.Size = new System.Drawing.Size(454, 31);
|
||||||
|
@ -126,8 +126,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnapplyskin
|
// btnapplyskin
|
||||||
//
|
//
|
||||||
this.btnapplyskin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.btnapplyskin.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
|
||||||
this.btnapplyskin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
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.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.Location = new System.Drawing.Point(352, 418);
|
||||||
this.btnapplyskin.Name = "btnapplyskin";
|
this.btnapplyskin.Name = "btnapplyskin";
|
||||||
|
@ -139,8 +139,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnsaveskin
|
// btnsaveskin
|
||||||
//
|
//
|
||||||
this.btnsaveskin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
this.btnsaveskin.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Right)));
|
||||||
this.btnsaveskin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
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.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.Location = new System.Drawing.Point(239, 418);
|
||||||
this.btnsaveskin.Name = "btnsaveskin";
|
this.btnsaveskin.Name = "btnsaveskin";
|
||||||
|
@ -152,8 +152,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnloadskin
|
// btnloadskin
|
||||||
//
|
//
|
||||||
this.btnloadskin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.btnloadskin.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.btnloadskin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
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.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.Location = new System.Drawing.Point(126, 418);
|
||||||
this.btnloadskin.Name = "btnloadskin";
|
this.btnloadskin.Name = "btnloadskin";
|
||||||
|
@ -165,8 +165,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// Label2
|
// Label2
|
||||||
//
|
//
|
||||||
this.Label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.Label2.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| 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.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.Location = new System.Drawing.Point(4, 200);
|
||||||
this.Label2.Name = "Label2";
|
this.Label2.Name = "Label2";
|
||||||
|
@ -177,8 +177,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnclose
|
// btnclose
|
||||||
//
|
//
|
||||||
this.btnclose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.btnclose.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.btnclose.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
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.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.Location = new System.Drawing.Point(13, 418);
|
||||||
this.btnclose.Name = "btnclose";
|
this.btnclose.Name = "btnclose";
|
||||||
|
@ -190,10 +190,10 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// pnldesktoppreview
|
// pnldesktoppreview
|
||||||
//
|
//
|
||||||
this.pnldesktoppreview.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.pnldesktoppreview.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.pnldesktoppreview.Controls.Add(this.predesktoppanel);
|
this.pnldesktoppreview.Widgets.Add(this.predesktoppanel);
|
||||||
this.pnldesktoppreview.Location = new System.Drawing.Point(13, 233);
|
this.pnldesktoppreview.Location = new System.Drawing.Point(13, 233);
|
||||||
this.pnldesktoppreview.Name = "pnldesktoppreview";
|
this.pnldesktoppreview.Name = "pnldesktoppreview";
|
||||||
this.pnldesktoppreview.Size = new System.Drawing.Size(448, 148);
|
this.pnldesktoppreview.Size = new System.Drawing.Size(448, 148);
|
||||||
|
@ -202,10 +202,10 @@ namespace ShiftOS
|
||||||
// predesktoppanel
|
// predesktoppanel
|
||||||
//
|
//
|
||||||
this.predesktoppanel.BackColor = System.Drawing.Color.Gray;
|
this.predesktoppanel.BackColor = System.Drawing.Color.Gray;
|
||||||
this.predesktoppanel.Controls.Add(this.prepnlpanelbuttonholder);
|
this.predesktoppanel.Widgets.Add(this.prepnlpanelbuttonholder);
|
||||||
this.predesktoppanel.Controls.Add(this.pretimepanel);
|
this.predesktoppanel.Widgets.Add(this.pretimepanel);
|
||||||
this.predesktoppanel.Controls.Add(this.preapplaunchermenuholder);
|
this.predesktoppanel.Widgets.Add(this.preapplaunchermenuholder);
|
||||||
this.predesktoppanel.Dock = System.Windows.Forms.DockStyle.Top;
|
this.predesktoppanel.Dock = ShiftUI.DockStyle.Top;
|
||||||
this.predesktoppanel.Location = new System.Drawing.Point(0, 0);
|
this.predesktoppanel.Location = new System.Drawing.Point(0, 0);
|
||||||
this.predesktoppanel.Name = "predesktoppanel";
|
this.predesktoppanel.Name = "predesktoppanel";
|
||||||
this.predesktoppanel.Size = new System.Drawing.Size(448, 25);
|
this.predesktoppanel.Size = new System.Drawing.Size(448, 25);
|
||||||
|
@ -214,19 +214,19 @@ namespace ShiftOS
|
||||||
// prepnlpanelbuttonholder
|
// prepnlpanelbuttonholder
|
||||||
//
|
//
|
||||||
this.prepnlpanelbuttonholder.BackColor = System.Drawing.Color.Transparent;
|
this.prepnlpanelbuttonholder.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.prepnlpanelbuttonholder.Controls.Add(this.prepnlpanelbutton);
|
this.prepnlpanelbuttonholder.Widgets.Add(this.prepnlpanelbutton);
|
||||||
this.prepnlpanelbuttonholder.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.prepnlpanelbuttonholder.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.prepnlpanelbuttonholder.Location = new System.Drawing.Point(116, 0);
|
this.prepnlpanelbuttonholder.Location = new System.Drawing.Point(116, 0);
|
||||||
this.prepnlpanelbuttonholder.Name = "prepnlpanelbuttonholder";
|
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.Size = new System.Drawing.Size(235, 25);
|
||||||
this.prepnlpanelbuttonholder.TabIndex = 7;
|
this.prepnlpanelbuttonholder.TabIndex = 7;
|
||||||
//
|
//
|
||||||
// prepnlpanelbutton
|
// prepnlpanelbutton
|
||||||
//
|
//
|
||||||
this.prepnlpanelbutton.BackColor = System.Drawing.Color.Black;
|
this.prepnlpanelbutton.BackColor = System.Drawing.Color.Black;
|
||||||
this.prepnlpanelbutton.Controls.Add(this.pretbicon);
|
this.prepnlpanelbutton.Widgets.Add(this.pretbicon);
|
||||||
this.prepnlpanelbutton.Controls.Add(this.pretbctext);
|
this.prepnlpanelbutton.Widgets.Add(this.pretbctext);
|
||||||
this.prepnlpanelbutton.Location = new System.Drawing.Point(5, 3);
|
this.prepnlpanelbutton.Location = new System.Drawing.Point(5, 3);
|
||||||
this.prepnlpanelbutton.Name = "prepnlpanelbutton";
|
this.prepnlpanelbutton.Name = "prepnlpanelbutton";
|
||||||
this.prepnlpanelbutton.Size = new System.Drawing.Size(126, 20);
|
this.prepnlpanelbutton.Size = new System.Drawing.Size(126, 20);
|
||||||
|
@ -236,7 +236,7 @@ namespace ShiftOS
|
||||||
// pretbicon
|
// pretbicon
|
||||||
//
|
//
|
||||||
this.pretbicon.BackColor = System.Drawing.Color.Transparent;
|
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.Image = global::ShiftOS.Properties.Resources.iconShifter;
|
||||||
this.pretbicon.Location = new System.Drawing.Point(4, 2);
|
this.pretbicon.Location = new System.Drawing.Point(4, 2);
|
||||||
this.pretbicon.Name = "pretbicon";
|
this.pretbicon.Name = "pretbicon";
|
||||||
|
@ -258,8 +258,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// pretimepanel
|
// pretimepanel
|
||||||
//
|
//
|
||||||
this.pretimepanel.Controls.Add(this.prepaneltimetext);
|
this.pretimepanel.Widgets.Add(this.prepaneltimetext);
|
||||||
this.pretimepanel.Dock = System.Windows.Forms.DockStyle.Right;
|
this.pretimepanel.Dock = ShiftUI.DockStyle.Right;
|
||||||
this.pretimepanel.Location = new System.Drawing.Point(351, 0);
|
this.pretimepanel.Location = new System.Drawing.Point(351, 0);
|
||||||
this.pretimepanel.Name = "pretimepanel";
|
this.pretimepanel.Name = "pretimepanel";
|
||||||
this.pretimepanel.Size = new System.Drawing.Size(97, 25);
|
this.pretimepanel.Size = new System.Drawing.Size(97, 25);
|
||||||
|
@ -279,8 +279,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// preapplaunchermenuholder
|
// preapplaunchermenuholder
|
||||||
//
|
//
|
||||||
this.preapplaunchermenuholder.Controls.Add(this.predesktopappmenu);
|
this.preapplaunchermenuholder.Widgets.Add(this.predesktopappmenu);
|
||||||
this.preapplaunchermenuholder.Dock = System.Windows.Forms.DockStyle.Left;
|
this.preapplaunchermenuholder.Dock = ShiftUI.DockStyle.Left;
|
||||||
this.preapplaunchermenuholder.Location = new System.Drawing.Point(0, 0);
|
this.preapplaunchermenuholder.Location = new System.Drawing.Point(0, 0);
|
||||||
this.preapplaunchermenuholder.Name = "preapplaunchermenuholder";
|
this.preapplaunchermenuholder.Name = "preapplaunchermenuholder";
|
||||||
this.preapplaunchermenuholder.Size = new System.Drawing.Size(116, 25);
|
this.preapplaunchermenuholder.Size = new System.Drawing.Size(116, 25);
|
||||||
|
@ -289,12 +289,12 @@ namespace ShiftOS
|
||||||
// predesktopappmenu
|
// predesktopappmenu
|
||||||
//
|
//
|
||||||
this.predesktopappmenu.AutoSize = false;
|
this.predesktopappmenu.AutoSize = false;
|
||||||
this.predesktopappmenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.predesktopappmenu.Items.AddRange(new ShiftUI.ToolStripItem[] {
|
||||||
this.ApplicationsToolStripMenuItem});
|
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.Location = new System.Drawing.Point(0, 0);
|
||||||
this.predesktopappmenu.Name = "predesktopappmenu";
|
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.Size = new System.Drawing.Size(116, 24);
|
||||||
this.predesktopappmenu.TabIndex = 0;
|
this.predesktopappmenu.TabIndex = 0;
|
||||||
this.predesktopappmenu.Text = "MenuStrip1";
|
this.predesktopappmenu.Text = "MenuStrip1";
|
||||||
|
@ -302,7 +302,7 @@ namespace ShiftOS
|
||||||
// ApplicationsToolStripMenuItem
|
// ApplicationsToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.ApplicationsToolStripMenuItem.AutoSize = false;
|
this.ApplicationsToolStripMenuItem.AutoSize = false;
|
||||||
this.ApplicationsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.ApplicationsToolStripMenuItem.DropDownItems.AddRange(new ShiftUI.ToolStripItem[] {
|
||||||
this.KnowledgeInputToolStripMenuItem,
|
this.KnowledgeInputToolStripMenuItem,
|
||||||
this.ShiftoriumToolStripMenuItem,
|
this.ShiftoriumToolStripMenuItem,
|
||||||
this.ClockToolStripMenuItem,
|
this.ClockToolStripMenuItem,
|
||||||
|
@ -312,12 +312,12 @@ namespace ShiftOS
|
||||||
this.ShutdownToolStripMenuItem});
|
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.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.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.ShowShortcutKeys = false;
|
||||||
this.ApplicationsToolStripMenuItem.Size = new System.Drawing.Size(102, 24);
|
this.ApplicationsToolStripMenuItem.Size = new System.Drawing.Size(102, 24);
|
||||||
this.ApplicationsToolStripMenuItem.Text = "Applications";
|
this.ApplicationsToolStripMenuItem.Text = "Applications";
|
||||||
this.ApplicationsToolStripMenuItem.TextDirection = System.Windows.Forms.ToolStripTextDirection.Horizontal;
|
this.ApplicationsToolStripMenuItem.TextDirection = ShiftUI.ToolStripTextDirection.Horizontal;
|
||||||
this.ApplicationsToolStripMenuItem.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage;
|
this.ApplicationsToolStripMenuItem.TextImageRelation = ShiftUI.TextImageRelation.TextBeforeImage;
|
||||||
//
|
//
|
||||||
// KnowledgeInputToolStripMenuItem
|
// KnowledgeInputToolStripMenuItem
|
||||||
//
|
//
|
||||||
|
@ -374,8 +374,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// Label1
|
// Label1
|
||||||
//
|
//
|
||||||
this.Label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.Label1.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| 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.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.Location = new System.Drawing.Point(4, 6);
|
||||||
this.Label1.Name = "Label1";
|
this.Label1.Name = "Label1";
|
||||||
|
@ -386,13 +386,13 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// pnlwindowpreview
|
// pnlwindowpreview
|
||||||
//
|
//
|
||||||
this.pnlwindowpreview.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.pnlwindowpreview.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.pnlwindowpreview.Controls.Add(this.prepgcontent);
|
this.pnlwindowpreview.Widgets.Add(this.prepgcontent);
|
||||||
this.pnlwindowpreview.Controls.Add(this.prepgbottom);
|
this.pnlwindowpreview.Widgets.Add(this.prepgbottom);
|
||||||
this.pnlwindowpreview.Controls.Add(this.prepgleft);
|
this.pnlwindowpreview.Widgets.Add(this.prepgleft);
|
||||||
this.pnlwindowpreview.Controls.Add(this.prepgright);
|
this.pnlwindowpreview.Widgets.Add(this.prepgright);
|
||||||
this.pnlwindowpreview.Controls.Add(this.pretitlebar);
|
this.pnlwindowpreview.Widgets.Add(this.pretitlebar);
|
||||||
this.pnlwindowpreview.Location = new System.Drawing.Point(13, 39);
|
this.pnlwindowpreview.Location = new System.Drawing.Point(13, 39);
|
||||||
this.pnlwindowpreview.Name = "pnlwindowpreview";
|
this.pnlwindowpreview.Name = "pnlwindowpreview";
|
||||||
this.pnlwindowpreview.Size = new System.Drawing.Size(448, 148);
|
this.pnlwindowpreview.Size = new System.Drawing.Size(448, 148);
|
||||||
|
@ -400,7 +400,7 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// prepgcontent
|
// 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.Location = new System.Drawing.Point(2, 30);
|
||||||
this.prepgcontent.Name = "prepgcontent";
|
this.prepgcontent.Name = "prepgcontent";
|
||||||
this.prepgcontent.Size = new System.Drawing.Size(444, 116);
|
this.prepgcontent.Size = new System.Drawing.Size(444, 116);
|
||||||
|
@ -409,7 +409,7 @@ namespace ShiftOS
|
||||||
// prepgbottom
|
// prepgbottom
|
||||||
//
|
//
|
||||||
this.prepgbottom.BackColor = System.Drawing.Color.Gray;
|
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.Location = new System.Drawing.Point(2, 146);
|
||||||
this.prepgbottom.Name = "prepgbottom";
|
this.prepgbottom.Name = "prepgbottom";
|
||||||
this.prepgbottom.Size = new System.Drawing.Size(444, 2);
|
this.prepgbottom.Size = new System.Drawing.Size(444, 2);
|
||||||
|
@ -418,8 +418,8 @@ namespace ShiftOS
|
||||||
// prepgleft
|
// prepgleft
|
||||||
//
|
//
|
||||||
this.prepgleft.BackColor = System.Drawing.Color.Gray;
|
this.prepgleft.BackColor = System.Drawing.Color.Gray;
|
||||||
this.prepgleft.Controls.Add(this.prepgbottomlcorner);
|
this.prepgleft.Widgets.Add(this.prepgbottomlcorner);
|
||||||
this.prepgleft.Dock = System.Windows.Forms.DockStyle.Left;
|
this.prepgleft.Dock = ShiftUI.DockStyle.Left;
|
||||||
this.prepgleft.Location = new System.Drawing.Point(0, 30);
|
this.prepgleft.Location = new System.Drawing.Point(0, 30);
|
||||||
this.prepgleft.Name = "prepgleft";
|
this.prepgleft.Name = "prepgleft";
|
||||||
this.prepgleft.Size = new System.Drawing.Size(2, 118);
|
this.prepgleft.Size = new System.Drawing.Size(2, 118);
|
||||||
|
@ -428,7 +428,7 @@ namespace ShiftOS
|
||||||
// prepgbottomlcorner
|
// prepgbottomlcorner
|
||||||
//
|
//
|
||||||
this.prepgbottomlcorner.BackColor = System.Drawing.Color.Red;
|
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.Location = new System.Drawing.Point(0, 116);
|
||||||
this.prepgbottomlcorner.Name = "prepgbottomlcorner";
|
this.prepgbottomlcorner.Name = "prepgbottomlcorner";
|
||||||
this.prepgbottomlcorner.Size = new System.Drawing.Size(2, 2);
|
this.prepgbottomlcorner.Size = new System.Drawing.Size(2, 2);
|
||||||
|
@ -437,8 +437,8 @@ namespace ShiftOS
|
||||||
// prepgright
|
// prepgright
|
||||||
//
|
//
|
||||||
this.prepgright.BackColor = System.Drawing.Color.Gray;
|
this.prepgright.BackColor = System.Drawing.Color.Gray;
|
||||||
this.prepgright.Controls.Add(this.prepgbottomrcorner);
|
this.prepgright.Widgets.Add(this.prepgbottomrcorner);
|
||||||
this.prepgright.Dock = System.Windows.Forms.DockStyle.Right;
|
this.prepgright.Dock = ShiftUI.DockStyle.Right;
|
||||||
this.prepgright.Location = new System.Drawing.Point(446, 30);
|
this.prepgright.Location = new System.Drawing.Point(446, 30);
|
||||||
this.prepgright.Name = "prepgright";
|
this.prepgright.Name = "prepgright";
|
||||||
this.prepgright.Size = new System.Drawing.Size(2, 118);
|
this.prepgright.Size = new System.Drawing.Size(2, 118);
|
||||||
|
@ -447,7 +447,7 @@ namespace ShiftOS
|
||||||
// prepgbottomrcorner
|
// prepgbottomrcorner
|
||||||
//
|
//
|
||||||
this.prepgbottomrcorner.BackColor = System.Drawing.Color.Red;
|
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.Location = new System.Drawing.Point(0, 116);
|
||||||
this.prepgbottomrcorner.Name = "prepgbottomrcorner";
|
this.prepgbottomrcorner.Name = "prepgbottomrcorner";
|
||||||
this.prepgbottomrcorner.Size = new System.Drawing.Size(2, 2);
|
this.prepgbottomrcorner.Size = new System.Drawing.Size(2, 2);
|
||||||
|
@ -456,14 +456,14 @@ namespace ShiftOS
|
||||||
// pretitlebar
|
// pretitlebar
|
||||||
//
|
//
|
||||||
this.pretitlebar.BackColor = System.Drawing.Color.Gray;
|
this.pretitlebar.BackColor = System.Drawing.Color.Gray;
|
||||||
this.pretitlebar.Controls.Add(this.preminimizebutton);
|
this.pretitlebar.Widgets.Add(this.preminimizebutton);
|
||||||
this.pretitlebar.Controls.Add(this.prepnlicon);
|
this.pretitlebar.Widgets.Add(this.prepnlicon);
|
||||||
this.pretitlebar.Controls.Add(this.prerollupbutton);
|
this.pretitlebar.Widgets.Add(this.prerollupbutton);
|
||||||
this.pretitlebar.Controls.Add(this.preclosebutton);
|
this.pretitlebar.Widgets.Add(this.preclosebutton);
|
||||||
this.pretitlebar.Controls.Add(this.pretitletext);
|
this.pretitlebar.Widgets.Add(this.pretitletext);
|
||||||
this.pretitlebar.Controls.Add(this.prepgtoplcorner);
|
this.pretitlebar.Widgets.Add(this.prepgtoplcorner);
|
||||||
this.pretitlebar.Controls.Add(this.prepgtoprcorner);
|
this.pretitlebar.Widgets.Add(this.prepgtoprcorner);
|
||||||
this.pretitlebar.Dock = System.Windows.Forms.DockStyle.Top;
|
this.pretitlebar.Dock = ShiftUI.DockStyle.Top;
|
||||||
this.pretitlebar.ForeColor = System.Drawing.Color.White;
|
this.pretitlebar.ForeColor = System.Drawing.Color.White;
|
||||||
this.pretitlebar.Location = new System.Drawing.Point(0, 0);
|
this.pretitlebar.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pretitlebar.Name = "pretitlebar";
|
this.pretitlebar.Name = "pretitlebar";
|
||||||
|
@ -519,7 +519,7 @@ namespace ShiftOS
|
||||||
// prepgtoplcorner
|
// prepgtoplcorner
|
||||||
//
|
//
|
||||||
this.prepgtoplcorner.BackColor = System.Drawing.Color.Red;
|
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.Location = new System.Drawing.Point(0, 0);
|
||||||
this.prepgtoplcorner.Name = "prepgtoplcorner";
|
this.prepgtoplcorner.Name = "prepgtoplcorner";
|
||||||
this.prepgtoplcorner.Size = new System.Drawing.Size(2, 30);
|
this.prepgtoplcorner.Size = new System.Drawing.Size(2, 30);
|
||||||
|
@ -528,7 +528,7 @@ namespace ShiftOS
|
||||||
// prepgtoprcorner
|
// prepgtoprcorner
|
||||||
//
|
//
|
||||||
this.prepgtoprcorner.BackColor = System.Drawing.Color.Red;
|
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.Location = new System.Drawing.Point(446, 0);
|
||||||
this.prepgtoprcorner.Name = "prepgtoprcorner";
|
this.prepgtoprcorner.Name = "prepgtoprcorner";
|
||||||
this.prepgtoprcorner.Size = new System.Drawing.Size(2, 30);
|
this.prepgtoprcorner.Size = new System.Drawing.Size(2, 30);
|
||||||
|
@ -537,15 +537,15 @@ namespace ShiftOS
|
||||||
// pnlskinpacks
|
// pnlskinpacks
|
||||||
//
|
//
|
||||||
this.pnlskinpacks.BackColor = System.Drawing.Color.White;
|
this.pnlskinpacks.BackColor = System.Drawing.Color.White;
|
||||||
this.pnlskinpacks.Controls.Add(this.btnapplypackskin);
|
this.pnlskinpacks.Widgets.Add(this.btnapplypackskin);
|
||||||
this.pnlskinpacks.Controls.Add(this.label6);
|
this.pnlskinpacks.Widgets.Add(this.label6);
|
||||||
this.pnlskinpacks.Controls.Add(this.cbpackfiles);
|
this.pnlskinpacks.Widgets.Add(this.cbpackfiles);
|
||||||
this.pnlskinpacks.Controls.Add(this.btnbrowse);
|
this.pnlskinpacks.Widgets.Add(this.btnbrowse);
|
||||||
this.pnlskinpacks.Controls.Add(this.txtpackpath);
|
this.pnlskinpacks.Widgets.Add(this.txtpackpath);
|
||||||
this.pnlskinpacks.Controls.Add(this.btnbacktoskinloader);
|
this.pnlskinpacks.Widgets.Add(this.btnbacktoskinloader);
|
||||||
this.pnlskinpacks.Controls.Add(this.label5);
|
this.pnlskinpacks.Widgets.Add(this.label5);
|
||||||
this.pnlskinpacks.Controls.Add(this.label4);
|
this.pnlskinpacks.Widgets.Add(this.label4);
|
||||||
this.pnlskinpacks.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pnlskinpacks.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pnlskinpacks.Location = new System.Drawing.Point(0, 0);
|
this.pnlskinpacks.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pnlskinpacks.Name = "pnlskinpacks";
|
this.pnlskinpacks.Name = "pnlskinpacks";
|
||||||
this.pnlskinpacks.Size = new System.Drawing.Size(476, 462);
|
this.pnlskinpacks.Size = new System.Drawing.Size(476, 462);
|
||||||
|
@ -553,8 +553,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnapplypackskin
|
// btnapplypackskin
|
||||||
//
|
//
|
||||||
this.btnapplypackskin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.btnapplypackskin.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.btnapplypackskin.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnapplypackskin.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnapplypackskin.Location = new System.Drawing.Point(379, 418);
|
this.btnapplypackskin.Location = new System.Drawing.Point(379, 418);
|
||||||
this.btnapplypackskin.Name = "btnapplypackskin";
|
this.btnapplypackskin.Name = "btnapplypackskin";
|
||||||
this.btnapplypackskin.Size = new System.Drawing.Size(94, 41);
|
this.btnapplypackskin.Size = new System.Drawing.Size(94, 41);
|
||||||
|
@ -583,8 +583,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnbrowse
|
// btnbrowse
|
||||||
//
|
//
|
||||||
this.btnbrowse.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
this.btnbrowse.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Right)));
|
||||||
this.btnbrowse.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnbrowse.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnbrowse.Location = new System.Drawing.Point(389, 138);
|
this.btnbrowse.Location = new System.Drawing.Point(389, 138);
|
||||||
this.btnbrowse.Name = "btnbrowse";
|
this.btnbrowse.Name = "btnbrowse";
|
||||||
this.btnbrowse.Size = new System.Drawing.Size(75, 23);
|
this.btnbrowse.Size = new System.Drawing.Size(75, 23);
|
||||||
|
@ -595,9 +595,9 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// txtpackpath
|
// txtpackpath
|
||||||
//
|
//
|
||||||
this.txtpackpath.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.txtpackpath.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.txtpackpath.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.txtpackpath.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
|
||||||
this.txtpackpath.Location = new System.Drawing.Point(13, 141);
|
this.txtpackpath.Location = new System.Drawing.Point(13, 141);
|
||||||
this.txtpackpath.Name = "txtpackpath";
|
this.txtpackpath.Name = "txtpackpath";
|
||||||
this.txtpackpath.Size = new System.Drawing.Size(370, 20);
|
this.txtpackpath.Size = new System.Drawing.Size(370, 20);
|
||||||
|
@ -605,8 +605,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// btnbacktoskinloader
|
// btnbacktoskinloader
|
||||||
//
|
//
|
||||||
this.btnbacktoskinloader.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
this.btnbacktoskinloader.Anchor = ((ShiftUI.AnchorStyles)((ShiftUI.AnchorStyles.Bottom | ShiftUI.AnchorStyles.Left)));
|
||||||
this.btnbacktoskinloader.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnbacktoskinloader.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnbacktoskinloader.Location = new System.Drawing.Point(3, 418);
|
this.btnbacktoskinloader.Location = new System.Drawing.Point(3, 418);
|
||||||
this.btnbacktoskinloader.Name = "btnbacktoskinloader";
|
this.btnbacktoskinloader.Name = "btnbacktoskinloader";
|
||||||
this.btnbacktoskinloader.Size = new System.Drawing.Size(94, 41);
|
this.btnbacktoskinloader.Size = new System.Drawing.Size(94, 41);
|
||||||
|
@ -617,8 +617,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// label5
|
// label5
|
||||||
//
|
//
|
||||||
this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.label5.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||||
this.label5.Location = new System.Drawing.Point(5, 28);
|
this.label5.Location = new System.Drawing.Point(5, 28);
|
||||||
this.label5.Name = "label5";
|
this.label5.Name = "label5";
|
||||||
|
@ -629,8 +629,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// label4
|
// label4
|
||||||
//
|
//
|
||||||
this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.label4.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
||||||
this.label4.Location = new System.Drawing.Point(3, 6);
|
this.label4.Location = new System.Drawing.Point(3, 6);
|
||||||
this.label4.Name = "label4";
|
this.label4.Name = "label4";
|
||||||
|
@ -641,9 +641,9 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.Controls.Add(this.pgcontents);
|
this.panel1.Widgets.Add(this.pgcontents);
|
||||||
this.panel1.Controls.Add(this.pnlskinpacks);
|
this.panel1.Widgets.Add(this.pnlskinpacks);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(476, 462);
|
this.panel1.Size = new System.Drawing.Size(476, 462);
|
||||||
|
@ -652,10 +652,10 @@ namespace ShiftOS
|
||||||
// SkinLoader
|
// SkinLoader
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(476, 462);
|
||||||
this.Controls.Add(this.panel1);
|
this.Widgets.Add(this.panel1);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
|
||||||
this.Name = "SkinLoader";
|
this.Name = "SkinLoader";
|
||||||
this.Text = "Skin_Loader";
|
this.Text = "Skin_Loader";
|
||||||
this.TopMost = true;
|
this.TopMost = true;
|
||||||
|
@ -684,56 +684,56 @@ namespace ShiftOS
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
internal System.Windows.Forms.Panel pgcontents;
|
internal ShiftUI.Panel pgcontents;
|
||||||
internal System.Windows.Forms.Label Label1;
|
internal ShiftUI.Label Label1;
|
||||||
internal System.Windows.Forms.Panel pnlwindowpreview;
|
internal ShiftUI.Panel pnlwindowpreview;
|
||||||
internal System.Windows.Forms.Panel prepgcontent;
|
internal ShiftUI.Panel prepgcontent;
|
||||||
internal System.Windows.Forms.Panel prepgbottom;
|
internal ShiftUI.Panel prepgbottom;
|
||||||
internal System.Windows.Forms.Panel prepgleft;
|
internal ShiftUI.Panel prepgleft;
|
||||||
internal System.Windows.Forms.Panel prepgbottomlcorner;
|
internal ShiftUI.Panel prepgbottomlcorner;
|
||||||
internal System.Windows.Forms.Panel prepgright;
|
internal ShiftUI.Panel prepgright;
|
||||||
internal System.Windows.Forms.Panel prepgbottomrcorner;
|
internal ShiftUI.Panel prepgbottomrcorner;
|
||||||
internal System.Windows.Forms.Panel pretitlebar;
|
internal ShiftUI.Panel pretitlebar;
|
||||||
internal System.Windows.Forms.PictureBox prepnlicon;
|
internal ShiftUI.PictureBox prepnlicon;
|
||||||
internal System.Windows.Forms.Panel prerollupbutton;
|
internal ShiftUI.Panel prerollupbutton;
|
||||||
internal System.Windows.Forms.Panel preclosebutton;
|
internal ShiftUI.Panel preclosebutton;
|
||||||
internal System.Windows.Forms.Label pretitletext;
|
internal ShiftUI.Label pretitletext;
|
||||||
internal System.Windows.Forms.Panel prepgtoplcorner;
|
internal ShiftUI.Panel prepgtoplcorner;
|
||||||
internal System.Windows.Forms.Panel prepgtoprcorner;
|
internal ShiftUI.Panel prepgtoprcorner;
|
||||||
internal System.Windows.Forms.Button btnapplyskin;
|
internal ShiftUI.Button btnapplyskin;
|
||||||
internal System.Windows.Forms.Button btnsaveskin;
|
internal ShiftUI.Button btnsaveskin;
|
||||||
internal System.Windows.Forms.Button btnloadskin;
|
internal ShiftUI.Button btnloadskin;
|
||||||
internal System.Windows.Forms.Label Label2;
|
internal ShiftUI.Label Label2;
|
||||||
internal System.Windows.Forms.Button btnclose;
|
internal ShiftUI.Button btnclose;
|
||||||
internal System.Windows.Forms.Panel pnldesktoppreview;
|
internal ShiftUI.Panel pnldesktoppreview;
|
||||||
internal System.Windows.Forms.Panel predesktoppanel;
|
internal ShiftUI.Panel predesktoppanel;
|
||||||
internal System.Windows.Forms.Panel pretimepanel;
|
internal ShiftUI.Panel pretimepanel;
|
||||||
internal System.Windows.Forms.Label prepaneltimetext;
|
internal ShiftUI.Label prepaneltimetext;
|
||||||
internal System.Windows.Forms.Panel preapplaunchermenuholder;
|
internal ShiftUI.Panel preapplaunchermenuholder;
|
||||||
internal System.Windows.Forms.MenuStrip predesktopappmenu;
|
internal ShiftUI.MenuStrip predesktopappmenu;
|
||||||
internal System.Windows.Forms.ToolStripMenuItem ApplicationsToolStripMenuItem;
|
internal ShiftUI.ToolStripMenuItem ApplicationsToolStripMenuItem;
|
||||||
internal System.Windows.Forms.ToolStripMenuItem KnowledgeInputToolStripMenuItem;
|
internal ShiftUI.ToolStripMenuItem KnowledgeInputToolStripMenuItem;
|
||||||
internal System.Windows.Forms.ToolStripMenuItem ShiftoriumToolStripMenuItem;
|
internal ShiftUI.ToolStripMenuItem ShiftoriumToolStripMenuItem;
|
||||||
internal System.Windows.Forms.ToolStripMenuItem ClockToolStripMenuItem;
|
internal ShiftUI.ToolStripMenuItem ClockToolStripMenuItem;
|
||||||
internal System.Windows.Forms.ToolStripMenuItem TerminalToolStripMenuItem;
|
internal ShiftUI.ToolStripMenuItem TerminalToolStripMenuItem;
|
||||||
internal System.Windows.Forms.ToolStripMenuItem ShifterToolStripMenuItem;
|
internal ShiftUI.ToolStripMenuItem ShifterToolStripMenuItem;
|
||||||
internal System.Windows.Forms.ToolStripSeparator ToolStripSeparator1;
|
internal ShiftUI.ToolStripSeparator ToolStripSeparator1;
|
||||||
internal System.Windows.Forms.ToolStripMenuItem ShutdownToolStripMenuItem;
|
internal ShiftUI.ToolStripMenuItem ShutdownToolStripMenuItem;
|
||||||
internal System.Windows.Forms.Panel preminimizebutton;
|
internal ShiftUI.Panel preminimizebutton;
|
||||||
internal System.Windows.Forms.FlowLayoutPanel prepnlpanelbuttonholder;
|
internal ShiftUI.FlowLayoutPanel prepnlpanelbuttonholder;
|
||||||
internal System.Windows.Forms.Panel prepnlpanelbutton;
|
internal ShiftUI.Panel prepnlpanelbutton;
|
||||||
internal System.Windows.Forms.PictureBox pretbicon;
|
internal ShiftUI.PictureBox pretbicon;
|
||||||
internal System.Windows.Forms.Label pretbctext;
|
internal ShiftUI.Label pretbctext;
|
||||||
private System.Windows.Forms.Label label3;
|
private ShiftUI.Label label3;
|
||||||
private System.Windows.Forms.Panel pnlskinpacks;
|
private ShiftUI.Panel pnlskinpacks;
|
||||||
private System.Windows.Forms.Button btnbacktoskinloader;
|
private ShiftUI.Button btnbacktoskinloader;
|
||||||
private System.Windows.Forms.Label label5;
|
private ShiftUI.Label label5;
|
||||||
private System.Windows.Forms.Label label4;
|
private ShiftUI.Label label4;
|
||||||
private System.Windows.Forms.Button btnbrowse;
|
private ShiftUI.Button btnbrowse;
|
||||||
private System.Windows.Forms.TextBox txtpackpath;
|
private ShiftUI.TextBox txtpackpath;
|
||||||
private System.Windows.Forms.Label label6;
|
private ShiftUI.Label label6;
|
||||||
private System.Windows.Forms.ComboBox cbpackfiles;
|
private ShiftUI.ComboBox cbpackfiles;
|
||||||
private System.Windows.Forms.Button btnapplypackskin;
|
private ShiftUI.Button btnapplypackskin;
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -8,7 +8,7 @@ using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<metadata name="predesktopappmenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="predesktopappmenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
|
|
|
@ -31,24 +31,24 @@ namespace ShiftOS
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
this.txtterm = new System.Windows.Forms.TextBox();
|
this.txtterm = new ShiftUI.TextBox();
|
||||||
this.tmrfirstrun = new System.Windows.Forms.Timer(this.components);
|
this.tmrfirstrun = new ShiftUI.Timer(this.components);
|
||||||
this.tmrshutdown = new System.Windows.Forms.Timer(this.components);
|
this.tmrshutdown = new ShiftUI.Timer(this.components);
|
||||||
this.pullbs = new System.Windows.Forms.Timer(this.components);
|
this.pullbs = new ShiftUI.Timer(this.components);
|
||||||
this.pullbottom = new System.Windows.Forms.Timer(this.components);
|
this.pullbottom = new ShiftUI.Timer(this.components);
|
||||||
this.pullside = new System.Windows.Forms.Timer(this.components);
|
this.pullside = new ShiftUI.Timer(this.components);
|
||||||
this.tmrstorylineupdate = new System.Windows.Forms.Timer(this.components);
|
this.tmrstorylineupdate = new ShiftUI.Timer(this.components);
|
||||||
this.panel2 = new System.Windows.Forms.Panel();
|
this.panel2 = new ShiftUI.Panel();
|
||||||
this.tmrsetfont = new System.Windows.Forms.Timer(this.components);
|
this.tmrsetfont = new ShiftUI.Timer(this.components);
|
||||||
this.panel2.SuspendLayout();
|
this.panel2.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// txtterm
|
// txtterm
|
||||||
//
|
//
|
||||||
this.txtterm.BackColor = System.Drawing.Color.Black;
|
this.txtterm.BackColor = System.Drawing.Color.Black;
|
||||||
this.txtterm.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
this.txtterm.BorderStyle = ShiftUI.BorderStyle.None;
|
||||||
this.txtterm.Cursor = System.Windows.Forms.Cursors.IBeam;
|
this.txtterm.Cursor = ShiftUI.Cursors.IBeam;
|
||||||
this.txtterm.Dock = System.Windows.Forms.DockStyle.Fill;
|
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.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.ForeColor = System.Drawing.Color.White;
|
||||||
this.txtterm.Location = new System.Drawing.Point(0, 0);
|
this.txtterm.Location = new System.Drawing.Point(0, 0);
|
||||||
|
@ -56,8 +56,8 @@ namespace ShiftOS
|
||||||
this.txtterm.Name = "txtterm";
|
this.txtterm.Name = "txtterm";
|
||||||
this.txtterm.Size = new System.Drawing.Size(650, 396);
|
this.txtterm.Size = new System.Drawing.Size(650, 396);
|
||||||
this.txtterm.TabIndex = 0;
|
this.txtterm.TabIndex = 0;
|
||||||
this.txtterm.KeyUp += new System.Windows.Forms.KeyEventHandler(this.ScrollDeactivate);
|
this.txtterm.KeyUp += new ShiftUI.KeyEventHandler(this.ScrollDeactivate);
|
||||||
this.txtterm.MouseMove += new System.Windows.Forms.MouseEventHandler(this.ScrollTerm);
|
this.txtterm.MouseMove += new ShiftUI.MouseEventHandler(this.ScrollTerm);
|
||||||
//
|
//
|
||||||
// tmrfirstrun
|
// tmrfirstrun
|
||||||
//
|
//
|
||||||
|
@ -81,8 +81,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// panel2
|
// panel2
|
||||||
//
|
//
|
||||||
this.panel2.Controls.Add(this.txtterm);
|
this.panel2.Widgets.Add(this.txtterm);
|
||||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel2.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel2.Location = new System.Drawing.Point(0, 0);
|
this.panel2.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel2.Name = "panel2";
|
this.panel2.Name = "panel2";
|
||||||
this.panel2.Size = new System.Drawing.Size(650, 396);
|
this.panel2.Size = new System.Drawing.Size(650, 396);
|
||||||
|
@ -95,11 +95,11 @@ namespace ShiftOS
|
||||||
// Terminal
|
// Terminal
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.BackColor = System.Drawing.Color.Black;
|
||||||
this.ClientSize = new System.Drawing.Size(650, 396);
|
this.ClientSize = new System.Drawing.Size(650, 396);
|
||||||
this.Controls.Add(this.panel2);
|
this.Widgets.Add(this.panel2);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
|
||||||
this.KeyPreview = true;
|
this.KeyPreview = true;
|
||||||
this.MinimumSize = new System.Drawing.Size(350, 200);
|
this.MinimumSize = new System.Drawing.Size(350, 200);
|
||||||
this.Name = "Terminal";
|
this.Name = "Terminal";
|
||||||
|
@ -111,16 +111,16 @@ namespace ShiftOS
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
internal System.Windows.Forms.TextBox txtterm;
|
internal ShiftUI.TextBox txtterm;
|
||||||
internal System.Windows.Forms.Timer tmrfirstrun;
|
internal ShiftUI.Timer tmrfirstrun;
|
||||||
internal System.Windows.Forms.Timer tmrshutdown;
|
internal ShiftUI.Timer tmrshutdown;
|
||||||
internal System.Windows.Forms.Timer pullbs;
|
internal ShiftUI.Timer pullbs;
|
||||||
internal System.Windows.Forms.Timer pullbottom;
|
internal ShiftUI.Timer pullbottom;
|
||||||
internal System.Windows.Forms.Timer pullside;
|
internal ShiftUI.Timer pullside;
|
||||||
internal System.Windows.Forms.Timer tmrstorylineupdate;
|
internal ShiftUI.Timer tmrstorylineupdate;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
private System.Windows.Forms.Panel panel2;
|
private ShiftUI.Panel panel2;
|
||||||
private System.Windows.Forms.Timer tmrsetfont;
|
private ShiftUI.Timer tmrsetfont;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -13,7 +13,7 @@ using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
@ -37,7 +37,7 @@ namespace ShiftOS
|
||||||
|
|
||||||
public void StartOtherPlayerStory()
|
public void StartOtherPlayerStory()
|
||||||
{
|
{
|
||||||
var t = new System.Windows.Forms.Timer();
|
var t = new ShiftUI.Timer();
|
||||||
t.Interval = 4000;
|
t.Interval = 4000;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
t.Tick += (object s, EventArgs a) =>
|
t.Tick += (object s, EventArgs a) =>
|
||||||
|
@ -160,7 +160,7 @@ namespace ShiftOS
|
||||||
{
|
{
|
||||||
if(ModLogger == true)
|
if(ModLogger == true)
|
||||||
{
|
{
|
||||||
var tmrlog = new System.Windows.Forms.Timer();
|
var tmrlog = new ShiftUI.Timer();
|
||||||
tmrlog.Interval = 500;
|
tmrlog.Interval = 500;
|
||||||
tmrlog.Tick += (object s, EventArgs a) =>
|
tmrlog.Tick += (object s, EventArgs a) =>
|
||||||
{
|
{
|
||||||
|
@ -242,16 +242,16 @@ namespace ShiftOS
|
||||||
}
|
}
|
||||||
|
|
||||||
// ERROR: Handles clauses are not supported in C#
|
// 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)
|
if(API.Upgrades["zoomableterminal"] == true)
|
||||||
{
|
{
|
||||||
Zooming = true;
|
Zooming = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e.KeyCode == Keys.T && e.Control && blockctrlt == false)
|
if (e.KeyCode == Keys.T && e.Widget && blockctrlt == false)
|
||||||
{
|
{
|
||||||
this.Close();
|
this.Close();
|
||||||
e.SuppressKeyPress = true;
|
e.SuppressKeyPress = true;
|
||||||
|
@ -590,7 +590,7 @@ Password: z7fjsd3");
|
||||||
|
|
||||||
internal void StartBridgeToMidGame()
|
internal void StartBridgeToMidGame()
|
||||||
{
|
{
|
||||||
var t2 = new System.Windows.Forms.Timer();
|
var t2 = new ShiftUI.Timer();
|
||||||
t2.Interval = 4000;
|
t2.Interval = 4000;
|
||||||
int i2 = 0;
|
int i2 = 0;
|
||||||
t2.Tick += (object s, EventArgs e) =>
|
t2.Tick += (object s, EventArgs e) =>
|
||||||
|
@ -657,7 +657,7 @@ Password: z7fjsd3");
|
||||||
i2 += 1;
|
i2 += 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
var t = new System.Windows.Forms.Timer();
|
var t = new ShiftUI.Timer();
|
||||||
t.Interval = 4000;
|
t.Interval = 4000;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
|
@ -815,7 +815,7 @@ Password: z7fjsd3");
|
||||||
|
|
||||||
internal void StartAidenNirhStory()
|
internal void StartAidenNirhStory()
|
||||||
{
|
{
|
||||||
var t = new System.Windows.Forms.Timer();
|
var t = new ShiftUI.Timer();
|
||||||
t.Interval = 4000;
|
t.Interval = 4000;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
t.Tick += (object s, EventArgs a) =>
|
t.Tick += (object s, EventArgs a) =>
|
||||||
|
@ -853,7 +853,7 @@ Password: z7fjsd3");
|
||||||
|
|
||||||
internal void StartHacker101Story()
|
internal void StartHacker101Story()
|
||||||
{
|
{
|
||||||
var t = new System.Windows.Forms.Timer();
|
var t = new ShiftUI.Timer();
|
||||||
t.Interval = 4000;
|
t.Interval = 4000;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
|
@ -943,7 +943,7 @@ Password: z7fjsd3");
|
||||||
|
|
||||||
internal void StartOtherPlayerSysFix()
|
internal void StartOtherPlayerSysFix()
|
||||||
{
|
{
|
||||||
var t = new System.Windows.Forms.Timer();
|
var t = new ShiftUI.Timer();
|
||||||
t.Interval = 4000;
|
t.Interval = 4000;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
t.Tick += (object s, EventArgs a) =>
|
t.Tick += (object s, EventArgs a) =>
|
||||||
|
@ -1051,7 +1051,7 @@ Password: z7fjsd3");
|
||||||
|
|
||||||
internal void StartHackerBattleIntro()
|
internal void StartHackerBattleIntro()
|
||||||
{
|
{
|
||||||
var t = new System.Windows.Forms.Timer();
|
var t = new ShiftUI.Timer();
|
||||||
t.Interval = 4000;
|
t.Interval = 4000;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
t.Tick += (object s, EventArgs a) =>
|
t.Tick += (object s, EventArgs a) =>
|
||||||
|
@ -1142,7 +1142,7 @@ Password: z7fjsd3");
|
||||||
|
|
||||||
internal void StartDevXFuriousStory()
|
internal void StartDevXFuriousStory()
|
||||||
{
|
{
|
||||||
var t = new System.Windows.Forms.Timer();
|
var t = new ShiftUI.Timer();
|
||||||
t.Interval = 4000;
|
t.Interval = 4000;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
t.Tick += (object s, EventArgs a) =>
|
t.Tick += (object s, EventArgs a) =>
|
||||||
|
@ -1235,7 +1235,7 @@ Password: z7fjsd3");
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void StartShiftnetStory()
|
public void StartShiftnetStory()
|
||||||
{
|
{
|
||||||
System.Windows.Forms.Timer tmrstory = new System.Windows.Forms.Timer();
|
ShiftUI.Timer tmrstory = new ShiftUI.Timer();
|
||||||
tmrstory.Interval = 10000;
|
tmrstory.Interval = 10000;
|
||||||
WriteLine("IP <hidden@shiftnet> connecting as 'Maureen Fenn'...");
|
WriteLine("IP <hidden@shiftnet> connecting as 'Maureen Fenn'...");
|
||||||
API.PlaySound(Properties.Resources.dial_up_modem_02);
|
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()
|
private void StartChoice1EndStory()
|
||||||
{
|
{
|
||||||
var t = new System.Windows.Forms.Timer();
|
var t = new ShiftUI.Timer();
|
||||||
int i = 0;
|
int i = 0;
|
||||||
t.Interval = 4000;
|
t.Interval = 4000;
|
||||||
t.Tick += (object s, EventArgs a) =>
|
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(Environment.NewLine);
|
||||||
WriteLine("PANIC_ID: 750_15_4W3S0M3");
|
WriteLine("PANIC_ID: 750_15_4W3S0M3");
|
||||||
WriteLine("PANIC_DESC: System became too unstable to function properly. In 5 seconds, your session will be resumed.");
|
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;
|
t.Interval = 1000;
|
||||||
int p = 0;
|
int p = 0;
|
||||||
t.Tick += (object s, EventArgs a) =>
|
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;
|
bool Hacking = false;
|
||||||
|
|
||||||
private Control objToWriteTo = null;
|
private Widget objToWriteTo = null;
|
||||||
private string UpgradeToHack = null;
|
private string UpgradeToHack = null;
|
||||||
|
|
||||||
public void StartHackingSession(string id)
|
public void StartHackingSession(string id)
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<metadata name="tmrfirstrun.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="tmrfirstrun.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
@ -26,25 +26,25 @@ namespace ShiftOS
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
this.pgcontents = new System.Windows.Forms.Panel();
|
this.pgcontents = new ShiftUI.Panel();
|
||||||
this.txtuserinput = new System.Windows.Forms.TextBox();
|
this.txtuserinput = new ShiftUI.TextBox();
|
||||||
this.pnlbreak = new System.Windows.Forms.Panel();
|
this.pnlbreak = new ShiftUI.Panel();
|
||||||
this.pnloptions = new System.Windows.Forms.Panel();
|
this.pnloptions = new ShiftUI.Panel();
|
||||||
this.btnsave = new System.Windows.Forms.Button();
|
this.btnsave = new ShiftUI.Button();
|
||||||
this.btnopen = new System.Windows.Forms.Button();
|
this.btnopen = new ShiftUI.Button();
|
||||||
this.btnnew = new System.Windows.Forms.Button();
|
this.btnnew = new ShiftUI.Button();
|
||||||
this.tmrcodepointcooldown = new System.Windows.Forms.Timer(this.components);
|
this.tmrcodepointcooldown = new ShiftUI.Timer(this.components);
|
||||||
this.tmrshowearnedcodepoints = new System.Windows.Forms.Timer(this.components);
|
this.tmrshowearnedcodepoints = new ShiftUI.Timer(this.components);
|
||||||
this.pgcontents.SuspendLayout();
|
this.pgcontents.SuspendLayout();
|
||||||
this.pnloptions.SuspendLayout();
|
this.pnloptions.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// pgcontents
|
// pgcontents
|
||||||
//
|
//
|
||||||
this.pgcontents.Controls.Add(this.txtuserinput);
|
this.pgcontents.Widgets.Add(this.txtuserinput);
|
||||||
this.pgcontents.Controls.Add(this.pnlbreak);
|
this.pgcontents.Widgets.Add(this.pnlbreak);
|
||||||
this.pgcontents.Controls.Add(this.pnloptions);
|
this.pgcontents.Widgets.Add(this.pnloptions);
|
||||||
this.pgcontents.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.pgcontents.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
this.pgcontents.Location = new System.Drawing.Point(0, 0);
|
||||||
this.pgcontents.Name = "pgcontents";
|
this.pgcontents.Name = "pgcontents";
|
||||||
this.pgcontents.Size = new System.Drawing.Size(530, 330);
|
this.pgcontents.Size = new System.Drawing.Size(530, 330);
|
||||||
|
@ -52,17 +52,17 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
// txtuserinput
|
// txtuserinput
|
||||||
//
|
//
|
||||||
this.txtuserinput.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.txtuserinput.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.txtuserinput.BackColor = System.Drawing.Color.White;
|
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.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.ForeColor = System.Drawing.Color.Black;
|
||||||
this.txtuserinput.Location = new System.Drawing.Point(4, 2);
|
this.txtuserinput.Location = new System.Drawing.Point(4, 2);
|
||||||
this.txtuserinput.Multiline = true;
|
this.txtuserinput.Multiline = true;
|
||||||
this.txtuserinput.Name = "txtuserinput";
|
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.Size = new System.Drawing.Size(528, 272);
|
||||||
this.txtuserinput.TabIndex = 0;
|
this.txtuserinput.TabIndex = 0;
|
||||||
//
|
//
|
||||||
|
@ -70,8 +70,8 @@ namespace ShiftOS
|
||||||
//
|
//
|
||||||
this.pnlbreak.BackColor = System.Drawing.Color.White;
|
this.pnlbreak.BackColor = System.Drawing.Color.White;
|
||||||
this.pnlbreak.BackgroundImage = global::ShiftOS.Properties.Resources.uparrow;
|
this.pnlbreak.BackgroundImage = global::ShiftOS.Properties.Resources.uparrow;
|
||||||
this.pnlbreak.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
this.pnlbreak.BackgroundImageLayout = ShiftUI.ImageLayout.Center;
|
||||||
this.pnlbreak.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.pnlbreak.Dock = ShiftUI.DockStyle.Bottom;
|
||||||
this.pnlbreak.ForeColor = System.Drawing.Color.Black;
|
this.pnlbreak.ForeColor = System.Drawing.Color.Black;
|
||||||
this.pnlbreak.Location = new System.Drawing.Point(0, 277);
|
this.pnlbreak.Location = new System.Drawing.Point(0, 277);
|
||||||
this.pnlbreak.Name = "pnlbreak";
|
this.pnlbreak.Name = "pnlbreak";
|
||||||
|
@ -81,10 +81,10 @@ namespace ShiftOS
|
||||||
// pnloptions
|
// pnloptions
|
||||||
//
|
//
|
||||||
this.pnloptions.BackColor = System.Drawing.Color.White;
|
this.pnloptions.BackColor = System.Drawing.Color.White;
|
||||||
this.pnloptions.Controls.Add(this.btnsave);
|
this.pnloptions.Widgets.Add(this.btnsave);
|
||||||
this.pnloptions.Controls.Add(this.btnopen);
|
this.pnloptions.Widgets.Add(this.btnopen);
|
||||||
this.pnloptions.Controls.Add(this.btnnew);
|
this.pnloptions.Widgets.Add(this.btnnew);
|
||||||
this.pnloptions.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.pnloptions.Dock = ShiftUI.DockStyle.Bottom;
|
||||||
this.pnloptions.Location = new System.Drawing.Point(0, 292);
|
this.pnloptions.Location = new System.Drawing.Point(0, 292);
|
||||||
this.pnloptions.Name = "pnloptions";
|
this.pnloptions.Name = "pnloptions";
|
||||||
this.pnloptions.Size = new System.Drawing.Size(530, 38);
|
this.pnloptions.Size = new System.Drawing.Size(530, 38);
|
||||||
|
@ -94,7 +94,7 @@ namespace ShiftOS
|
||||||
// btnsave
|
// btnsave
|
||||||
//
|
//
|
||||||
this.btnsave.BackColor = System.Drawing.Color.White;
|
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.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.Image = global::ShiftOS.Properties.Resources.saveicon;
|
||||||
this.btnsave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.btnsave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
@ -109,7 +109,7 @@ namespace ShiftOS
|
||||||
// btnopen
|
// btnopen
|
||||||
//
|
//
|
||||||
this.btnopen.BackColor = System.Drawing.Color.White;
|
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.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.Image = global::ShiftOS.Properties.Resources.openicon;
|
||||||
this.btnopen.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.btnopen.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
|
@ -124,7 +124,7 @@ namespace ShiftOS
|
||||||
// btnnew
|
// btnnew
|
||||||
//
|
//
|
||||||
this.btnnew.BackColor = System.Drawing.Color.White;
|
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.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.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
this.btnnew.Location = new System.Drawing.Point(4, 4);
|
this.btnnew.Location = new System.Drawing.Point(4, 4);
|
||||||
|
@ -146,11 +146,11 @@ namespace ShiftOS
|
||||||
// TextPad
|
// TextPad
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.BackColor = System.Drawing.Color.White;
|
||||||
this.ClientSize = new System.Drawing.Size(530, 330);
|
this.ClientSize = new System.Drawing.Size(530, 330);
|
||||||
this.Controls.Add(this.pgcontents);
|
this.Widgets.Add(this.pgcontents);
|
||||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
this.FormBorderStyle = ShiftUI.FormBorderStyle.None;
|
||||||
this.MinimumSize = new System.Drawing.Size(230, 230);
|
this.MinimumSize = new System.Drawing.Size(230, 230);
|
||||||
this.Name = "TextPad";
|
this.Name = "TextPad";
|
||||||
this.Text = "TextPad";
|
this.Text = "TextPad";
|
||||||
|
@ -168,14 +168,14 @@ namespace ShiftOS
|
||||||
this.tmrshowearnedcodepoints.Tick += new EventHandler(tmrshowearnedcodepoints_Tick);
|
this.tmrshowearnedcodepoints.Tick += new EventHandler(tmrshowearnedcodepoints_Tick);
|
||||||
this.pnlbreak.MouseEnter += new EventHandler(this.pnlbreak_MouseEnter);
|
this.pnlbreak.MouseEnter += new EventHandler(this.pnlbreak_MouseEnter);
|
||||||
}
|
}
|
||||||
internal System.Windows.Forms.Panel pgcontents;
|
internal ShiftUI.Panel pgcontents;
|
||||||
internal System.Windows.Forms.TextBox txtuserinput;
|
internal ShiftUI.TextBox txtuserinput;
|
||||||
internal System.Windows.Forms.Panel pnloptions;
|
internal ShiftUI.Panel pnloptions;
|
||||||
internal System.Windows.Forms.Button btnnew;
|
internal ShiftUI.Button btnnew;
|
||||||
internal System.Windows.Forms.Button btnsave;
|
internal ShiftUI.Button btnsave;
|
||||||
internal System.Windows.Forms.Button btnopen;
|
internal ShiftUI.Button btnopen;
|
||||||
internal System.Windows.Forms.Panel pnlbreak;
|
internal ShiftUI.Panel pnlbreak;
|
||||||
internal System.Windows.Forms.Timer tmrcodepointcooldown;
|
internal ShiftUI.Timer tmrcodepointcooldown;
|
||||||
internal System.Windows.Forms.Timer tmrshowearnedcodepoints;
|
internal ShiftUI.Timer tmrshowearnedcodepoints;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7,7 +7,7 @@ using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<metadata name="tmrcodepointcooldown.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="tmrcodepointcooldown.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
|
|
|
@ -29,22 +29,22 @@
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.pnlbuttons = new System.Windows.Forms.FlowLayoutPanel();
|
this.pnlbuttons = new ShiftUI.FlowLayoutPanel();
|
||||||
this.btndone = new System.Windows.Forms.Button();
|
this.btndone = new ShiftUI.Button();
|
||||||
this.btnadd = new System.Windows.Forms.Button();
|
this.btnadd = new ShiftUI.Button();
|
||||||
this.cbpanel = new System.Windows.Forms.ComboBox();
|
this.cbpanel = new ShiftUI.ComboBox();
|
||||||
this.txtwidth = new System.Windows.Forms.TextBox();
|
this.txtwidth = new ShiftUI.TextBox();
|
||||||
this.lbwidth = new System.Windows.Forms.Label();
|
this.lbwidth = new ShiftUI.Label();
|
||||||
this.txtx = new System.Windows.Forms.TextBox();
|
this.txtx = new ShiftUI.TextBox();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new ShiftUI.Label();
|
||||||
this.lbtitle = new System.Windows.Forms.Label();
|
this.lbtitle = new ShiftUI.Label();
|
||||||
this.lvwidgets = new System.Windows.Forms.ListView();
|
this.lvwidgets = new ShiftUI.ListView();
|
||||||
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.columnHeader1 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
|
||||||
this.columnHeader2 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.columnHeader2 = ((ShiftUI.ColumnHeader)(new ShiftUI.ColumnHeader()));
|
||||||
this.listView1 = new System.Windows.Forms.ListView();
|
this.listView1 = new ShiftUI.ListView();
|
||||||
this.tmrcheckvalid = new System.Windows.Forms.Timer(this.components);
|
this.tmrcheckvalid = new ShiftUI.Timer(this.components);
|
||||||
this.btninstallwidgets = new System.Windows.Forms.Button();
|
this.btninstallwidgets = new ShiftUI.Button();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
this.pnlbuttons.SuspendLayout();
|
this.pnlbuttons.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
|
@ -52,11 +52,11 @@
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.BackColor = System.Drawing.Color.White;
|
this.panel1.BackColor = System.Drawing.Color.White;
|
||||||
this.panel1.Controls.Add(this.pnlbuttons);
|
this.panel1.Widgets.Add(this.pnlbuttons);
|
||||||
this.panel1.Controls.Add(this.lbtitle);
|
this.panel1.Widgets.Add(this.lbtitle);
|
||||||
this.panel1.Controls.Add(this.lvwidgets);
|
this.panel1.Widgets.Add(this.lvwidgets);
|
||||||
this.panel1.Controls.Add(this.listView1);
|
this.panel1.Widgets.Add(this.listView1);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.ForeColor = System.Drawing.Color.Black;
|
this.panel1.ForeColor = System.Drawing.Color.Black;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
|
@ -66,16 +66,16 @@
|
||||||
// pnlbuttons
|
// pnlbuttons
|
||||||
//
|
//
|
||||||
this.pnlbuttons.BackColor = System.Drawing.Color.Gray;
|
this.pnlbuttons.BackColor = System.Drawing.Color.Gray;
|
||||||
this.pnlbuttons.Controls.Add(this.btndone);
|
this.pnlbuttons.Widgets.Add(this.btndone);
|
||||||
this.pnlbuttons.Controls.Add(this.btnadd);
|
this.pnlbuttons.Widgets.Add(this.btnadd);
|
||||||
this.pnlbuttons.Controls.Add(this.cbpanel);
|
this.pnlbuttons.Widgets.Add(this.cbpanel);
|
||||||
this.pnlbuttons.Controls.Add(this.txtwidth);
|
this.pnlbuttons.Widgets.Add(this.txtwidth);
|
||||||
this.pnlbuttons.Controls.Add(this.lbwidth);
|
this.pnlbuttons.Widgets.Add(this.lbwidth);
|
||||||
this.pnlbuttons.Controls.Add(this.txtx);
|
this.pnlbuttons.Widgets.Add(this.txtx);
|
||||||
this.pnlbuttons.Controls.Add(this.label1);
|
this.pnlbuttons.Widgets.Add(this.label1);
|
||||||
this.pnlbuttons.Controls.Add(this.btninstallwidgets);
|
this.pnlbuttons.Widgets.Add(this.btninstallwidgets);
|
||||||
this.pnlbuttons.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.pnlbuttons.Dock = ShiftUI.DockStyle.Bottom;
|
||||||
this.pnlbuttons.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
this.pnlbuttons.FlowDirection = ShiftUI.FlowDirection.RightToLeft;
|
||||||
this.pnlbuttons.ForeColor = System.Drawing.Color.White;
|
this.pnlbuttons.ForeColor = System.Drawing.Color.White;
|
||||||
this.pnlbuttons.Location = new System.Drawing.Point(0, 429);
|
this.pnlbuttons.Location = new System.Drawing.Point(0, 429);
|
||||||
this.pnlbuttons.Name = "pnlbuttons";
|
this.pnlbuttons.Name = "pnlbuttons";
|
||||||
|
@ -85,8 +85,8 @@
|
||||||
// btndone
|
// btndone
|
||||||
//
|
//
|
||||||
this.btndone.AutoSize = true;
|
this.btndone.AutoSize = true;
|
||||||
this.btndone.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btndone.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btndone.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btndone.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btndone.Location = new System.Drawing.Point(649, 3);
|
this.btndone.Location = new System.Drawing.Point(649, 3);
|
||||||
this.btndone.Name = "btndone";
|
this.btndone.Name = "btndone";
|
||||||
this.btndone.Size = new System.Drawing.Size(45, 25);
|
this.btndone.Size = new System.Drawing.Size(45, 25);
|
||||||
|
@ -98,8 +98,8 @@
|
||||||
// btnadd
|
// btnadd
|
||||||
//
|
//
|
||||||
this.btnadd.AutoSize = true;
|
this.btnadd.AutoSize = true;
|
||||||
this.btnadd.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btnadd.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btnadd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnadd.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnadd.Location = new System.Drawing.Point(605, 3);
|
this.btnadd.Location = new System.Drawing.Point(605, 3);
|
||||||
this.btnadd.Name = "btnadd";
|
this.btnadd.Name = "btnadd";
|
||||||
this.btnadd.Size = new System.Drawing.Size(38, 25);
|
this.btnadd.Size = new System.Drawing.Size(38, 25);
|
||||||
|
@ -110,8 +110,8 @@
|
||||||
//
|
//
|
||||||
// cbpanel
|
// cbpanel
|
||||||
//
|
//
|
||||||
this.cbpanel.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
this.cbpanel.DropDownStyle = ShiftUI.ComboBoxStyle.DropDownList;
|
||||||
this.cbpanel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.cbpanel.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.cbpanel.FormattingEnabled = true;
|
this.cbpanel.FormattingEnabled = true;
|
||||||
this.cbpanel.Location = new System.Drawing.Point(478, 3);
|
this.cbpanel.Location = new System.Drawing.Point(478, 3);
|
||||||
this.cbpanel.Name = "cbpanel";
|
this.cbpanel.Name = "cbpanel";
|
||||||
|
@ -152,8 +152,8 @@
|
||||||
//
|
//
|
||||||
// lbtitle
|
// lbtitle
|
||||||
//
|
//
|
||||||
this.lbtitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
this.lbtitle.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.lbtitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
this.lbtitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 13F);
|
||||||
this.lbtitle.Location = new System.Drawing.Point(12, 9);
|
this.lbtitle.Location = new System.Drawing.Point(12, 9);
|
||||||
this.lbtitle.Name = "lbtitle";
|
this.lbtitle.Name = "lbtitle";
|
||||||
|
@ -164,20 +164,20 @@
|
||||||
//
|
//
|
||||||
// lvwidgets
|
// lvwidgets
|
||||||
//
|
//
|
||||||
this.lvwidgets.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lvwidgets.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.lvwidgets.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
this.lvwidgets.Columns.AddRange(new ShiftUI.ColumnHeader[] {
|
||||||
this.columnHeader1,
|
this.columnHeader1,
|
||||||
this.columnHeader2});
|
this.columnHeader2});
|
||||||
this.lvwidgets.FullRowSelect = true;
|
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.Location = new System.Drawing.Point(12, 44);
|
||||||
this.lvwidgets.Name = "lvwidgets";
|
this.lvwidgets.Name = "lvwidgets";
|
||||||
this.lvwidgets.Size = new System.Drawing.Size(673, 381);
|
this.lvwidgets.Size = new System.Drawing.Size(673, 381);
|
||||||
this.lvwidgets.TabIndex = 1;
|
this.lvwidgets.TabIndex = 1;
|
||||||
this.lvwidgets.UseCompatibleStateImageBehavior = false;
|
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);
|
this.lvwidgets.SelectedIndexChanged += new System.EventHandler(this.lvwidgets_SelectedIndexChanged);
|
||||||
//
|
//
|
||||||
// columnHeader1
|
// columnHeader1
|
||||||
|
@ -204,8 +204,8 @@
|
||||||
// btninstallwidgets
|
// btninstallwidgets
|
||||||
//
|
//
|
||||||
this.btninstallwidgets.AutoSize = true;
|
this.btninstallwidgets.AutoSize = true;
|
||||||
this.btninstallwidgets.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
this.btninstallwidgets.AutoSizeMode = ShiftUI.AutoSizeMode.GrowAndShrink;
|
||||||
this.btninstallwidgets.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btninstallwidgets.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btninstallwidgets.Location = new System.Drawing.Point(152, 3);
|
this.btninstallwidgets.Location = new System.Drawing.Point(152, 3);
|
||||||
this.btninstallwidgets.Name = "btninstallwidgets";
|
this.btninstallwidgets.Name = "btninstallwidgets";
|
||||||
this.btninstallwidgets.Size = new System.Drawing.Size(88, 25);
|
this.btninstallwidgets.Size = new System.Drawing.Size(88, 25);
|
||||||
|
@ -217,9 +217,9 @@
|
||||||
// WidgetManager
|
// WidgetManager
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.ClientSize = new System.Drawing.Size(697, 459);
|
||||||
this.Controls.Add(this.panel1);
|
this.Widgets.Add(this.panel1);
|
||||||
this.Name = "WidgetManager";
|
this.Name = "WidgetManager";
|
||||||
this.Text = "WidgetManager";
|
this.Text = "WidgetManager";
|
||||||
this.Load += new System.EventHandler(this.WidgetManager_Load);
|
this.Load += new System.EventHandler(this.WidgetManager_Load);
|
||||||
|
@ -232,21 +232,21 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
private System.Windows.Forms.ListView listView1;
|
private ShiftUI.ListView listView1;
|
||||||
private System.Windows.Forms.FlowLayoutPanel pnlbuttons;
|
private ShiftUI.FlowLayoutPanel pnlbuttons;
|
||||||
private System.Windows.Forms.Button btndone;
|
private ShiftUI.Button btndone;
|
||||||
private System.Windows.Forms.Button btnadd;
|
private ShiftUI.Button btnadd;
|
||||||
private System.Windows.Forms.ComboBox cbpanel;
|
private ShiftUI.ComboBox cbpanel;
|
||||||
private System.Windows.Forms.Label lbtitle;
|
private ShiftUI.Label lbtitle;
|
||||||
private System.Windows.Forms.ListView lvwidgets;
|
private ShiftUI.ListView lvwidgets;
|
||||||
private System.Windows.Forms.ColumnHeader columnHeader1;
|
private ShiftUI.ColumnHeader columnHeader1;
|
||||||
private System.Windows.Forms.ColumnHeader columnHeader2;
|
private ShiftUI.ColumnHeader columnHeader2;
|
||||||
private System.Windows.Forms.TextBox txtwidth;
|
private ShiftUI.TextBox txtwidth;
|
||||||
private System.Windows.Forms.Label lbwidth;
|
private ShiftUI.Label lbwidth;
|
||||||
private System.Windows.Forms.TextBox txtx;
|
private ShiftUI.TextBox txtx;
|
||||||
private System.Windows.Forms.Label label1;
|
private ShiftUI.Label label1;
|
||||||
private System.Windows.Forms.Timer tmrcheckvalid;
|
private ShiftUI.Timer tmrcheckvalid;
|
||||||
private System.Windows.Forms.Button btninstallwidgets;
|
private ShiftUI.Button btninstallwidgets;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -9,7 +9,7 @@ using System.IO.Compression;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,10 +112,10 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
<metadata name="tmrcheckvalid.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="tmrcheckvalid.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
|
|
|
@ -32,12 +32,12 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.lbstats = new System.Windows.Forms.Label();
|
this.lbstats = new ShiftUI.Label();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// lbstats
|
// lbstats
|
||||||
//
|
//
|
||||||
this.lbstats.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.lbstats.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.lbstats.ForeColor = System.Drawing.Color.Black;
|
this.lbstats.ForeColor = System.Drawing.Color.Black;
|
||||||
this.lbstats.Location = new System.Drawing.Point(0, 0);
|
this.lbstats.Location = new System.Drawing.Point(0, 0);
|
||||||
this.lbstats.Name = "lbstats";
|
this.lbstats.Name = "lbstats";
|
||||||
|
@ -49,9 +49,9 @@
|
||||||
//
|
//
|
||||||
// Computer
|
// Computer
|
||||||
//
|
//
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
this.AutoScaleMode = ShiftUI.AutoScaleMode.None;
|
||||||
this.BackColor = System.Drawing.Color.White;
|
this.BackColor = System.Drawing.Color.White;
|
||||||
this.Controls.Add(this.lbstats);
|
this.Widgets.Add(this.lbstats);
|
||||||
this.Name = "Computer";
|
this.Name = "Computer";
|
||||||
this.Size = new System.Drawing.Size(64, 64);
|
this.Size = new System.Drawing.Size(64, 64);
|
||||||
this.Load += new System.EventHandler(this.Computer_Load);
|
this.Load += new System.EventHandler(this.Computer_Load);
|
||||||
|
@ -61,6 +61,6 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Label lbstats;
|
private ShiftUI.Label lbstats;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,11 +6,11 @@ using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
public partial class Computer : UserControl
|
public partial class Computer : UserWidget
|
||||||
{
|
{
|
||||||
public int TotalHP = 100;
|
public int TotalHP = 100;
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -33,7 +33,7 @@
|
||||||
// Connection
|
// Connection
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
|
||||||
this.Name = "Connection";
|
this.Name = "Connection";
|
||||||
this.Size = new System.Drawing.Size(150, 10);
|
this.Size = new System.Drawing.Size(150, 10);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
|
@ -6,11 +6,11 @@ using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
public partial class Connection : UserControl
|
public partial class Connection : UserWidget
|
||||||
{
|
{
|
||||||
public Connection()
|
public Connection()
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -28,8 +28,8 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.pbicon = new System.Windows.Forms.PictureBox();
|
this.pbicon = new ShiftUI.PictureBox();
|
||||||
this.lbiconname = new System.Windows.Forms.Label();
|
this.lbiconname = new ShiftUI.Label();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pbicon)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.pbicon)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
this.pbicon.Location = new System.Drawing.Point(4, 4);
|
this.pbicon.Location = new System.Drawing.Point(4, 4);
|
||||||
this.pbicon.Name = "pbicon";
|
this.pbicon.Name = "pbicon";
|
||||||
this.pbicon.Size = new System.Drawing.Size(78, 50);
|
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.TabIndex = 0;
|
||||||
this.pbicon.TabStop = false;
|
this.pbicon.TabStop = false;
|
||||||
this.pbicon.DoubleClick += new System.EventHandler(this.Icon_Click);
|
this.pbicon.DoubleClick += new System.EventHandler(this.Icon_Click);
|
||||||
|
@ -57,10 +57,10 @@
|
||||||
// DesktopIcon
|
// DesktopIcon
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.BackColor = System.Drawing.Color.Transparent;
|
||||||
this.Controls.Add(this.lbiconname);
|
this.Widgets.Add(this.lbiconname);
|
||||||
this.Controls.Add(this.pbicon);
|
this.Widgets.Add(this.pbicon);
|
||||||
this.Name = "DesktopIcon";
|
this.Name = "DesktopIcon";
|
||||||
this.Size = new System.Drawing.Size(85, 85);
|
this.Size = new System.Drawing.Size(85, 85);
|
||||||
this.Load += new System.EventHandler(this.DesktopIcon_Load);
|
this.Load += new System.EventHandler(this.DesktopIcon_Load);
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.PictureBox pbicon;
|
private ShiftUI.PictureBox pbicon;
|
||||||
private System.Windows.Forms.Label lbiconname;
|
private ShiftUI.Label lbiconname;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,12 +6,12 @@ using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
public partial class DesktopIcon : UserControl
|
public partial class DesktopIcon : UserWidget
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// User control for a desktop icon.
|
/// User control for a desktop icon.
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -1,6 +1,6 @@
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
partial class IconControl
|
partial class IconWidget
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
|
@ -28,19 +28,19 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new ShiftUI.Panel();
|
||||||
this.pblarge = new System.Windows.Forms.PictureBox();
|
this.pblarge = new ShiftUI.PictureBox();
|
||||||
this.lbname = new System.Windows.Forms.Label();
|
this.lbname = new ShiftUI.Label();
|
||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pblarge)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.pblarge)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.panel1.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
|
||||||
this.panel1.Controls.Add(this.pblarge);
|
this.panel1.Widgets.Add(this.pblarge);
|
||||||
this.panel1.Controls.Add(this.lbname);
|
this.panel1.Widgets.Add(this.lbname);
|
||||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.panel1.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.panel1.Name = "panel1";
|
this.panel1.Name = "panel1";
|
||||||
this.panel1.Size = new System.Drawing.Size(171, 56);
|
this.panel1.Size = new System.Drawing.Size(171, 56);
|
||||||
|
@ -48,19 +48,19 @@
|
||||||
//
|
//
|
||||||
// pblarge
|
// 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.Location = new System.Drawing.Point(135, 3);
|
||||||
this.pblarge.Name = "pblarge";
|
this.pblarge.Name = "pblarge";
|
||||||
this.pblarge.Size = new System.Drawing.Size(32, 32);
|
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.TabIndex = 2;
|
||||||
this.pblarge.TabStop = false;
|
this.pblarge.TabStop = false;
|
||||||
this.pblarge.Click += new System.EventHandler(this.pblarge_Click);
|
this.pblarge.Click += new System.EventHandler(this.pblarge_Click);
|
||||||
//
|
//
|
||||||
// lbname
|
// lbname
|
||||||
//
|
//
|
||||||
this.lbname.Cursor = System.Windows.Forms.Cursors.IBeam;
|
this.lbname.Cursor = ShiftUI.Cursors.IBeam;
|
||||||
this.lbname.Dock = System.Windows.Forms.DockStyle.Left;
|
this.lbname.Dock = ShiftUI.DockStyle.Left;
|
||||||
this.lbname.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
this.lbname.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
|
||||||
this.lbname.Location = new System.Drawing.Point(0, 0);
|
this.lbname.Location = new System.Drawing.Point(0, 0);
|
||||||
this.lbname.Name = "lbname";
|
this.lbname.Name = "lbname";
|
||||||
|
@ -69,14 +69,14 @@
|
||||||
this.lbname.Text = "Icon Name";
|
this.lbname.Text = "Icon Name";
|
||||||
this.lbname.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
this.lbname.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||||
//
|
//
|
||||||
// IconControl
|
// IconWidget
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
|
||||||
this.Controls.Add(this.panel1);
|
this.Widgets.Add(this.panel1);
|
||||||
this.Name = "IconControl";
|
this.Name = "IconWidget";
|
||||||
this.Size = new System.Drawing.Size(171, 56);
|
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);
|
this.panel1.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pblarge)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.pblarge)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
@ -85,8 +85,8 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Panel panel1;
|
private ShiftUI.Panel panel1;
|
||||||
private System.Windows.Forms.Label lbname;
|
private ShiftUI.Label lbname;
|
||||||
private System.Windows.Forms.PictureBox pblarge;
|
private ShiftUI.PictureBox pblarge;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,21 +6,21 @@ using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
using System.Drawing.Imaging;
|
using System.Drawing.Imaging;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
public partial class IconControl : UserControl
|
public partial class IconWidget : UserWidget
|
||||||
{
|
{
|
||||||
public IconControl()
|
public IconWidget()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void IconControl_Load(object sender, EventArgs e)
|
private void IconWidget_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
pblarge.Top = (this.Height - pblarge.Height) / 2;
|
pblarge.Top = (this.Height - pblarge.Height) / 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -28,14 +28,14 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new ShiftUI.Label();
|
||||||
this.btnselect = new System.Windows.Forms.Button();
|
this.btnselect = new ShiftUI.Button();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// label1
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.BackColor = System.Drawing.Color.White;
|
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.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||||
this.label1.ForeColor = System.Drawing.Color.Black;
|
this.label1.ForeColor = System.Drawing.Color.Black;
|
||||||
this.label1.Location = new System.Drawing.Point(0, 0);
|
this.label1.Location = new System.Drawing.Point(0, 0);
|
||||||
|
@ -47,8 +47,8 @@
|
||||||
//
|
//
|
||||||
// btnselect
|
// btnselect
|
||||||
//
|
//
|
||||||
this.btnselect.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.btnselect.Dock = ShiftUI.DockStyle.Fill;
|
||||||
this.btnselect.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
this.btnselect.FlatStyle = ShiftUI.FlatStyle.Flat;
|
||||||
this.btnselect.Location = new System.Drawing.Point(186, 0);
|
this.btnselect.Location = new System.Drawing.Point(186, 0);
|
||||||
this.btnselect.Name = "btnselect";
|
this.btnselect.Name = "btnselect";
|
||||||
this.btnselect.Size = new System.Drawing.Size(40, 33);
|
this.btnselect.Size = new System.Drawing.Size(40, 33);
|
||||||
|
@ -59,9 +59,9 @@
|
||||||
// ImageSelector
|
// ImageSelector
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
|
||||||
this.Controls.Add(this.btnselect);
|
this.Widgets.Add(this.btnselect);
|
||||||
this.Controls.Add(this.label1);
|
this.Widgets.Add(this.label1);
|
||||||
this.Name = "ImageSelector";
|
this.Name = "ImageSelector";
|
||||||
this.Size = new System.Drawing.Size(226, 33);
|
this.Size = new System.Drawing.Size(226, 33);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Label label1;
|
private ShiftUI.Label label1;
|
||||||
private System.Windows.Forms.Button btnselect;
|
private ShiftUI.Button btnselect;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,12 +6,12 @@ using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
public partial class ImageSelector : UserControl
|
public partial class ImageSelector : UserWidget
|
||||||
{
|
{
|
||||||
public ImageSelector()
|
public ImageSelector()
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -28,14 +28,14 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.lbinfo = new System.Windows.Forms.Label();
|
this.lbinfo = new ShiftUI.Label();
|
||||||
this.pghealth = new ShiftOS.ProgressBarEX();
|
this.pghealth = new ShiftOS.ProgressBarEX();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// lbinfo
|
// lbinfo
|
||||||
//
|
//
|
||||||
this.lbinfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lbinfo.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)));
|
| ShiftUI.AnchorStyles.Left)));
|
||||||
this.lbinfo.Location = new System.Drawing.Point(4, 4);
|
this.lbinfo.Location = new System.Drawing.Point(4, 4);
|
||||||
this.lbinfo.Name = "lbinfo";
|
this.lbinfo.Name = "lbinfo";
|
||||||
this.lbinfo.Size = new System.Drawing.Size(102, 22);
|
this.lbinfo.Size = new System.Drawing.Size(102, 22);
|
||||||
|
@ -44,9 +44,9 @@
|
||||||
//
|
//
|
||||||
// pghealth
|
// pghealth
|
||||||
//
|
//
|
||||||
this.pghealth.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.pghealth.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.pghealth.BackColor = System.Drawing.Color.Black;
|
this.pghealth.BackColor = System.Drawing.Color.Black;
|
||||||
this.pghealth.BlockSeparation = 3;
|
this.pghealth.BlockSeparation = 3;
|
||||||
this.pghealth.BlockWidth = 5;
|
this.pghealth.BlockWidth = 5;
|
||||||
|
@ -67,9 +67,9 @@
|
||||||
// NetModuleStatus
|
// NetModuleStatus
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
|
||||||
this.Controls.Add(this.lbinfo);
|
this.Widgets.Add(this.lbinfo);
|
||||||
this.Controls.Add(this.pghealth);
|
this.Widgets.Add(this.pghealth);
|
||||||
this.Name = "NetModuleStatus";
|
this.Name = "NetModuleStatus";
|
||||||
this.Size = new System.Drawing.Size(352, 26);
|
this.Size = new System.Drawing.Size(352, 26);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
@ -79,6 +79,6 @@
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private ProgressBarEX pghealth;
|
private ProgressBarEX pghealth;
|
||||||
private System.Windows.Forms.Label lbinfo;
|
private ShiftUI.Label lbinfo;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,11 +6,11 @@ using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
public partial class NetModuleStatus : UserControl
|
public partial class NetModuleStatus : UserWidget
|
||||||
{
|
{
|
||||||
private Module _module = null;
|
private Module _module = null;
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -28,8 +28,8 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.lbtitle = new System.Windows.Forms.Label();
|
this.lbtitle = new ShiftUI.Label();
|
||||||
this.lbmessage = new System.Windows.Forms.Label();
|
this.lbmessage = new ShiftUI.Label();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// lbtitle
|
// lbtitle
|
||||||
|
@ -44,9 +44,9 @@
|
||||||
//
|
//
|
||||||
// lbmessage
|
// lbmessage
|
||||||
//
|
//
|
||||||
this.lbmessage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lbmessage.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.lbmessage.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
this.lbmessage.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||||
this.lbmessage.Location = new System.Drawing.Point(7, 33);
|
this.lbmessage.Location = new System.Drawing.Point(7, 33);
|
||||||
this.lbmessage.Name = "lbmessage";
|
this.lbmessage.Name = "lbmessage";
|
||||||
|
@ -57,10 +57,10 @@
|
||||||
// Notification
|
// Notification
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
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.BackColor = System.Drawing.Color.Gray;
|
||||||
this.Controls.Add(this.lbmessage);
|
this.Widgets.Add(this.lbmessage);
|
||||||
this.Controls.Add(this.lbtitle);
|
this.Widgets.Add(this.lbtitle);
|
||||||
this.ForeColor = System.Drawing.Color.White;
|
this.ForeColor = System.Drawing.Color.White;
|
||||||
this.Name = "Notification";
|
this.Name = "Notification";
|
||||||
this.Size = new System.Drawing.Size(355, 100);
|
this.Size = new System.Drawing.Size(355, 100);
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Label lbtitle;
|
private ShiftUI.Label lbtitle;
|
||||||
private System.Windows.Forms.Label lbmessage;
|
private ShiftUI.Label lbmessage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,11 +6,11 @@ using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
public partial class Notification : UserControl
|
public partial class Notification : UserWidget
|
||||||
{
|
{
|
||||||
public Notification(string title, string text)
|
public Notification(string title, string text)
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -27,7 +27,7 @@
|
||||||
// ProgressBarEX
|
// ProgressBarEX
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
|
||||||
this.Name = "ProgressBarEX";
|
this.Name = "ProgressBarEX";
|
||||||
this.Size = new System.Drawing.Size(340, 32);
|
this.Size = new System.Drawing.Size(340, 32);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
|
@ -6,11 +6,11 @@ using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows.Forms;
|
using ShiftUI;
|
||||||
|
|
||||||
namespace ShiftOS
|
namespace ShiftOS
|
||||||
{
|
{
|
||||||
public partial class ProgressBarEX : UserControl
|
public partial class ProgressBarEX : UserWidget
|
||||||
{
|
{
|
||||||
public ProgressBarEX()
|
public ProgressBarEX()
|
||||||
{
|
{
|
||||||
|
@ -279,7 +279,7 @@ namespace ShiftOS
|
||||||
|
|
||||||
#region " Drawing "
|
#region " Drawing "
|
||||||
|
|
||||||
protected override void OnPaint(System.Windows.Forms.PaintEventArgs e)
|
protected override void OnPaint(ShiftUI.PaintEventArgs e)
|
||||||
{
|
{
|
||||||
base.OnPaint(e);
|
base.OnPaint(e);
|
||||||
DoPaintBackground(e.Graphics);
|
DoPaintBackground(e.Graphics);
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, ShiftUI, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</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="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="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
@ -112,9 +112,9 @@
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<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>
|
||||||
<resheader name="writer">
|
<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>
|
</resheader>
|
||||||
</root>
|
</root>
|
|
@ -28,15 +28,15 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.pnlmainbuttoncolour = new System.Windows.Forms.Panel();
|
this.pnlmainbuttoncolour = new ShiftUI.Panel();
|
||||||
this.lblabel = new System.Windows.Forms.Label();
|
this.lblabel = new ShiftUI.Label();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// pnlmainbuttoncolour
|
// pnlmainbuttoncolour
|
||||||
//
|
//
|
||||||
this.pnlmainbuttoncolour.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.pnlmainbuttoncolour.Anchor = ((ShiftUI.AnchorStyles)(((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| ShiftUI.AnchorStyles.Right)));
|
||||||
this.pnlmainbuttoncolour.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.pnlmainbuttoncolour.BorderStyle = ShiftUI.BorderStyle.FixedSingle;
|
||||||
this.pnlmainbuttoncolour.Location = new System.Drawing.Point(128, 3);
|
this.pnlmainbuttoncolour.Location = new System.Drawing.Point(128, 3);
|
||||||
this.pnlmainbuttoncolour.MaximumSize = new System.Drawing.Size(41, 20);
|
this.pnlmainbuttoncolour.MaximumSize = new System.Drawing.Size(41, 20);
|
||||||
this.pnlmainbuttoncolour.Name = "pnlmainbuttoncolour";
|
this.pnlmainbuttoncolour.Name = "pnlmainbuttoncolour";
|
||||||
|
@ -45,9 +45,9 @@
|
||||||
//
|
//
|
||||||
// lblabel
|
// lblabel
|
||||||
//
|
//
|
||||||
this.lblabel.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
this.lblabel.Anchor = ((ShiftUI.AnchorStyles)((((ShiftUI.AnchorStyles.Top | ShiftUI.AnchorStyles.Bottom)
|
||||||
| System.Windows.Forms.AnchorStyles.Left)
|
| ShiftUI.AnchorStyles.Left)
|
||||||
| System.Windows.Forms.AnchorStyles.Right)));
|
| 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.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.Location = new System.Drawing.Point(3, 6);
|
||||||
this.lblabel.Name = "lblabel";
|
this.lblabel.Name = "lblabel";
|
||||||
|
@ -59,9 +59,9 @@
|
||||||
// ShifterColorInput
|
// ShifterColorInput
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = ShiftUI.AutoScaleMode.Font;
|
||||||
this.Controls.Add(this.pnlmainbuttoncolour);
|
this.Widgets.Add(this.pnlmainbuttoncolour);
|
||||||
this.Controls.Add(this.lblabel);
|
this.Widgets.Add(this.lblabel);
|
||||||
this.Name = "ShifterColorInput";
|
this.Name = "ShifterColorInput";
|
||||||
this.Size = new System.Drawing.Size(173, 28);
|
this.Size = new System.Drawing.Size(173, 28);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
@ -70,8 +70,8 @@
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
private System.Windows.Forms.Panel pnlmainbuttoncolour;
|
private ShiftUI.Panel pnlmainbuttoncolour;
|
||||||
private System.Windows.Forms.Label lblabel;
|
private ShiftUI.Label lblabel;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue